Skip to content
/ SFEPRAPY Public

Structural Fire Engineering - Probabilistic Reliability Assessment

License

Notifications You must be signed in to change notification settings

fsepy/SFEPRAPY

Repository files navigation

SFEPRAPY

GitHub version 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 under continuous development and actively used in research and real engineering design problems.

Legacy wiki can be found here.

Documentation (WIP) can be found here

A publication summarising the capabilities can be found here.

Getting Started

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.

License

This project is licensed under the MIT License - see the LICENSE file for details