Monte Carlo Simulation
Monte Carlo simulation of unit failures and repairs to estimate MTBCF, availability and spares demand.
Related terms: discrete event simulation, availability, spares
Concept, method & formula, study caseYour results
- Ao
- MTBCF
- spares used
What this tool answers
By simulating many random histories of a repairable system, the average number of failures and critical failures, the mean time between critical failures (MTBCF), the operational availability and the spare parts used.
Reliability Block Diagram (example system of the default inputs):
Each unit alternates between up and down. Times to failure and to repair are drawn at random from the distribution given for the unit: normal (mean, sd), exponential (mean), Weibull (scale , shape ) or a fixed time. The system suffers a critical failure whenever all units of at least one defined critical set are down at the same time; downtime lasts until the system is restored to a state with no critical set fully down.
Each trial runs for the chosen length and gives the failure and repair counts and the MTTR.
The figure shows one trial of a parallel pair over 500 hours, with both units as the critical set. Each unit fails three times, but the system is down only while both are down: twice, for 10 h and 20 h 2. Its availability is therefore (500 − 30)/500 = 0.94.
Adapted from Billinton & Allan, Figure 13.13 2.
How Monte Carlo works. It picks a set of values at random from the distribution of each variable, computes the result for that set, stores it, and repeats many times; the distribution and parameters of the result are estimated from that sample 1. It is performed by computer because of the large number of repetitive trials and calculations required to obtain a significant result 1.
Law of large numbers. The larger the sample, the more certainly the sample mean is a good estimate of the population mean 1.
Typical values
Typical shape () and characteristic life (, in hours) of common mechanical parts, from the Barringer & Associates Weibull database 8. Use them as a starting point or a sanity check, not in place of your own failure data: the database is for educational purposes only, and typical values may not fit a specific machine 8.
| Component | β (typical) | η (typical, hours) |
|---|---|---|
| Ball bearing | 1.3 | 40,000 |
| Seals, mechanical | 1.4 | 25,000 |
| Pumps, centrifugal | 1.2 | 35,000 |
| Motors, AC | 1.2 | 100,000 |
| Compressors, centrifugal | 1.9 | 60,000 |
| Gears | 2.0 | 75,000 |
For an exponential unit, the medium-voltage breaker MTBF is 2,458,932 hours (280.7 years) 9.
Repair times from published data. The time measured is named in each row; the breaker values are hours of downtime per failure 9.
| Item | Repair time (hours) |
|---|---|
| Pumps, corrective maintenance 10 | 37 |
| Compressors, repair time range 10 | 4.0–79.8 |
| Electric motors, 0–1000 V induction, downtime per failure 10 | 42.5 |
| Electric generators, steam turbine driven, downtime per failure 11 | 32.7 |
| Medium-voltage breaker, repair the failed unit 9 | 83.1 |
| Medium-voltage breaker, replace it with a spare 9 | 2.1 |
Sources (11) · Further reading (7)
MIL-HDBK-338B Electronic Reliability Design Handbook, U.S. Department of Defense, 1 October 1998, Section 3 Definitions (MTBCF, uptime ratio), 6.4.4.2.4.2 Monte Carlo Simulation Method. Concept: 8.3.2.5.2 Confidence Limits - Exponential Distribution (eq. 8.12); 10.4.1 Availability Models, eq. (10.22) (operational availability, p. 10-37).
Billinton, Roy; Allan, Ronald N., Reliability Evaluation of Engineering Systems: Concepts and Techniques, 2nd ed., Plenum Press, 1992, Chapter 13 Monte Carlo simulation (p. 390). Figure 13.13.
IEC 61508-6:2010 Functional safety of electrical/electronic/programmable electronic safety-related systems, Part 6: Guidelines on the application of IEC 61508-2 and IEC 61508-3, Annex D, D.1.1 (p. 80).
Birolini, Alessandro, Reliability Engineering: Theory and Practice, 6th ed., Springer, 2010, 2.2, Active Redundancy (p. 43).
Rausand, Marvin; Barros, Anne; Høyland, Arnljot, System Reliability Theory: Models, Statistical Methods, and Applications, 3rd ed., Wiley, 2021, 6.10 Monte Carlo Simulation (p. 289).
Birolini, Alessandro, Reliability Engineering: Theory and Practice, 6th ed., Springer, 2010, 2.3.4 (p. 61).
Billinton, Roy; Allan, Ronald N., Reliability Evaluation of Engineering Systems: Concepts and Techniques, 2nd ed., Plenum Press, 1992, 13.5.10 and 13.5.11, Examples 13.6 and 13.7 (pp. 398-401).
Barringer & Associates, Weibull Reliability Database For Failure Data For Various Components, archived copy of 18 December 2019 (Wayback Machine). Concept: typical values table.
Eaton, Medium-voltage circuit breakers reliability and availability for service, Application Paper AP083006EN, September 2018, reliability data from IEEE Std 493-1980, Table 24, Metalclad Drawout Circuit Breakers (p. 2).
Cadwallader, Lee C., Review of Maintenance and Repair Times for Components in Technological Facilities, INL/EXT-12-27734, Idaho National Laboratory, November 2012, Table 8 CM and periodic testing in U.S. nuclear power plants (NRC 1975) (p. 11), Table 27 Summary information for large motors (O'Donnell 1985) (p. 35) and Table 28 Repair times for industrial plant components (Harris 1984) (p. 36). Concept: benchmarks table.
IEEE Std 493-2007, IEEE Recommended Practice for the Design of Reliable Industrial and Commercial Power Systems (Gold Book), IEEE, 2007, Table 10-6 1980 generator survey data (p. 260). Concept: benchmarks table.
Banks, Jerry et al., Discrete-Event System Simulation, 5th ed., Prentice Hall, 2010.
Kelton, W. David; Zupick, Nancy B.; Ivey, Nathan, Simulation with Arena, 7th ed., McGraw Hill, 2024.
Law, Averill M., Simulation Modeling and Analysis, 6th ed., McGraw Hill, 2024.
Matloff, Norm, A Discrete-Event Simulation Course Based on the SimPy Language, University of California, Davis.
Matloff, Norm, Introduction to Discrete-Event Simulation and the SimPy Language, University of California, Davis.
NumPy documentation, Random Generator (the random number generator this tool uses).
SimPy 4 documentation (process-based discrete-event simulation framework based on standard Python).