ObjectiveOvercrowding and extended waiting times in emergency departments are a pervasive issue, leading to patient dissatisfaction. This study aims to compare the efficacy of two process mining and simulation models in identifying bottlenecks and optimizing patient flow in the emergency department of Al-Zahra Hospital in Isfahan. The ultimate goal is to reduce patient waiting times and alleviate population density, ultimately enhancing the overall patient experience.MethodsThis study employed a descriptive, applied, cross-sectional, and retrospective design. The study population consisted of 39,264 individuals referred to Al-Zahra Hospital, with a sample size of at least 1,275 participants, selected using systematic random sampling at a confidence level of 99%. Data were collected through a questionnaire and the Hospital Information System (HIS). Statistical analysis was conducted using Excel software, with a focus on time-averaged data. Two methods of simulation and process mining were utilized to analyze the data. First, the model was run 1000 times using ARENA software, with simulation techniques. In the second step, the emergency process model was discovered using process mining techniques through Access software, and statistical analysis was performed on the event log. The relationships between the data were identified, and the discovered model was analyzed using the Fuzzy Miner algorithm and Disco tool. Finally, the results of the two models were compared, and proposed scenarios to reduce patient waiting times were examined using simulation techniques.ResultsThe analysis of the current emergency process at Al-Zahra Hospital revealed that the major bottlenecks in the process are related to waiting times, inefficient implementation of doctor’s orders, delays in recording patient test results, and congestion at the discharge station. Notably, the process mining exercise corroborated the findings from the simulation, providing a comprehensive understanding of the inefficiencies in the emergency process. Next, 34 potential solutions were proposed to reduce waiting times and alleviate these bottlenecks. These solutions were simulated using Arena software, allowing for a comprehensive evaluation of their effectiveness. The results were then compared to identify the most promising strategies for improving the emergency process.ConclusionIn conclusion, the results of this research demonstrate the effectiveness of using simulation techniques and process mining in making informed, data-driven decisions that align with available resources and conditions. By leveraging these tools, unnecessary waste and additional expenses can be significantly reduced. The comparative analysis of the 34 proposed scenarios revealed that two solutions stood out as the most effective in improving the emergency process. Scenario 19, which involves dedicating two personnel to jointly referring patients to the ward, and scenario 34, which creates a dedicated discharge hall, have the potential to create a more favorable situation.