Hospital patient-flow simulation: experiment design
Compare proposed triage, diagnostic, treatment and boarding changes in a hospital study plan. Lists inputs and checks, not simulated results.
On this page
If you add a triage slot, will patients leave the emergency department sooner, or will they simply join the diagnostic queue sooner? Compare capacity changes at triage, diagnostics, treatment and boarding, with total time in the department and waiting at each stage reported separately.
This page specifies an experiment; it does not include a runnable hospital model, measured inputs or simulation results.
To run it, supply arrivals by hour and patient category, routes from triage to diagnostics or treatment, service-time distributions at each stage, staffed capacity by shift, boarding rules and the number of patients already present at the start.
For a pilot, run each scenario for 24 simulated hours with 40 independent replications. Record waiting time and occupied capacity at each stage, completed exits, and time from arrival to departure. Forty is a starting count: use the confidence-interval width to decide whether more runs are needed.
First test a few forced paths: a patient discharged after treatment, one transferred to an inpatient ward, and one still boarding at 24 hours. Check arrival, service-start, transfer and exit timestamps. Then compare simulated hourly arrival counts and queue sizes with observed data before interpreting scenario differences.
Specify the model boundary. If it ends when a patient leaves the emergency department, an admission decision is not an exit while the patient is still boarding there; transfer to the ward is. At 24 hours, count patients still queued, under treatment or boarding separately from patients who have exited.
A patient arriving at 23:50 who remains at 24:00 cannot contribute a completed length of stay to that day's average. Report how many such patients remain, and state whether waiting-time estimates use arrivals during the day, exits during the day, or follow-up after the 24-hour cutoff.
For an emergency department that stays open overnight, preserve existing patients across midnight or justify the starting occupancy. Treating 24:00 as an empty reset would change the system being modelled.
arrivals + initial patients = completed exits + patients remaining
Change one capacity at a time against the same baseline: one more triage slot, two more diagnostic slots, two more treatment slots or more boarding spaces. Keep arrivals and routing assumptions matched when comparing alternatives.
Report the waiting-time change at every stage, not only at the stage that received capacity. A shorter triage queue accompanied by a longer diagnostic queue may leave total time in the department unchanged.
| Scenario | Change | Check |
|---|---|---|
| Baseline | Existing capacities | Queue and patient-flow balance |
| Triage | One extra triage slot | Diagnostic and treatment waits |
| Diagnostics | Two extra diagnostic slots | Treatment and boarding waits |
| Treatment | Two extra treatment slots | Boarding backlog |
| Boarding | More boarding spaces | Time waiting for ward transfer |
| Surge | Higher arrivals with coordinated capacity | Peak queue and unfinished patients |
The table lists study inputs and checks, not simulated results.
Define the surge before running it. For example, multiply the 08:00–12:00 arrival rate by 1.5 while keeping service times and patient mix fixed; that isolates the effect of higher volume. A change in patient acuity needs a separate scenario. Compare each capacity choice under baseline and surge arrivals rather than pooling the outputs.
Without a validated model and completed runs, the table above identifies experiments to perform; it cannot rank staffing options.
- Exact arrival profiles, patient routes, service distributions, staffing schedules and starting occupancy.
- 24-hour cutoff and unfinished-patient rule; replication count, random-stream assignment and precision target.
- For every scenario: mean and 95th-percentile wait by stage, occupied capacity, exits, time in the department and patients remaining at 24 hours.
- For each matched comparison: mean difference in total time and a confidence interval based on replication-level differences.
- Checks against observed hourly arrivals, queue sizes and patient exits, plus assumptions not supported by data.