Skip to content

CLI utility for creating synthetic event trees and fault trees in the OpenPSA-MEF, OpenPRA JSON, and SaphSolve JSON formats

Notifications You must be signed in to change notification settings

openpra-org/model-generator

Repository files navigation

PRA Model Generator

DOI

This repository includes Probabilistic Risk Assessment (PRA) model generation source code, schema for different model format, and additional scripts to automate model generation.

1. OpenPSA Model Exchange Format

The OpenPSA Model Exchange Format (MEF) represents about a decade of effort to develop a format independent of any specific quantification engine. The goal was to create a standard that researchers, corporations, and regulators could use collaboratively in an open environment.

2. SAPHSOLVE Model Format

SAPHSOLVE is the quantification engine of legacy PRA tool SAPHIRE. SAPHSOLVE input and output format are detailed in a report published by Idaho National Laboratory.

3. FTREX Model Format

4. Usage of PRA Model Generator

4.1. Default Configuration of Generated PRA Model

  • default fault tree arguments:
# Arguments Value
1 Fault tree name Autogenerated
2 The root gate name root
3 The seed of the random number generator 123
4 The number of basic events 100
5 The number of house events 0
6 The number of CCF groups 0
7 The average number of gate arguments 3.0
8 The weights of gate types [AND, OR, K/N, NOT, XOR] [1.0, 1.0, 0.0, 0.0, 0.0]
9 Percentage of common basic events per gate 0.3
10 Percentage of common gates per gate 0.1
11 The avg. number of parents for common basic events 2
12 The avg. number of parents for common gates 2
13 Maximum probability for basic events 0.1
14 Minimum probability for basic events 0.01

4.2. Modifying Configuration of Default PRA Model

5. References

About

CLI utility for creating synthetic event trees and fault trees in the OpenPSA-MEF, OpenPRA JSON, and SaphSolve JSON formats

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •