Tools › Operations Research › Queueing and Simulation › Process Simulation › Example

A single line at 80 % utilization: the simulated averages against the M/M/1 formulas

ToolProcess Simulation
SourceOriginal illustrative case; the closed form is the standard M/M/1 result (mean wait ρ s / (1 − ρ)). Little, J. D. C. (1961). "A Proof for the Queuing Formula: L = λW." Operations Research, Vol. 9, No. 3, pp. 383–387.
LevelUndergraduate

Problem

Customers arrive at random every 1.25 minutes on average at one counter whose service time is exponential with a mean of 1 minute. Simulate 10 runs of 20,000 minutes with a warm-up of 2,000 minutes and compare the averages with the M/M/1 formulas.

Inputs to Enter

  • Arrivals: exponential, mean gap 1.25 min; one step: 1 server, exponential mean 1 min
  • Run length 20,000 min, warm-up 2,000 min, 10 replications, seed 1
Open the Process Simulation tool

Answers

  • Formulas: ρ = 1 / 1.25 = 0.8; mean wait = 0.8 × 1 / 0.2 = 4 min; mean number waiting = 3.2; mean time in system = 5 min; mean number in system = 4
  • Simulated: utilization 80.2 % ± 0.3 %, mean wait 4.07 ± 0.14 min, mean number waiting 3.25 ± 0.12
  • Simulated: mean time in system 5.07 ± 0.14 min, mean work in process 4.05 ± 0.12, throughput 0.799 per min
  • Every formula value lies inside the simulated 95 % interval

Notes

Open this case in the tool: /analysis-tools/operations-research/queueing/process-simulation/?try=one-line-matches-the-formula. The page prints the closed form beside the simulated figures whenever the entered process has one (M/M/c, M/G/1, M/M/1/K, Jackson networks). About 14,400 customers pass in each replication.

More Examples for This Tool