Automation and Genetic Algorithm Optimization for Seismic Modeling and Analysis of Tall RC Buildings

This article presents an innovative approach to optimizing the seismic modeling and analysis of high-rise buildings by automating the process with Python 3.13 and the ETABS 22.1.0 API. The process begins with the collection of information on the base building, a structure of seventeen regular levels, which includes data from structural elements, material properties, geometric configuration, and seismic and gravitational loads. These data are organized in an Excel file for further processing. From this information, a code is developed in Python that automates the structural modeling in ETABS through its API. This code defines the sections, materials, edge conditions, and loads and models the elements according to their coordinates. The resulting base model is used as a starting point to generate an optimal solution using a genetic algorithm. The genetic algorithm adjusts column and beam sections using an approach that includes crossover and controlled mutation operations. Each solution is evaluated by the maximum displacement of the structure, calculating the fitness as the inverse of this displacement, favoring solutions with less deformation. The process is repeated across generations, selecting and crossing the best solutions. Finally, the model that generates the smallest displacement is saved as the optimal solution. Once the optimal solution has been obtained, it is implemented a second code in Python is implemented to perform static and dynamic seismic analysis. The key results, such as displacements, drifts, internal and basal shear forces, are processed and verified in accordance with the Peruvian Technical Standard E.030. The automated model with API shows a significant improvement in accuracy and efficiency compared to traditional methods, highlighting an R2 = 0.995 in the static analysis, indicating an almost perfect fit, and an RMSE = 1.93261 × 10−5, reflecting a near-zero error. In the dynamic drift analysis, the automated model reaches an R2 = 0.9385 and an RMSE = 5.21742 × 10−5, demonstrating its high precision. As for the lead time, the model automated completed the process in 13.2 min, which means a 99.5% reduction in comparison with the traditional method, which takes 3 h. On the other hand, the genetic algorithm had a run time of 191 min due to its stochastic nature and iterative process. The performance of the genetic algorithm shows that although the improvement is significant between Generation 1 and Generation 2, is stabilized in the following generations, with a slight decrease in Generation 5, suggesting that the algorithm has reached its level has reached a point of convergence.

Authors

Institutions

Publication Details

Journal
Buildings
Published
2025-10-09
DOI
https://doi.org/10.3390/buildings15193618
Primary Topic
Seismic and Structural Analysis of Tall Buildings
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Automation and Genetic Algorithm Optimization for Seismic Modeling and Analysis of Tall RC Buildings

Rick M. Delgadillo, Piero A. Cabrera, Gianella M. Medina
Buildings
Seismic and Structural Analysis of Tall Buildings
article

Automation and Genetic Algorithm Optimization for Seismic Modeling and Analysis of Tall RC Buildings

Rick M. Delgadillo, Piero A. Cabrera, Gianella M. Medina
article en

Abstract

This article presents an innovative approach to optimizing the seismic modeling and analysis of high-rise buildings by automating the process with Python 3.13 and the ETABS 22.1.0 API. The process begins with the collection of information on the base building, a structure of seventeen regular levels, which includes data from structural elements, material properties, geometric configuration, and seismic and gravitational loads. These data are organized in an Excel file for further processing. From this information, a code is developed in Python that automates the structural modeling in ETABS through its API. This code defines the sections, materials, edge conditions, and loads and models the elements according to their coordinates. The resulting base model is used as a starting point to generate an optimal solution using a genetic algorithm. The genetic algorithm adjusts column and beam sections using an approach that includes crossover and controlled mutation operations. Each solution is evaluated by the maximum displacement of the structure, calculating the fitness as the inverse of this displacement, favoring solutions with less deformation. The process is repeated across generations, selecting and crossing the best solutions. Finally, the model that generates the smallest displacement is saved as the optimal solution. Once the optimal solution has been obtained, it is implemented a second code in Python is implemented to perform static and dynamic seismic analysis. The key results, such as displacements, drifts, internal and basal shear forces, are processed and verified in accordance with the Peruvian Technical Standard E.030. The automated model with API shows a significant improvement in accuracy and efficiency compared to traditional methods, highlighting an R2 = 0.995 in the static analysis, indicating an almost perfect fit, and an RMSE = 1.93261 × 10−5, reflecting a near-zero error. In the dynamic drift analysis, the automated model reaches an R2 = 0.9385 and an RMSE = 5.21742 × 10−5, demonstrating its high precision. As for the lead time, the model automated completed the process in 13.2 min, which means a 99.5% reduction in comparison with the traditional method, which takes 3 h. On the other hand, the genetic algorithm had a run time of 191 min due to its stochastic nature and iterative process. The performance of the genetic algorithm shows that although the improvement is significant between Generation 1 and Generation 2, is stabilized in the following generations, with a slight decrease in Generation 5, suggesting that the algorithm has reached its level has reached a point of convergence.

BuildingsVol. 15(19)
Universidad Alas Peruanas (PE), Institute of Peruvian Studies (PE)
Openalex Percentile: Top 70%
Seismic and Structural Analysis of Tall Buildings
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.