gate_not
The Boolean logic gate "not" in the fault tree. Calculate the probability that the conditioning event happens according to the inputs.
xxxxxxxxxx
q = gate_not(q1, q2)
xxxxxxxxxx
q = gate_not(q1, q2)
Calculate the probability that the conditioning event happens according to the input q1
.
The relationship between them satisfies the following equation.
where
xxxxxxxxxx
>>> from OpenHA.assessment.system import gate_not
>>> q1 = 0.2
>>> print(gate_not(q1))
0.2
q1
—— The probability that an event happens, specified as a positive numeric scaler in