Simulation warm-up and initialization bias

Learn when an artificial starting state biases early results and how to choose a warm-up period.

On this page
  1. An empty model can bias the beginning of a run
  2. Warm-up is mainly a steady-state issue
  3. Choose the cutoff from the output, not from habit
  4. Move the cutoff

An empty model can bias the beginning of a run

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.

Warm-up is mainly a steady-state issue

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.

Choose the cutoff from the output, not from habit

Run several long replications and plot the measure you care about over time. Welch's graphical method averages the replications and smooths the result so the initial drift is easier to see.

Pick a cutoff after the initial trend has settled, then check that a nearby cutoff does not change the conclusion.

Move the cutoff

The small example below shows the same run summarized with different warm-up cutoffs. The model state is unchanged; only the part used for measurement changes.

References