Skip to main content

Structural Fire Engineering - Probabilistic Reliability Assessment (Equivalent Time Exposure)

Project description

SfePrapy

GitHub version Updates Build Status Build Status codecov

Structural fire engineering (Sfe) probabilistic reliability assessment (Pra) Python (py) is a probabilistic analysis tool. It calculates equivalent of time exposure to ISO 834 standard fire and this can be used to assess the appropriate fire resistance rating for structural elements using reliability based methods.

sfeprapy is evolving and actively used in research and real engineering design problems.

A publication summarising the capabilities can be found here.

Getting Started

Documentation can be found in the wiki.

Installation

Chose one of the following installation path.

Python 3.7 or later is required. Anaconda Distribution is recommended for new starters, it includes Python and few useful packages including a package management tool pip (see below).

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

    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.

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

Command line interface

sfeprapy command line interface (CLI) uses the current working directory to obtain and/or save files.

To get help

sfeprapy -h

To produce a sfeprapy.mcs0 example input file

sfeprapy mcs0 template example_input.csv

To run sfeprapy.mcs0 simulation

sfeprapy mcs0 -p 4 example_input.csv

sfeprapy.mcs0 uses the multiprocessing library to utilise full potential performance of multi-core CPUs. The -p 4 defines 4 threads will be used in running the simulation, 1 is the default value.

To produce a figure (once a sfeprapy.mcs0 simulation is complete)

sfeprapy mcs0 figure mcs.out.csv

Authors

Ian Fu - ian.fu@ofrconsultants.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.

Files for sfeprapy, version 0.7.1.post6
Filename, size File type Python version Upload date Hashes
Filename, size sfeprapy-0.7.1.post6-py3-none-any.whl (76.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size sfeprapy-0.7.1.post6.tar.gz (61.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page