Skip to main content

bimquake

DOI

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.

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 parameters
  • get_map(): Generate interactive location map
  • run_linear_static_analysis(): Perform linear static analysis
  • run_pushover_analysis(): Perform pushover analysis
  • get_2D_layout(): Generate 2D floor plan visualization
  • plot_wall_resistence(): Visualize wall resistance and failure mechanisms

ifc_processing

Subpackage for processing IFC building models:

  • building.py: Main building model handler with IfcObjectSet class
  • wall.py: Wall element extraction and analysis
  • slab.py: Slab element extraction and analysis
  • IFC_objects.py: Base IFC object definitions
  • simple_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

Support

For issues, questions, or contributions, please refer to the project repository or contact the authors.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bimquake-0.1.12.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bimquake-0.1.12-py3-none-any.whl (1.7 MB view details)

Uploaded Python 3

File details

Details for the file bimquake-0.1.12.tar.gz.

File metadata

  • Download URL: bimquake-0.1.12.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for bimquake-0.1.12.tar.gz
Algorithm Hash digest
SHA256 f711624df419472a12a8659e87d3ab11135d1cd8570756affb0ae6fc27644451
MD5 598a226a553d9327fc2cc4bbdb1ec043
BLAKE2b-256 2a0b5bebd8436f654eae526a66fe96566dff0d137f3ee4125161a8aeacc3859a

See more details on using hashes here.

Provenance

The following attestation bundles were made for bimquake-0.1.12.tar.gz:

Publisher: python-publish.yml on TRACE-Structures/bimquake

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bimquake-0.1.12-py3-none-any.whl.

File metadata

  • Download URL: bimquake-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for bimquake-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 2bdb9141b37f51ef0b75f6254a308b8118ebfa7d7bd01ebb694dbeb6b75f2a4d
MD5 8b736401f93304414e82dc2d369107cd
BLAKE2b-256 6ea71a4c2f633b3f986834ec6db9d4ff29a33157af571b9713d312271ec36fa0

See more details on using hashes here.

Provenance

The following attestation bundles were made for bimquake-0.1.12-py3-none-any.whl:

Publisher: python-publish.yml on TRACE-Structures/bimquake

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

1.0.0

2 files

0.1.13

2 files

This release

0.1.12 This release

2 files

0.1.11

2 files

0.1.10

2 files

0.1.6

2 files

0.1.3

2 files

0.1.2

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page