Structural Fire Engineering - Probabilistic Reliability Assessment (Equivalent Time Exposure)
Project description
SfePrapy
Structural fire engineering (Sfe) probabilistic reliability assessment (Pra) in python (py) - is a probabilistic analysis tool that estimates the structural reliability for given scenarios (such as enclosure geometry, building type, window areas etc.) against equivalent time exposure to the ISO 834 fire curve.
Getting Started
Documentation can be found in the wiki.
Installation
Python 3.7 or later is required. Anaconda Distribution is recommended for new starters, it includes Python and few useful packages.
pip is a package management system for installing and updating Python packages. pip comes with Python, so you get pip simply by installing Python. On Ubuntu and Fedora Linux, you can simply use your system package manager to install the python3-pip
package. The Hitchhiker's Guide to Python provides some guidance on how to install Python on your system if it isn't already; you can also install Python directly from python.org. You might want to upgrade pip before using it to install other programs.
-
to use
pip
install from PyPI:pip install --upgrade sfeprapy
-
to use
pip
install from GitHub (requires git):
Note installingSfePrapy
via this route will include the lastest commits/changes to the library.pip install --upgrade "git+https://github.com/fsepy/SfePrapy.git@master"
To produce an example input file
>>> import sfeprapy.mcs0
>>> with open('example_input.csv', 'w') as f:
>>> f.write(sfeprapy.mcs0.EXAMPLE_INPUT_CSV)
To produce an example configuration file
>>> import json
>>> import sfeprapy.mcs0
>>> with open('config.json', 'w') as f:
>>> json.dump(sfeprapy.mcs0.EXAMPLE_CONFIG_DICT, f)
To run sfeprapy.mcs0
simulation
python -m sfeprapy.mcs0
Authors
Ian Fu - fuyans@gmail.com
Danny Hopkin - danny.hopkin@ofrconsultants.com
Ieuan Rickard - ieuan.rickard@ofrconsultants.com
License
This project is licensed under the MIT 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.