- Introduced by
- Erlang, A. K. (foundation); generalized by operations research community
- Year
- 1909 (queueing theory); scenario application from 1960s–1970s OR literature
- Type
- Comparative simulation experiment
- Family
- Simulation / optimization
What does it do?
Policy Scenario Queueing Simulation applies queueing theory and discrete-event simulation to compare two or more competing service or resource-allocation policies under realistic demand and capacity conditions.
The system structure is held constant while only the policy rules change, so analysts can compare throughput, waiting times, utilization, and equity outcomes before a policy is implemented.
The intuition behind the method
Consider a hospital emergency department deciding whether to prioritize patients by severity (triage-first) or by arrival order (first-come-first-served). Running both rules on the same simulated patient stream shows how each affects critical-patient waiting times and staff workload. Policy Scenario Queueing Simulation formalizes this what-if comparison: it builds one queueing model of the system, encodes each candidate policy as a separate scenario, runs replications of each, and reports performance differences in measurable terms such as waiting time, queue length and server utilization.
History
Queueing theory originates with A. K. Erlang's 1909 work on telephone exchange congestion. Kleinrock's Queueing Systems, Volume 1 (1975) and Law's Simulation Modeling and Analysis (5th ed., 2015) are standard references for queueing theory and simulation methodology respectively.
When to use it
Use Policy Scenario Queueing Simulation when a system involves waiting lines or contention for shared resources and you need to evaluate two or more alternative operating rules before implementation. Classic applications include healthcare triage, call-centre staffing, airport security lanes, manufacturing job scheduling, and public service delivery. It is most useful when randomness in arrivals or service times makes analytical queueing formulas (such as M/M/c) insufficient, and when the policy rules are complex enough that intuition is unreliable. Do NOT use it when the system has no genuine queueing dynamics (no contention for shared resources), when reliable data on arrival and service distributions are unavailable, or when the policy differences are so small that a simpler sensitivity analysis is enough. Avoid it also when the required fidelity demands full agent-level heterogeneity; agent-based modelling may then be more appropriate.
Limitations and considerations
- Conclusions apply only to the policy options defined in advance; a better rule that was not modelled cannot be identified by the comparison.
- The rankings depend directly on the input distributions. Distributions fitted to sparse or non-stationary data carry their error into every scenario.
- Each scenario needs its own replications, and when many scenarios are compared, multiple-comparison adjustment widens the confidence intervals and increases the number of replications needed.
- The method does not tune policy parameters by itself; automatic optimization requires coupling the simulation with a search procedure (simulation-optimization).
- Feedback loops and priority classes add substantial effort to model building and validation.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Holding the arrival process, service distributions and capacity fixed while changing only the policy rules isolates the effect of the policy from differences in system structure.
- Non-exponential arrival and service distributions, feedback routing and conditional policy logic can be included, which closed-form queueing formulas such as M/M/c do not accommodate.
- Each replication gives an output value, so the spread and tail of the results (for example, high-percentile waiting times) can be compared between policies, not only their means.
- Common random numbers align the random streams across scenarios, so differences between policies are estimated with less noise than independent runs would give.
- Priority classes, shift schedules and capacity limits can be encoded directly in the model rather than approximated.
Applications
- Healthcare: comparing triage protocols (severity-based versus arrival-order) in emergency departments to reduce waiting times for critical patients.
- Call centres: evaluating skill-based routing against round-robin assignment to balance agent utilization and customer hold times.
- Airport operations: testing security lane allocation and pre-screening policies to reduce passenger processing time.
- Manufacturing: comparing job-shop dispatching rules such as SPT, EDD and priority rules in terms of work-in-process and tardiness.
- Public services: assessing appointment-based versus walk-in queue management at government offices or vaccination centres.
- Logistics: analysing warehouse order-picking and dispatch policies against service-level targets under variable demand.
How it works
How it works
Step 1: Define the competing policy scenarios as distinct sets of queue discipline rules, for example FCFS, priority queuing, round-robin, or threshold-based routing. Every scenario must address the same decision question so that the comparison is valid. At least two scenarios are needed, and one is often the current policy used as a baseline.
Step 2: Build the shared queueing model and validate it before any policy is tested. Specify the arrival process (arrival rates and inter-arrival distributions), the service process (service time distributions for each server type), the number of servers, the network topology, and capacity constraints. Where empirical data exist, fit the distributions to them and check the model's outputs against historical performance before running scenarios.
Step 3: Run the simulation for each policy scenario. Apply each policy rule to the validated model and execute enough independent replications to obtain stable estimates. Discard an initial warm-up period to remove initialization bias. The warm-up length can be chosen by inspecting time-series plots of the output for the point at which it settles, or by a formal truncation rule such as Welch's graphical method, and the result should be checked for sensitivity to the chosen length. Use common random numbers (CRN) across scenarios so that the random streams are aligned and the differences between policies are estimated with less noise.
Step 4: Record the performance measures for each scenario and replication. These include mean waiting time in queue, mean queue length (linked to waiting time by Little's Law, L = λW), server utilization, the proportion of customers exceeding service-level thresholds, and, where relevant, waiting-time measures for each customer sub-group so that equity effects can be examined.
Step 5: Compare the scenarios and rank them. Confidence intervals, hypothesis tests (for example, paired comparisons based on CRN, with a multiple-comparison correction such as Bonferroni when many scenarios are compared), or a multi-criteria score can be used. For a CRN comparison, the difference between two scenarios is calculated for each replication pair, and a t-based confidence interval is formed for the mean of these paired differences; an interval that excludes zero indicates a difference between the policies at the chosen confidence level. The half-width of such an interval is the t-quantile multiplied by the sample standard deviation of the differences and divided by the square root of the number of replications. Because a policy may reduce average waiting time while raising the risk of high utilization, the output should show trade-off profiles, and the recommendation should reflect the decision-maker's stated priorities.
Common pitfalls
- Omitting the warm-up period lets transient start-up behaviour enter steady-state statistics, which can distort the comparison between policies.
- Too few replications give wide confidence intervals that can hide real differences between policies. A pilot run should be used to estimate the variance and the number of replications needed.
- Fitting distributions by eye rather than with goodness-of-fit tests (chi-square, Kolmogorov-Smirnov, Anderson-Darling) leaves distributional error in the model, which can bias the scenario outputs in ways that are hard to detect.
- Using a single aggregate arrival rate when demand varies over the day (for example, rush-hour peaks) misrepresents the peak-period behaviour that often drives the policy question.
- Reporting only mean metrics hides how a policy behaves under high load, where tail statistics such as the 90th or 95th percentile waiting time are usually the decision-relevant values.
Frequently asked questions
How many replications do I need for each policy scenario?
There is no universal minimum. Run a pilot study of about 10 to 30 replications to estimate the output variance, then use the variance to compute the confidence interval half-width and determine how many replications give the precision you need. Common random numbers across scenarios reduce the variance of the differences, so fewer replications may suffice for comparisons. Systems with high variance or long transients may need many more.
Should I use an analytical queueing model instead of simulation?
Analytical models such as M/M/1 and M/M/c are faster and exact under their assumptions, which include Poisson arrivals, exponential service times and steady state. Use them when those assumptions hold and the policies are simple. Simulation is preferred when service times are non-exponential, the network has feedback or complex routing, policies involve conditional logic, or the system is non-stationary.
What is the difference between this and plain discrete-event simulation?
Discrete-event simulation (DES) is the general computational engine. Policy Scenario Queueing Simulation is a structured application of DES for comparing alternative queue management or service policies. Every policy scenario queueing simulation is a DES model, but DES is also used in manufacturing, logistics and other applications that are not primarily about policy comparison in queues.
Can I optimize policy parameters rather than just compare fixed scenarios?
Yes, but that extends the method into simulation-optimization. A search procedure (for example a genetic algorithm or response surface methodology) proposes policy parameter values, and the simulation evaluates each one. This is more computationally expensive than comparing a fixed scenario set, but it can locate near-optimal parameter settings rather than only ranking the scenarios defined in advance.
How do I validate the queueing model before using it for policy comparisons?
Compare the model's outputs (mean queue length, utilization, waiting times) with observed historical data for the same period and operating policy. Use both statistical tests and review by subject-matter experts. A model that cannot reproduce known behaviour under the current policy should not be trusted for comparing new policies.
Related methods
Sources
Kleinrock, L. (1975). Queueing Systems, Volume 1: Theory. Wiley-Interscience, New York.
ISBN: 978-0471491101Law, A. M. (2015). Simulation Modeling and Analysis (5th ed.). McGraw-Hill Education, New York.
ISBN: 978-0073401324