Simulation 101 · Support Desk 2 · companion

A single-agent queue: how many customers is enough?

One agent, customers arriving 0.9 a minute, each taking a minute on average. The true mean wait is 9 minutes. Pick how many customers one run serves, and see what 100 runs with different seeds report for the mean wait: first counting every customer from the empty start, then discarding the first 100,000 as a warm-up.

Pick a run length and a method

Customers kept
Warm-up

What the 100 runs report

All five lengths at once

The numbers

100 runs (seeds 1 to 100) of 10,100,000 rows each; every length uses the start of the same runs
CustomersNo warm-up: mean (sd)Within 5% of 9Warm-up: mean (sd)Within 5% of 9