Skip to content

jonititan/Bowties

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bowties

A python module for modelling bowties in PyMC

What are Bowties?

The UK Civil Aviation Authority guide to Bowties

Bowtie Structure

graph LR;
    CA[Cause A]-->B1[Barrier 1];
    CB[Cause B]-->B2[Barrier 2];
    B1[Barrier 1]-->B3[Barrier 3];
    B2[Barrier 2]-->B3[Barrier 3];
    B3[Barrier 3]-->TE[Top Event];
    HC[Hazard Context]-->TE;
    TE-->B5[Barrier 5];
    TE-->B6[Barrier 6];
    B5-->ConA[Consequence A];
    B6-->ConB[Consequence B];
    EF[Escalatory Factor]-->B6;
Loading

Installation

Install PyMC using uv in the folder along with this repo.

uv init

uv venv

uv pip install pymc networkx pandas matplotlib graphviz

uv pip install -e .

Then you can run the example uv run examples/airprox_bowtie.py

About

A python module for modelling bowties in PyMC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages