Author-reviewedEvidence: highv1.0.0

Queuing Model

A queuing model is a mathematical representation of how arrivals, service times, capacity, and service rules generate waiting, congestion, and throughput in a service system.

Last reviewed byDr Darrin Baines

Concept Architecture

Queuing Model: Concept Architecture

Orientation and learning roadmap

This page first identifies the demand, service capacity, and routing choices that shape a queue. It then shows what a simple model can calculate, how to interpret its assumptions, and how waiting and capacity enter a health economic decision.

System boundary and flow

Specify where an entity enters the system, which service stages it visits, and whether a reported delay includes only time waiting or the entire time in the system. A patient pathway may contain several queues, so a result for one consultation stage should not be labelled as an end-to-end patient wait.

The arrival process describes when patients request service; the service process describes how long each server takes; the queue discipline determines who is served next. Also state the number of servers, opening hours, queue capacity, priority rules, balking or abandonment, and any blocking between stages. Patients with different acuity or service requirements may need separate classes and explicit routing rather than one average patient.

Core measures and conservation relationship

Waiting time, queue length, service utilisation, throughput, and the probability of breaching a target answer different operational questions. Their definitions must specify the population, observation period, and whether they refer to a queue or the full system.

For a stable system with consistent boundaries, Little's law relates long-run average occupancy LL, effective throughput λeff\lambda_{\mathrm{eff}}, and mean time in the system WW:

L=λeffW.L=\lambda_{\mathrm{eff}}W.

Using queue-only quantities gives Lq=λeffWqL_q=\lambda_{\mathrm{eff}}W_q, where LqL_q is mean number waiting and WqW_q is mean waiting time before service. The effective throughput is the rate of patients actually admitted to and completed by the defined system in steady state; it need not equal offered demand if patients are turned away or abandon the queue.

A transparent single-server example

An M/M/1M/M/1 model assumes independent Poisson arrivals, exponentially distributed service times, one server, first-come-first-served service, and an effectively unlimited waiting space. Its stationary formulas apply only if the arrival rate λ\lambda is below the server's service rate μ\mu.

With λ=8\lambda=8 patients per hour and μ=10\mu=10 patients per hour, utilisation is ρ=λ/μ=0.8\rho=\lambda/\mu=0.8. The model gives:

Wq=λμ(μ−λ)=0.4 hours=24 minutes,W=1μ−λ=0.5 hours=30 minutes.W_q=\frac{\lambda}{\mu(\mu-\lambda)}=0.4\text{ hours}=24\text{ minutes},\qquad W=\frac{1}{\mu-\lambda}=0.5\text{ hours}=30\text{ minutes}.

Thus the model's mean service time is six minutes and its mean total time is 30 minutes; Little's law yields L=8×0.5=4L=8\times0.5=4 patients on average in the system. If arrivals rose to nine per hour with service capacity unchanged, the same idealised model would predict W=1W=1 hour, illustrating how delays can rise sharply as capacity approaches demand. These values are illustrative model outputs, not observed waiting times or a safe staffing recommendation.

Choosing and checking a model

The shorthand A/S/cA/S/c identifies an arrival distribution, service-time distribution, and number of servers, but additional assumptions still need to be stated. A many-server, priority, time-varying, finite-capacity, or network model may be necessary for a clinic, theatre pathway, or emergency department.

Feature in real serviceWhy a simple model may failPossible response
Demand varies by hour or dayConstant-rate averages hide peaksModel time-varying arrivals and schedules.
Patients differ in urgencyFirst-come-first-served misrepresents triageDefine priority classes and routing.
Downstream beds or staff are unavailableCompletion at one stage does not imply patient departureRepresent blocking and linked service stages.
Patients leave without serviceOffered arrivals exceed completed throughputInclude abandonment and report both rates.

Compare predicted waits, throughput, and occupancy against observed data by time period and patient class, and examine extreme waits as well as means. Use sensitivity analysis for arrival patterns, service-time variability, staffing, and routing; simulation may be preferable when the pathway is too complex for a credible closed-form model.

Economic and decision use

Adding capacity can reduce waits but requires staff, space, and other resources that have alternative uses. A decision analysis should compare feasible staffing or scheduling options using operating costs, patient and carer time costs where the perspective calls for them, access and equity effects, and any defensible link from delay to health outcomes.

Utilisation alone is not an efficiency verdict: a near-fully occupied server can coexist with unacceptable waiting, while spare capacity may protect access when demand varies. Report whose waits improve, whether a bottleneck simply moves downstream, and whether forecast demand and cost assumptions match the decision horizon.

Interpretation and evidence base

A queuing model represents congestion arising from the interaction of arrivals, service, capacity, and service rules; it does not make patients' clinical outcomes or treatment effects identifiable by itself. Little's law is a broad steady-state accounting relationship, whereas the M/M/1M/M/1 waiting-time formulas require much stronger distributional and service assumptions.

Little's original proof establishes the long-run flow relation. Queueing for healthcare discusses capacity and waiting in care delivery, while NHS England's demand and capacity models illustrate why demand variation matters in service planning.

Library

Tools & Resources

1
  • Other

    hesim — Health Economic Simulation Modeling and Decision Analysis (R package) — Devin Incerti & Jeroen P. Jansen, R package ed., 2024 (CRAN)

    A modular, computationally efficient R package for building and analysing health economic simulation models — cohort state-transition, partitioned survival, and individual-level continuous-time models — with fast individual-patient simulation and PSA via C++.

Frequently Asked Questions (6)

  • What is a queuing model?

    A mathematical model describing how entities wait in line for limited servers, used to analyse average waiting time and server utilisation.

    Source: Erlang 1909

  • Who founded queuing theory?

    Queuing theory began with the work of the Danish engineer Agner Krarup Erlang in the early twentieth century, who studied congestion in telephone exchanges to work out how many lines were needed to keep waiting acceptable. His mathematics of arrivals, service, and waiting became the foundation for analysing any system where demand meets limited capacity. The same theory is now applied to clinics, emergency departments, and operating theatres. Erlang (1909) laid the groundwork.

    Source: Erlang 1909

  • What are the components of a queuing model?

    A queuing model comprises an arrival process, describing how entities arrive, often assumed random at a constant average rate; a service process, describing how long service takes; the number of servers available; the queue discipline, the order of service; and the system capacity. From these, the model derives performance measures such as average waiting time, queue length, and the proportion of time servers are busy. Standard notation describes a model by its arrival and service distributions and number of servers, such as the M/M/1 queue.

    Source: Erlang 1909

  • What does a queuing model calculate?

    A queuing model calculates performance measures of a waiting system: the average time entities wait, the average number waiting in the queue and in the system, the utilisation of the servers, and the probability of a given number in the system. These follow from the arrival and service rates and the number of servers. For example, they show how waiting time rises sharply as utilisation approaches capacity. Such measures let the model quantify congestion and assess how it depends on demand and the resources provided.

    Source: Erlang 1909

  • In a queuing model, why does waiting time rise as utilisation increases?

    Waiting time rises as utilisation increases because, as the arrival rate approaches the capacity to serve, the system has less spare time to clear the queue, and random variation in arrivals and service times causes queues to build up that take longer to dissipate. Queuing models show that waiting time increases non-linearly, rising sharply as utilisation nears one, so a system run close to full capacity suffers long and volatile waits. This relationship is important for deciding how much capacity is needed to keep waiting acceptable.

    Source: Erlang 1909

  • How are queuing models used in health?

    Queuing models are used in health to analyse and plan services where patients wait for limited resources, such as staff, beds, clinics, or equipment, estimating waiting times and the capacity needed to keep them acceptable. They show how waiting depends on demand and capacity, helping decide staffing and bed numbers and understand why running services near full capacity causes long waits. While real health systems may be too complex for simple formulas, queuing models provide insight and inform more detailed simulation of patient flow.

    Source: Erlang 1909

Trust Record

Verified by Dr Darrin Baines

British health economist

Professional identity: darrinbaines.org

Verification date: 25 Sep 2026

Content version: 1.0.0

Canonical Identity

Term code
HE-EM-DES-012

Stable URI · Machine-readable · Resolvable · CC BY 4.0