Simulation & Performance Evaluation Case Study

Where a Hospital Emergency Department's Time Actually Goes

An emergency department is a supply chain like any other — patients arrive unpredictably, move through shared resources under priority rules, and the question that actually matters is where the time and money go, not which fix sounds most reasonable. This traces that question from real patient data through a validated simulation to a ranked recommendation that treats cost and patient outcomes as one problem, not two.

What the hospital actually needed

2016–2018, Imam Khomeini Hospital Complex, Tehran — Iran's first hospital-based emergency department.

The hospital's emergency department had grown into the busiest, most resource-constrained part of the complex, and management was weighing several fixes at once: re-prioritising who gets imaging first, or paying for another CT or MRI machine. Both cost something — staff time and political capital for the first, real capital for the second — and nobody had a fair way to compare a cheap partial fix against an expensive complete one. The engagement started with the department's own patient-flow records and staff, not with a chosen technique.

Inside the department

Five severity levels, two treatment units, one shared bottleneck.

Every arriving patient is triaged into one of five severity levels (ESI 1–5). The most critical 1.5% go straight to resuscitation; the next 14.7% and the following 30.4% are treated in two dedicated units — a 22-bed unit for the more urgent cases and an 18-bed unit for the next tier, each staffed by five doctors and five nurses per shift. The remaining roughly half of all arrivals are low-acuity and routed to a fast-track outpatient clinic instead, seeing about 150 patients a day.

Two months of real patient-flow data — about 6,500 patients — were collected: 70% to fit the service-time distributions feeding the model below, the remaining 30% held back purely to check the model's output against what actually happened.

Where patients actually wait

Not the doctor, not the bed — the scanner.

Descriptively, the data shows that CT and MRI dominate a patient's time in the department: over 80% of admitted patients and over 85% of all arrivals need one or the other. Diagnostically, that's also where the queue is — a patient in the more urgent of the two main units spends around 10 of their roughly 13.5 hours in the department queueing for a scan, not waiting for a doctor or a bed. That single finding reframes the whole question: the department doesn't have a staffing problem or a bed problem, it has an imaging-capacity problem.

6,500
patients in the 2-month dataset
85%
of arrivals need CT or MRI
~10 h
of a 13.5 h stay spent queueing for a scan
22 / 18
beds, more-urgent / next-tier units

A model worth trusting before acting on it

Built in Arena, checked against the 30% of data held back for exactly this.

The full patient journey — arrival, triage, resuscitation, the two main units, the shared imaging queues, discharge or admission — was rebuilt as a discrete-event simulation. Run forward under today's staffing and priority rules, it reproduces the real department closely: for example, the more urgent unit's average length of stay comes out at 13.5 hours simulated against 14.7 hours measured, and every other severity group lands within a similar margin. That match is what makes it safe to test changes on the model instead of on the department.

Testing ten fixes, scored fairly

Cost and patient outcomes, weighed together instead of argued about separately.

Ten candidate changes were run through the model against the current baseline: three re-prioritise who gets scanned first (no new spending), and seven add imaging capacity in different combinations — one or two extra CT machines, an extra MRI machine, dedicated to the emergency department or shared across the hospital. Each scenario has its own cost, its own effect on queue time, and its own effect on how many patients of each severity get seen — which means the ten options can't be honestly ranked by any single number. A cheap re-prioritisation that helps one severity group can quietly make another group's wait worse; an expensive machine that's shared hospital-wide may dilute its benefit to the emergency department specifically.

The scoring method used — a two-stage efficiency model related to data envelopment analysis — handles exactly this: it treats each scenario's resource cost and its patient-outcome payoff as two linked stages of the same process, and scores every option on both at once, the same way you'd fairly judge a cheap partial fix against an expensive complete one.

Efficiency score (0–1) — cost and patient outcomes scored together 0.90 1.00 — fully efficient +1 dedicated CT scanner 1.000 — rank 1 +1 dedicated MRI scanner 0.978 — rank 2, 1/5 the cost Today's policy (baseline) 0.938 — rank 4 Re-prioritise imaging queue only 0.836 — rank 8, below baseline +1 shared CT, +1 shared MRI 0.761 — rank 11, worst of 11 Re-prioritising who gets scanned first, alone, scores below doing nothing — it only moves the wait between patient groups. Only added imaging capacity genuinely improves the score.
Efficiency scores for the current policy against the best and worst of the ten scenarios tested, out of eleven total.
ScenarioEfficiency scoreRankCost
+1 dedicated CT scanner1.0001 of 11≈10 bn Toman
+1 dedicated MRI scanner0.9782 of 11≈2 bn Toman
+2 dedicated CT scanners0.9713 of 11≈20 bn Toman
Today's policy (baseline)0.9384 of 11—
+1 shared CT, +1 shared MRI0.76111 of 11≈12 bn Toman

Doubling the CT investment doesn't beat a single dedicated scanner, and spreading the same money across a shared CT and MRI — the most expensive scenario tested — scores dead last. Cost alone predicts almost nothing here; what matters is whether the capacity is dedicated to where the queue actually is.

What it's worth

The cheap answer and the complete answer both beat guessing.
#1 of 11
dedicated CT scanner — only fully efficient option
#2 of 11
dedicated MRI — 98% as efficient at a fifth the cost
3
priority-only fixes tested, all scored below baseline
11
scenarios simulated and scored on cost and outcomes together

The honest recommendation isn't "buy more equipment" — three of the ten alternatives tried to fix the same problem for free, by changing who gets scanned first, and every one of them scored worse than the current policy. Reallocating priority without adding capacity just moves the queue from one patient group to another; it doesn't remove it. The department's money is best spent on a dedicated CT scanner if the budget allows it, or a dedicated MRI — at a fifth of the cost, for nearly the same efficiency score — if it doesn't. Either is a defensible, evidence-based capital case; guessing at a priority-rule change is not.