Apply the methodLesson 35 of 76 · 8 min

How reliable is a whole product?

Translate a component relationship into a system success event.

Reliability over a stated mission asks whether the system performs its required function throughout that mission. A component reliability is a probability tied to a boundary and duration, not a timeless property.

For a series system every component must work. For a parallel system with sufficient redundancy at least one component must work. The code uses independent component states and compares both events on the same draws. Independent analytical formulas provide exact model references. In NumPy, all(axis=1) asks whether every component in each row works; any(axis=1) asks whether at least one does.

A diagram or Boolean rule should precede the calculation. Components that share a power source, environment or manufacturing defect may fail together. Parallel reliability can be overestimated if the model ignores a shared cause or assumes that either component can carry the complete load.

∏ipi\prod_i p_i means multiply all component success probabilities. For independent chances .9 and .8, series success is .9×.8=.72 and parallel success is 1−.1×.2=.98.

System logic determines success
  1. Component states
    C1,C2,C3C_1,C_2,C_3
  2. Series: all must work
    P(success)=∏ipiP(\text{success})=\prod_ip_i
  3. Parallel: at least one works
    P(success)=1−∏i(1−pi)\begin{gathered}P(\text{success})\\=1-\prod_i(1-p_i)\end{gathered}
Reference illustration. The exact product formulas here require independent component states. A common failure cause can invalidate them. The logic of the system and the dependence model are separate inputs.

Which Boolean operation matches a series system: all or any?

Write a prediction (optional)

Seeded teaching simulation

Select Run Python below with the code unchanged.

Tools
About Python ↗

The code is editable. Press Ctrl+Enter or ⌘+Enter to run Python from the editor.

Published example output

This result comes from the original Python. Your runs appear above. Build environment ↗

Series simulated / exact: 0.9319 0.93139
Parallel simulated / exact: 0.99998 0.99999
Simulated trials: 50000

Read the first result

Very rare parallel-system failure may be poorly estimated by a modest trial budget, even when series reliability is estimated reasonably.

Try an edit

Add print("Parallel with shared failures:", round((parallel & (rng.random(len(working)) >= .01)).mean(), 5)) immediately after print("Simulated trials:", len(working)). Select Run Python again. Compare Parallel with shared failures with the simulated value in Parallel simulated / exact. The new line adds a 1% chance of a failure that disables the whole system, regardless of component states.

Back to the Python editor

Scope. The independent Bernoulli mission model omits ageing, repair, load sharing and common-cause failures.

Try a fresh case

Two backup components share a power supply. What should the model consider?

Choose an answer
Need a hint?
Hint 1

Draw what both components depend on.

Hint 2

Identify a single event that can disable both.

Your notes