Skip to main content
  • Research article
  • Open access
  • Published:

A hybrid simulation model approach to examine bacterial genome sequencing during a hospital outbreak



Hospital infection control requires timely detection and identification of organisms, and their antimicrobial susceptibility. We describe a hybrid modeling approach to evaluate whole genome sequencing of pathogens for improving clinical decisions during a 2017 hospital outbreak of OXA-181 carbapenemase-producing Escherichia coli and the associated economic effects.


Combining agent-based and discrete-event paradigms, we built a hybrid simulation model to assess hospital ward dynamics, pathogen transmission and colonizations. The model was calibrated to exactly replicate the real-life outcomes of the outbreak at the ward-level. Seven scenarios were assessed including genome sequencing (early or late) and no sequencing (usual care). Model inputs included extent of microbiology and sequencing tests, patient-level data on length of stay, hospital ward movement, cost data and local clinical knowledge. The main outcomes were outbreak size and hospital costs. Model validation and sensitivity analyses were performed to address uncertainty around data inputs and calibration.


An estimated 197 patients were colonized during the outbreak with 75 patients detected. The total outbreak cost was US$318,654 with 6.1% of total costs spent on sequencing. Without sequencing, the outbreak was estimated to result in 352 colonized patients costing US$531,109. Microbiology tests were the largest cost component across all scenarios.


A hybrid simulation approach using the advantages of both agent-based and discrete-event modeling successfully replicated a real-life bacterial hospital outbreak as a foundation for evaluating clinical outcomes and efficiency of outbreak management. Whole genome sequencing of a potentially serious pathogen appears effective in containing an outbreak and minimizing hospital costs.

Peer Review reports


Nosocomial infections, also known as healthcare-associated infections (HAI), affect 7.1 patients per 100 patients (95% confidence interval: 6.5–7.8) in high-income countries [1]. The increasing presence of multidrug resistant pathogens is compounding the importance of reducing nosocomial infections. HAI confirmation currently relies on the results of microbiology cultures and, less frequently, molecular assays. The lack of specificity in these tests causes inefficient or incorrect use of the limited isolation rooms available in major hospitals, particularly during HAI outbreaks. Bacterial whole genome sequencing (WGS) provides infection control teams with more granular information to better discern between different strains of bacteria which, in turn, can improve the way patients are managed during outbreaks, for example, better prioritizing patients for isolation [2]. Increase in world travel is also increasing the diversity of bacterial strains present in any one location. This may increase the risk of high-risk pathogens or novel antibiotic resistance genes becoming established in the population before being recognized.

Hospitals are continually under pressure to provide efficient and effective services with limited resources. Information on the direct costs, opportunity costs and patient health benefits for alternative courses of action assists decision-makers to make well-informed choices. Ineffective decisions could introduce higher costs and reduce opportunities to prevent morbidity or save lives [3]. Simulation modeling has a rich history in answering ‘what-if’ questions in complex environments such as hospitals where prospective trials or cohort studies are difficult, unethical or too expensive. Designing the appropriate simulation model is integral to predicting the correct outcomes and making use of available data [4]. The model choice depends on the level of detail needed, the level of agent interaction and time scale of the intervention.

The merits of agent-based simulation (ABS) and discrete-event simulation (DES) are often debated in modeling how to manage non-communicable diseases [4]. A systematic review on ABS models found seven studies involving interventions for controlling HAIs, 14 on methicillin-resistant Staphylococcus aureus transmission and three on Clostridium difficile [5]. Simulation studies within hospitals typically employ DES models [6]. Hybrid ABS/DES models have been sparsely used in hospital settings or outbreak scenarios. Hybrid simulation is a growing field in healthcare and AnyLogic® is the only program which can integrate the ABS, DES and system dynamics paradigms [7].

The purpose of this study was to build a hybrid model that simulated hospital processes involved in controlling an infectious disease outbreak. The model was motivated by an evaluation of the impact of WGS in managing an outbreak of a novel Escherichia coli strain (OXA-181). We compared WGS as it was used in practice (delayed use) with earlier WGS, or not at all, to determine the relative costs and benefits of these strategies.



The hybrid ABS/DES model was developed using AnyLogic® version 8.3.3 (XJ Technologies, St Petersburg, Russia). The model was designed to evaluate the effect of WGS in providing information to infectious disease physicians to better manage patients involved in a hospital outbreak. We replicated a real outbreak at a major hospital in south east Queensland, Australia and simulated the effects of alternative WGS scenarios in controlling the outbreak. The model description hereunder follows the ‘Overview, Design concepts, and Details’ reporting guideline designed to facilitate a complete, rigorous and transparent agent-based model description [8].

The outbreak

The OXA-181 E. coli outbreak started in April of 2017 when a patient arriving from overseas was admitted to hospital. This patient was screened using usual microbiological tests, and was assumed to be colonized with a low-risk pathogen that did not require additional infection control precautions. The patient was permitted to move through the hospital unknowingly spreading the pathogen to other patients, until five patients were identified with the same species and resistance profile. Colonized patients were detected through the hospital’s routine infectious disease screening protocols. At this stage, WGS was performed on these five isolates. WGS identified the pathogen as sequence type (ST) 38 Escherichia coli, with close phylogenetic relatedness to strains previously identified in Vietnam. This strain also carried a gene encoding OXA-181 carbapenemase, which are rarely encountered in Australia and had not been previously described in Queensland public hospitals. They have rapidly emerged in some parts of the world, especially Turkey, North Africa and the Middle East [9, 10] and have been implicated in major hospital outbreaks [11].

Entities, state variables, and scales

The hybrid model was constructed with mobile agents which represent the Patients, and static agents which represent the Beds, Wards and Hospital Floors. All four agent types exist within the hospital environment that controls the time, patient entry and spatial position (Fig. 1). The hierarchical approach was used when designing the hybrid model. Patient agents, Bed agents and each Floor agent exist within the main hospital environment which is the top level agent. Each ward exists within the Floor agents and Patients traversed the levels as they passed through the model. The patient flows, screening and bed management mechanisms were implemented using a DES approach. In contrast, the spread of the infection between wards was modelled with a state-chart based technique.

Fig. 1
figure 1

Schematic of hybrid simulation model and information pathway used in this evaluation

The Patient agent type represents the individuals being treated within the hospital. Each Patient has the following state variables:

  1. 1.

    Colonization status: susceptible, undetected colonized, detected colonized and infected. ‘Colonized’ means the person is asymptomatic but is harboring the pathogen while ‘infected’ means the person has the pathogen and is symptomatic.

  2. 2.

    Microbiology test: whether a test is required.

  3. 3.

    Room patient count: number of Patients in the same room.

  4. 4.

    Ward: current ward.

  5. 5.

    Next Ward: The ward the patient will be transferred to or lack of a ward, indicating discharge.

  6. 6.

    Length of stay: days to be spent in current ward.

  7. 7.

    Location: the geographic information system location of the Patient within the hospital environment.

  8. 8.

    Distance to closest colonized patient: If a colonized Patient is in the same Ward, the Patient will record the distance from that colonized Patient.

Each Bed holds certain information which affects how the Bed is managed during an outbreak:

  1. 1.

    Bed status: available for isolation, currently contaminated or already reserved for isolation.

  2. 2.

    Multi-room status: single bed or multi-bed room.

  3. 3.

    Location: the geographic information system location of the Bed within the hospital environment.

The role of each Ward agent is to calculate the spread of the pathogen. A Ward can either harbor the pathogen, where the spread is calculated daily or not. The Floor agent contains the Wards as per hospital design and controls the processes required to move Patients throughout the hospital.

Process overview and scheduling

Processes within a hospital can take hours while others last days. A time unit of 1 hour was chosen based on the shortest frequency of events in the model. The model starts at day zero and ends when no new colonizations have been detected for 5 weeks. The model can be viewed on the AnyLogic™ cloud at [12].

The hybrid model had three interacting sub-models; Hospital Mechanics, Outbreak Management and Pathogen Transmission. The three sub-models are described in detail in section 2.7. The Hospital Mechanics sub-model controls the patient journey through the use of DES. A patient enters the hospital, moves to their assigned ward, and stays there for a predetermined length of stay before being moved to another ward (if necessary) or discharged. This simple process is complicated by outbreak control measures which start once an outbreak is confirmed. The Outbreak Management sub-model may redirect patients from this simple process to facilitate infection control procedures such as screening or isolation. The Pathogen Transmission sub-model simulates the spread of the bacterial pathogen.

Design concepts

The three main methods of simulation modeling are DES, ABS and system dynamics. Each technique has its own strengths and limitations. DES is used to represent individual-level heterogeneity, primarily where there is an emphasis on the use of resources or queues [13]. DES was used to simulate the patient’s journey through the hospital, including isolation procedures, which consists of discrete events with probabilities causing competition for the agent’s next step (Additional file 1: Figure S1). A weakness of DES is the difficulty to include granular detail of the agents, which is a strength of ABS. ABS uses inductive and deductive reasoning to discover patterns of emergence [14]. ABS has three core concepts: agency, dynamics and structure [15]. In the OXA-181 hybrid model, agency gave the Patients, Beds and Wards individual identities. Dynamics allowed events occurring within the model to change when agents interacted with their environment. For example, a Patient’s colonization status becoming ‘detected colonized’ due to screening protocols. The structure of ABS is not programmed into the model, but emerges through the decisions of individual agents and their corresponding interactions. A hybrid model using ABS and DES was chosen to take advantage of both methodological strengths.

Many stochastic processes are involved in simulating a hospital outbreak. Each process in the model is driven by a random number generator (RNG) and its corresponding ‘seed’ that supplies the sequence of random numbers used in the course of each simulation. Each random choice made when executing the model will be the same across simulations when the ‘seed’ is held constant. Hospital processes have a major impact on a single simulation, and introduce major variability in outcomes. For example, a colonized patient being transferred to a long stay ward dramatically increases the potential for that patient to transmit the pathogen compared to being discharged. As the hospital processes causing the major variability are both known and moderately controllable, blocking, a design of experiment technique [16], was incorporated to introduce deterministic characteristics to the hybrid model. The deterministic characteristics were loosened and the model became more stochastic when the outbreak deviated from the calibrated path. This deviation occurs after the use or lack of use of WGS. Blocking is a technique which removes unnecessary variation through adding the nuisance variable as an independent variable in the model. The seeds for three controlled RNGs represent these nuisance variables: RNG one was used for the ward transfer probability and length of stay distributions. RNG two was used in the probability function which determines the number of new colonized patients at each time step. RNG three was used in choosing which patient was ‘randomly’ screened. These stochastic processes were kept consistent between scenarios, ensuring that outcomes are comparable. A fourth RNG which was not controlled was used in parameter variation in sensitivity analysis. It might seem counterintuitive for a hospital outbreak model to treat the spread and detection of the pathogen as nuisance factors, although the purpose of this model is to analyze the impact of pathogen WGS on the hospital management of the OXA-181 outbreak. In this case however, the conversion of the hospital processes to an easier to handle deterministic model [17] is a concession to the limited reliability and availability of information regarding hospital processes and the specific spread mechanisms of the pathogen. Even though the modelling of hospital processes and pathogen spread is stochastic, it does not capture the hospital’s operation closely enough to ensure the validity of the introduced resulting variability. Instead, this part of the model only serves as the machinery for building the backdrop of epidemic spread, against which to test the different screening regimes for this specific outbreak. Therefore, the aim of the calibration of this process is to reproduce the observed outbreak data closely, as opposed to representing the full range of possible outbreaks that can occur as a result of the simplified modelled processes.

The model allows all four agents to interact with each other and change state variables or characteristics based on those interactions (Fig. 1). The model’s major interactions were:

  • ➢ Patient-Ward – when a Patient who is colonized enters a Ward agent it starts daily transmission calculations for the Ward agent.

  • ➢ Patient-Bed – a Patient notifies the Bed of a detected colonization status so cleaning can occur after patient discharge.

  • ➢ Patient-Floor – the Floor agent randomly screens Patients on a daily basis.

  • ➢ Floor-Bed-Patient– the Floor can move a Patient from a Bed, when it is required for isolation.


Sourced from hospital admissions data, the model started with 551 existing hospital patients currently occupying beds. These patients were spread across 13 wards on four different floors (Table 1). The first colonized patient entered 1 day after initialization.

Table 1 Parameter description, values and sources used in the hybrid simulation model

Input data

The model does not use external input data to represent time-varying external processes.


Hospital mechanics sub-model

The Hospital Mechanics sub-model was designed to simulate the patient journey throughout the hospital from day zero through to the end of the outbreak (Additional file 1: Figure S1). On day zero, an entry rate was used to continually re-supply patients to the wards. Patient movements were informed by the Queensland Health Admitted Patient Data Collection dataset. This provided data on admission ward, ward transfers and length of stay for all patients who were admitted to one of the 13 wards of interest between 1st April 2017 and 1st August 2017, a total of 4250 patient admissions. The ‘next ward’ parameter had a unique distribution for each ward pairing. This meant a patient’s journey through the hospital was always based on their previous ward. Ward stay was estimated as unique Gamma distributions for each ward pairing (current ward + next ward), using the ‘methods of moments’ approach [18]. A model ‘warm-up’ period was avoided because data was available on three patient movement parameters (initial ward, next ward, length of stay) from existing patients in the hospital at 1st April 2017 (day zero) and the patients entering the hospital after that date.

Outbreak management sub-model

The Outbreak Management sub-model governed the screening and isolation procedures in the model as informed by the state’s health department guidelines [19] and local expert opinion from the hospital’s microbiology and infection control nursing teams (Additional file 1: Figure S1). This sub-model has three phases:

  • Pre-outbreak: Here patients were screened by culture-based and phenotypic microbiology tests. Patients in two specified wards were screened weekly and upon entry into the ward [19]. Random screening also occurred such that every Floor had a daily probability of the occupying patients getting screened. The random screening represented hospital staff searching for other pathogen outbreaks and patients that were routinely screened prior to specific procedures.

  • Outbreak identification: An outbreak was typically declared when five patients were colonized, however, this threshold was lowered to one patient colonized if whole genome sequencing was routinely undertaken.

  • Outbreak control: six processes were activated when an outbreak was confirmed:

    1. 1.

      Patients were isolated in Level 5 Ward D, and once full, cohorting started in Level 5 Ward C. ‘Cohorting’ is where patients who are colonized room-in together. Patients in the geriatric and spinal injury units were isolated or cohorted on their own floors;

    2. 2.

      All patients in the same room as a detected colonized Patient were screened;

    3. 3.

      All beds with a colonized Patient were flagged for cleaning before another Patient entered the Bed;

    4. 4.

      Executive meetings on outbreak control occurred daily, then weekly when fewer than five colonized Patients were detected per week;

    5. 5.

      Patients in the geriatric and spinal injury units were screened weekly; and

    6. 6.

      29 days after the outbreak started, a hospital-wide screening took place replicating a real-life outbreak management action.

The Outbreak Management sub-model also accrued health system costs, which were calculated in 2018 Australian dollars (1 AUD = 0.69 USD [20]). Individual item costs were calculated through a detailed inventory of all resources used, and assigned to each microbiology test (US$55), WGS (US$246), bed closures (US$150) [21], bed cleaning (US$49), additional nursing time (US$28/h) and executive infection control meetings (US$320) (Table 1). While actual nursing hours may not increase during an outbreak, nursing staff are redirected to outbreak management duties such as contact precaution, patient isolation, environmental decontamination and wider patient screening activities. An opportunity cost of US$28 per hour was assigned to these duties. Executive meetings was costed at US$320 representing the opportunity cost of time spent by three senior medical consultants, an infection and prevention control nurse, senior administrator and a service manager.

Pathogen transmission sub-model

The Pathogen Transmission sub-model controlled the ward-level population transmission dynamics. Pathogen spread was based on the formula, \( 1-\exp \left\{\frac{-\beta C}{N}\right\} \) [22, 23] where β is the transmission parameter estimated by model calibration (Section 2.8), C is the number of colonized patients in the ward, N is the number of patients in the ward, excluding any patients who were isolated, and C and N values are updated daily. The transmission formula calculated the daily probability of a susceptible patient becoming colonized and is based on the frequency-dependent transmission term for stochastic epidemic models [22]. The number of patients colonized each day was calculated by as a binomial random variable, parameterized using the probability a single susceptible patient is colonized and the number of susceptible patients. The Patient parameter ‘Distance to closest colonized patient’ was used to select which patients were colonized, with smallest distance being selected.

Model calibration

Empirical information on the OXA-181 transmission rate was unavailable. We therefore calibrated the transmission values required for the spread and detection of the pathogen to fit the model to reproduce the observed known colonizations in the real outbreak. The calibration involved 50,000 simulations of the OXA-181 hybrid model to find the smallest result of the calibration formula (Table 2). The calibration process measured the number of detected colonizations at day 69, 83 and 111 in each ward and the total across all four locations at the end of the outbreak. Days 69 and 83 were when there were spikes of colonization detection and day 111 was when the last detection occurred in the actual outbreak. The calibration formula aggregated the difference in colonization detections between the model and the real outbreak at each of the 13 floor-time point combinations, including total difference (Table 2). These dates were used to replicate the time it took to detect the pathogen within the hospital and then the speed of outbreak cessation once targeted infection control started. Note that hospital wide screening occurred in the real outbreak on day 85. The model was calibrated with a fixed WGS test turnaround time of 7 days and an outbreak starting number of five patients.

Table 2 Model calibration: Parameter variation range, calibration formulae and results

Simulation experiments

In total, seven scenarios were investigated as follows:

  1. Scenario 1.

    Actual Outbreak or WGS (late) – this was the base scenario of the actual OXA-181 outbreak in 2017 and the known cases of colonized patients. WGS was undertaken but only later in the outbreak as described above (Section 2.1.2).

  2. Scenario 2.

    No WGS – this scenario had no access to WGS and may be the common situation of most publicly government-funded hospitals in 2018. Without WGS information, a larger number of patients needs to be detected with the same pathogen strain and the infection control team needs additional time to review the information before declaring an outbreak.

  3. Scenario 3.

    WGS (early) – this was the optimal early sequencing scenario where WGS was used routinely with suspected patients, and an outbreak can be declared with the first positive anomalous (OXA-181) detection.

  4. Scenario 4.

    Environmental contamination and no WGS – this was the same as Scenario 2 but assumes that cleaning processes did not eradicate the pathogen. Hospital pathogens can persist on surfaces for months and can be a continuous source of transmission without regular preventive surface disinfecting [24]. In this scenario we allowed the Bed agent to become contaminated and contribute to the pathogen transmission. We assumed for each patient colonised there was a 50% chance of colonization spreading to other beds in same room and surviving on those beds for 5–10 days [24]. An environmental transmission odds ratio of 2.65 [25] was used to calculate the daily probability of a patient in a contaminated bed being colonized.

  5. Scenario 5.

    Environmental contamination and early WGS – this was the same as above but with early WGS.

  6. Scenario 6.

    Virulent and no WGS – this is Scenario 2 but where the pathogen is more harmful to patients by causing more invasive disease (e.g. bloodstream infection). The OXA-181 gene was carried on a highly mobile plasmid (a genetic element that can readily spread between bacterial strains and across species). This scenario represents the plasmid being present in pathogenic bacteria, with a higher proportion of colonized patients experiencing clinical disease, and standard therapy (e.g. beta-lactam antibiotics, including carbapenems) being compromised by the presence of the OXA-181 carbapenemase. In this scenario, we included a ‘colonization to infection’ probability of 0.17 [26] and a probability of death for infected patients of 0.40 [27]. The cost of US$1835 was used for treatment of infections [27] and US$13,640 for end-of-life care [28].

  7. Scenario 7.

    Virulent and early WGS – this is Scenario 3 plus the situation where the pathogen is more harmful to patients.


The outcomes included the: number of colonized patients; number of detected colonized patients; number of bed closures and accumulated hospital costs. Each scenario consisted of 1000 iterations. The model aggregated the sum of the events (using counters) and all outcomes that emerged from the interactions of the above sub-models and their probabilities, costs, assigned distributions and formula inputs. To address uncertainty of alternative calibration-derived values, one-way sensitivity analyses were performed using 1000 iterations for each model change. To address uncertainty of some inputs (e.g. cost of a bed closure or WGS) probabilistic sensitivity analyses were performed for each scenario.


Calibration results

The parameters, the parameter variation, calibration formulae and calibration results are shown in Table 2. The second and third best calibration outcomes were presented to show the consistency of the calibration. The OXA-181 outbreak simulation successfully matched the real-life outbreak by starting with only 9–10 detections by day 69 and stopping the outbreak at 72 detected colonizations (Table 2).

Evaluation of WGS strategies

Our analysis indicated that health system spending of US$19,469 on pathogen sequencing, compared with no WGS, avoided 77 OXA-181 colonizations and saved US$212,455 in outbreak resources (Table 3). The early WGS strategy (Scenario 3), compared with no WGS (Scenario 2), had US$485,836 in outbreak cost savings and 151 fewer colonizations. Early WGS was the dominant scenario in both the environmental contamination and virulent pathogen scenarios (Table 4). Early WGS predicted 40 fewer patients would become infected and US$559,710 of outbreak cost savings in the virulent pathogen scenario (Scenario 6 vs Scenario 7). The environmental contamination scenarios calculated 120 fewer detected colonizations and US$406,286 fewer costs (Scenario 4 vs Scenario 5). The largest cost component in each outbreak simulation was microbiology screening cost (varying from 44.3 to 89.2% of total costs) while the cost of sequencing was only 6% of the total costs in the actual outbreak (late WGS scenario, Scenario 2) and below 2% in scenarios with early WGS (Scenario 1).

Table 3 Result summaries for the outcomes measures from 1000 probabilistic simulations for three best calibrations
Table 4 Result summaries for the outcomes measures from 1000 probabilistic simulations for environmental and virulent scenarios

A sensitivity analysis based on the second and third best calibration results was undertaken to check the consistency of the main findings across different ‘seed’ settings. Each calibration represents an alternative OXA-181 outbreak pathway. This sensitivity analysis showed wide variation in the no WGS scenario, leading to variation in the base results: the early WGS scenario saved between US$440,000 to US$640,000 and between 117 to 213 in detected colonizations. However, the main conclusions of the study remains unchanged; early WGS was expected to reduce health system costs and avoid significant numbers of colonizations.


We combined two modeling methods, ABS and DES, to incorporate the process-driven features of a hospital environment with the individual details of patient-patient pathogen transmission. This is the first study to use a hybrid agent based/discrete event simulation model to investigate the impact of outbreak management interventions on the spread of pathogens throughout a hospital [6]. We created a flexible model capable of integrating a range of pathogen transmission features like environmental contamination, infection and mortality. We also were able to introduce a range of outbreak control policies such as hospital wide screening, cohorting and floor specific isolation protocols.

Using actual colonization and infection data to calibrate healthcare system models has been noted as a key aspect to improve future modeling [29]. A major strength of this study was the use of real-world colonisation data and patient ward transfer data over a 5 month outbreak to inform pathogen transmission and patient movement. We predicted that WGS was effective at diminishing the pathogen spread and lowering hospital outbreak costs. The key accumulated costs were microbiology culture tests and bed closure costs. Although WGS had the highest per item cost, it dramatically shortened the outbreak duration and limited the wider use of WGS.

Hybrid modeling provides clinicians with the information to assist decision-making in clinical situations and justify the use of new strategies. Healthcare system modeling is trending towards increased use of hybrid modeling, as the focus shifts from operational and process questions (patient flow, logistics and healthcare operations) to resources and design issues (capacity planning, resource allocation and program evaluation) [6]. A holistic healthcare simulation model must incorporate four interacting perspectives: resource allocation; health diffusion; population dynamics; and individual behavior [30]. The OXA-181 hybrid model encompassed these perspectives through features such as bed capacity, ward population dynamics and patient specific transmission. Future hybrid outbreak modeling could expand on the scope of work in our model by encompassing additional spillover effects. For example, controlling a hospital-infectious disease outbreak of a single pathogen has indirect impacts on the wider hospital system such as, increasing the number of isolation rooms available and avoiding delays in elective surgery.

Several limitations of this study are noted. Simulation modelling for hospital acquired infections are dominated by stochastic models [31] that are preferred when chance plays a large role of whether an event occurs, especially in smaller populations. We combined both stochastic and deterministic features in the model. A disadvantage of stochastic models in individual based simulation is the uncontrollable extent of randomness and the occurrence of stochastic fade-outs, where the outbreak fails to spread [32]. The deterministic characteristics of our model, introduced through calibrating the spread of the outbreak to real outbreak data, avoided stochastic fade-outs but possibly overestimated the number of colonizations. The OXA-181 model is not entirely a deterministic model, once the outbreak was identified the ongoing processes are stochastic as shown by the range of outcomes in Scenario 2. Expert opinion was required for a number of assumptions underpinning the scenarios we assessed, that is, no WGS, increased virulence and environmental contamination scenarios. Further validation using real-world data would be beneficial. The empirical findings of this model were context-specific and are unlikely to be generalizable to other bacterial outbreaks at other hospitals. However, the hybrid model can be adapted to other settings through its input driven ward and hospital level layout. For example, modeling across multiple bacterial outbreaks occurring concurrently is more realistic in a large metropolitan hospital, including daily use of sequencing, to support decisions to adopt WGS routinely as part of hospital policy. The data to inform such a simulation model was not available but future work on this is underway. Adapting this model to other outbreaks would require outbreak specific detection data to calibrate the model, ward transfer rates from hospital administration data and the corresponding hospital layout. In the hybrid model, WGS currently plays a role in identifying strains and identifying the source of outbreaks. Antimicrobial susceptibility was not parameterized in the hybrid model because the clinical utility and application of WGS is still emerging [33]. Future work is required to model in what capacity WGS can change infection control and prevention.

Several lessons were learned regarding the construction and calibration of the complex and detailed OXA-181 hybrid model. Recreating a real-life outbreak to the detail of patient ward movement created a model vulnerable to stochastic variability and ‘noise’. Blocking was successfully used to limit the outbreak variability [16]. Although less computationally intense approaches in reducing the variability in patient movement across simulations is worth exploring. Each hospital outbreak simulation model has to take into account the different possible transmission pathways, outbreak control measures and patient risk factors specific to the causative pathogen. Depending on the pathogen there are up to five transmission routes, seven outbreak control measures, four hospital processes and four infection spreading possesses that could be included in a hospital outbreak model [34]. The elements to include need to be thoroughly considered to ensure a parsimonious model but still captures all essential outbreak components necessary for reporting.

In conclusion, we incorporated agent-based, discrete-event and geospatial system modeling to develop a hybrid simulation model for evaluating a hospital outbreak. We used the model to quantify the economic and clinical impact of introducing whole genome sequencing into HAI outbreak management. Early WGS was predicted to contain an E. coli OXA-181 outbreak and reduced hospital costs. This study highlights the strengths and limitations of using hybrid modeling to evaluate hospital outbreak interventions.

Availability of data and materials

The data that support the findings of this study are available from Queensland Health but restrictions apply to the availability of these data, which were used under license for the current study, and so are not publicly available. All variables generated from this data are included this article and its supplementary files.



agent-based simulation


discrete-event simulation


healthcare-associated infections


random number generator


whole genome sequencing


  1. World Health Organization. Report on the burden of endemic health care-associated infection worldwide: a systematic review of the literature. Geneva: World Health Organization; 2011.

    Google Scholar 

  2. Quainoo S, Coolen JPM, van Hijum SAFT, Huynen MA, Melchers WJG, van Schaik W, et al. Whole-genome sequencing of bacterial pathogens: the future of nosocomial outbreak analysis. Clin Microbiol Rev. 2017;30(4):1015–63.

    Article  CAS  Google Scholar 

  3. Jun JB, Jacobson SH, Swisher JR. Application of discrete-event simulation in health care clinics: a survey. J Oper Res Soc. 1999;50(2):109–23.

    Article  Google Scholar 

  4. Briggs A, Wolstenholme J, Blakely T, Scarborough P. Choosing an epidemiological model structure for the economic evaluation of non-communicable disease public health interventions. Popul Health Metrics. 2016;14(17):n/a.

  5. Willem L, Verelst F, Bilcke J, Hens N, Beutels P. Lessons from a decade of individual-based models for infectious disease transmission: a systematic review (2006–2015). BMC Infect Dis. 2017;17(1).

  6. Arisha A, Rashwan W. Modeling of healthcare systems: past, current and future trends. 2016 Winter Simulation Conference; 2016. p. 1523–1534.

  7. S. C. Brailsford LY, W. K V. Chan, I. Moon, T. M. K. Roeder, C. Macal, M. D. Rossetti. Hybrid simulation in healthcare: new concepts and new tools. Proceedings of the 2015 Winter Simulation Conference 2015:1645–53.

  8. Grimm V, Berger U, Deangelis DL, Polhill JG, Giske J, Railsback SF. The ODD protocol: a review and first update. Ecol Model. 2010;221(23):2760–8.

    Article  Google Scholar 

  9. Mairi A, Pantel A, Sotto A, Lavigne JP, Touati A. OXA-48-like carbapenemases producing Enterobacteriaceae in different niches. Eur J Clin Microbiol Infect Dis. 2018;37(4):587–604.

    Article  CAS  Google Scholar 

  10. van Duin D, Doi Y. The global epidemiology of carbapenemase-producing Enterobacteriaceae. Virulence. 2017;8(4):460–9.

    Article  Google Scholar 

  11. Perez-Blanco V, Redondo-Bravo L, Ruiz-Carrascoso G, Pano-Pardo JR, Gomez-Gil R, Robustillo-Rodela A, et al. Epidemiology and control measures of an OXA-48-producing Enterobacteriaceae hospital-wide oligoclonal outbreak. Epidemiol Infect. 2018;146(5):656–62.

    Article  CAS  Google Scholar 

  12. Company TA. AnyLogic cloud 2019 [Available from:

    Google Scholar 

  13. Siebers PO, Macal CM, Garnett J, Buxton D, Pidd M. Discrete-event simulation is dead, long live agent-based simulation! J Simulation. 2010;4(3):204–10.

    Article  Google Scholar 

  14. Marshall DA, Burgos-Liz L, Ijzerman MJ, Crown W, Padula WV, Wong PK, et al. Selecting a dynamic simulation modeling method for Health care delivery research—part 2: report of the ISPOR dynamic simulation modeling emerging good practices task force. Value Health. 2015;18(2):147–60.

    Article  Google Scholar 

  15. Borshchev A, Filippov A. From system dynamics and discrete event to practical agent based modeling: reasons, techniques, tools. Proceedings of the 22nd International Conference of the System Dynamics Society, 25–29 July 2004; 25–29 July 2004; Oxford 2004.

  16. University TPS. 4.1 - blocking scenarios The Pennsylvania State University 2018 [Available from:

  17. Diekmann OHJ, Britton T. Mathematical Tools for under-standing infectious disease dynamics. Princeton: Princeton Univ. Press; 2013.

    Google Scholar 

  18. Briggs A, Sculpher M, Claxton K. Decision modelling for health economic evaluation: OUP Oxford; 2006.

    Google Scholar 

  19. Queensland Health. Management of multi-resistant organisms (MROs) 2017 [Dec 2017:[Available from:

  20. OECD. Conversion rates OECD iLibrary 2019 [Available from:

    Google Scholar 

  21. Page K, Barnett AG, Graves N. What is a hospital bed day worth? A contingent valuation study of hospital Chief Executive Officers. BMC Health Serv Res. 2017;17(1):137.

    Article  Google Scholar 

  22. Diekmann O, Heesterbeek H, Britton T. Mathematical tools for understanding infectious disease dynamics. New Jersey: Princeton University Press; 2013.

    Google Scholar 

  23. Gurieva T, Dautzenberg MJD, Gniadkowski M, Derde LPG, Bonten MJM, Bootsma MCJ. The transmissibility of antibiotic-resistant Enterobacteriaceae in intensive care units. Clin Infect Dis. 2018;66(4):489–93.

    Article  Google Scholar 

  24. Kramer A, Schwebke I, Kampf G. How long do nosocomial pathogens persist on inanimate surfaces? A systematic review. BMC Infect Dis. 2006;6(1):130.

    Article  Google Scholar 

  25. Mitchell BG, Dancer SJ, Anderson M, Dehn E. Risk of organism acquisition from prior room occupants: a systematic review and meta-analysis. J Hosp Infect. 2015;91(3):211–7.

    Article  CAS  Google Scholar 

  26. Tischendorf J, de Avila RA, Safdar N. Risk of infection following colonization with carbapenem-resistant Enterobactericeae: a systematic review. Am J Infect Control. 2016;44(5):539–43.

    Article  Google Scholar 

  27. Chang LWK, Buising KL, Jeremiah CJ, Cronin K, Poy Lorenzo YS, Howden BP, et al. Managing a nosocomial outbreak of carbapenem-resistant Klebsiella pneumoniae: an early Australian hospital experience. Intern Med J. 2015;45(10):1037–43.

    Article  CAS  Google Scholar 

  28. Reeve R, Srasuebkul P, Langton JM, Haas M, Viney R, Pearson SA, et al. Health care use and costs at the end of life: a comparison of elderly Australian decedents with and without a cancer history. BMC Palliative Care. 2018;17:1.

    Article  Google Scholar 

  29. Assab R, Nekkab N, Crépey P, Astagneau P, Guillemot D, Opatowski L, et al. Mathematical models of infection transmission in healthcare settings: recent advances from the use of network structured data. Curr Opin Infect Dis. 2017;30(4):410–8.

    Article  Google Scholar 

  30. Traoré MK, Zacharewicz G, Duboz R, Zeigler B. Modeling and simulation framework for value-based healthcare systems. Simulation. 2018.

  31. van Kleef E, Robotham JV, Jit M, Deeny SR, Edmunds WJ. Modelling the transmission of healthcare associated infections: a systematic review. BMC Infect Dis. 2013;13:294.

    Article  Google Scholar 

  32. McBryde ES. Mathematical and statistical modelling of infectious diseases in hospitals [PhD]; 2006.

    Google Scholar 

  33. Ellington MJ, Ekelund O, Aarestrup FM, Canton R, Doumith M, Giske C, et al. The role of whole genome sequencing in antimicrobial susceptibility testing of bacteria: report from the EUCAST subcommittee. Clin Microbiol Infect. 2017;23(1):2–22.

    Article  CAS  Google Scholar 

  34. Pethes R, Ferenci T, Kovacs L. Infectious hospital agents: an individual-based simulation framework. 2016 IEEE International Conference on Systems, Man, and Cybernetics, SMC 2016 - Conference Proceedings; 2017.

  35. Gordon LG, Hyland CA, Hyett JA, O'Brien H, Millard G, Flower RL, et al. Noninvasive fetal RHD genotyping of RhD negative pregnant women for targeted anti-D therapy in Australia: a cost-effectiveness analysis. Prenat Diagn. 2017;37(12):1245–53.

    Article  CAS  Google Scholar 

  36. Queensland Health. Queensland health wage rates 2017 [Available from:

    Google Scholar 

Download references


The authors acknowledge the data linkage team of the Statistical Services Branch, Queensland Health for linking and supplying the Queensland Hospital Admitted Patient Data Collection data set used. The authors acknowledge the infection control team at the Princess Alexandra Hospital for their assistance in data collection and model estimate assumptions.


Financial support for this study was provided entirely by the Queensland Genomics. The funding agreement ensured the authors’ independence in designing the study, interpreting the data, writing, and publishing the report.

Author information

Authors and Affiliations



TME was responsible for writing the manuscript and incorporating feedback from coauthors. LGG wrote the ethics applications and obtained access to data sources used. XJL and TME performed the data analysis. TME, XJL and AF designed and constructed the simulation model. TME and AF performed the model calibration and ran the model simulations. LGG supervised the research conducted. PNH provided clinical context and local knowledge of the evaluation. All authors provided feedback on the initial draft, and approved the final version of the manuscript for submission.

Corresponding author

Correspondence to Thomas M. Elliott.

Ethics declarations

Ethics approval and consent to participate

This research study was approved by the QIMR Berghofer Medical Research Institute Human Research Ethics Committee (P2353) and the Queensland Government Public Health Act Human Research Ethics Committee (RD007427).

Consent for publication

Not applicable.

Competing interests

The authors declare that they have no competing interests.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary information

Additional file 1:

Figure S1. Hospital mechanics and outbreak management sub-models. Table S1. Hospital entry (first ward) distribution of existing patients and new admission. Table S2. Number, proportion and ward length of stay estimates of the different ward pair combinations for existing patients. Table S3. Number, proportion and ward length of stay estimates of the different ward pair combinations for new admissions.

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (, which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The Creative Commons Public Domain Dedication waiver ( applies to the data made available in this article, unless otherwise stated.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Elliott, T.M., Lee, X.J., Foeglein, A. et al. A hybrid simulation model approach to examine bacterial genome sequencing during a hospital outbreak. BMC Infect Dis 20, 72 (2020).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: