An Artificial Intelligence-Driven Digital Twin for Lean Six Sigma Optimisation of Emergency Department Patient Flow: A Simulation-Based Framework Demonstrated at a Nigerian General Hospital

Authors

  • Nnamdi Vitalis Ewuzie Department of Industrial and Production Engineering, Faculty of Engineering, Nnamdi Azikiwe University, Awka, Anambra State, Nigeria Author
  • Nkemakonam Chidiebube Igbokwe Department of Industrial and Production Engineering, Faculty of Engineering, Nnamdi Azikiwe University, Awka, Anambra State, Nigeria Author

DOI:

https://doi.org/10.54117/xdnb6x85

Keywords:

Emergency department crowding, digital twin; Lean Six Sigma, discrete-event simulation, machine learning, patient flow, Nigeria

Abstract

Emergency department crowding lengthens waits, increases the number of patients who leave untreated and worsens clinical outcomes. Lean Six Sigma (LSS) offers a disciplined method for removing delay, but its improvement cycle assumes that a change can be tested, and a working department offers little room for that. Digital twins and machine learning could supply the missing test bed and foresight, yet the three have rarely been combined within the full Define, Measure, Analyse, Improve and Control (DMAIC) cycle, least of all in low-resource hospitals. We developed a framework that links machine learning forecasts, a discrete-event digital twin and DMAIC. The inputs were a real one-day extract of 25 visits from a Nigerian General Hospital, and a 365-day synthetic dataset of 9,303 visits built around it. A negative binomial model forecast arrivals in four-hour blocks, and gradient-boosted trees predicted length of stay. The twin was calibrated, verified against queueing theory and validated by equivalence testing. Eight staffing, triage and routing scenarios were compared in a factorial experiment, with the best one confirmed on fresh simulated years. A monitoring plan was then tested for the Control phase. At baseline the mean wait for a provider was 51.7 minutes, the mean stay was 228 minutes, 8.4% of patients left unseen, and 54% of the stay fell after clinical work had finished. The arrival forecast cut root mean square error by 32.3% against a seasonal benchmark, whereas length-of-stay prediction was weak (R² = 0.19). The twin matched mean length of stay within 10% (mean difference −4.2 minutes), but a check against the single real day showed that it underestimated the waits of Yellow and Green patients. A second doctor at peak hours combined with tests ordered at triage shortened the mean stay by 31.2 minutes (13.6%; 95% CI 30.6 to 31.7), cut the mean wait from 50.5 to 31.0 minutes, and reduced the proportion leaving unseen from 8.0% to 2.6%. Revised control charts detected the loss of the second doctor in a median of 7 days, with about one false alarm a year. The framework works as a pipeline and shows where improvement is possible, but all scenario results come from synthetic data and describe the model and not the real department. Validation on routinely collected hospital records is needed before the findings can guide staffing decisions

Downloads

Published

2026-11-27