Individual Simulation Runs
The basic steps in an individual simulation run follow.
1. Find the initial state of the system, which is the same for all simulations.
2. Find the realizations (generate random numbers) for each random event that can occur in that state. Schedule the realizations by finding the order of events that can occur in the system. Update the schedule if necessary.
3. Find the next state of the system based on the schedule of events.
4. After each and every state change, perform steps 2 and 3 above. Update ages of all components before generating random numbers.
5. Continue the process until mission time is reached and/or until the specified number of failures has occurred.
6. Because the system will be in a particular state between two consecutive instances of system state change, find the vector (order events) of system state change instances. Based on this vector, calculate required measures for each simulation.