1 Introduction

The vehicle components that create a structural frame are designed to respect a number of requirements simultaneously. There are several issues related to the production process and its economic aspects. On the other hand, there are some prerequisites to fulfill that are directly related to mechanical properties and safety standards. The crashworthy design of a vehicle structure has become the crucial task for decades in the automotive industry (Ambrosio 2001; Duddeck et al. 2016; Jones and Wierzbicki 1983; Christensen and Bastien 2015; Christensen et al. 2012). The development of a safe vehicle structure is a complex process where the variety of engineering tools is used to support works at each design stage. The technological progress that allows for the significant increase of calculation power gives us the possibility to introduce sophisticated numerical simulation methods in almost all domains related to the vehicle design, including also the optimization that efficiently tends to balance crashworthiness and light-weighting. The most commonly used tools in calculation of the crashworthy response are based on the finite element method (FEM). However, models developed for the FE analysis consist of a very large number of elements. In consequence, a highly detailed design representation of a vehicle influences the calculation time and computer clusters should be used to obtain the solution in a reasonably fast time. That feature of the FEM makes the structural optimization highly time-consuming and generally impossible to carry out on a standard PC. Moreover, the proper design of vehicle energy absorbing components requires the consideration of various approaches to find the optimal solution. However, the starting point for crushing response calculation can be a simple model (thereafter its complexity can be increased). That approach minimizes the risk of design mistakes committed at early design stages which may generate the costs when the overall design process progresses. Such an alternative is the application of the macro element method (MEM) well suited to crashworthiness simulations and characterized by the calculation time reduced tremendously with respect to FEA without affecting the overall results (Abramowicz 2004). The simplified approach for modeling large deformations of thin-walled structures was developed by T. Wierzbicki, W. Abramowicz, N. Jones, and others in the late 80s of the last century (Wierzbicki et al. 1989; Wierzbicki and Abramowicz 1984; Jones and Abramowicz 1986). Subsequently, a formulation of the MEM was introduced by W. Abramowicz in the form of computerized versions (Impact Design Europe 2017). Very fast calculation time is the advantage of the MEM, and the computation of crashworthy parameters for quite complex structures usually takes up to several minutes on a standard PC. That fact gives us the possibility of introducing the optimization procedures into the vehicle development process.

The number of studies has been devoted to the optimal design and the calculation of crashworthy parameters of the front vehicle structure. One of the first investigations were carried out by Ni (1973, 1974) who described the calculation procedures and relations between the global and local deformation of frames. The geometrical complexity of the front frame structure becomes the problem in an effortless prediction of crashworthy parameters. In case of a vehicle accident, the frame is exposed to axial, biaxial bending, and torsion load. That subject in the past was investigated by Meadows et al. (1992) and Chung et al. (1996). The study of crushing behavior of thin-walled structures was also carried out by Kim and Wierzbicki (2000). Their work started with the derivation of the analytical solution to collapse mechanism of thin-walled structures subjected to complex loading conditions (Kim and Wierzbicki 2001a). At the same time, Chen and Wierzbicki (2000) investigated the problem of torsional collapse. Subsequently, the works by Kim and Wierzbicki focused on the definition of the mathematical description of three-dimensional S-frames. The proposed calculation schemes converged with FEM simulation results as it was published in (Kim and Wierzbicki 2004). Additionally, the same authors carried out a study on the influence of different design aspects on the energy absorption related to the structure’s weight (Kim and Wierzbicki 2001b). The publication presents the results of several cross-section configurations and characterizes proper design steps to achieve the crashworthy and the weight efficient design. A number of design approaches to the S-frame structures were presented by Hosseini-Tehrani and Nikahd (2006). The implementation of various cross-sectional orientation and a combination of steel and aluminum materials was studied to assess the best model configuration. The application of different materials within a single subassembly was a design strategy that had improved crashworthiness and reduced the mass of the structure.

In the recent time, several optimization procedures of the front rail structures were proposed. The research by Zhang et al. (2007) examined the response surface method (RSM) combined with design of experiment (DOE) to derive the relation between crashworthy and design parameters. Khakhali et al. (2010) proposed the multi-objective optimization solution of the rectangular cross-section S-frame exposed to axial impact. Authors used FEM to calculate the variety of simplified design scenarios of the front rail structure. Moreover, they considered the application of calculation scheme based on the evolved group method of data handling (GMDH) and neural networks to determine dependencies between the energy absorbed by the structure, the maximal force generated in the crush event, and design variables. The models obtained this way were processed by the genetic algorithm. The results presented a successful application of the described solution and gave useful conclusions to the optimization approach. De Gaetano et al. (2015) presented the idea of a vehicle’s FEM modeling concept coupled with gradient-based optimization procedures. Authors highlighted the difficulties apparent in the optimization problem definition which resulted from the amount of design variables and the conflicting objectives to fulfill. The results showed the sensitivities of applied methods with respect to obtained solutions and indicate influence on calculation time. The recent review article (Fang et al. 2017) provides the state of the art related to the recent studies on design optimization for structural crashworthiness and energy absorption. It presents numerous research papers classified on the basis of design criteria, solution methods, optimization strategies, energy absorbing structures, and type of application. However, among the referenced publications, there is no position concerning the use of the macro element method in the optimization of crashworthy structures. The present paper and the previous work of authors (Pyrz and Krzywoblocki 2017) intends to fill this gap.

An extensive research on simplifying the mathematical description of frame’s bending resistance crushing mechanics was performed by Y. Liu and M.L. Day and published in (Liu 2010a; Liu and Day 2006; Liu and Day 2007). Authors investigated several cases that involve circular, hexagonal, box, and channel cross sections. Additionally, the subject close to the present study was discussed earlier by Liu (2010b). The author investigated an S-shaped frame crushing behavior and linked it to optimal cross-sectional dimensions. The FEM was used to conduct crashworthiness analysis and to build the surface response function in order to maximize the specific energy absorption (SEA). Another instance of an S-shaped rail research was performed by Zhou et al. (2011). The work covered the investigation of the impact of different parameters on the crushing performance of vehicle components. The influence of different materials and cross-sectional dimension configurations was examined by means of orthogonal experiment method. The multi-objective problem was solved where the peak force level, SEA, assembly mass, and the specific total efficiency (STE) were considered as the objectives. The subject of the S-shaped frame optimization was also touched by Nguyen et al. (2014). Authors focused on the optimal design of reinforced rails. The multi-objective optimization process coupled with multi-objective particle swarm optimization algorithm (MOPSO) and RSM was employed to find the solution that fulfills the criteria imposed to the SEA and the peak force values. The authors indicated the advantages of the proposed optimization method and pointed out the potential to the application of reinforced S-shaped frames in practice. The example of S-frame optimization for crash events was also studied by Liu et al. (2014) who investigated the crashworthiness of various cross-sectional shapes (e.g., rectangular polygonal, non-convex polygonal, and multi-cell). The optimization procedures based on sequential response surface method (SRSM) showed the advantages of the internal reinforcement application. A more recent publication by Cai and Wang (2017) presents a parametric approach for S-shaped frame design and the implementation of the gray rational analysis (GRA). Simultaneously, for the same problem, alternative optimization methods were used (e.g., NSGA-II or MOPSO). The extensive works indicated that GRA was more effective comparing to other methods and returned the result with a better crash performance.

In this work, the problem related to the development of crashworthy structures and design of energy absorption elements is investigated. The cross-sectional dimensions of the S-shaped frame are determined using dedicated optimization procedures combined with the VCS software. The purposes of this study are to examine the efficacy of the presented solution and to obtain the structure that fulfills imposed design requirements and simultaneously returns the highest energy absorption level. The formulation of the optimization problem revealed the necessity of the application of a new design criterion, strictly related to the maximal bending moment in the analyzed structure. It enabled us to obtain very good results. This constraint was not mentioned in the literature before (for example in the very complete review paper by Fang et al. 2017). One of the advantages of the present approach is a very short calculation time of crash analysis (incomparably small compared to analogous FE study). Additionally, the optimization procedure provides directly the solution, related to the applied macro element model. The result does not need further verification (like for example the instance of RSM, searching the solution on the approximated function) or confirmation (like simplified CAE models, difficult to create and calibrate in the problem under consideration).

2 Problem formulation

The crushing behavior of the space frame (Fig. 1) subjected to quasi-static axial load is under consideration. The structure is built of 3 sections of length S1, S2, and S3. Section 1 and section 3 are perpendicular to the axis of the applied load and are interconnected with section 2 that forms an angle φ to section 1 and section 2. This assembly is often applied in modern cars.

Fig. 1
figure 1

S-shaped frame

The problem concerns the optimization of cross-sectional dimensions of the space frame in order to achieve the maximal energy absorption of the structure. The frame is subjected to the load of profile presented in Fig. 2. Due to the specification of the load application, the dynamic and inertia effects are not taken into account within the simulation conditions.

Fig. 2
figure 2

Velocity profile

A single hat cross-section frame is considered (Fig. 3), where the position of the local axis corresponds to a neutral axis of the beam. The geometry of the cross section is defined by the thickness T1 and the thickness T2. Moreover, cross-sectional length parameters are denoted as L1 and L2, while the L2 parameter belongs to two oblique walls of the hat cross section. The investigated cross section has implemented a reinforcement which thickness is not considered as a variable. However, the width of the reinforcement W follows change of the variable L2.

Fig. 3
figure 3

Variables of a single hat cross section

To find the most adequate solution, the specific energy absorption (SEA) parameter which represents the total energy absorbed per total mass of the structure is calculated. The final solution is influenced by a number of factors which characterize the crashworthy structure. In the event of a crash, a save design of the structure ensures the survive conditions for vehicle’s occupants. That means the level of maximal crushing force Pmax must be maintained below the critical values. Thus, the best solution is selected basing on the critical value of maximal force definition, denoted as Pmax-ref. An additional limitation was imposed on the mean crushing force Pm as an example of design constraint which in practice collides with the main objective condition for maximization of absorbed energy. Furthermore, additional dimension constraints were imposed on the resulting design. It was assumed that the thickness T of cross-section components are kept within the range declared by Tmin and Tmax. Also, the length L of the cross-section side walls are placed between lower Lmin and upper Lmax limits. It was assumed also that the relation between the summary wall lengths and their summary thicknesses is limited to the range with the lower bound (L/T)min and the upper bound (L/T)max, which reflects the definition of a thin-walled cross section that is less sensitive to the premature global bending (Jones and Abramowicz 1986).

The resulting optimization problem can be formulated as follows:

determine the dimensions T1, T2, L1, and L2 of the cross section so as to maximize the SEA

$$ SEA\left(T,L\right)\to \mathit{\max} $$
(1)

and to satisfy the following constraints:

$$ {P}_m\left(T,L\right)\le {P}_{m- ref} $$
(2)
$$ {P}_{max}\left(T,L\right)\le {P}_{\mathit{\max}- ref} $$
(3)
$$ {T}_{\mathrm{min}}\le T\le {T}_{\mathrm{max}} $$
(4)
$$ {L}_{\mathrm{min}}\le L\le {L}_{\mathrm{max}} $$
(5)
$$ {\left(L/T\right)}_{\mathrm{min}}\le L/T\le {\left(L/T\right)}_{\mathrm{max}} $$
(6)

The solution of the problem (1)–(6) presented by authors in their previous publication (Pyrz and Krzywoblocki 2017) and devoted to the optimization of straight thin-walled tubes generally lead to very satisfactory results. However, preliminary study related to the S-shaped frame under consideration showed the necessity of additional conditions. As the space frame deformation involves bending phenomena, the limitations to maximal bending moments were defined. That situation refers to a practical design scenario of the S-frame in which individually controlled deformation zones are activated sequentially. The solution minimizes the risk of an excessive peak force development. On the other hand, the maximal bending moment should be high enough to ensure the sufficient support for deformation of the front vehicle components acting mainly in the progressive axial crush, and to prevent large intrusions to the passenger compartment. Thus, the following optimization constraints are proposed to be included in the problem formulation:

$$ \mid {M}_x\left(T,L\right)\mid \le {M}_{x-\mathit{\max}- ref} $$
(7)
$$ \mid {M}_y\left(T,L\right)\mid \le {M}_{y-\mathit{\max}- ref} $$
(8)

where the maximal bending moments Mx-max-ref and My-max-ref represent the upper limits for bending in the local X and local Y directions (Fig. 3) of the frame section.

Finally, another additional condition is suggested:

$$ dM={\left({M}_{x-\mathit{\max}- ref}-|{M}_x\left(T,L\right)|\right)}^2+{\left({M}_{y-\mathit{\max}- ref}-|{M}_y\left(T,L\right)|\right)}^2\to \min $$
(9)

The variable dM in (9) defines the “distance” to the desired bending moment. It suggests that the investigated space frame is prone to collapse with possibly maximal bending moment allowed. The combination of the imposed conditions leads to the maximization of energy absorbed by the structure, repeatability, and consistency of results. Without (9), the problem was not constrained enough to produce a unique solution. This situation will be illustrated by the numerical examples presented in chapter 5.

3 Modeling methods

3.1 Macro element method and Visual Crash Studio

The assessment of structural crashworthiness has been one of the most challenging and responsible tasks in the vehicle development process. Commonly used FEM introduces a variety of advantages. However, attempts of the FEM application in optimization procedures become non-efficient. Therefore, alternative methods emerged to face the problem of a long calculation time of crashworthy parameters. One of them is the macro element method (MEM) developed by T. Wierzbicki, W. Abramowicz, and N. Jones. The methodology uses a mathematical description of large deformation of thin-walled structures which was developed basing on trial deformation functions (Abramowicz 2004). The analytical foundations are derived from the kinematic method of plasticity and energy method of classic elasticity. But instead of calculating the general deformation from classic equations of equilibrium, it assumes the specific kinematics. Thus, a typical buckling or folding pattern in folded structural elements is isolated, and its mechanical response is described. The core of MEM method is the definition of the super folding element (SFE). The SFE represents energy absorption mechanisms of a corner line of a prismatic beam. It is a counterpart of a single folding wave of a deformed column presented in Fig. 4.

Fig. 4
figure 4

Bent prismatic column and super folding element

The macro element method is implemented in the form of a calculation processor within the Visual Crash Studio software (VCS) developed by Impact Design Europe company. It allows for assessment of crashworthy parameters with much lower processing effort comparing to FEM solvers. The VCS is a CAD environment that calculates crushing parameters of prismatic beams in two stages. The first one is discretization of beam’s cross section into SFE. The geometrical and material properties of the cross section are used for the initial calculation of crashworthy parameters. Subsequently, the returned data are used to construct the space model consisted of super beam elements (SBE). The developed model, composed of prismatic beams, is limited to a certain type of deformation. It means that the deformation of all models that have been described in this article progresses always in the same way. Several benchmark tests conducted by Takada and Abramowicz (2003) showed that MEM needs an incomparably shorter pre-processing time comparing to FEM (i.e., the calculation effort is much lower), and the resulting results present a high accuracy. The most recent assessment of MEM application in the crashworthiness analysis was conducted by Georgiou and Zeguer (2018). Their work investigates advantages and weak points of simplified crash phenomena modeling using MEM. In industrial practice, the energy absorbing structural elements are properly triggered so as to enable the progressive collapse and to guarantee proper folding without internal contacts. This behavior is precisely predicted by VCS even for complex structures.

3.2 Validation of macro element method

A number of papers which describe the crushing behavior of the S-shaped frames were mentioned in chapter 1. In order to validate the MEM procedure, the study presented by Kim and Wierzbicki (2004) was used as a reference. The initial configuration of the model was validated using the data set provided in (Kim and Wierzbicki 2004). The dimensions of the 3D S-frame chosen for validation are represented by three length values S1 = 330 mm, S2 = 490 mm, S3 = 330 mm and angle φ = 30 degrees. The angle determines eccentricities of the individual sections S of the S-frame. The S-frame has a rectangular cross section 80 × 80 × 2.4 (mm), where 80 mm is the sides’ length and 2.4 mm is the cross-section thickness. The material used in the simulation is an aluminum alloy. Therefore, strain rate effects are not considered in comparison. The quasi-static load condition is assumed. One end of the S-frame has been assigned the velocity like it is presented in Fig. 2, the opposite end is clamped. The simulation output was the axial force measured at the moving end of the structure. Figure 5 presents the results where curves obtained from simulation using Visual Crash Studio and Pamcrash (FEM) software are compared to the theoretical derivation by authors of the referenced article (Kim and Wierzbicki 2004). It can be noticed that all three curves represent a very good correlation of results. The numerical examples presented in the article refer to non-symmetric geometrical cases. However, there are factors that influence the kinematics of crushing simultaneously maintaining similar crushing mode for each generated model. First is the fact that the hat component is the major segment of the cross section. Second, the constraint (6) promotes the cross section’s uniformity.

Fig. 5
figure 5

S-frame crushing response - validation example

4 Optimization procedure

4.1 Evolutionary algorithm

Evolutionary algorithms (EA) are general purpose, stochastic search methods inspired by natural evolution, hereditary, and survival of the fittest individual (Michalewicz 1996; Eiben and Smith 2003). They are naturally adapted to solve unconstrained optimization problems and are able to deal with difficult, big size, high cardinality, and multi-modal problems. They have been applied with success to a large variety of optimization problems and became a recognized solving methodology despite its random character and relatively high computing time.

The EA manipulate an encoded representation of the problem and emulate evolutionary theories using adapted genetic operators. The evolution is simulated using a set of biologically inspired operators (like selection, crossover, mutation) and random parameters. In this process, better individuals have more chances to survive and to form next generations. New designs are usually better, and they replace members of old populations and this way the evolutionary method converges. The algorithm processes at a time a fixed number of potential solutions, performing an efficient multi-directional exploration and exploitation of the design space. The process continues for several iterations, and the solution is given by the best-found design, characterized by the best fitness (usually maximal) – a value that measures how good is the proposition of the solution. The EA has been popularized by genetic algorithms, which used standard binary string encoding of design variables. The evolution algorithms promote different data structures and corresponding adapted operators. All these search procedures apply the similar evolution scheme represented in Fig. 6.

Fig. 6
figure 6

A general formulation of evolutionary algorithm

The steps of the flowchart depicted in Fig. 6 were coded in an independent computer program, developed by authors in C# programming language. Each stage of the algorithm is treated as an independent operation block which calls the input data as arguments at the start and returns the output in the form of the processed group of individuals.

4.2 Formulation of the adaptation function

The solution of the optimization problem formulated in the chapter 2 demands the appropriate definition of the adaptation function that measures the quality of the result. In the present study, the penalty function approach has been used in order to take into account the objective and the constraints. The calculations started with the initial formulation using the “classical” objective and constraints as the studies presented in the “state of the art” paper by (Fang et al. 2017). That standard formulation turned out to be not very efficient. Thus, it was expanded by two additional terms related to the bending moment. The final form of fitness function applied in this study defined as.

$$ {\displaystyle \begin{array}{l}{F}_{Fit}=\frac{ SE A\left(L,T\right)}{SE{A}_{ref}}-{F}_{P1}\left({P}_m\right)-{F}_{P2}\left({P}_{max}\right)-{F}_{P3}\left(L,T\right)+\\ {}-{F}_{P4}\left({M}_{max}\right)-{F}_{P5}(dM)\end{array}} $$
(10)

The fitness function (10) consists of several components. The main component of FFit corresponds to the objective function SEA (1), divided by the reference value SEAref in order to keep this value within an appropriate range. The SEAref value is determined in a trial run of the processing algorithm. The consecutive components are the constraints from the problem definition (23) and (69) included as the penalty functions. Thereby, the penalty components are responsible for decrease the overall value of FFit when the calculated solution returns the result that violates the defined range of constraints.

The first penalty component Fp1 is responsible for the penalization linked to the mean crushing force Pm (2). When Pm of the individual is above Pm−ref then the FFit value is decreased. The corresponding Fp1 term is defined as follows:

$$ {F}_{P1}={coef}_{Pm}\mathit{\max}\left(0,\frac{P_m-{P}_{m- ref}}{P_{m- ref}}\right) $$
(11)

The factor coefPm represents the penalty coefficient. In the numerical examples, coefPm value has been set to 0.25*c−ref to keep the right proportions between the components of fitness function, where c−ref is equal to the main component of the fitness function c−ref = SEA/SEAref.

The penalty component FP2 is related to the maximal force Pmax-ref constraint (3) and may be written as:

$$ {F}_{P2}={coef}_{Pmax}\mathit{\max}\left(0,\frac{P_{max}-{P}_{\mathit{\max}- ref}}{P_{\mathit{\max}- ref}}\right) $$
(12)

Analogically to the previous penalty component, the FP2 decreases the fitness function value when the actual Pmax is higher than the maximal force allowed. In this study, the penalty coefficient coefPmax is set to 0.2*c−ref.

The next component FP3 is responsible for the decrease of the fitness function value when the ratio L/T goes beyond the allowable range located between (L/T)min and (L/T)max. In this study, the lower and the upper limit have been set respectively to 20 and 50, so the solution must satisfy the constraint (6) in the form L/T ∈ (20, 50). The chosen values correspond to dimensional proportions of cross section which can be treated as a thin-walled structure that deforms in a predictable way. The condition is implemented for the lower and the upper bounds separately and may be written

$$ {F}_{P3}={coef}_{LT}\mid \max \left(0,\frac{L/T-{\left(L/T\right)}_{\mathrm{max}}}{{\left(L/T\right)}_{\mathrm{max}}}\right)+\min \left(0,\frac{L/T-{\left(L/T\right)}_{\mathrm{min}}}{{\left(L/T\right)}_{\mathrm{min}}}\right)\mid $$
(13)

The coefLT is the penalty coefficient, set to 0.3*c−ref.

The FP4 is responsible for the decrease of the fitness function value when the maximal bending moments exceed the reference values (7, 8). It is formulated as:

$$ {F}_{P4}={coef}_{M\max}\left(\begin{array}{l}\max \left(0,\frac{M_x\left(T,L\right)-{M}_{x-\mathit{\max}- ref}}{M_{x-\mathit{\max}- ref}}\right)+\\ {}\max \left(0,\frac{M_y\left(T,L\right)-{M}_{y-\mathit{\max}- ref}}{M_{y-\mathit{\max}- ref}}\right)\end{array}\right) $$
(14)

Similarly, to previous components, the coefMmax is the penalty coefficient, set to 0.2*c−ref.

The last component of the fitness function, in fact, changes the problem formulation to multi-objective optimization task. The additional objective is implemented in form of penalty function expressed by the term FP5. The corresponding penalty function represents the normalized square difference of bending moments and is defined by the expression

$$ {F}_{P5}={coef}_{dM}\left(\frac{{\left({M}_{x-\mathit{\max}- ref}-\mid {M}_x\left(T,L\right)\mid \right)}^2+{\left({M}_{y-\mathit{\max}- ref}-|{M}_y\left(T,L\right)|\right)}^2}{{\left({M}_{x-\mathit{\max}- ref}\right)}^2+{\left({M}_{y-\mathit{\max}- ref}\right)}^2}\right) $$
(15)

The coefdM is the penalty coefficient with the value set to 1.5*c−ref. The values of penalty coefficients were determined in the trial runs that investigated the sensitivity of each coefficient to the overall results. The implementation of two additional components (14)–(15) in the fitness function (10) goes beyond the “classic” formulation found in the optimization of thin-walled structures (Fang et al. 2017). It corresponds to the advantageous folding mode in the assumed crushing scenario modeled in VCS, promotes the primary deformation mechanism and facilitates finding the best solution.

The constraints (4) and (5) are taken into account directly in the EA program that generates parameters Ti and Li randomly within the range defined by the lower and the upper limits and fixed by the user. The values of remaining components of the fitness function problem, e.g., (13) and (69) are determined on the basis of the VCS simulation results.

4.3 Evolutionary operators

The evolutionary algorithm developed for this study uses the floating point, natural representation of design variables. Parameters of the optimization problem are represented directly by a string of N design variables, i.e., the parameters T1, T2, L1, and L2. Each individual corresponds to a S-shaped frame model which parameters are generated by the evolutionary algorithm. Thus, the “population” consists of several independent structures. The evaluation of the population at each iterative step requires the numerical determination of all necessary crashworthiness parameters by the VCS software.

The EA starts with the creation of the initial population. The defined number of S-frame models (the population) is generated. A dimensional specification of each model is set randomly respecting the range defined for each variable. Then, all models are sent to the VCS processor to calculate crashworthy parameters. Subsequently, the fitness value of each individual in the population is estimated.

When the initial population is created, the algorithm enters the main evolution loop (Fig. 6). It starts with the selection process based on the initial population. The objective of this stage is to collect chromosomes for mating. The selection procedure gives more chance to reproduce for individuals which are closer to defined environmental criteria. In the developed algorithm, the selection operator uses the tournament strategy. It draws each time a given number of models (value set to 4), compares them, and keeps the individual with the highest fitness function value. This way the selection of individuals equal to the initial population is performed.

The next operator used in the loop is the crossover. It enables mating between individuals and the creation of the offspring. The result of the procedure depends on the value of the randomly generated crossover probability. If this value is above the assumed crossover probability parameter CP, then parent chromosomes are taken without modification as new children. In the opposite case, parent chromosomes undergo crossing to produce children. In the proposed algorithm, two parent individuals are selected randomly. They exchange their values by taking the weighted average – the arithmetic recombination (Eiben and Smith 2003).

The mutation operator is applied to introduce diversity in the population. Similarly, to the crossover operator, the mutation probability MP is defined. The randomly generated mutation probability is compared with MP. The selected gene of the processed individual is substituted by a new random value when MP is above the generated mutation probability.

The final operator within the evolution loop is succession. It selects the survivors that pass to the new population (trying to maintain the diversity of the resulting generation). In the proposed algorithm, the succession operator gathers the newly created “offspring” population, next sorts individuals with respect to the fitness value, and keeps percentage contribution of the best solutions. The same procedure is repeated for the previous “parent” generation. The new population is built from the survivors of two groups. In the presented algorithm, new populations are created by taking 40% of best individuals from the parent population and 60% from offspring population.

4.4 Coupling to VCS program

The communication between the optimization algorithm and the crush analysis is ensured through the interface developed in C# programming language. The simplicity of the solution lies in an object-oriented programming paradigm. The recognition of specific data fields as individual objects facilitates data management and development of optimization tool. Therefore, it is easy to process automatically hundreds of VCS models. The optimization procedure starts from the definition of input data which consists of a geometry and material information, sets of design variables and other parameters necessary for VCS software. The EA reads the data, applies specific values related to design variables, and runs calculation of crashworthy parameters in VCS batch mode. The calculation results are collected from VCS output files via developed interface software and processed for each model individually according to the optimization scheme. These sequences of events are repeated within several loops of the simulated evolution as it was described in detail in the previous chapter.

5 Numerical examples

The presented numerical examples concern the S-shaped frame presented in the chapter 2. They investigate different formulations of the optimization problem and analyze the efficiency of the applied method. The results are presented in Figs. 7, 8, 9, 10, 11, 12, 13, and 14 and Tables 2, 3, and 4. Three cases are compared and discussed.

Fig. 7
figure 7

Variable T1

Fig. 8
figure 8

Variable L1

Fig. 9
figure 9

Variable T2

Fig. 10
figure 10

Variable L2

Fig. 11
figure 11

Fitness function final values

Fig. 12
figure 12

Comparison of forces [kN] acting in X direction vs. X displacement [mm]

Fig. 13
figure 13

Comparison of energy absorbed by the space frame for three cases

Fig. 14
figure 14

Comparison between the starting estimation of the solution (gray profile) and the best result obtained in EA optimization (black profile)

5.1 Space frame beam model

The space frame model, build using macro element methodology, consists of one material, one cross section, four nodes, and three separate super beam elements (Fig. 1). The frame sections have the dimensions S1 = 330 mm, S2 = 515.85 mm, and S3 = 330 mm. Section 1 and section 3 are perpendicular to the axis of the applied velocity and are interconnected with section 2 that forms the angle φ = 30 deg to section 1 and section 2.

The thin-walled beam models with single hat cross sections are applied. The initial, reference dimensions are T1 = T2 = 3 mm, L1 = 180 mm, and L2 = 90 mm (Fig. 3).

The calculation of crushing parameters is performed using the external solver of Visual Crash Studio software executed in the batch mode. The parameters of S-shaped frame models are summarized in Table 1.

Table 1 Parameters of space frame beam model

5.2 Initial optimization problem (case 1)

First runs of the optimization algorithm were performed to study the results obtained for the initial formulation of the problem. In this case, only the constraint conditions described by (2) to (6) were taken into consideration. Since EA use intensively random numbers to generate the best solution, 10 independent runs of the optimization algorithm were carried out to study the efficiency of the procedure. In Figs. 7, 8, 9, and 10, there can be noticed a large dispersion of all dimensions T1, T2, L1, and L2 which are treated as values to determine by EA. Such wide dispersion of results, especially for thickness variables, is not acceptable from the optimization point of view. Solutions obtained for case 1 have the average weight equal 7.59 kg which is 0.2 kg heavier than the result which returned the highest fitness value and 0.47 kg heavier than the lightest solution returned in 10 independent runs of the algorithm. The values of the minimum mass and the highest energy absorbed (which can be easily transformed into specific energy absorption) are not the only objective parameters. Therefore, the lightest solution is not the best one. The optimization variables corresponding to the result with the lowest mass are L1 = 131.190, L2 = 66.392, T1 = 1.746, and T2 = 1.574 (all expressed in millimeters). The value of the peak force is equal to 52.534 kN which is close to the limit of 53 kN. The mean crushing force is much below the assumed Pm-ref equal to 25 kN. The actual mean force for the lightest result model is equal to 20.229 kN. The case 1 is represented by the highest average of fitness function value in Fig. 11. The analysis of the obtained results suggests that some effort must be devoted to finding a better solution. The initial problem formulation did not lead to expected, narrow range of result parameters in several runs of the optimization algorithm. The remaining cases present a successful way of the modification of the formulation of the problem.

5.3 Modified problem formulation (case 2)

The second approach complements the problem definition with additional constraints (7) and (8). The values presented in Figs. 7, 8, 9, and 10 do not show better convergence. The relation between average values of variables and their standard deviations is even slightly higher than in the previous problem. The additional condition in the form of maximal moment definition had a marginal impact on algorithm results. Additionally, the solution calculated by taking the averaged values obtained in 10 independent runs indicated a small decrease of SEA, Pmax, and Pm with respect to the previous case 1 which is also confirmed by the average fitness function results in Fig. 11. At the same time, the structural mass increased to 7.672 kg. The dimensions of the best individual in case 2 are L1 = 142.151, L2 = 61.141, T1 = 2.013, and T2 = 1.486, expressed in millimeters. That concludes that the application of constraints (7) and (8) was not very efficient in the developed procedure.

5.4 Final formulation of the optimization problem (case 3)

The final calculation takes into account all formulations defined by (1)–(9). Now the results presented in Figs. 7, 8, 9, and 10 depict much better convergence than it was in two previous cases. The values of design variables are much closer to average values. Table 2 presents the average results. Now the variable T1 is more than 3 times closer to average value compared with previous, under-constraint, problems. Multiple tests showed that the combination of all constraints acting together brought the desired result. The highest fitness function value in Fig. 11 is registered in the 4th run. The best SEA value (0.816 kJ/kg) is higher in the third case than in previous two cases, the value of mean crushing force raised, which have an impact on energy absorbed by the structure. Besides, Figs. 12 and 13 present the resulting curves related to the forces and energy registered during the calculations of the best fitness function in three analysis formulations. Figure 12 shows that the peak forces for all cases are very close to the limit value. It confirms that the highest mean crushing force value was obtained for the solution which considers all conditions defined by (1)–(9). The thick solid line (case 3) is located above the remaining curves. The mean crushing force is directly related with the energy absorbed by the structure. It can be noticed in Fig. 13 that the highest amount of energy is dissipated by the deformation mechanisms corresponding to case 3.

Table 2 Average results of design parameters

5.5 Summary of results

Table 3 summarizes the best solutions obtained for three investigated formulations of the optimization problem. Each study returned different values, but main constraints were always satisfied, i.e., Pmax and Pm were lower than assumed limit values. Comparing the cases 1 and 2, one can see that the slightly higher values are returned for the second case what is reflected in the fitness function value. The case 3 is clearly the best from all considered variants. The energy absorbed by the optimized structure is similar and equal to 5.942 kJ and 5.907 kJ respectively for the first and second case. However, the energy absorbed by the third case solution reached 6.218 kJ (Fig. 13). The presented values combined with the mass of the structure result in the lowest specific energy absorption for the second case and the highest energy absorption for the third case (0.816 kJ/kg). It can be noticed that thickness variables returned in the first calculation are much closer to the best solution than it was in the second optimization approach. The opposite situation is visible for length variables. This suggests that the thickness variables in the considered structure have a stronger impact on the results than the length variables. The values of the relationship between lengths of cross-section side faces and their thicknesses obtained for cross sections from EA processing indicate that the constraint (6) is fulfilled for all cases. Hence, the thin-walled cross section is considered without the risk of unpredictable crushing mode (Jones and Abramowicz 1986). Additionally, Table 4 presents the cross-sectional moments in the obtained solutions and confirms the influence of the applied constraint (9) to returned solutions. The case 1 returned the most distant solution comparing to remaining solutions which are “enhanced” in some sense with the additional knowledge about the problem, included in the constraint (9). The solution which returned the highest final fitness value was obtained by the EA optimization program for the formulation that took into account all constraints. In Fig. 14, it is compared schematically to the input data starting point used for each case and defined by taking the upper limit values for all variables (Table 1).

Table 3 The best solutions obtained in optimization process
Table 4 Cross-section moments

6 Conclusion and final remarks

The investigated problem was complex and required an insight review of the initial approach to obtain consistent results. The definition of a new design criterion related to maximal bending moments in the structure was necessary to obtain stable and reliable results in several runs. The optimization problem was solved on a standard PC within a reasonably short processing time. It can be noticed that the macro element approach, applied in the VCS software, combined with the evolutionary algorithm, creates a unique solution which until now has no comprehensive coverage in the scientific literature. It constitutes a powerful tool that can process a large amount of data. The advantages of the proposed solution are evident and give the possibility of further development. Except for the growth of the structure or definition of additional variables and parameters, it is still possible to modify or enhance the optimization scheme proposed by the authors. Also, different optimization strategies can be also developed thanks to user-friendly object-oriented programing. This step is intended in the further studies.