MATLAB Answers

0

Optimising the cross section of a truss, using genetic algorithms

Asked by Serena Solanki on 26 Apr 2017
Latest activity Answered by vahid goodarzi mehr on 4 Oct 2018
Hi All
I am struggling to produce a function file and main file that works to find the optimal cross section for members in a truss- and therefore find the optimal weight of the truss.
My assignment involves a members of a truss connected at nodes. COORD = [0 0; 700 0; 62.5 200; 175 200; 525 200; 637.5 200]; CONEC = [1 3; 1 4; 3 4; 3 7; 4 7; 4 8; 7 8]; %Connectivity table
There are 3 types of members A1-A3. for example member 1 3, is A1, and 3 7 is A2, 1 4, 48 and 7 8 are A3.
I have been given 3 options for the cross section: A= 12.3, 15.5 and 19.20
How do I approach optimizing the members? I have tried to group the members into A1-A3 by assigning the groups using {'A1', 'A2', 'A3' etc)
I am confused when applying the Genetic Algorithm- I don't know how to assign more than one member a cross section area and split the members into groups.
I basically want to assign the members in the group a cross section area and find the weight using w=A*L*density*g
Hope you can help

  0 Comments

Sign in to comment.

1 Answer

Answer by vahid goodarzi mehr on 4 Oct 2018

I have problem like this! have you found the answer? how can I grouping elemens?

  0 Comments

Sign in to comment.