I need to optimize a steel beam design using GA toolbox. I have attached the design calc as Uratio.m & the code pasted below.The section databse excel file is attach n gatoolboxfunfile is fixedbeam. Please help me to correct my functionvalue.

2 views (last 30 days)
fy= 250; %N/mm2 i = 11; M = 22.5e3; %N-m V = 45e3; %N tp=0; L = 3; %m
% Intialization filename = 'Sectionsdatabase.xlsx'; ws = xlsread(filename,'C2:C66'); D = xlsread(filename,'E2:E66'); Bf = xlsread(filename,'F2:F66'); Tf = xlsread(filename,'G2:G66'); Tw = xlsread(filename,'H2:H66'); Iz = xlsread(filename,'I2:I66'); %Elastic Section Modulus, Zy = Ze %Plastic Section Modulus, Zx = Zp Zp = xlsread(filename,'M2:M66'); Ze = xlsread(filename,'N2:N66');
sec=horzcat(ws,D,Bf,Tf,Tw,Iz,Zp,Ze); u = Uratio(sec(i,:),tp,M,V,fy,L)
if u >= 1.0 disp('FAIL'); else disp('SAFE'); end

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!