addLogic: Add a Logic Gate

Description Usage Arguments Value References Examples

Description

Modifies an existing fault tree with the addition of a logic gate.

Usage

1
2
addLogic(DF, type, at, name="", human_pbf=-1, repairable_cond=TRUE,
 description="")

Arguments

DF

A fault tree dataframe such as returned from ftree.make or related add... functions.

type

A string signifying the type of logic to be applied. Gate types "or","and","inhibit","conditional" (or "cond"), and "alarm" have been implemented.

at

The ID of the parent node for this addition.

name

A short identifying string

human_pbf

A probability of failure for a human to respond as needed to an alarm. This value is only used by the alarm gate.

repairable_cond

A boolean value used only by the conditional gate type indicating whether repair of the input condition is viable to the model.

description

An optional string providing more detail for the resultant event.

Value

Returns the input fault tree dataframe appended with an entry row to accept the result of the logic calculation.

References

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

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

Vesely, W.E., Goldberg, F.F., Roberts, N.H., Haasl, D.F. (1981) Fault Tree Handbook U.S. Nuclear Regulatory Commission

Vesely, W.E., Stamatelato, M., Dugan, J., Fragola, J., Minarick, J., Railsback, J. (2002) Fault Tree Handbook with Aerospace Applications NASA

Doelp, L.C., Lee, G.K., Linney, R.E., Ormsby R.W. (1984) Quantitative fault tree analysis: Gate-by-gate method Plant/Operations Progress Volume 3, Issue 4 American Institute of Chemical Engineers

Examples

1
2
3
4
5
mytree <-ftree.make(type="cond", repairable_cond=TRUE, name="power outage")
mytree<-addLogic(mytree, at=1, type="and", name="neither emergency generator operable")
mytree<-addLatent(mytree, at=2, mttf=5,mttr=12/8760,inspect=1/26, name="e-gen set fails")
mytree<-addLatent(mytree, at=2, mttf=5,mttr=12/8760,inspect=1/26, name="e-gen set fails")
mytree <- addDemand(mytree,  at=1, demand_rate=1, name="incomming power interruption")

ftree documentation built on May 2, 2019, 4:41 p.m.