In this example, we use the Discrete Event Simulation tool in the Reliability Analytics Toolkit to simulate system availability for a problem presented in MIL-HDBK-338, Reliability Design Handbook (page 10-42), as shown below.
Based on the information provided in the above reliability block diagram (RBD), the MTBF and MTTR for the five subsystems is entered into input box #1, as highlighted below. The RBD indicates that all subsystems are critical; therefore, any failure will result in a critical failure. Therefore, we enter each subsystem, one per line, into input box #2. 20 trials of length 8,760 hours are simulated using a seed of 1. Setting the seed allows the same results for the same inputs at a future time. If the seed input is left blank, the system will randomly choose a starting seed and results will be similar from simulation-to-simulation, but not exactly the same.
The underlying discrete event simulation engine is SimPy (Simulation in Python), which runs on the Google App Engine. See the references listed below for additional details on SimPy.
- SimPy Home Page
- Matloff, Norm, University of California at Davis, Dept. of Computer Science, Introduction to Discrete-Event Simulation and the SimPy Language
- Matloff, Norm, University of California at Davis, Dept. of Computer Science, A Discrete-Event Simulation Course Based on the SimPy Language
- Python pseudo-random number generator