readSCRAMcutsets: Parse SCRAM output files to extract minimal cutset results

Description Usage Arguments Details Value References Examples

View source: R/readSCRAMcutsets.R

Description

Line-by-line text parsing of a known XML presentation format.

Usage

1

Arguments

x

The local file name of SCRAM output of interest.

dir

A character string for an absolute directory in which R can read and write.

Details

SCRAM produces consistently formated reports from each minimal cutset method: mocus, bdd, and zbdd. These are parsed on a line-by-line basis to extract the tag names as qualitative data from these analyses.

Value

Returns a list of matrices containing tags of minimal cutsets. Each matrix on the list contains cutsets of a specific order, which is also the list item number.

References

Rauzy, Antoine, et. al. (2013) Open PSA Model Exchange Format v2.0 open-psa.org

Limnios, Nikolaos (2007) Fault Trees ISTE Ltd.

Nicholls, David [Editor] (2005) System Reliability Toolkit Reliability information Analysis Center

O'Connor, Patrick D.T. (1991) Practical Reliability Engineering John Wiley & Sons

Examples

1
## This function is completely device dependent.

jto888/FaultTree.SCRAM documentation built on March 16, 2020, 9:22 a.m.