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...

詳細記述

書誌詳細
出版年:Buildings
主要な著者: Piero A. Cabrera, Gianella M. Medina, Rick M. Delgadillo
フォーマット: 論文
言語:英語
出版事項: MDPI AG 2025-10-01
主題:
オンライン・アクセス:https://www.mdpi.com/2075-5309/15/19/3618
_version_ 1848757650631688192
author Piero A. Cabrera
Gianella M. Medina
Rick M. Delgadillo
author_facet Piero A. Cabrera
Gianella M. Medina
Rick M. Delgadillo
author_sort Piero A. Cabrera
collection DOAJ
container_title Buildings
description 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 R<sup>2</sup> = 0.995 in the static analysis, indicating an almost perfect fit, and an RMSE = 1.93261 × 10<sup>−5</sup>, reflecting a near-zero error. In the dynamic drift analysis, the automated model reaches an R<sup>2</sup> = 0.9385 and an RMSE = 5.21742 × 10<sup>−5</sup>, 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.
format Article
id doaj-art-17d4e53ea5ce4c4ebbce71f98f878ff2
institution Directory of Open Access Journals
issn 2075-5309
language English
publishDate 2025-10-01
publisher MDPI AG
record_format Article
spelling doaj-art-17d4e53ea5ce4c4ebbce71f98f878ff22025-10-15T12:46:02ZengMDPI AGBuildings2075-53092025-10-011519361810.3390/buildings15193618Automation and Genetic Algorithm Optimization for Seismic Modeling and Analysis of Tall RC BuildingsPiero A. Cabrera0Gianella M. Medina1Rick M. Delgadillo2Faculty of Civil Engineering, Peruvian University of Applied Sciences, Lima 15023, PeruFaculty of Civil Engineering, Peruvian University of Applied Sciences, Lima 15023, PeruFaculty of Civil Engineering, Peruvian University of Applied Sciences, Lima 15023, PeruThis 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 R<sup>2</sup> = 0.995 in the static analysis, indicating an almost perfect fit, and an RMSE = 1.93261 × 10<sup>−5</sup>, reflecting a near-zero error. In the dynamic drift analysis, the automated model reaches an R<sup>2</sup> = 0.9385 and an RMSE = 5.21742 × 10<sup>−5</sup>, 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.https://www.mdpi.com/2075-5309/15/19/3618application programming interfaceartificial intelligencereinforced concretegenetic algorithmpythonseismic analysis
spellingShingle Piero A. Cabrera
Gianella M. Medina
Rick M. Delgadillo
Automation and Genetic Algorithm Optimization for Seismic Modeling and Analysis of Tall RC Buildings
application programming interface
artificial intelligence
reinforced concrete
genetic algorithm
python
seismic analysis
title Automation and Genetic Algorithm Optimization for Seismic Modeling and Analysis of Tall RC Buildings
title_full Automation and Genetic Algorithm Optimization for Seismic Modeling and Analysis of Tall RC Buildings
title_fullStr Automation and Genetic Algorithm Optimization for Seismic Modeling and Analysis of Tall RC Buildings
title_full_unstemmed Automation and Genetic Algorithm Optimization for Seismic Modeling and Analysis of Tall RC Buildings
title_short Automation and Genetic Algorithm Optimization for Seismic Modeling and Analysis of Tall RC Buildings
title_sort automation and genetic algorithm optimization for seismic modeling and analysis of tall rc buildings
topic application programming interface
artificial intelligence
reinforced concrete
genetic algorithm
python
seismic analysis
url https://www.mdpi.com/2075-5309/15/19/3618
work_keys_str_mv AT pieroacabrera automationandgeneticalgorithmoptimizationforseismicmodelingandanalysisoftallrcbuildings
AT gianellammedina automationandgeneticalgorithmoptimizationforseismicmodelingandanalysisoftallrcbuildings
AT rickmdelgadillo automationandgeneticalgorithmoptimizationforseismicmodelingandanalysisoftallrcbuildings