Tools › Operations Research › Queueing and Simulation › Process Simulation › Example
A single line at 80 % utilization: the simulated averages against the M/M/1 formulas
| Tool | Process Simulation |
| Source | Original 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. |
| Level | Undergraduate |
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
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
- A clinic day with one registration clerk: five steps, a lab loop and a line that grows all day
- A second registration clerk: the line leaves registration and reappears at the exam rooms
- A four-step production line where inspection sends 15 % of the jobs back to welding
- Two stations at the same 85 % load: constant service against highly variable service