Python package for earthquake resilience assessment of masonry buildings, integrating IFC (Industry Foundation Classes) building information models with seismic hazard analysis and structural evaluation.
Project description
bimquake
A Python package for earthquake resilience assessment of masonry buildings, integrating IFC (Industry Foundation Classes) building information models with seismic hazard analysis and structural evaluation.
- Website: https://buildchain.ilab.sztaki.hu/
- Source code: https://github.com/TRACE-Structures/bimquake
- Bug reports: https://github.com/TRACE-Structures/bimquake/issues
Overview
BIMQuake combines Building Information Modeling (BIM) with earthquake engineering to provide comprehensive seismic analysis capabilities. The package enables users to:
- Extract structural data from IFC building models
- Retrieve seismic hazard parameters based on geographic location
- Perform linear and non-linear static analysis for earthquake loading
- Evaluate wall safety factors and global vulnerability indexes
- Visualize building layouts and structural wall resistance
- Generate interactive maps and 2D floor plans
Installation
pip install bimquake
Features
IFC Processing
- Building Model Extraction: Parse and process IFC files to extract structural elements (walls, slabs, columns)
- Geometric Analysis: Extract geometric properties, dimensions, and spatial relationships between model elements
- Material Properties: Retrieve material characteristics from IFC models
- 3D Visualization: Generate meshes for 3D visualization of building components
- Load analysis: Combine vertical loads and calculate stresses on the walls
Earthquake Hazard Analysis
- Seismic Parameter Retrieval: Get earthquake hazard parameters based on latitude/longitude coordinates
- Italian Seismic Code: Built-in support for Italian National Building Code (NTC2018) seismic hazard grid data
- Return Period Analysis: Calculate parameters for various return periods
- Interactive Mapping: Generate folium-based maps showing building location
Structural Analysis
- Linear Static Analysis: Perform seismic analysis according to Italian building code (NTC2018)
- Wall Resistance Calculation: Evaluate structural wall capacity for different failure criteria (shear, bending in plane and out of plane)
- Floor-by-Floor Analysis: Analyze building response at each floor level
- Failure Mechanism Visualization: Visualize potential failure modes
- Non-linear static analysis: Perform analysis and evaluate global vulnerability on the Acceleration Displacement Response Spectra (ADRS) plane
Core Components
eq_resilience_library
Main module containing earthquake resilience analysis functions:
get_Parameters(): Retrieve seismic hazard parametersget_map(): Generate interactive location maprun_linear_static_analysis(): Perform linear static analysisrun_pushover_analysis(): Perform pushover analysisget_2D_layout(): Generate 2D floor plan visualizationplot_wall_resistence(): Visualize wall resistance and failure mechanisms
ifc_processing
Subpackage for processing IFC building models:
building.py: Main building model handler withIfcObjectSetclasswall.py: Wall element extraction and analysisslab.py: Slab element extraction and analysisIFC_objects.py: Base IFC object definitionssimple_objects.py: Simplified geometric representations
Data Formats
Input Excel File Format
The analysis requires building data in Excel format with the following sheets:
- Data: Building overview (floor heights and total floor weights)
- Floor1, Floor2, ...: Individual floor data including geometrical (height, length, orientation) and material (tensile strength, Poisson ratio, shear and elastic moduli) wall properties
IFC Requirements
- Compatible with IFC 2x3 and IFC 4 formats
- Requires structural elements to have properly defined geometry
- Material properties should be assigned to structural elements
- Loads should be assigned to slabs and other structural elements
Current Limitations
- Seismic hazard data currently available only for Italy
- Analysis follows Italian building codes (NTC 2018)
Authors and acknowledgment
The code is developed by Filippo Landi, Giada Bartolini, Bence Popovics, Noémi Friedman and Áron Friedman in the TRACE-Structures group.
This work has been funded by the European Commission Horizon Europe Innovation Action project 101092052 BUILDCHAIN
License
This project is licensed under the GNU General Public License v3.0 (GPL-3.0-only). See the LICENSE file for details.
Related Projects
- uncertain_variables: Probabilistic variable management
- gPCE_model: Generalized Polynomial Chaos Expansion
- digital_twinning: Digital Twinning
Support
For issues, questions, or contributions, please refer to the project repository or contact the authors.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bimquake-0.1.0.tar.gz.
File metadata
- Download URL: bimquake-0.1.0.tar.gz
- Upload date:
- Size: 67.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a55aeeab182e06d6780ebfe42a1523b79ed7f0723a339da2960d2e484b52489
|
|
| MD5 |
c81b400dfbcc365fb55dafc9c1024f23
|
|
| BLAKE2b-256 |
ce329de0424ea545569a8731f1fb87e9d3ce1aadfcd00f5cf9447f621964f9de
|
Provenance
The following attestation bundles were made for bimquake-0.1.0.tar.gz:
Publisher:
python-publish.yml on TRACE-Structures/bimquake
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bimquake-0.1.0.tar.gz -
Subject digest:
4a55aeeab182e06d6780ebfe42a1523b79ed7f0723a339da2960d2e484b52489 - Sigstore transparency entry: 924981266
- Sigstore integration time:
-
Permalink:
TRACE-Structures/bimquake@e2175beefa2a8b0cadb2650915247eb5fe5c3a75 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/TRACE-Structures
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@e2175beefa2a8b0cadb2650915247eb5fe5c3a75 -
Trigger Event:
release
-
Statement type:
File details
Details for the file bimquake-0.1.0-py3-none-any.whl.
File metadata
- Download URL: bimquake-0.1.0-py3-none-any.whl
- Upload date:
- Size: 69.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
067070fe306a1989619e660039630b302b33223717ae044fdab023f18674fd50
|
|
| MD5 |
950023addb618d139984ca5491ff4eca
|
|
| BLAKE2b-256 |
2d04899c79d97e9df54bcc7c535e71dc7b1e0434a9045699359d1571ef1ce8d4
|
Provenance
The following attestation bundles were made for bimquake-0.1.0-py3-none-any.whl:
Publisher:
python-publish.yml on TRACE-Structures/bimquake
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bimquake-0.1.0-py3-none-any.whl -
Subject digest:
067070fe306a1989619e660039630b302b33223717ae044fdab023f18674fd50 - Sigstore transparency entry: 924981305
- Sigstore integration time:
-
Permalink:
TRACE-Structures/bimquake@e2175beefa2a8b0cadb2650915247eb5fe5c3a75 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/TRACE-Structures
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@e2175beefa2a8b0cadb2650915247eb5fe5c3a75 -
Trigger Event:
release
-
Statement type: