15.10 Queuing Theory & Simple Queuing Models
Key Takeaways
Simple queuing models are named explicitly in the Operations Research bullet of the CIL Mechanical Paper-II syllabus.
Kendall's notation describes a queue as arrival distribution, service distribution, number of servers, system capacity, population and queue discipline, with M denoting the Markovian or exponential case.
Utilisation is the arrival rate divided by the product of the number of servers and the service rate, and the queue is stable only when it is less than one.
Queue length grows without bound as utilisation approaches one, which is why systems designed for full utilisation always congest.
Why Queues Form
A queue forms whenever demand for a service arrives faster than it can be served — but crucially, queues also form when average capacity exceeds average demand, purely because of variability in arrivals and service times. This is the central and counter-intuitive insight of queuing theory, and it explains why a workshop with nominally adequate capacity still has jobs waiting.
In a coal operation, queuing problems are everywhere: dumpers waiting at a shovel, wagons waiting at a loading silo, machines waiting for a fitter, and vehicles waiting at a weighbridge.
Kendall's Notation
A queuing system is described as
| Position | Meaning |
|---|---|
| Arrival distribution | |
| Service time distribution | |
| Number of servers | |
| System capacity | |
| Population size | |
| Queue discipline |
Common symbols for and :
| Symbol | Distribution |
|---|---|
| M | Markovian — Poisson arrivals or exponential service times; memoryless |
| D | Deterministic — constant |
| Erlang of order | |
| G | General — any distribution |
So M/M/1 means Poisson arrivals, exponential service, one server, infinite capacity and population, first come first served. M/M/c is the multi-server equivalent.
Queue disciplines: FCFS (first come first served), LCFS, SIRO (service in random order), and priority schemes.
The link between Poisson and exponential
If arrivals occur as a Poisson process with mean rate , then the time between successive arrivals is exponentially distributed with mean . The two statements are equivalent descriptions of the same process, and the exponential distribution's memoryless property — the time already waited gives no information about the time still to wait — is what makes the mathematics tractable.
The M/M/1 Model
Let be the mean arrival rate and the mean service rate of the single server. Define the traffic intensity or utilisation
The system is stable only if . If , arrivals outpace service and the queue grows without limit.
Standard results
| Quantity | Formula |
|---|---|
| Probability the system is empty | |
| Probability of exactly in system | |
| Mean number in system | |
| Mean number in queue | |
| Mean time in system | |
| Mean time in queue |
Useful identities: and . The difference between "in system" and "in queue" is exactly the one job being served.
Little's Law
The average number in a system equals the arrival rate multiplied by the average time spent in it. Little's law is remarkably general — it holds for any queuing system regardless of the arrival or service distributions, the number of servers, or the discipline. It applies equally to with and to with .
Its practical use is that measuring any two of the three quantities gives the third. If a workshop has on average 12 jobs in progress and receives 3 jobs per day, the average throughput time is 4 days — no further data needed.
The Congestion Curve
The behaviour of as rises is the most important qualitative result in the topic:
| (jobs waiting) | |
|---|---|
| 0.50 | 0.50 |
| 0.70 | 1.63 |
| 0.80 | 3.20 |
| 0.90 | 8.10 |
| 0.95 | 18.05 |
| 0.99 | 98.01 |
Queue length rises hyperbolically, not linearly. Going from 80% to 90% utilisation adds ten percentage points of utilisation but more than doubles the queue; going from 90% to 95% doubles it again.
The managerial implication is direct and often resisted: a facility planned for 95% or higher utilisation of a variable process will congest. Buffer capacity is not waste; it is what buys acceptable waiting times. This is the quantitative justification for keeping standby capacity in a maintenance workshop or an extra dumper in a shovel fleet.
Worked Example: Workshop Repairs
Breakdowns arrive at a mine workshop at an average of 4 per day, Poisson distributed. A single fitting bay repairs them at an average of 6 per day, exponentially distributed.
Check by Little's law: . Consistent.
The probability the bay is idle is , so the fitter is idle a third of the time — and yet machines still wait 8 hours on average. That combination of visible idleness and visible waiting is precisely what variability produces, and it is why intuitive capacity planning by average load alone fails.
The M/M/c Multi-Server Model
With identical servers sharing one queue, utilisation becomes
and stability again requires . The probability of an empty system is
and the mean queue length is
with , and .
One queue or several?
A practically important result: a single queue feeding servers always outperforms separate queues each feeding one server, even though the total capacity is identical. The single queue never leaves a server idle while someone waits elsewhere. This is why banks, airports and well-run workshops use a single feeding line rather than one line per counter.
Other Models in Brief
| Model | Feature |
|---|---|
| M/M/1/K | Finite system capacity ; arrivals are turned away when full, so the system is always stable |
| M/M/1/N (finite population) | The machine repair model; as machines fail, fewer remain to fail, so the arrival rate depends on the state |
| M/D/1 | Constant service time; gives exactly half the queue length of M/M/1 at the same utilisation |
| M/G/1 | General service; the Pollaczek-Khinchine formula shows rises with the variance of service time |
The M/D/1 result deserves emphasis because of what it implies for practice: simply reducing variability in service times, with no increase in capacity at all, halves the queue. Standardising repair procedures, pre-kitting spares and using standard work packages are therefore direct queue-reduction measures, not merely tidiness.
Economic Analysis
The purpose of the analysis is normally to choose a service capacity. The total cost per unit time is
where is the cost of providing one server and the cost of one unit waiting. Service cost rises linearly with while waiting cost falls hyperbolically, so the total has a clear minimum — evaluated by computing the total for and selecting the lowest.
In a mine, can be very large: a haul truck waiting is not merely an idle asset but lost production from the whole shovel-truck circuit. That high waiting cost is what justifies apparently generous workshop and standby capacity, and quantifying it is exactly what this model is for.
In Kendall's notation, the symbol M for the arrival process denotes:
A Markovian process, meaning Poisson arrivals with exponentially distributed inter-arrival times
A mixed distribution of arrivals
A manual service operation
Multiple servers
In an M/M/1 queue with an arrival rate of 4 per day and a service rate of 6 per day, the average number of items in the system is:
1.33
2
3
0.67
Little's law states that the average number in a queuing system equals:
The variance of service time divided by the arrival rate
The service rate multiplied by the utilisation
The arrival rate multiplied by the average time spent in the system
The number of servers divided by the utilisation
As utilisation rises from 0.8 to 0.9 in an M/M/1 queue, the average queue length:
Remains approximately constant
Falls, because the server is busier
Increases by about 12 percent, in proportion to utilisation
More than doubles
Sections you finish are checked off in the contents.