Plane Trusses Optimization by Means of Parametric
Plane Trusses Optimization by Means of Parametric
Abstract
The optimization of structures is a wished goal, but it is not always achieved in engineering practice, due to either the large additional
effort that it demands or the lack of necessary resources to carry it out. Structural engineers usually use batch procedures, consisting
of utilizing the software, in which data are input, running the analysis and evaluating the results, along which it is decided whether
the design is accepted or modifications must be made, in which case the process is repeated again. The consequence of this is that
the final result, normally, will always be improvable. For that reason, the field of optimization has usually been reserved to the acade-
mia. The new currents of structural engineering seek optimization by means of parametric design and evolutionary computing. As an
additional contribution to the use of these resources, the objective of this work is to present an algorithm developed through visual
programming for sizing, shape and topology optimization of plane trusses of the classic Howe, Pratt or Warren typologies, and to
highlight the advantages that the use of this resource provides for the professional work of structural engineers, since it allows them
to develop their own algorithms without the need of previous knowledge of programming, and to achieve economic and environ-
mental benefits from saving materials. All this configures a clear transfer of the advances of computer technology to professional
practice, extending the frontiers of the academic sphere. As an example of application, a truss analyzed by traditional methods,
without optimizing, and the same truss optimized with the aforementioned algorithm, are compared.
Keywords: Structural optimization, plane trusses, parametric design, genetic algorithms, visual programming.
Resumen
La optimización de estructuras es un fin anhelado, pero no siempre se concreta en la práctica de la ingeniería, bien sea por el ingen-
te esfuerzo adicional que demanda o por no contarse con los recursos necesarios para llevarlo a cabo. El ingeniero estructural habi-
tualmente utiliza procedimientos tipo lote, consistentes en emplear software donde se ingresan los datos, se ejecuta el análisis y se
evalúan los resultados sobre los que se decide si se acepta el diseño o se le deben practicar modificaciones, en cuyo caso el proceso
se vuelve a repetir. Consecuencia de ello es que el resultado final, normalmente, será susceptible a mejoras, de allí que el campo de
la optimización usualmente ha quedado reservado al ámbito académico. Las nuevas corrientes de la ingeniería estructural procuran
la optimización apoyándose en el diseño paramétrico y la computación evolutiva. Como aporte adicional al empleo de estos medios,
el objetivo de este trabajo es presentar un algoritmo desarrollado mediante programación visual para la optimización de las seccio-
nes, forma y topología de celosías planas de tipologías clásicas, como: Howe, Pratt o Warren. Asimismo, destacar las ventajas que
provee el empleo de este recurso para la labor profesional del ingeniero estructural, al permitirle desarrollar sus propios algoritmos
sin necesidad de conocimientos previos de programación, y lograr beneficios tanto económicos como medioambientales a partir del
ahorro de materiales. Todo ello configura un claro traslado de los avances de la tecnología informática a la práctica profesional, ex-
cediendo las fronteras de las aplicaciones académicas. Como ejemplo de aplicación se compara una armadura analizada mediante
procedimientos tradicionales, sin optimizar, y la misma armadura optimizada con el algoritmo mencionado.
Descriptores: Optimización estructural, cerchas planas, diseño paramétrico, algoritmos genéticos, programación visual.
http://dx.doi.org/10.22201/fi.25940732e.2019.20n4.038
Plane trusses optimization by means of parametric design and genetic algorithms applying visual programming
2 I ngeniería I nvestigación y T ecnología , volumen XX (número 4), octubre-diciembre 2019: 1-10 ISSN 2594-0732 FI-UNAM
http://dx.doi.org/10.22201/fi.25940732e.2019.20n4.038
Begliardo-Olivero Hugo Félix, Bonelli-Hernández Matías
There are many analysis tools in the market, but rithm. These new computer tools allow the unification
scarce ones to achieve good structural forms (Ochsen- of engineering design processes and the achievement of
dorf, 2006, 2012). In practice, engineers normally use structural shapes, both free and complex, as well as pre-
classic structural analysis software for design purposes cise and efficient (Maltagliatti, 2016).
(Clune, 2010). However, this does not guarantee opti-
mal solutions, or something close to them. As the struc-
AIM
tural performance depends on geometry, that focus
will lead to structures of low efficiency (Danhaive & The aim of this work is to present an algorithm develo-
Mueller, 2015). ped by visual programming, for the optimization of the
This fact is clearly evident in plane and space trus- sections, shape and topology of plane trusses, taking as
ses, structural types widely used in industrial sheds, an example its application to a real structure, and
sports pavilions, among others, which have a signifi- highlighting the advantages that the use of this compu-
cant incidence in the final construction cost. ter resource provides for the professional work of struc-
In consequence, faced with the query of how to re- tural engineers, allowing them to develop their own
solve the problem of achieving optimized designs for algorithms without the need of previous knowledge of
trusses, with efficiency and economy of materials, new programming.
streams of structural engineering seek optimization by
means of parametric design and evolutive computing. Methodology
I ngeniería I nvestigación y T ecnología , volumen XX (número 3), octubre-diciembre 2019: 1-10 ISSN 2594-0732 FI-UNAM 3
http://dx.doi.org/10.22201/fi.25940732e.2019.20n4.038
Plane trusses optimization by means of parametric design and genetic algorithms applying visual programming
design variables within established domains, an initial shown to establish the length of the truss to be optimi-
population of possible solutions (individuals) is created. zed, and the adopted value of the clear span.
This is then subjected to selection, crossing and muta- Each modification of a variable creates a new struc-
tion processes, for which an evaluating function is used ture, and the totality of the combinations establishes the
to determine which individuals are the fittest that will solution set, that is, the search space of the optimal
survive and which will be discarded. This evaluator, truss.
called fitness, is the weight of the truss. The lower the
weight, the greater the aptitude, and vice versa.
The objective function
Through the repetition of the selection, combina-
tion, and mutation process of individuals, new genera- In structural engineering, this function usually descri-
tions evolve towards the individual with the best bes a minimization problem. In this case, what has been
fitness. When an individual becomes stable during n sought is the structure of minimum weight w(x), as it is
generations, without the appearance of a better new a decisive factor in its final cost, and it is associated with
one, a global optimum or an individual near to it has a lower consumption of material.
been obtained, and the process stops. As a consequence Assuming that each i bar has a straight direction
of this, the cross-section size of each bar, the shape, and and constant cross-sectional area Ai in its entire length
the truss topology (expressed in the gaps number) have li, on the basis of (2), the result is:
been optimized.
1
The screen image of Figure 2 shows the assembly of f ( x) = (5)
the aforementioned software in the algorithm under the w( x)
Rhinoceros (version 5.0) modeling software environment.
Where:
Design variables t
w( x)
= ∑=
AlY; i i i i
1, 2,... , t (bars) (6)
The variable parameters constitute the degrees of free- i
4 I ngeniería I nvestigación y T ecnología , volumen XX (número 4), octubre-diciembre 2019: 1-10 ISSN 2594-0732 FI-UNAM
http://dx.doi.org/10.22201/fi.25940732e.2019.20n4.038
Begliardo-Olivero Hugo Félix, Bonelli-Hernández Matías
L
tions on the state variables and the verification of the δ ≤ δ max = (9)
state equation: k
a) Behavioral restrictions: The axial load Pi in each where L is the clear span of the structure and k is the
bar i, both in tension and compression, must not deflection factor which, for trusses, usually takes a va-
exceed the maximum value Pui that can resist the lue between 200 ≤ k ≤ 300.
material, nor suffer from problems of local instabi-
lity. b) Equilibrium restrictions: State equation in the linear
static analysis must be verified
Pi ≤ Pui (7)
Ku = P (10)
Pui is determined by the yield stress Fyi of the material.
Assuming that it is unique, then where:
I ngeniería I nvestigación y T ecnología , volumen XX (número 3), octubre-diciembre 2019: 1-10 ISSN 2594-0732 FI-UNAM 5
http://dx.doi.org/10.22201/fi.25940732e.2019.20n4.038
Plane trusses optimization by means of parametric design and genetic algorithms applying visual programming
That is to say, the optimal structure of lower weight Through the application of the developed algorithm,
will be obtained from the point of view of resistance, the optimal design (weight minimization) of the truss
and that is the one that allows the maximum use of the was sought for the isostatic condition variant applied in
material, fulfilling the equilibrium and compatibility the idealized model of the original structure and, addi-
conditions given by (10) (Gil & Andreu, 1999). tionally, for three more options of external supports,
which are indicated in Table 1 as Cases 1 to 4. In all of
them, the response was evaluated for the profile classes
Applied standards
CFCS and CHS (circular hollow section).
The algorithm implements argentine standards (INTI- Case 1 (CFCS) is similar to the idealized model in
CIRSOC Regulations and specific IRAM Standards), in the constructed structure, and Case 4 (CFCS) is the one
addition to Karamba’s own library of sections. Howe- that most resembles the one materialized on the buil-
ver, the addition of any other regulations is feasible, ding site.
requiring the introduction of simple modifications. Argentina structural safety regulations were applied
(CIRSOC, 2018), considering all combinations of loads
prescribed for the region where the structure was built,
Example
with the dead weight (D), imposed loads (IL), wind
As an example of application to a real case, a Howe loads (WL), concentrated loads (P) and thermal varia-
truss of 20 m clear span corresponding to a built indus- tion (ΔT). The Argentine Structural Security Regula-
trial shed located in the central region of Argentina (Fi- tions, second generation, are based on US codes. In
gure 5) was taken for analysis and comparison. The particular, in the area of metallic structures, the rules of
structural engineer analyzed it as a simply supported the AISC (American Institute of Steel Construction) are
beam leaning on two columns. applied.
However, in the building site, the supports were By default, the algorithm uses F-24 steel (equivalent
welded to columns, generating boundary conditions to ASTM A36), although it can be modified. According
that modified the internal forces in truss members. The to the regulations, δmax = L / 300 was adopted for the
following are the constructive details: design.
In relation to the cross-sections, in addition to those
• Bars composed of cold-formed C sections (CFCS). included in Karamba, there is a library of steel profiles
• Heights: 0.50 m (lateral edge); 1.00 m (central). according to the standards of the Instituto Argentino de
• Loads types: dead load (DL), imposed loads (IL) and Normalización (IRAM, 2018), which makes it possible
wind loads (WL). to include other standards if necessary by means of the
• Idealized supports for analysis: roller support-hin- addition of a spreadsheet.
ged support (isostatic). On the basis of the clear span of the original truss,
• Materialization of supports on site: fixed (welded) Table 2 indicates the numeric domain of the geometri-
on columns. cal design variables applied to the algorithm.
• Truss´s weight (considering only profiles): 4.473 kN. Figure 6 illustrates the configuration of the geome-
tric domain in which the search space for the best solu-
tion was delimited.
6 I ngeniería I nvestigación y T ecnología , volumen XX (número 4), octubre-diciembre 2019: 1-10 ISSN 2594-0732 FI-UNAM
http://dx.doi.org/10.22201/fi.25940732e.2019.20n4.038
Begliardo-Olivero Hugo Félix, Bonelli-Hernández Matías
Results and discussion It is observed from the table that, in full optimiza-
tion, for case 4 (CFCS) the reduction in weight would be
In the runs analyzed, initial populations of 100 or 150 in- 50 %, a fact that warns us about the importance of mo-
dividuals were applied, with stopping criteria determi- deling a structure in the way that it effectively will be
ned by the repetition of the most suitable genome for built (Bonelli & Begliardo, 2016).
100 generations, which led to a number comprised bet- Figure 8 shows schematically, and for comparative
ween 104 and 501 iterations, depending on the case. purposes, the external shape that the optimized truss
Table 3 shows the results of the four cases analyzed takes depending on the type of external supports with
(optimized design variables, weight, and L/ht ratio). which it is modeled. As it can be seen, there is a qualita-
For the simply supported condition (Case 1), the tive leap in the configuration when going from the isos-
application of the developed algorithm led to a structu- tatic case (Figure 8a) to the hyperstatic case since one
ral form that adapts to the law of bending moments (Fi- additional restriction is incorporated (Figure 8b). This
gure 7), a conclusion also observed by Gil & Andreu external form, substantially, does not change in the re-
(1999) for these cases. maining two cases (Figures 8c and 8d). Likewise, from
Weights indicated in Table 3 refer to the full optimi- Table 3 it appears that the weight decreases signifi-
zation, bar to bar, which for Case 1 (CFCS) leads to 8 cantly in the hyperstatic cases, being Case 2 (hinged-
different profiles, meaning a weight reduction close to hinged supports) the one which leads to the lighter
39 %. In practice, this presents drawbacks at the mo- structure.
ment of constructing the truss, either due to difficulties The topological optimization is shown in the number
in the assembly between one bar and the other, or be- of cavities (16 for Case 1 (CFCS) compared), tending to the
cause of the increase in the cost of labor. Normally, in minimum possible value within the domain of the varia-
these circumstances, the sections in chords, verticals, tion of the segments, which are pre-defined by the user as
and diagonals are homogenized to gain constructive a design variable (16-24 according to Table 2). This will
simplification. In this situation, adopting 4 different happen as long as the cross-sections of the library of avai-
sections for the CFSC profile (one of them for the top lable commercial profiles support the tension or compres-
chord, one for the bottom chord, one for both left and sion loads to which the bars will be subject.
right end posts, and the fourth one for the rest of the It also emerges from the aforementioned table that,
inside members), for the cited variant that is compared, in all cases, the use of SCH profiles leads to structures
the reduction will be close to 25 %. of lower weight than CFCS.
I ngeniería I nvestigación y T ecnología , volumen XX (número 3), octubre-diciembre 2019: 1-10 ISSN 2594-0732 FI-UNAM 7
http://dx.doi.org/10.22201/fi.25940732e.2019.20n4.038
Plane trusses optimization by means of parametric design and genetic algorithms applying visual programming
8 I ngeniería I nvestigación y T ecnología , volumen XX (número 4), octubre-diciembre 2019: 1-10 ISSN 2594-0732 FI-UNAM
http://dx.doi.org/10.22201/fi.25940732e.2019.20n4.038
Begliardo-Olivero Hugo Félix, Bonelli-Hernández Matías
I ngeniería I nvestigación y T ecnología , volumen XX (número 3), octubre-diciembre 2019: 1-10 ISSN 2594-0732 FI-UNAM 9
http://dx.doi.org/10.22201/fi.25940732e.2019.20n4.038
Plane trusses optimization by means of parametric design and genetic algorithms applying visual programming
10 I ngeniería I nvestigación y T ecnología , volumen XX (número 4), octubre-diciembre 2019: 1-10 ISSN 2594-0732 FI-UNAM