Skip to main content

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.

  1. to use pip install from PyPI:

    Downloads PyPI version

    pip install --upgrade sfeprapy
    
  2. to use pip install from GitHub (requires git):
    Note installing SfePrapy via this route will include the lastest commits/changes to the library.

    GitHub version

    pip install --upgrade "git+https://github.com/fsepy/SfePrapy.git@master"
    

    demo_save_example_input_file

To produce an example input file

>>> import sfeprapy.mcs0
>>> with open('example_input.csv', 'w') as f:
>>> 	f.write(sfeprapy.mcs0.EXAMPLE_INPUT_CSV)

demo_save_example_input_file

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)

demo_save_example_input_file

To run sfeprapy.mcs0 simulation

python -m sfeprapy.mcs0

demo_running_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


Download files

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

Source Distribution

sfeprapy-0.6.7.tar.gz (82.8 kB view hashes)

Uploaded Source

Built Distribution

sfeprapy-0.6.7-py3-none-any.whl (134.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page