">
Generated: 15-Jun-2026 13:56 | Python engine
A frame-by-frame canvas animation of this scenario, side-by-side under contrasting operating policies.
A full-factorial design explores how staffing levels, room configurations, and arrival patterns interact to shape Emergency Department performance.
| Factor | Levels | Description |
|---|---|---|
| Staffing Plan | 4 | Minimal (3D/6N/1T), Standard (5D/10N/2T), Enhanced (7D/14N/3T), Surge (9D/18N/4T) |
| Room Config | 3 | Conservative (15S/5F/1T), Balanced (12S/8F/2T), FT-Heavy (10S/12F/2T) |
| Arrival Pattern | 3 | Normal (1×), Busy (1.5×), Mass-Casualty (2× + surge) |
| ESI | Category | Probability | Wait Target | Treatment |
|---|---|---|---|---|
| 1 | 🚨 Resuscitation | 2% | Immediate | 60–120 min |
| 2 | ⚠️ Emergency | 10% | <10 min | 45–90 min |
| 3 | ⏱ Urgent | 35% | <30 min | 30–60 min |
| 4 | 🔼 Less Urgent | 35% | <60 min | 15–30 min |
| 5 | 🟢 Non-Urgent | 18% | <120 min | 10–20 min |
20-panel overview: distributions, heatmaps, main effects, Pareto front, time series, and queue dynamics.
Patient wait time distributions by staffing plan and room configuration, length-of-stay profile, and left-without-being-seen rates.
How wait times relate to throughput and cost, door-to-doctor times by arrival pattern, and overall patient satisfaction.
Resource utilisation heatmaps, wait-time interaction surfaces, ESI-level analysis, and 24-hour queue profiles.
Main-effect decomposition for wait time and LWBS, cost-vs-wait Pareto frontier, and target compliance metrics.
Arrival vs discharge dynamics, doctor utilisation over 24 hours, and peak triage/treatment queue depths.
| Pattern | Avg Arrivals/24 h | Avg Throughput | Avg Wait [min] | LWBS [%] | Avg LOS [min] |
|---|---|---|---|---|---|
| Normal | 90.4 | 66.6 | 45.0 | 8.3 | 168.1 |
| Busy | 135.7 | 85.5 | 55.7 | 20.5 | 196.3 |
| Mass-Casualty | 201.2 | 76.5 | 83.0 | 49.4 | 297.7 |
| Staffing | Doctors | Nurses | Triage St. | Avg Wait [min] | D2D [min] | LWBS [%] | Throughput | Cost/Pt [€] | Satisfaction |
|---|---|---|---|---|---|---|---|---|---|
| Minimal | 3 | 6 | 1 | 85.3 | 92.9 | 55.5 | 41 | 1430 | 13.5 |
| Standard | 5 | 10 | 2 | 62.0 | 67.8 | 27.4 | 72 | 1276 | 33.4 |
| Enhanced | 7 | 14 | 3 | 51.2 | 56.8 | 14.0 | 91 | 1270 | 45.0 |
| Surge | 9 | 18 | 4 | 46.6 | 52.1 | 7.4 | 101 | 1336 | 50.8 |
What these emergency-medicine relationships reveal — with clinical operations research context.
| KPI Pair | r | Strength | Actionable Insight |
|---|---|---|---|
| Wait ↔ D2D | 1.000 | Strong | Wait and D2D show a positive relationship (r=1.00). Changes in one tends to reinforce the other. |
| Doc% ↔ Nurse% | 0.996 | Strong | Doc% and Nurse% show a positive relationship (r=1.00). Changes in one tends to reinforce the other. |
| Compliance ↔ Satisfaction | 0.954 | Strong | Compliance and Satisfaction show a positive relationship (r=0.95). Changes in one tends to reinforce the other. |
| LWBS% ↔ Satisfaction | -0.935 | Strong | LWBS% and Satisfaction show a negative relationship (r=-0.94). Improving one may come at the expense of the other. |
| Nurse% ↔ Satisfaction | -0.932 | Strong | Nurse% and Satisfaction show a negative relationship (r=-0.93). Improving one may come at the expense of the other. |
| Med.Wait ↔ D2D | 0.932 | Strong | Med.Wait and D2D show a positive relationship (r=0.93). Changes in one tends to reinforce the other. |
| Wait ↔ Med.Wait | 0.931 | Strong | Wait and Med.Wait show a positive relationship (r=0.93). Changes in one tends to reinforce the other. |
| Doc% ↔ Satisfaction | -0.925 | Strong | Doc% and Satisfaction show a negative relationship (r=-0.92). Improving one may come at the expense of the other. |
| KPI | Mean | Std | Min | Median | Max | 95% CI |
|---|---|---|---|---|---|---|
| Avg Wait [min] | 61.25 | 29.41 | 23.93 | 54.19 | 342.83 | [57.61, 64.90] |
| Median Wait [min] | 51.97 | 20.79 | 19.00 | 47.00 | 334.00 | [49.40, 54.55] |
| Door-to-Doctor [min] | 67.40 | 30.15 | 29.74 | 60.24 | 360.13 | [63.66, 71.14] |
| LOS [min] | 220.70 | 89.08 | 90.27 | 193.53 | 794.85 | [209.66, 231.74] |
| LWBS Rate [%] | 26.07 | 27.07 | 0.00 | 17.01 | 89.22 | [22.72, 29.43] |
| Throughput [pts/24h] | 76.21 | 28.76 | 17.00 | 74.00 | 165.00 | [72.64, 79.77] |
| Doctor Util [%] | 66.36 | 20.80 | 18.59 | 70.21 | 100.00 | [63.78, 68.93] |
| Nurse Util [%] | 38.42 | 12.92 | 10.86 | 39.85 | 64.21 | [36.82, 40.02] |
| Room Util [%] | 16.38 | 5.44 | 6.57 | 14.84 | 36.53 | [15.71, 17.06] |
| Triage Q Peak | 3.52 | 4.88 | 0.00 | 2.00 | 37.00 | [2.91, 4.12] |
| Treatment Q Peak | 14.93 | 13.17 | 0.00 | 12.00 | 72.00 | [13.30, 16.57] |
| Target Compliance [%] | 46.59 | 18.18 | 0.00 | 48.08 | 84.85 | [44.33, 48.84] |
| Satisfaction | 35.69 | 21.57 | 0.00 | 35.45 | 77.17 | [33.01, 38.36] |
| Cost/Patient [€] | 1327.77 | 212.62 | 899.40 | 1277.28 | 2627.22 | [1301.42, 1354.13] |
| Idle Wait [min] | 27.17 | 29.13 | 0.00 | 20.83 | 307.74 | [23.56, 30.78] |
Discrete-event microsimulation with minute-by-minute time steps over a 48-hour period (first 24 h warm-up, second 24 h KPI collection). Self-contained simulation engine running inside ProcessPoolExecutor for embarrassingly parallel Monte Carlo execution.
Arrivals follow a time-varying Poisson process with hour-dependent rates (bimodal peaks at 10–14 h and 18–22 h). Each patient receives an ESI triage level (1–5) with defined probabilities, treatment durations, wait-time targets, and patience thresholds for LWBS behaviour.
Three resource types: Doctors (1 per treatment), Nurses (1 per triage + 1 per treatment), and Treatment Rooms (Standard for ESI 1–3, Fast-track for ESI 4–5, Trauma bays preferentially for ESI-1). Rooms undergo 15–25 min cleaning between patients.
4 staffing plans × 3 room configs × 3 arrival patterns = 36 combinations × 250 reps = 9000 runs. 48-hour (2 880-minute) simulation with 24 h warm-up each. Executed with 12 CPU cores in 53.2 seconds.
Data-driven recommendations derived from simulation results, tailored for four key stakeholder groups.
After treatment, admitted patients board in the ED while waiting for an inpatient bed. Boarding time depends on time of day (inpatient bed availability factors: overnight 0.3, morning 0.8, afternoon 0.6, evening 0.4). Higher factor = faster placement.
Five complaint types with unique ESI distributions, treatment time modifiers, imaging/lab needs, and admission probabilities.
| Complaint | Frequency | Avg Wait [min] | Avg LOS [min] | Admission Rate [%] |
|---|---|---|---|---|
| Chest Pain | 41 | 67.4 | 295.2 | 43.6 |
| Trauma | 74 | 66.5 | 277.7 | 41.5 |
| Abdominal | 54 | 62.8 | 182.2 | 19.0 |
| Respiratory | 41 | 58.2 | 222.9 | 29.7 |
| Other | 68 | 48.7 | 127.1 | 10.8 |
At shift changes (07:00, 15:00, 23:00) a 15-minute handover period reduces treatment assignment throughput to 50%. This simulates the real-world impact of clinical handoffs, safety briefings, and staff transitions.
Discrete resource pools: CT scanners (2), X-ray machines (3), Lab stations (4). Patients queue for resources after triage before entering treatment.
Detailed explanation of every metric used in this analysis, with industry benchmarks and authoritative sources to help all stakeholders interpret results.
| KPI | Definition | Why It Matters | Industry Benchmark |
|---|---|---|---|
| Avg Wait [min] | Mean time from arrival to first treatment | Primary patient experience metric. Drives LWBS and satisfaction. | CMS benchmark: ≤28 min median |
| Door-to-Doctor [min] | Time from arrival to first physician contact | CMS quality metric (ED-1b). Strong predictor of outcomes for ESI 1–2. | CMS: median ≤28 min |
| LOS [min] | Total time from arrival to discharge/admit | Includes treatment + boarding. Boarding inflates LOS without improving care. | Median: 120–180 min; >240 = concern |
| LWBS Rate [%] | Patients leaving without being seen | Safety risk: LWBS patients may have serious undiagnosed conditions. | Target: <2% (ACEP) |
| Throughput | Patients treated per 24-hour period | Departmental capacity metric. Limited by beds, staff, and boarding. | Varies by ED size; compare vs. arrivals |
| Doctor Utilization [%] | Fraction of time physicians are treating | Below 60%: potential overstaffing. Above 90%: queueing delays. | 70–85% optimal (Green, 2006) |
| Nurse Utilization [%] | Fraction of time nurses are in patient care | Nurses handle triage, vitals, treatment assist, and discharge tasks. | 65–80% recommended |
| Room Utilization [%] | Fraction of time treatment rooms occupied | Physical capacity constraint. Above 85%: hallway boarding starts. | Bernstein et al., 2009 |
| Target Compliance [%] | Fraction meeting ESI-based time targets | Regulatory metric: ESI 1 ≤10 min, ESI 2 ≤15 min, etc. | Target: ≥90% for ESI 1–2 |
| Satisfaction | Composite patient satisfaction score (0–100) | Linked to HCAHPS scores and hospital reimbursement. | Top quartile: >80 |
| Cost/Patient [€] | Total operating cost per patient encounter | Staff + facility + supplies. Key for ED financial sustainability. | National avg: $400–600 per visit |
Industry standards, academic research, and data sources backing the model assumptions and benchmarks cited in this report.
| # | Source | Used For |
|---|---|---|
| 1 | ACEP — American College of Emergency Physicians | LWBS rate benchmarks, boarding guidelines, triage standards |
| 2 | CMS — Emergency Department Quality Reporting | Door-to-Doctor (ED-1b), median wait time, and LOS quality measures |
| 3 | Green, L. (2006). Operations Research | Queueing models for ED staffing and capacity planning |
| 4 | Welch, S. (2010). Annals of Emergency Medicine | Wait time perception and patient satisfaction relationship |
| 5 | Bernstein et al. (2009). Ann. Emergency Medicine | ED crowding metrics and clinical impact of hallway boarding |
| 6 | Handel et al. (2011). Academic Emergency Medicine | Simulation-based ED staffing optimization and DES validation |