A New Empirical Correlation for Estimation of EBF Steel Frame Behavior Factor under Near-Fault Earthquakes Using the Genetic Algorithm

The most important feature of the behavior factor is that it allows the structural designer to be able to evaluate the structural seismic demand, using an elastic analysis, based on force-based principles quickly. In most seismic codes, this coefficient is merely dependent on the type of lateral resistance system and is introduced with a fixed number. However, there is a relationship between the behavior factor, ductility (performance level), structural geometric properties, and type of earthquake (near and far). In this paper, a new and accurate correlation is attempted to predict the behavior factor (q) of EBF steel frames, under near-fault earthquakes, using the genetic algorithm (GA). For this purpose, a databank consisting of 12960 data is created. To establish different geometrical properties of models, 3−, 6−, 9−, 12−, 15, and 20− story steel EBF frames were considered with 3 different types of link beam, 3 different types of column stiffness, and 3 different types of brace slenderness. Using nonlinear time history under 20 near-fault earthquake, all models were analyzed to reach 4 different performance levels. 6769 data were used as GA training data. Moreover, to validate the correlation, 2257 data were used as test data for calculating mean squared error (MSE) and correlation coefficient (R) between the predicted values of (q) and the real values. In addition, the MSE and R were calculated for correlation in the train and test data. Also, the comparison of the response of maximum inelastic displacement of 5 stories EBF from the proposed correlation and the mean inelastic time-history analysis confirms the accuracy of the estimate relationship.


Introduction
One of the prevalent methods for building seismic design is the force-based design (FBD) method which is used in common codes such as Eurocode 8 [1]. In this method, seismic forces are used to design of structures under lifesafety performance level, using a fixed behavior factor (R or q). In the FBD method, the maximum displacement and nonlinear interstory drift ratio can be obtained by multiplying the elastic values by the behavior factor R. is method assumes that the displacement equivalent rule which exists for SDOF (single degree of freedom) structures is also applicable to MDOF (multidegree of freedom) structures. e coefficient multiplied by the maximum displacement and the interstory drift ratio indicates the fact that the main drawback to the FBD method is that it assumes the displacement and the interstory drift ratio profile remains constant at height during seismic excitation. For reinforced concrete structures, Shimazaki et al. defined a range for R and T where the equivalent rule of displacement is established [2]. Lepage, developed the Shimazaki study and proposed a more accurate method to calculate the maximum seismic drift [3]. Many studies show that applying the equivalent displacement role can lead to overestimated of interstory drifts, which is unacceptable [4][5][6][7][8]. Another point is that the maximum displacement and interstory drift profiles change drastically from the elastic to the inelastic phase of the structural behavior. Castiglioni and Zambrano proposed a behavior factor using the cumulative damage index [9]. For this purpose, a set of elastic time-history analyses was used and the results obtained good agreement with those of the previous studies. Because of its simplicity in nonlinear analysis and avoidance of time consumption, the behavior factor obtained from linear analysis can cover a wider range of performance goals and is in good agreement with different levels of structure damage [9].
ere are different definitions for the behavior factor. On the one hand, the behavior factor, R, corresponds to the definition given in FEMA440 [10]. In fact, the coefficient R is the ratio of the elastic spectral acceleration corresponding to the fundamental period obtained from the pushover analysis. In another definition what is defined as the coefficient R is the ratio of the elastic base shear to the inelastic base shear, both derived from structural time-history analysis. A unique feature of using common design principles allows the designer to achieve a rapid assessment of the seismic needs of existing buildings.
Previous research has been conducted to estimate the seismic needs of steel structures by researchers. Karavasilis et al. introduced a simple procedure to estimate drift and ductility demands of regular MRF buildings subjected to ordinary (i.e., without near-fault effects) ground motions. Given the strength reduction (or behavior) factor, the procedure provides reliable estimates of the maximum roof displacement, the maximum interstory drift ratio, and the maximum rotation ductility along the height of the structure. Structural characteristics, such as the number of stories and the beam-to-column stiffness ratio, are used to create the data bank in their study. e derivation of the proposed relations has been done based on the regression analysis of the results of nonlinear time-history analyses [11]. In another study, more than 100 regular multistorey X-braced steel frames were subjected to the 30 ordinary ground motions. A databank using the parameters such as number of stories, period of vibration, brace slenderness ratio, and column stiffness has been created in order to derive a simple formula which reflects the influences of the parameters on drift and ductility demands of X-braced steel structures. Hence, nonlinear regression analysis was employed to provide reliable estimates of the maximum roof displacement, the maximum interstory drift ratio, and the behavior factor [12]. Following this, approximate formulae for the estimation of lateral displacements at first yielding of plane steel frames under seismic excitations were provided for use in a performance-based seismic design by Dimopoulos et al. [13]. ese formulae were also functions of the geometrical and design properties of the frames and derived on the basis of seismic response of 36 moment-resisting and 36 x-braced plane steel frames, under 84 ordinary seismic ground motions. Moreover, Tzimas et al. [14] established a response databank and then utilized it for the development of empirical formulae providing the behavior factor as a function of the geometrical and dynamic characteristics of the 3D steel moment-resisting frame buildings. Consideration of higher mode (HM) and multidegree of freedom (MDOF) effects in extracting the R factor was studied by Siahpolo et al. [15]. ey created almost 1764 nonlinear dynamic analysis of 2D-frames under 30 ordinary and near-field earthquakes. Finally, a simplified practical expression was derived to estimate the required coefficients. e experience of earlier earthquakes confirms that the structural responses enter to the nonlinear area, depending on the severity and content of the earthquake. Evaluation of the nonlinear responses shows that the base shear force demands are reduced in this case. e reduction in the reaction force and its conversion to the inelastic base shear force is defined in many seismic codes with a behavior factor (resistance reduction coefficient). ese coefficients are generally obtained from empirical studies. e task of these coefficients is to consider all the nonlinear effects of the structure [16]. e major drawback to these coefficients is that it is assumed to be constant for structures with different performance levels and cannot provide a good picture of the nonlinearity levels of the structure and its components. For example, if the behavior factor of the structure is lower than its actual value, the forces applied to it are more likely to be considered and can lead to noneconomic design. Conversely, if the chosen behavior factor is greater than its actual value, the base shear force is less than the real value. In this case, it seems that, as the structure enters to the inelastic region, the deformation demands of the members become greater than the structure strength, thereafter damage to the structure occurs. erefore, one of the differentiating aspects of the present study is the consideration of different performance levels in the input data bank for more accurate estimation of the relationship.
It is clear that, in the vicinity of active faults, ground motion is strongly influenced by fault mechanism, direction of fault rupture (i.e., forward directivity), and static permanent deformation at fault location known as fling-step movements. us, near-fault earthquake parameters cause a significant amount of fault rupture energy to appear as a pulse-type excitation with a long period. is is one of the most important aspects of distinguishing near-and far-fault earthquakes. Earth motion has such a pulse-type nature that it often appears at the beginning of the accelerometer and tends to extend the long period of the acceleration response spectrum. In this case, the structure damps a considerable amount of earthquake energy with a small number of disturbances over a large range and imposes considerable structural demands. Finally, the risk of brittle failure increased in structural elements with poorly executed details. e determinant effects of such phenomena were observed during the earthquake of Arzakan (1992), Landers (1992), Northridge (1994), Kobe (1995), Kochi (1999), Davies, and Chi-Chi. Krawinkler et al. (1996) showed that the structural response is very sensitive to the acceleration pulse continuity by evaluating the steel moment frame due to the near-fault record [17]. Other observations showed that the main response of structures due to near-fault earthquake with fling-step effects (permanent displacement at strike-parallel direction of a strike-slip fault) was obtained at the first mode, and wavelike vibrations without the fling-effect causing main response of structure wereobtained at higher modes of the structures [18]. Gerami et al. (2013) studied steel moment-resisting frames under near-fault earthquakes with pulse velocities greater than 0.70 s and showed that the effects of forward directivity increased the global and local demands about 1.1-2.6 and 1.2-3.5 times, respectively [19]. Also, Mashayekhi et al. (2019) illustrate that the interstory drift angle of structures under near-fault earthquakes with forward directivity effect is greater than far-fault earthquakes for about 30-50% of structure height in upper stories [20].
On the other hand, valuable research has been recently done on the improvement and effectiveness of steel structure design relationships using artificial intelligence algorithms, especially genetic algorithms. Prendes-Gero et al. evaluated the capability of GA algorithms with three different building codes (Spanish, European, and American). Finally, it has found that the results of the optimization show the heaviest structures with the American code and the lightest structures with the European code [21]. In another study, genetic algorithm was implemented to optimize a plane steel truss structure under point loadings. e genetic algorithm was developed in the MATLAB [22] software, and the optimized truss structure gotten from the algorithm was analyzed and designed under dead and imposed loadings to compare and determine the percentage weight reduction and check the feasibility of the optimized truss structure. e result has shown that the weight of the original truss gave a total weight of 5970.723496 kg, while the weight of the optimized truss gave a total weight of 3147.1994 kg showing a weight reduction of about 52% [23]. Baradaran et al. applied an improved genetic algorithm for optimal design of planar steel frames [24]. ey showed that using the proposed method reduces the volume of computations and increases the rate of convergence, thus allowing access to frame designs with nearoptimal weights in only a few iterations. Seismic optimum design of steel structures uses gradient-based and genetic algorithm methods [25]. ey applied MATLAB-based computer program to optimize low-consumption, medium, and relatively long steel frames without braces.
is article proposes a simple expression for estimating of behavior factor of the EBFs. ese formulae are expressed based on geometrical characteristics of EBFs and are obtained based on parametric study including numerous nonlinear time-history analyses of 162 EBFs with 4 performance levels under 20 near-fault ground motions. e considered geometrical characteristics include the number of stories, the brace slenderness, the stiffness of the columns, and the ratio of the link beam length to the total length of the beam. For this purpose, it is necessary to prepare a large database of studies of a considerable number of frames with an eccentrically braced frame system, using nonlinear dynamic analysis. A total of 12960 nonlinear analyzes were performed on the basis of a platform of IDA (incremental dynamic analysis) to create a database containing a wide range of relevant data. Nonlinear regression is used to derive a relationship to reasonably estimate of structural demands without consuming time and complex analysis. Subsequently, genetic optimization algorithm is used to estimate the correlation of behavior factor. It can be perceived that outcomes of the proposed patterns are in good agreement with the exact results of nonlinear time-history analyses. e main emphasis is on introducing of the potential of the proposed relationships to fit them into the framework of design methods based on elastic analysis. In this process, for a given behavior factor, R, the presented relationships can provide the designer with an acceptable estimate of the maximum roof displacement, the maximum interstory drift, and other structural demands.

Genetic Algorithm
A genetic algorithm encodes a potential solution to a problem (the phenotype) in a chromosome-like data structure called the genotype or genome. e canonical genetic algorithm has used binary strings to represent chromosomes [26]. Traditionally, GA works on a population consisting of some solutions where the population size (popsize) is the number of solutions. Each solution is called individual. Each individual solution has a chromosome. e gene is the basic unit of information that adopts a binary value (0/1). In the method, each one of the decision variables can have a rank of possible different solutions, which is represented with an alphanumerical variable.
A chromosome is composed of genes. A genetic algorithm creates an initial population of (typically random) genomes, which are materialized as phenotypes and evaluated on the basis of some fitness function, to measure the suitability of the solution generated by GA with the problem.
ose genomes that represent better solutions to the problem at hand have given opportunities to "reproduce," producing genomes for the next generation. Genomes also undergo mutation in order to ensure genetic diversity from one population to the next (analogous to biological mutation) [27]. e result of the fitness function is the fitness value representing the quality of the solution. e higher the fitness value the higher the quality the solution. Some chromosomes in the population will mate through a process called crossover, thus producing new chromosomes named offspring whose gene composition is the combination of its parents. Selection of the best individuals based on their quality is applied to generate what is called a mating pool where the higher quality individual has higher probability of being selected in the mating pool. A fitness function should possess the following characteristics: (i) e fitness function should be sufficiently fast to compute (ii) It must quantitatively measure how fit a given solution is or how fit individuals can be produced from the given solution.
After several generations, the chromosomes value will converge to a certain value which is the best solution for the problem [27]. Figure 1 shows the flowchart of the genetic algorithm.
e GA could be used for solving both constrained and unconstrained optimization problems [29]. Furthermore, it can be applied to solve a variety of optimizations of problems that are not well suited for standard optimization algorithms (especially, problems in which the objective function is highly nonlinear).
In this paper, GA is applied to minimize the objective function to improve the accuracy of the proposed correlation. e proposed correlation is described in Section 5.

Design and Analysis of Nonlinear Models.
is study is based on 2-D regular frames with a constant height of 3 meters and 5 meters' bays. e columns are pinned connected to the base and capable of conveying the moment forces along with their height. e beams are also pinned linked to the columns. Dead and live uniform loads on beams are 2500 and 1000 kg/m, respectively. Furthermore, the yield stress of steels is considered 2400 kg/cm 2 . e number of stories, n s , is considered to be 3, 6, 9, 12, 15, and 20. e characteristic configuration of 2-D frames is illustrated in Figure 2. e basic period of the frames is calculated by using the relation T � 0.08 H 0.75 and considering H as the total height of the frames [30]. Links have been categorized into short, intermediate, and long length, similar to the ones specified in earlier studies [31][32][33]. e link behavior is controlled by shear for values less than 1.6(M P /V P ) (where M P and V P represent the plastic moments and the plastic shear strengths, respectively), while it is controlled by flexure for values greater than 2.6(M P /V P ). A combination of shear and flexural yielding occurs for link lengths between 1.6(M P /V P ) and 2.6(M P /V P ), [34]. Hence, models have been developed for these triple link beam length ratios (ξ � e/L), 0.2, 0.35, and 0.50. Moreover, each model has been expanded with brace slenderness, λ, in triple level. e slenderness of braces is obtained using the following equation [12]:  where l represents the length of the braces, r denotes the gyration radius of the bracing section, F y represents the applied yielding stress of the steel, and E denotes Young's modulus of materials. e effect of the columns' stiffness is given by a coefficient, α, as calculated by the following equation [12]: where n c and n d indicate the number of columns and braces in a story, respectively, I c represents the second moment of inertia of the columns, h denotes the floor height, and θ indicates the angle between the brace and the beam. Diagonal braces, columns, and beam segments in link outside are modeled to stay basically elastic on the basis of capacity design concepts [35,36]. Such members, therefore, need to have sufficient strength to resist forces relative to the link expected strength, such as strain hardening [37]. e braces are developed in order to have adequate resistance because of seismic loading equal to forces created by adjusted link shear strength. e beam design outside the link is like the brace. e columns are adapted for resisting the forces made by the adjusted shear strength of all links above the column level.
e EBFs have been designed under AISC 360-10 [34] using ETABS 2016 [38] software. Accordingly, a database family of models is produced at 6(n s ) * 3(α) * 3(λ) * 3(ξ) � 162 members. In the following, all EBFs have extended with 4 various rotation angles of link beams values, in accordance with the 4 performance levels. e first performance level is related to forming the first plastic hinge in the link beam, and the rest of the performance levels taken from ASCE41-13 [39] corresponded to the angle of rotation of the link beam. Using Equation Δ i � (c i eh/L), for the quadruple performance levels extracted from ASCE41-13 [39] for the different link beam lengths, the maximum displacement is related to the link beam rotation. Δ i , c i , e, h, and L are displacement, link beam rotation, link beam length, story height, and brace length, respectively. Moreover, extended EBFs are analyzed under 20 pulse-like near-fault earthquakes. For the nonlinear time-history analyses, OpenSEES [40] software has been used.
Importance of link models in the assessment of the seismic response of multi-storey EBFs designed by EC8 [1] has been examined in the Bosco et al. study [41]. e link beam inelastic response, in EBFs, has been modeled using the method suggested by Bosco et al. [42]. e flexural bending and shear force effect is simulated by the model on the link beams' inelastic behavior with short, intermediate, as well as long length. e link model consists of five elements joined in series, as illustrated in Figure 3. e middle element (EL0) has the same length and moment of link inertia, allowing its flexural elastic response to be reflected. In this simulation, two zero-length elements (EL1 and EL2) exist. e elastic and inelastic shear response of half a link is taken into account by EL1, while the inelastic flexural response of the ending part of the link is taken into account by EL2. Independent relative vertical displacements and relative rotations are allowed in the nodes EL1 and EL2, respectively [42]. With the help of elastic elements, beams, columns, braces, and beam segments outside the links are modeled to remain elastic basically. In the analyses, the Rayleigh damping is regarded. In order that the frame first and third modes are defined by an equivalent viscous damping factor of 0.05, stiffness and mass coefficients are determined.

Near-Fault Records.
Near-fault earthquakes are selected based on the classification presented in Baker's study [43]. e features of the chosen earthquakes are presented in Table 1. As a result, the final database will be 162 * 4 * 20 � 12960.
In order to produce the expected database, 12960 timehistory analyses are performed based on an IDA analysis platform using OpenSEES [40] software. In this regard, a single accelerometer is repeatedly affected by multiplying the accelerometer in a scale-factor (SF) coefficient. Corresponding to the performance levels, the maximum interstory drift of the frame is compared to the target values of ASCE41-13 [39] in each iteration. e repeat operation continues until the expected values are reached and then stops [14]. e appropriate coefficient for different performance levels is calculated using the Bayesian method. is process is performed for a specific performance level based on the flowchart shown in Figure 4 for a single earthquake [14].
Researchers have been criticized for scaling, especially when they are above 10 or even 12 [44,45], because the results within the range of normal earthquakes have led to the elimination of some of the data that claims higher than 12 from the databank. is screening eventually results in the use of a 9026 net databank from 12960 data. For each data, the maximum roof displacement, u r max and interstory drift, IDR max , are calculated.

Verification.
Modelling validation is one of the most important and fundamental steps in any study. is is especially important for analytical studies that require a large Journal of Engineering database. It is clear that if modeling assumptions have errors, the results applied in empirical extensions will also be inaccurate. erefore, for validation, a 6-story structural model has been developed from the study of Fakhroddini et al. [37]. e frame is schematically similar to that shown in Figure 2. Also, 144 and 360 in show the uniform story height and bay length, respectively. Considering L as the length of the beam, three different values, 0.1, 0.3, and 0.5, have been taken as a to create three different link beam values. ese link beam lengths have been categorized into short, intermediate, and long lengths, similar to ones shown in the earlier studies [31][32][33]. e link behavior is controlled by shear for values less than 1.6(M P /V P ) (where M P and V P represent the plastic moments and the plastic shear strengths, respectively), while it is controlled by flexure for values greater than 2.6(M P /V P ). A combination of shear and flexural yielding occurs for link lengths between 1.6(M P /V P ) and 2.6(M P /V P ) [34]. All frames include three bays with simple beam-to-column connections. All beams' uniform dead and live loads are 0.12 and 0.06 kips/in, respectively; all frames' seismic floor masses are regarded as 206 kips. A steel grade of A992 with a yield strength of 50 ksi is applied in designing all structural members. e final section sizes of frames are summarized in Table 2. e EBFs provided in Table 2 are analyzed in order to define their response to the 15 seismic excitations. For the nonlinear time-history analyses, OpenSEES software is used. e link beam inelastic response is modeled using the method suggested by Bosco et al. (2015) [42]. For every ground motion, the scale factor (SF) of the ground motion, related to life safe (LS) performance level, is defined via incremental dynamic analysis (IDA) on the basis of acceptance criteria of ASCE 41-13 [39]. As a final point, the median peak floor displacements are recorded vs the responses from the Open-SEES shown in Figure 5. In this study, the comparison of the diagrams presented attests to the adequate accuracy of the modeling phase.

Using GA to Develop the New Correlation
Different parameters were selected for this study. Considering the procedure explained in previous section, 12960 data were calculated and used. e selected data were divided into two groups: one group including 6769 data sets used as training data for developing the correlation and the rest of 2257 data sets used as test data for verify the correlation validation. e training and test data were selected randomly. e data consist of the number of stories, beam link length to the beam length ratio, braces slenderness, stiffness of columns, fundamental period of structure, roof ductility, and behavior factor within the ranges as shown in Table 3.  Several cases were examined by the previous researchers [12,46] to find an appropriate correlation between these parameters for q prediction. After several regressive examinations, they found that there is a powerful relationship between the independent parameters, number of stories (n s ), brace slenderness (λ), stiffness of columns (α), fundamental period of structure (T p ), roof ductility (μ R ), and (q) for CBF steel frames under regular earthquakes as shown as follows:  To account the effect of link beam length, ξ, is considered as an extra parameter to the function. Moreover, due to the properties of near-fault earthquakes, parameter (T/T p ) changes to T p . erefore, basic platform of the equation will change to equation (4); in other words, Equation (4) could be rewritten as equation (5) to be clearer: e roof ductility, μ R , is obtained by dividing the inelastic roof displacement, Δ i , by the yielding displacement, Δ y , obtained by nonlinear time-history and pushover analyses, respectively. e relationship accuracy of equation (5) depends on constants p 1 to p 7 . ese coefficients should be determined so that the difference between the predicted q(q predicted ) and the real q(q real ) is minimized. For constructing an appropriate correlation, the training data sets were used. e relationship between the independent parameters (n s , λ, α, T p , and μ R ) and q has been shown in Figures 6 and  7 based on training and testing data, respectively.
It is obvious that the accuracy of correlation of equation (5) will be maximized if the constants p1 through p7 are optimal. To determine the constants p1 through p7 optimally, GA was applied. e objective function of GA (fitness function) is the function that must be optimized. To determine the constants p 1 to p 7 using GA, the fitness function is defined as follows: fitness function � mean-squared error (MSE) � n i�1 q real − q predicted 2 /(n − p) , � n i�1 q real − 1 + p 1 . μ R − 1 p 2 .n s p 3 .λ p 4 .α p 5 .T p p 6 .ξ p 7 2 /(n − p) .  where n is the number of the used data and p 1 to p 7 are the constants which are predicted by the GA. Parameters used to perform genetic algorithm are listed in Table 4. e constants p 1 to p 7 were defined as vectors in order to accelerate the algorithm performance. In this case, the fitness function is called once instead of being called for each member and, therefore, its performance accelerates. e "fminsearch," which is a hybrid function, was used to improve the results obtained from the GA. After the end of the GA, the "fminsearch" which is an optimizer function uses genetic algorithm end point as its own starting point and is executed.
is function improves the results. Training data were used to determine the constants p1 through p7 as inputs of GA. After adjusting the algorithm, the final results are listed in Table 5. Figure 8 shows the real and predicted q from predicted correlation in the training data. For the verification of the proposed correlation, test data including 2257 data sets were used. Figure 9 shows the real and predicted q from the proposed correlation (based on the constants p1 through p7 which are listed in Table 4) in the test data. According to the results presented in Figure 9, it seems that there is an acceptable agreement between predicted q values from the proposed correlation and the real q values.

Use of the Purposed Correlation: A Simple Design Example
is section aims to evaluate the ability of correlation in predicting of seismic demand parameters (SDPs). For this purpose, a 5-story structure having a plan of 12 by 12 square meters and3 bays in each side, each with a length of 4 meters, is considered. e story floors are equal to 3.20 m, and the height of the floor is regularly considered. us, the total height of the structure will be 5 * 3.20 � 16.00 m. e structural seismic system is the eccentrically braced steel frame.
e beam-to-column connections are pinned. For beam, column, and brace sections, IPE, HEB, and TUBO  Figure 6: Relationship between the independent parameters (n s , λ, α, T p , and μ R ) and predicted q (training data). sections were used, respectively, with a yield stress of 3700 kg/cm 2 . Dead and live surface loads are considered 500 and 250 kg/m 2 , respectively. us, considering the tributary width of 4 m, the dead and live linear load are 1000 and 500 kg/m, respectively, on the perimeter frames. e structure was designed based on the standard 2800 [30] with PGA of 0.30 g and type 2 soil. Based on the seismic live load contribution coefficients in Standard 2800 [30], the D + 0.2 L   Table 3) (test data).  Generation: 1000; time limit: inf; fitness limit: inf; stall generation: 1000; stall time limit: inf seismic load combination was used to calculate the seismic load of the frame. e structure was designed using the LRFD (load and resistance design method) method using ETABS software. For this purpose, the behavior factor, q � 7, is selected according to standard 2800 [30]. IPE300, HEB240, and D193.7 × 5 were found for beams, columns, and braces, respectively. Maximum roof displacement and maximum interstory drift ratio under reduced spectrum (divided by q) are 0.0452 and 0.0019 m, respectively. erefore, the maximum inelastic roof displacement equals Also, the maximum inelastic interstory drift is e geometrical values of the studied frame properties are also calculated from the relationships below. us the slenderness coefficient of the braces is equal to And, the effect of the columns stiffness is calculated as follows: α � n c .I c .L d n d .A d .h 3 . cos 2 θ � 0.0299.
e fundamental period of the structure is equal to T � 0.64 s, according to the 2800 standard [30]. Having the abovementioned geometrical parameters and using the proposed correlation, maximum roof ductility is calculated μ R � 2.8802. us, the maximum inelastic roof displacement is Disp in.el. max,Roof � μ R × Disp el max,Roof � 2.8802 × 0.0452 � 0.1301 m.
On the other hand, corresponding values can be obtained, using nonlinear time-history analysis under nearfault earthquakes and mean value of analysis results: e slight discrepancy between the results of the proposed correlation and the respond of the time-history analysis indicates that the proposed correlation is in good agreement.

Conclusion
As a result, after studying a considerable number of EBF frames, a nonlinear dynamic analysis of a large database was prepared. e genetic algorithm (GA), which is one of the most powerful techniques of the artificial intelligence in optimization, has been used to develop the correlation. As suggested by simple relationships, it is possible to obtain an acceptable estimate of seismic demand parameters without the need for complex analysis. e main emphasis is on introducing the capability of the proposed relationship in adapting them to the framework of design methods based on elastic analysis. e new empirical relation is proposed to predict the behavior factor q for EBF steel frames under the near-fault earthquakes. e proposed correlation is a nonlinear function of number of stories, braces slenderness, stiffness of columns, fundamental period of structure, link beam-to-beam length ratio, and roof ductility. To evaluate its accuracy, the mean-squared error (MSE) and correlation coefficient (R) between predicted values from the proposed correlation and real values in the test data were calculated. e correlation coefficient in the test data was 0.8416. Finally, a 5-storey steel frame with force factor 7 (2800 standard, Rev 4 for EBF frames) was designed and analyzed using nonlinear time history against acceleration of the present paper to evaluate the robustness of the proposed relationship in estimating the nonlinear displacement of the structure. en, roof ductility was calculated, and the corresponding roof nonlinear maximum displacement was calculated, using the purposed relationship between roof ductility and behavior factor. In the following, the mean value of nonlinear roof displacement obtained from nonlinear time-history analysis was compared with the maximum value of nonlinear roof displacement initialized using the proposed relationships in this paper. e results show the capability of the proposed relation in calculating the maximum inelastic roof displacement for structures was designed according to AISC 360-10 [34].

Data Availability
e data used to support the study are included within the article.