Patient Flow Simulation

Research
Introduced by
Operations research and management science
Year
1990
Type
Discrete event simulation technique
Family
Simulation, Process modeling

What does it do?

Discrete event simulation (DES) is a computational technique that models patient movement through healthcare facilities by simulating individual patient journeys and their interactions with resources such as staff, beds and equipment.

It handles stochastic, multi-step processes that analytical formulas represent poorly, and it allows alternative configurations to be compared without disturbing live operations.

The intuition behind the method

Patient pathways branch according to diagnosis and outcome, staff have several roles and variable efficiency, and equipment can fail and need maintenance. A simulation generates virtual patients, routes them through a model of the facility, and records outputs such as waiting times, resource utilisation and throughput, and, where it is modelled, measures such as patient satisfaction. Because each run contains random variation, repeated runs give a distribution of results for each scenario, and these distributions can be compared with the current configuration before any change is made.

History

Discrete event simulation belongs to the operations research and management science tradition. A review by Gunal and Pidd (2010) notes that DES has been used to model health-care systems for many years, that the number of published papers rose markedly from 2004 onwards, and that most published healthcare studies are specific to one application area. The same review observes that few papers propose or illustrate general approaches.

When to use it

Choose DES when the process has several interacting decision points, when shared resources such as staff, beds or equipment create queues or conflicts, or when you need to assess the combined effect of several changes that analytical models cannot represent together. It suits medium to large systems such as emergency departments, surgical centres and wider hospital networks. Do not use DES when the system is simple enough for an analytical queueing or capacity calculation, when process and arrival data are too sparse to support a credible model, or when a decision is needed before the time required for model building and validation is available.

Limitations and considerations

  • Model building needs substantial data collection and construction effort; a detailed model of one unit usually takes considerably longer than an analytical study, and the schedule depends on data availability and the validation work required
  • Credibility depends on the quality of input data and on stakeholder validation; incorrect routing rules or service-time distributions produce confidently wrong outputs
  • Modellers must assume routing rules, break times and priority rules that are often not formally documented in practice, so sensitivity analysis on these assumptions is essential
  • Uncertainty in input parameters, such as process-time distributions, propagates into forecasts, so outputs should carry that uncertainty
  • Output is stochastic: a single run or scenario gives one possible outcome, so results should be reported as ranges with confidence intervals

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Represents patient heterogeneity, shared resource constraints, randomness and priority rules within one model
  • Allows scenario testing without disrupting live operations, so alternatives can be compared quickly once the model has been validated
  • Shows where queues and bottlenecks form, both visually and through measured waiting times and utilisation
  • Captures interactions that analytical models miss, such as congestion that spreads from one area of the system to another
  • Can be built at the scale of a single unit or a wider system, although modelling effort grows with scope

Applications

  • Testing impact of staffing level changes in emergency departments on wait times and patient satisfaction
  • Evaluating surgical suite redesign, including block scheduling, turnover time reduction, and case sequencing
  • Assessing impact of adding new diagnostic equipment (CT scanner, laboratory analyzers) on throughput
  • Analyzing patient pathways during surge conditions (pandemic, major accident) to plan surge capacity and contingency staffing
  • Evaluating discharge process changes intended to reduce length of stay while maintaining quality and safety

How it works

How it works

1

Collect detailed process data: patient arrival patterns and diagnoses, routing rules (which patients go to emergency vs. elective pathways), service times at each station, staff schedules and availability, equipment capacity and downtime. Observe actual workflows to understand informal rules and workarounds.

2

Validate data completeness, remove anomalies, and fit distributions to process times. Check each fitted distribution with a goodness-of-fit test. Where data are sparse, prefer simpler distributions and test how sensitive the results are to the choice of distribution. Classify patients into logical groups (e.g., emergency walk-in, scheduled surgical, ICU transfer). Document all assumptions and resource constraints.

3

Map the current process flow: from entry point (emergency reception, scheduling) through treatment areas and eventual discharge. Identify bottlenecks, resource conflicts, and wait points where improvement is needed.

4

Build a simulation model in discrete event simulation software (Arena, AnyLogic, SimPy, or custom code) that reproduces the observed process. Include patient generation, routing logic, resource allocation, and data collection points. State whether the study uses a terminating run (for example, one working day) or a steady-state run, because this determines the warm-up period and run length.

5

Run baseline simulations to validate the model matches current performance. For steady-state measures, discard an initial warm-up period before collecting statistics. Evaluate proposed changes (additional staff, new equipment, process redesign) by running alternative scenarios. Report key metrics (average wait times, resource utilization, patient throughput) with confidence intervals and the variance across replications.

Common pitfalls

  • Building a model with more detail than the decision requires; such models become slow, hard to maintain and difficult to validate
  • Using too few replications: output varies from run to run, so the number of replications should be judged from the width of the confidence intervals for the metrics of interest rather than a fixed rule of thumb. Replications should use independent random number streams, confidence intervals should be computed across replications rather than across patients within one run, and any sequential stopping rule should be fixed before the runs begin
  • Skipping validation against current performance; a model that does not reproduce observed waiting times and utilisation gives no basis for predicting changed ones
  • Presenting single simulation results as certainties rather than as ranges with confidence intervals
  • Changing several inputs at once, which makes it hard to attribute an observed effect to any single change. Varying one factor at a time makes each effect easier to attribute, but it does not reveal interactions between factors; where interactions matter, use a designed set of scenarios and report them explicitly

Frequently asked questions

How long does it take to build a patient flow simulation?

Duration depends on scope and data availability. A focused model of one department, such as an emergency department or operating suite, usually takes considerably less time than a hospital-wide model, which needs more data sources and more rounds of validation. Data collection and validation often take up more of the effort than writing the model itself.

How many replications should I run?

Run enough replications that the confidence intervals for your key metrics are narrow enough to support the decision. Simpler models may stabilise quickly, while models with high variability need more runs. A sequential approach, adding runs until the interval width is acceptable, is a common way to decide when to stop.

How do I know if my simulation is valid?

Compare simulated outputs with observed data for the current state, such as average waiting times, resource utilisation and throughput. Agree the acceptable difference with stakeholders before comparing, and run sensitivity analysis to check that the model responds sensibly when its inputs change.

Can simulation predict the future accurately?

Simulation shows probability ranges, not certainties. Use it to compare the relative impact of scenarios, for example whether Option A gives shorter average waits than Option B across replications. Do not use it for absolute predictions without external validation.

What software should I use for patient flow simulation?

Arena, AnyLogic and SimPy are the packages named in this page. They differ in licensing, available template libraries and the programming skill required: SimPy is a Python library, whereas graphical tools may suit teams without programming experience. Choose based on required features, IT support and analyst expertise, and consider a simulation service provider if internal expertise is lacking.

Related methods

Sources

  1. Pidd, M. (1992). Computer Simulation in Management Science (3rd ed.). John Wiley & Sons.

    ISBN: 9780471939314
  2. Sokolowski, J. A., & Banks, C. M. (2009). Modeling and Simulation Fundamentals: Theoretical Underpinnings and Practical Domains. John Wiley & Sons.

    Open publication reference
  3. Gunal, M. M., & Pidd, M. (2010). Discrete event simulation for performance modelling in health care: A review of the literature. Journal of Simulation, 4(1), 42–51.

    Open DOI reference