Converter tool

Fault Tree Analysis

Define events and gates, get minimal cut sets, the exact top-event probability from a binary decision diagram, and Fussell-Vesely, Birnbaum, RAW and RRW importance for every basic event.

12 of 300; a gate lists the names of its inputs

1. Events and gates

TOP
PUMPS
PA
PB
MA
MB
PWR
VALVE
CTRL
SENS
LOGIC
MAINT

4 minimal cut sets, BDD with 19 nodes

2. Top-event probability

Exact (BDD)
0.002598
Rare-event approximation
0.002599
sum of cut-set probabilities
Min-cut upper bound
0.002598
1 minus the product of (1 - P)

Basic events are independent. Common-cause failures, repair, and time-dependent (dynamic) gates are not modelled; a shared cause appears only if you model it as a basic event under several gates.

Circles are basic events, diamonds undeveloped, house shapes house events

3. Tree diagram

Fault tree diagram

Sorted by probability

4. Cut sets

Minimal cut sets
#OrderCut setProbability
11PWR0.002
21VALVE3.000e-4
32LOGIC AND SENS2.000e-4
42MA AND MB9.901e-5

Computed exactly on the BDD

5. Importance measures

Importance of each basic event
EventProbabilityBirnbaumFussell-VeselyRAWRRW
PWR0.0020.99940.7695384.9564.337
VALVE3.000e-40.99770.1152384.9561.130
SENS0.020.0099760.07684.7641.083
LOGIC0.010.019950.07688.6041.083
MA0.009950.0099250.03804.7831.040
MB0.009950.0099250.03804.7831.040

Birnbaum is P(top | event occurs) minus P(top | event cannot occur). Fussell-Vesely is the fraction of the top probability removed if the event never occurs. RAW is P(top | event occurs) over P(top), RRW is P(top) over P(top | event cannot occur); an infinite RRW means the event is in every cut set.

6. Export and import

Fault Tree Analysis with Cut Sets and BDD

Operator: Abdulla Al Fahad. How tools are built and checked

A fault tree answers one question, how can this top event happen, by breaking it into gates and basic failures, and the useful outputs are the minimal cut sets, the smallest combinations of failures that cause the top event, and the probability that it occurs. Both get harder than they look when the same failure sits under several gates, as a shared power supply does.

This page takes your events and gates as a typed list, finds the cut sets by MOCUS with absorption, and calculates the exact top-event probability from an ordered binary decision diagram. It sets the exact value beside the two approximations used in practice, the rare-event sum and the min-cut upper bound.

Importance measures follow: Fussell-Vesely, Birnbaum, risk achievement worth and risk reduction worth for every basic event, computed exactly on the same diagram.

Key features

  • Basic events with a probability, or a constant failure rate and a mission time (p = 1 - exp(-rate x time)), undeveloped events, and house events that are TRUE or FALSE
  • AND, OR and k-out-of-n gates; a gate listed under two parents acts as a transfer
  • Minimal cut sets with a cap on order and on count that is flagged when it bites
  • Exact probability, rare-event approximation, min-cut upper bound, and importance measures for every basic event
  • Tree diagram as SVG or PNG, cut sets and importance as CSV, a PDF report, and a JSON model that can be saved and loaded

Gate semantics, how cut sets are found, and how the exact probability differs from the approximations

Events are named with a letter followed by up to 23 letters, digits or underscores. A gate lists its inputs by name, separated by commas. The model must have no loops, every named input must exist, k must lie between 1 and the number of inputs, and a top event must be a gate; each rule gives its own message. Events not reachable from the top event are ignored with a note.

A JSON model saved from this page is checked on loading for the same rules, and no field of it is ever evaluated as code.

How it works

MOCUS expands the top gate: an AND gate adds all its inputs to the current set, an OR gate splits it into one set per input, and a k-out-of-n gate becomes the OR of every group of k inputs. House events that are FALSE kill the set and TRUE ones disappear from it. Supersets are then removed so only minimal cut sets remain.

The exact probability does not come from the cut sets. The tree is compiled into an ordered binary decision diagram, a graph in which every node tests one basic event and has a branch for failed and one for working; the top-event probability is then a single pass over the graph that weights each branch by its event's probability (p on the failed branch, 1 - p on the other), so a repeated event is counted once and the sum needs no inclusion-exclusion. The diagram is capped at 1.5 million nodes.

Importance measures reuse that diagram. Birnbaum importance is P(top | event failed) minus P(top | event working), found by running the pass twice with the event forced to 1 and to 0. Fussell-Vesely is the share of the top probability that disappears when the event is forced to working, risk achievement worth is the top probability with the event failed divided by the base value, and risk reduction worth is the base value divided by the probability with the event working.

If a tree would need more than a fixed amount of work to list its cut sets (an AND of many wide OR gates grows as the product of their widths), the listing stops early. The page then gives no cut-set table, rare-event sum or upper bound, says so, and still reports the exact probability and the importance measures from the diagram.

Common use cases

  • A reliability engineer ranks the events of a redundant pump skid to decide which single failure deserves a second sensor.
  • A student checks a two-out-of-three voting circuit by hand: cut sets AB, AC and BC, and 3p^2 - 2p^3 = 0.028 at p = 0.1.
  • A safety analyst models a barrier whose maintenance state is a house event and compares the top probability with the event set to TRUE and FALSE.
  • A team lead exports the cut-set CSV and the tree image for a design review.

How to use this tool

  1. Load the example or add events and gates.
  2. Give each basic event a probability, or a failure rate and mission time.
  3. Name each gate's inputs and choose the top event.
  4. Read the exact probability, the cut sets and the importance table.
  5. Download the tree, the tables or the JSON model.

Example

The built-in cooling system: two pumps whose motors fail at 1e-4 per hour over 100 hours, both fed from one power bus (p = 0.002), a check valve (0.0003), and a flow sensor (0.02) with a logic solver (0.01) as the protection path

TOP = OR(PUMPS, VALVE, CTRL)
PUMPS = AND(PA, PB); PA = OR(MA, PWR); PB = OR(MB, PWR, MAINT)
CTRL = AND(SENS, LOGIC)

Cut sets, exact probability and importance

Cut sets: PWR; VALVE; LOGIC AND SENS; MA AND MB
Exact top probability 2.5977e-3 (rare-event sum 2.5990e-3, upper bound 2.5977e-3)
Fussell-Vesely: PWR 0.769, VALVE 0.115, SENS and LOGIC 0.077 each, MA and MB 0.038 each

Tips for best results

  • Model a shared cause as one basic event listed under every gate it affects; that is what makes it show up as a single-event cut set.
  • Use a house event for a configuration choice (a train out for maintenance) rather than editing the tree, then flip it to compare.
  • Look at RAW as well as Fussell-Vesely: an event can contribute little today yet raise the top probability a hundredfold if it were to fail.

Common pitfalls

Events are independent. Common-cause failure between redundant components is not modelled except by a basic event you add yourself.

A cut set cap drops sets from the list and from the rare-event sum, not from the exact probability; the warning says how many were dropped.

Constant failure rates describe random failures only; wear-out and repair are outside the model.

Common errors and how to fix them

The gates form a loop (A -> B -> A).
A fault tree cannot feed back on itself. Break the cycle by replacing one input with a basic event.
Gate G2 refers to "PWR", which is not an event in the tree.
Spell the input exactly as its event name, or add the event.
Gate V: k must be a whole number from 1 to 3.
Set k to the number of inputs that must fail, no more than the inputs listed.
The exact (BDD) calculation grew past its size limit.
The tree has too many interacting events. Split the model into subsystems, or reduce the number of repeated events.
The tree has too many cut sets to list within the page's work limit.
This is a warning, not a failure: the exact probability and importance measures are still shown. Split the tree if you need the cut-set table.

Best practices

  • Give every event a description; the PDF and diagram show it.
  • Check the probabilities' basis (per demand or per hour with a mission time) is the same across a tree before combining them.
  • Save the JSON model with the report so the analysis can be reproduced.

Frequently asked questions

Why does a very wide AND-of-ORs tree show no cut sets?

Five subsystems that each fail through any of nine parts have 9^5 = 59,049 cut sets of order five, and the count multiplies with every subsystem added. The listing is capped at 20,000 sets of order 8 or less, and beyond a fixed work limit it is abandoned; the exact probability and the importance table are unaffected because they come from the decision diagram, so use those and split the model if you need the sets.

What does an infinite RRW mean?

The event appears in every cut set, so removing it brings the top probability to zero.