项目作者: fsepy

项目描述 :
Structural Fire Engineering - Probabilistic Reliability Assessment
高级语言: Python
项目地址: git://github.com/fsepy/SFEPRAPY.git
创建时间: 2018-08-07T08:39:22Z
项目社区:https://github.com/fsepy/SFEPRAPY

开源协议:MIT License

下载


SFEPRAPY

GitHub version
Build Status&style=flat)
Build Status&style=flat)
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

    1. 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.

    1. 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

  1. sfeprapy -h

To produce a sfeprapy.mcs0 example input file

  1. sfeprapy mcs0 template example_input.csv

To run sfeprapy.mcs0 simulation

  1. 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