Queueing Theory Simulator — M/M/1 Queue Length & Wait Time Interactive

Interactive 3D queueing theory simulator: vary arrival and service rates on a single-server desk and compare observed waits with stationary M/M/1 predictions.

← Industrial Engineering Labs
About this tool — how it works & FAQOpen ▾Close ▴

About the Queueing Theory Simulator

Customers enter a single-server service desk with exponential interarrival and service times. A reproducible event sequence contrasts observed queue length and waiting with stationary M/M/1 predictions.

What the simulator shows

• A 3D laboratory scene with: Arrival doorway; FIFO waiting positions; Single service desk; Departure doorway; Utilization and waiting indicators. • Controls: Mean arrival rate λ (0.5-6 customers/min); Mean service rate μ (1-8 customers/min); Random sequence seed (1-20). • Live readouts: Customers waiting; Server occupied · 1=yes; Completed customers; Utilization ratio λ/μ; Observed completed waits; Stationary Wq · −1 means unstable. • Guided experiments: Light traffic; Near capacity; Overloaded desk.

Model equations

• ρ=λ/μ; stable only for ρ<1 • For stable M/M/1: Wq=ρ/(μ−λ), Lq=λWq • Interarrival=−ln(U)/λ; service duration=−ln(U)/μ • One animation second = 0.5 minutes of queue time.

Model limits and scope

Single FIFO server with unlimited waiting capacity and independent exponential times. The seed makes replay repeatable; a short transient sample need not match stationary means. No balking, abandonment, priorities or walking-time contribution. Overload has no finite stationary waiting-time prediction.

Frequently asked questions

Does ρ below one guarantee nobody waits?

No. Random arrivals and service times create temporary queues.

Is a finite stationary Wq defined when λ≥μ?

No. The unbounded M/M/1 queue has no stable stationary mean in overload.

What does the "Light traffic" experiment show?

The desk often empties, though random bursts can still cause waits.

What does this simulator not model?

Single FIFO server with unlimited waiting capacity and independent exponential times. The seed makes replay repeatable; a short transient sample need not match stationary means. No balking, abandonment, priorities or walking-time contribution. Overload has no finite stationary waiting-time prediction.

Related tools & guides