This study explores the use of healthcare simulation in measuring and improving the resilience of emergency departments (EDs) during demand surges. The model uses AnyLogic discrete-event simulation to replicate patient flow, resource allocation, and response strategies to identify effective interventions. The research provides valuable insights for ED managers seeking to enhance operational efficiency and patient care under pressure.