The built environment data (BED) framework for enhancing seismic vulnerability modeling through simulated design.
Project description
Built Environmenta Data (BED) - SimDesign Framework
A Python package for the modeling the seismic vulnerability of buildings using the simulated design. Currently, it focuses on Reinforced Concrete (RC) Moment Resisting Frames (MRFs), but the workflow is adaptable to other structural systems. To ensure modularity and scalability for future extensions, the rcmrf framework is integrated within the broader simdesign library. The framework can accommodate the design of buildings using both historical and modern seismic design procedures and regulations, while capturing building-to-building variability. It generates Building Class Information Models (BCIM), Building Design Information Models (BDIM), and Building Nonlinear Structural Models (BNSM) that are analyzable in OpenSees.
Installation
Follow the steps below to install the simdesign package.
Note: Python 3.12 is required. Ensure that correct version is installed:
python --version # should be 3.12.x
Create a Virtual Environment (Recommended)
Create a virtual environment to manage dependencies:
python -m venv .venv
Activate the virtual environment:
.venv\Scripts\activate # On Windows
source .venv/bin/activate # Linux / macOS
Option 1: Install via PyPI
Open the terminal and simply run:
pip install simdesign
Option 2: Install from Source
Clone the repository:
git clone https://github.com/builtenvdata/simulated-design.git
cd simulated-design
Install the simdesign package:
pip install .
Alternatively, to install in editable mode (useful for development), run:
pip install -e .
Usage
Once installed, you can import and use the package in Python:
# Example usage
from simdesign import rcmrf
# The main inputs for each design class
inputs = {
"bcim": {
"design_class": "eu_cdl",
"sample_size": 30,
"num_storeys": 4,
"beta": 0.1,
"seed": 2
},
"bnsm": {
"model": "DP01",
"scheme": "EQL",
"dincr": 1e-3,
"max_drift": 0.1,
"opensees": "py",
"include_infills": False
}
}
# Run the bed-workflow for rcmrf systems and save the outputs
bcim, bdim, bnsm = rcmrf.generate(inputs=inputs, outdir="Outputs")
For more examples please see the scripts folder or see full documentation for advanced use.
Moreover, it is possible to visualize and design buildings with specific geometries:
Contributing
Contributions are welcome! If you’d like to contribute, follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Make your changes.
- Update the test files (
test_rcmrf.py) for new features. - Run pytest and check if all tests pass (
pytest tests). - Commit the changes (
git commit -m 'Add new feature'). - Push to the branch (
git push origin feature-branch). - Open a pull request.
References
If you use the SimDesign tool, please be sure to cite the reference publication:
Ozsarac, V., Pereira, N., Mohamed, H., Romão, X., & O’Reilly, G. J. (2025). The Built Environment Data Framework for Simulated Design and Vulnerability Modelling in Earthquake Engineering. Earthquake Engineering & Structural Dynamics, 54(11), 2651-2670. https://doi.org/10.1002/eqe.4378
Hasanoğlu, S., Ozsarac, V., & O’Reilly, G. J. (2025). A model for the simulated design of Turkish RC frame buildings in seismic vulnerability analysis. Bulletin of Earthquake Engineering, 23(15), 6829-6856. https://doi.org/10.1007/s10518-025-02301-y
License
This project is licensed under the AGPL-3.0 license. See the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
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 simdesign-1.0.0b0.tar.gz.
File metadata
- Download URL: simdesign-1.0.0b0.tar.gz
- Upload date:
- Size: 376.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.12.6 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ea4a28dcfd91cae4924262074dbceee812e06305d48828fadc2b59eccd1c59e
|
|
| MD5 |
ad3c9ed4a21a3176f16037175aa6903c
|
|
| BLAKE2b-256 |
67e9ef7bd28934e7cd0ed957549780b05b0fe672cc729fc07d43922fa74bf23a
|
File details
Details for the file simdesign-1.0.0b0-py3-none-any.whl.
File metadata
- Download URL: simdesign-1.0.0b0-py3-none-any.whl
- Upload date:
- Size: 520.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.12.6 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66f2d2783222aa0a25e9396e7982c007b5884e5d81fb654e45c49476cf462c63
|
|
| MD5 |
0e5660a4bb7326bae3fd865b84ae9f1c
|
|
| BLAKE2b-256 |
972717e50f483be471ead2150ff6dacf0ef55babba526597cdf49ffba2a8182b
|