A replication is one independent run of a stochastic simulation model, using different random numbers, under the same scenario settings. Because process times, arrivals and failures are random, a single run gives one possible outcome. Running several replications and reporting the average with a confidence interval shows the expected result and how much it can vary.
Why one run is not enough
Two runs of the same scenario can differ by more than the difference between two scenarios. Without replications, a decision maker can approve an option that only looked better by chance.
How many replications?
Enough to make the confidence interval narrow enough for the decision. A common approach:
- Run a pilot set of replications, often 5 to 10.
- Compute the mean and the confidence interval half-width for the key output.
- If the half-width is wider than the decision can tolerate, estimate the number needed: n required ≈ n pilot × (pilot half-width ÷ target half-width)².
- Run the larger set and check the half-width again.
Confidence intervals
A confidence interval for the mean of an output is mean ± t × s ÷ √n, where s is the standard deviation across replications, n is the number of replications and t comes from the t-distribution (about 2.26 for 95% confidence with 10 replications). Reporting the interval with the result, for example “1,240 units per day, ±18”, tells the reader far more than “1,240”.
Comparing scenarios
When two scenarios are compared, use common random numbers (the same random streams for the same activities in each scenario) and compute a confidence interval on the difference between them. If that interval includes zero, the model has not shown that one option is better.
Common mistakes
These are the mistakes we see most often:
- Reporting a single run.
- Treating time periods within one long run as independent replications.
- Setting the replication count by habit instead of by the precision the decision needs.
- Comparing scenarios by their means alone.
Replications FAQ
A scenario is a set of inputs or design choices. Replications are repeated runs of one scenario with different random numbers.
No. A model with no randomness gives the same answer every run. Most operations are not deterministic, though, and a deterministic model of them hides the queues and delays that variability causes.
No. Replications measure run-to-run variability; a warm-up period removes start-up bias. Steady-state models need both.
Related: Discrete-event simulation · Risk analysis · Confidence interval · Glossary