- Introduced by
- Banks, Carson, Nelson & Nicol (textbook lineage); foundational work by Tocher & Conway (1960s)
- Year
- 1960s (formalized); modern computational form from 1970s onward
- Type
- Stochastic process simulation
What does it do?
Discrete-Event Simulation (DES) is a computational modeling paradigm in which the state of a system changes only at a countable sequence of event times; between events nothing changes, so the simulation clock jumps from one event to the next.
The paradigm was developed from the 1960s onward and is treated in standard textbooks by Banks, Carson, Nelson and Nicol and by Law. It is widely used to analyze queuing systems, patient flows, manufacturing lines and logistics networks in which entities move through shared resources over time.
The intuition behind the method
Imagine a hospital emergency department: patients arrive, wait for a nurse, receive treatment, and leave. Real life does not update every millisecond — it changes only when something happens: a patient arrives, a nurse becomes free, or a patient is discharged. DES captures exactly this logic. The simulation maintains a sorted list of future events and processes them one by one, advancing a virtual clock to each event time rather than grinding through every millisecond. This makes it fast even for complex systems, and it lets analysts ask 'what if we add one more nurse?' or 'what if arrivals double on Mondays?' without touching the real system.
History
Early foundations of DES were laid in the 1960s, when event-driven modeling of discrete entities moving through resources began to be formalized. The event-scheduling approach, which maintains a future-event list sorted by time, is the structure described in the textbooks cited on this page. The textbooks by Banks, Carson, Nelson and Nicol (fifth edition, 2010) and by Law (fifth edition, 2015) are the references cited for the methodology of modern practice, including output analysis and input modeling.
When to use it
Choose DES when a system can be described as discrete entities (patients, jobs, vehicles) moving through resources subject to stochastic arrival and service times, and when the question concerns capacity, bottlenecks, queues or what-if scenarios. Typical cases include emergency department and ward flow, manufacturing and logistics throughput, and call center staffing. Prefer an analytical queuing model when the system is simple and idealized enough for a closed-form answer. Do not choose DES when the dynamics are better described as continuously evolving stocks and flows, or when no data or expert judgment is available to specify the arrival and service distributions. The method itself does not require normally distributed outputs, but confidence intervals built from replication means rely on approximately normal sample means, so enough replications must be run. Too few replications give intervals too wide to support a scenario comparison.
Limitations and considerations
- Results depend on the fitted arrival and service distributions; errors in the input data propagate directly into waiting-time and utilization estimates.
- Starting from an empty system biases steady-state estimates unless an initial warm-up period is discarded.
- Confidence intervals narrow only as the number of replications grows; with few replications, differences between scenarios may not be distinguishable from simulation noise.
- Models with many entities and resources can require long run times to reach the precision needed for decisions.
- Validation depends on historical data; if the process map omits routing or resource rules, the outputs can look plausible while misrepresenting the real system.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Represents resource contention, variable routing and priority rules, which closed-form queuing formulas generally cannot capture in a single model.
- Makes uncertainty explicit: independent replications yield confidence intervals for each reported measure rather than a single point estimate.
- Allows scenarios such as added staff or changed arrival patterns to be compared inside the model without disturbing the real system.
- Input distributions are not restricted to a fixed family, so empirical or skewed service-time data can be used directly.
- Time advances from event to event, so periods in which nothing changes do not need to be simulated step by step.
Applications
- Emergency department patient flow: evaluating staffing levels, triage policies, and bed capacity to reduce waiting times.
- Manufacturing throughput: identifying bottleneck workstations, sizing buffers, and planning shift schedules.
- Supply chain and logistics: modeling warehouse operations, delivery routing, and inventory replenishment under stochastic demand.
- Call center staffing: determining agent counts and routing rules to meet service-level agreements.
- Airport and port operations: simulating gate assignments, ground handling, and cargo throughput.
How it works
How it works
The analyst maps the real process: entities (patients, jobs, vehicles), resources (nurses, machines, trucks), queues, and routing logic. This conceptual model is the blueprint for everything that follows, and vague process maps produce unreliable simulations.
Arrival inter-times and service durations are fitted to probability distributions, typically exponential, Erlang, log-normal, or empirical, using historical data and goodness-of-fit tests. Input distributions are often a major source of uncertainty in DES, so sensitivity analysis across plausible distribution families is recommended, and it is essential when data are scarce.
The event calendar (future-event list) is initialized. Each event type (arrival, service-start, service-end, departure) is coded with the state transitions it causes. A random-number stream drives each stochastic element, and separate streams are assigned to arrival and service processes so that variance reduction techniques such as common random numbers can be applied later.
The simulation is usually run for a warm-up period before statistics are collected. At time zero the system is often empty, an artificial starting condition that biases early estimates of queue lengths, waiting times and utilization. The warm-up length can be judged with a graphical method such as Welch's, which plots a moving average of the performance measure over simulated time and looks for the point where it levels off.
Several independent replications are run, each with a different random seed. The replication results, not the observations within a single run, are the units of statistical analysis, because observations within one run are autocorrelated. The figure of 30 replications that appears in this page is a preliminary starting point rather than a guarantee of precision; the number needed for a target confidence interval width depends on the output variance and is best set with a sequential pilot procedure.
Summary statistics (mean waiting time, throughput, resource utilization) are computed from the n independent replication means, X̄_i. The grand mean is the average of the X̄_i, and their sample standard deviation S measures the spread between replications. The 95% confidence interval is the grand mean plus or minus a half-width equal to the t-distribution quantile for the 95% level with n−1 degrees of freedom, multiplied by S divided by the square root of n. It is read as the range within which the long-run value is expected to fall at that confidence level. A scenario difference is meaningful only if its confidence interval excludes zero, and common random numbers tighten the interval for that difference. If the interval is too wide, more replications or variance-reduction techniques are applied.
Formula
\bar{X}=\frac{1}{n}\sum_{i=1}^{n}\bar{X}_i,\quad S=\sqrt{\frac{1}{n-1}\sum_{i=1}^{n}(\bar{X}_i-\bar{X})^2},\quad h=t_{n-1,\,1-\alpha/2}\,\frac{S}{\sqrt{n}}Common pitfalls
- Stopping at too few replications when the decision requires a narrow confidence interval; use a sequential pilot procedure to size the run instead of fixing the count in advance.
- Omitting or under-sizing the warm-up period, so that the empty-system start dominates the reported utilization and waiting times.
- Treating observations from one long run as independent; within-run observations are autocorrelated, so confidence intervals must be built from independent replications.
- Fitting an arrival or service distribution without a formal goodness-of-fit test or without comparing the fitted curve against the empirical data.
- Using DES for continuously evolving stocks and flows; for such systems, system dynamics is the more natural paradigm.
Frequently asked questions
How many replications do I need?
Thirty independent replications is sometimes used as a preliminary starting point, but it is not a sufficient count for decision-grade precision and should not be treated as a minimum. Run a pilot batch, estimate the output variance from it, and then compute how many replications are needed to reach your target confidence interval half-width.
How do I determine the warm-up period?
Welch's graphical method is widely used: plot a moving average of the performance measure over simulated time and identify the point at which it stabilizes. Discard observations collected before that point. Omitting the warm-up biases steady-state estimates.
When should I use DES rather than an analytical queuing model?
Analytical queuing models (M/M/c and variants) give exact or approximate closed-form results for simple, idealized systems. Use DES when the process has complex routing, multiple competing resource types, non-exponential service times, batch arrivals, or time-varying arrival rates, situations where analytical solutions are unavailable or require unrealistic simplifying assumptions.
What if I have no historical data for fitting distributions?
Expert elicitation (e.g., minimum, most-likely, maximum estimates to fit a triangular distribution) is an accepted fallback for preliminary models. Conduct sensitivity analyses across plausible distribution families to understand how input uncertainty propagates to output uncertainty. Collect real data as the model matures.
Related methods
Sources
Banks, J., Carson, J.S., Nelson, B.L. & Nicol, D.M. (2010). Discrete-Event System Simulation (5th ed.). Pearson.
ISBN: 978-0136062127Law, A.M. (2015). Simulation Modeling and Analysis (5th ed.). McGraw-Hill.
ISBN: 978-0073401324