Simulation warm-up and initialization bias
Learn when an artificial starting state biases early results and how to choose a warm-up period.
Suppose a hospital is normally busy, but the simulation starts with no patients and every bed free. Early waiting times will be unusually low because the model has not yet reached its normal workload.
That early period is called the initial transient. A warm-up period removes it from the measurements while leaving the model itself running normally.
Do not add warm-up automatically. A terminating model may need to start empty because the empty state is part of the real problem, such as a shop opening for the day.
Use warm-up when you want long-run behavior and the chosen starting state is artificial.
Plot queue length or waiting time against simulation time across several independent runs. Welch's method averages comparable points across replications, then smooths the curve to reveal any initial upward or downward drift.
Choose a candidate cutoff where that drift has largely disappeared. Recalculate the retained estimate with slightly earlier and later cutoffs; if the decision changes, the warm-up choice is not yet robust.
For a time-weighted measure such as average queue length, integrate queue length only over time after the cutoff and divide by the retained duration.
For patient waiting time, specify the cohort: arrivals after the cutoff or completions after it. A patient arriving at 07:55 and completing at 08:20 is excluded by an 08:00 arrival cutoff but included by an 08:00 completion cutoff.
Check unfinished cases at the horizon as well. Excluding long-waiting patients merely because they have not completed can bias completed-case averages.
The chart uses a constructed 24-hour series with a 12-minute reference level, not measured hospital data. Move the cutoff to see how excluding early samples changes the reported mean.