A compartmental model to describe acute medical in-patient flow through a hospital
Tahani Al-Karkhi, Kit Byatt

TL;DR
This paper introduces a new model to understand how patients move through a hospital by treating it as a system of interconnected compartments.
Contribution
The paper proposes a system dynamics approach to model patient flow without requiring detailed knowledge of all influencing factors.
Findings
The model identifies two equilibrium states: an empty hospital and one with ongoing activity.
The approach avoids the complexity of discrete event simulation or agent-based modeling.
The model will be validated using bed usage data from a UK hospital.
Abstract
Managing patient flow in hospitals is a critical part of effective secondary care. Considering a hospital as a multi-compartment system through which patients pass, we will derive relevant equations to allow a description of patient flow through these departments as a series of interconnected dynamic relationships. These relationships are determined by many factors, some known, and many interdependent. We do not need to, and indeed cannot, know all of these factors (as needed for discrete event simulation, or agent-based modelling), but will merely examine the net changes between compartments (i.e. a ‘system dynamics’ approach). Using this approach, we were able to identify two relevant states of equilibrium: the first (trivial) is when the hospital is empty; the second, is when there is activity. We plan to use bed usage data from a UK hospital in an attempt to validate this…
Genes, proteins, chemicals, diseases, species, mutations and cell lines named across the full text — each resolved to its canonical identifier and authoritative record.
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsHealthcare Operations and Scheduling Optimization · Emergency and Acute Care Studies · Healthcare Policy and Management
Introduction
1
The United Kingdom National Health Service (NHS) is currently under great pressure, not least in relation to hospital bed availability. One of the main factors causing problems in secondary (i.e. hospital) care is that the UK has one of the lowest ratios of hospital beds per capita among Organisation for Economic Co-operation and Development (OECD) countries [3]. As a result, the management of patient flow through hospital has become a major problem. This relative lack of beds, together with increasing demand means that bed occupancy gradually rose from 87*.7% in quarter 3 of 2010/11 to 92% in Q3 of 2019/*20 (i.e. pre-pandemic) [4].
Health care is becoming increasingly complex, especially in secondary care. Hospital bed numbers often represent the limiting factor in delivering secondary care. Mechanisms to improve the efficiency of their use (and reduce opportunity costs) are therefore important to managers. There have been attempts to model bed usage in departments (micro-level) and across whole health systems (macro-level), however so far, there have been few models developed allowing reliable description and analysis of hospital bed use across a whole hospital (looking at the interactions between parts of a hospital as patients move through) from admission to discharge or death. Patients with serious medical conditions (e.g. COVID-19 [hereafter, ]) pass into, through, and out of, hospital. Considering the hospital as a multi-compartment system, we aimed to derive the relevant equations to allow a description of these departments' dynamic relationships. These relationships are determined by many factors, some known, and many interdependent. The primary research question this study addresses is: How can a dynamical systems approach effectively model patient flow through hospital departments to optimize bed usage and improve resource allocation? This work is necessary because existing models of hospital bed usage often focus on specific units or limited scenarios (e.g., emergency departments or COVID-19 patient flows) and do not comprehensively capture the interconnected dynamics of a hospital-wide system.
We do not need to, and indeed cannot, know all of these factors (as needed for discrete event simulation, or agent-based modelling), but will merely look at the net changes between compartments (i.e. a ‘system dynamics’ approach).
Background Because of this pressure on hospital beds, hospital managers are always keen to develop systems to maximize their use. To achieve this depends on understanding what sort of patients the system mainly deals with, and how they are moved through the system (patient flow). Fifty years ago, it was identified that using mathematical modelling could help managers to improve bed usage [18]. Various methods, including deterministic and stochastic approaches, multistage models, and algorithmic methodologies, have been used to model bed usage in hospitals. These have all had shortcomings. For example: focusing on planned admissions [26], [5]; being confined to a single (often highly specialised) unit [24], [23], [20], [6], [17]; only part of the medical caseload (and with no definition of the patient groups) [2]; or medium-term planning for a whole hospital [15] or city's healthcare system [22], [7]. Perhaps the most nearly useful model was StratBAM [9], devised for a hospital with fully electronic patient records, in the USA health system—both factors very different from NHS practice. The only systematic review of computer simulation modelling in the field was devoted to examining patient flow within UK emergency departments [20]. Even within that (organisationally) very limited speciality, they found the evidence base to be ‘small and poorly developed’.
The pandemic placed even greater stresses on many hospitals around the world. This generated a number of studies trying to model the impact and help predict bed needs. The focus of these studies varied, but most did not examine all general medical admissions ( and otherwise) passing through one hospital. A systematic review of hospital surge capacity planning found 690 articles, but identified six models that projected both caseload and hospital capacity requirements over time [14]. None of these examined intra-hospital patient flow patterns. Other papers only considered patients' use of hospital resources (in an effort to optimise use of scarce intensive care resources) [8], national healthcare-wide efficiency of hospital bed management [25], or planning the building of new bed capacity [19].
General model and description
2
To answer the question of how waiting in the admissions affects the death rate, we discuss the links between each compartment presented in Fig. 1 as follows:
- 1.Direct effects There is strong empirical evidence of the importance of the following:
- •The number of beds currently available and used for medical patients, as opposed to patients under other the care of other specialties—e.g. surgery, orthopedics, gynaecology, etc (see above), and
- •The number of patients admitted under the care of the on-call medical team in a 24 hour period. Patients admitted under the care of the medical team will have usually a relatively predictable case mix (heart attacks, strokes, complications of diabetes, infections, etc.). The proportion of each of these conditions, although unpredictable from day to day, and season to season, remains fairly stable over longer periods of time (year to year). It is also well established that the numbers of emergency admissions vary by day of the week, with weekdays having over twice the number of daily admissions than weekends.
- 2.Indirect effects The low flow in the ED may be a marker of other local cultural or resource challenges. For example, there might be poor trust leadership affecting all other departments. Equally, there may be particular problems with local social services, resulting in delayed discharges of patients medically fit for discharge from all wards, including the ED (i.e. vectors 1–4 in Fig. 1)—as we are seeing in most NHS hospitals, currently. Figure 1. The diagram shows schematically the dynamical equilibrium between the various hospital departments, from admission via the emergency department (E), via different wards (G, C, I), to discharge (H) or death (M).Figure 1
For example, during the pandemic (up to March 2024) the weekly number of patients admitted to hospital with in England varied from 45 to 3800. The average total number of emergency medical admissions in England for 2020–2021 was about in the largest wave of infections to date, the doubling time of hospital admissions in England was 26 days in early March and the halving time was 20 days in April. The number of emergency medical admissions is largely determined by the empty beds available on any given day (the threshold for admission being adjusted to reflect this by the admitting medical team). The proportion of admissions is obviously closely associated with the number of overall cases in the community at any given time. We have made the assumption that knowing the number of patients in the hospital at any given time and the number of available beds, we can estimate the number of cases that will need critical care (i.e., in the ICU) over the subsequent 24 hours. Given that the effective time constant for changes in case mix usually is in the order of months to years, but that for infectious epidemics is in the order of days, and we are modelling changes over a 24 hour period, we can safely assume that non-epidemic case mix is a constant, for the purposes of this model, the various components of the model are presented in Fig. 1. This can thus be presented in Eq. (1) as follows:
Here , , is the interaction function of the developed model. The definition of endogenous (dependent) variables is given as follows:
- •E emergency department population
- •C specialist ward(s) (here for patients) population
- •G general medical ward population
- •I ICU population
- •H population of patients at home (encapsulated in ωE term).
- •m mortality.
The initial conditions for the model system in Eq (1) are chosen as , , , and . The model describes the flow of patients into the ED (emergency department). This will depend on the prevalence of the prevailing infection and the flow of patients out of the hospital (discharges and deaths), in a system that is diminished of . The parameter r represents the admissions number, a is the movement process rate, i.e. the average of time spent on processing the patients from ED to ward (C), when there is less number of infections, a is half occupation constants, β is the linear rate of hospitality (flow) number of patients in the IC unit (I), , is the patients' flow number between E and other departments. ζ is the virus changing rate per day, i.e. the infected population in Ed department per day. ϵ is a key parameter that we are going to use to reduce the general four compartment model to a special case model, is the death rate and ω is the discharge fixed parameter.
In Eq. (1) the first term in this equation of the model we are using the logistic model to describe the hospital's daily performance with K as hospital full resources and rE refers all medical admissions including all medical condition looked after by a physician, such as patients with heart attacks, strokes, sepsis, segues and complications of diabetes and so forth- the proportion of these individual medical conditions remains relatively constant, is recruitment (admission) rate of the susceptible population and the per capita natural death rate of the population i.e. , where the total population is encapsulated in , where C refers to a medical ward, G refers to a general medical ward and I refers to the IC unit. We can model each compartment of the hospital separately and end with a 7 equations model. However, we simplified the idea into 4-equations model. The second term of the first equation in Eq. (1) is Holling II functional response to describe the movement of patients from the admission department to the medical ward.
We can define the confirmed infected cases in I, which is the IC unit, using the Holling II functional response with as patients flow parameter to describe the movement of susceptible cases from department C into the intensive care unit I as infected population. The death rate M used in the second, third and fourth equations of the model in Eq (1) to describe the death happening in different departments, and in practice it depends on the time of recovery process, which can be related to the total infectious individuals seeking treatment, and how many beds are occupied during this event. The third term also represents the increase of death with β as a linear death rate βC represents the affect of on infected population at the ICU unit, the infected population could also reach its maximum limit by factor.
The second and third equations in the model system in Eq (1) represent patients flow from ward C to the general medical ward G using Holling type II functional response with a to describe the time spent transferring patients from one department to other.
The last equation of the model refers to the hospital main source during , the first term describes the movement of patients population between the IC unit and the rehabilitation unit, where E refers to the emergency department, ω could be defined as the recovery rate or patients leaving the hospital rate and M reflects the mortality number per day. There is a minimum of seven compartments in any hospital and patient flow between them is affected by several factors, including:
- •Administrative procedures and the quality of service, this is represented by the logistic equation in Eq. (1).
- •The clinical workforce establishment (which can be affected in turn by other factors such as sickness, etc), represented in K the hospital resources.
- •Level of illness or infection in case, defined in the second equation of the model Eq. (1).
- •The capacity of each ward (how many patients can be hospitalised in each department + how many beds are available to hospitalised patients), defined in the third and last equation of the model Eq. (1).
Analysis of the model equilibrium
3
This section provides a thorough analysis of the original findings and the nature of the equilibrium determined by the system in Eq. (1). We derive analytical expressions to determine the location and stability of the equilibria in the general case, and present results for specific values of and . In the following section, we will extend this analysis to cover the entire range of
Location of equilibria
3.1
The equilibrium points , , and of Eq. (1) corresponding to . From where the steady state can be defined as, in the aspect of the autonomous system , as that point, say , where such that if, is any solution, of having . A solution is then said to exist, that is, and . Thus stability occurs in two perspectives: stable if there exist a number is the solution of , having then . From this definition, the system in Eq. (1) possesses five possible points are presented in Table 1, to explain the four different steady state obtained in this system.
- •The third clinically (irrelevant) equilibrium is
- •The fourth and the general medical ward free equilibrium is given as follows:
- •The fifth and the full dynamical equilibrium is the full dynamical persistence state given by a quartic polynomial as follows;
where , are cascading parameters given in the Appendix A. Table 1. Potential equilibria, both clinically significant and insignificant, of the model system given by Eq. (1).Table 1. EquilibriumDefinitionValue in parametrized systemDescriptionE1(Ee,Ce,Ge,Ie)(0,0,0,0)trivial equilibriumE2(Ee,Ce,Ge,Ie) hospital resources and the ICU equilibriumE3(Ee,Ce,Ge,Ie)(0,C,−G,0)clinically irrelevant point given in Eq. (2)E4(Ee,Ce,Ge,Ie)(E,C,0,I)general medical ward free equilibrium is given by Eq. (3)E5(Ee,Ce,Ge,Ie)(E,C,G,I)the full dynamical equilibrium is given in Eq. (4)
Qualitative analysis of the location of the equilibria
4
The Jacobian of the four-species model is given by
here, , where , represent the partial derivatives of the Jacobian matrix. The stability of the four equilibria is determined by the eigenvalues of this matrix. In the following section, we will explore the behaviour of each equilibrium point.
,
System behaviour near the origin
A straightforward calculation shows that the hyperbolic equilibrium or the first trivial equilibrium is a stable fixed point.
System behaviour near the hospital resources and the ICU equilibrium
The Jacobian matrix of the system Eq (1) around the non feasible point, gives the following eigenvalues.
which is saddle point. The three negative eigenvalues imply stability along three directions in state space, meaning that small perturbations in those directions will tend to return to the equilibrium point over time. The one positive eigenvalue implies instability along one direction in state space, indicating that small perturbations in that direction will grow over time, leading the system away from the equilibrium point. In summary, a saddle point is characterized by a combination of stable and unstable directions.
System behaviour near the clinically irrelevant point given in Eq. (2)
The Jacobian matrix of the system Eq (1) around the non feasible point, for point gives the following eigenvalues.
where is given in Eq (8) as follows:
The equilibrium is a saddle-focus point, exhibiting a combination of stability and instability along with oscillatory behaviour. The real eigenvalues govern the stability aspects, while the complex conjugate eigenvalues contribute to the oscillatory dynamics.
System behaviour near general medical ward free equilibrium is given by Eq. (3)
The Jacobian matrix of the system Eq. (1) for the fourth equilibrium with no population in the general medical ward .
where α and β are two cascading parameters given in Eq. (23) and Eq. (24) in the Appendix C.
The eigenvalues are unstable saddle focus because we obtained four eigenvalues with opposite signs. We could also identify this point as a saddle-node or bifurcation point. The presence of two negative real eigenvalues implies stability along two directions in state space. Small perturbations in those directions will tend to return to the equilibrium point over time. Complex conjugate eigenvalues with different signs indicate a behaviour akin to a focus. This suggests that trajectories near the equilibrium point exhibit spiralling behaviour.
System behaviour near the full dynamical equilibrium is given in Eq. (4)
The Jacobian matrix is given in section 4 Let , be the roots of the characteristic polynomially of which is given by:
where are cascading parameters and ;
According to the Routh-Hurwitz criterion, the condition for all eigenvalues of the Jacobian matrix to have negative real parts is equivalent to the determinant of all the Hurwitz matrices being positive. This implies that any equilibrium E is locally asymptotically stable if and only if , , , and , or . Clearly, we have and , and based on the Jacobian matrix elements, when , , , , , and , it follows that . Therefore, using the Routh-Hurwitz criteria, we derive the necessary and sufficient conditions for the positive equilibrium to be locally asymptotically stable. To facilitate this, we introduce the following notation.
i.e. if and i.e. if and
i.e. and if and . Hence is unstable Equilibria. This suggests that trajectories near the equilibrium point exhibit spiralling behaviour. The stability of this spiralling behaviour depends on the sign of the real part of the complex eigenvalues, which indicates one positive real part in the complex eigenvalues roots. If one complex eigenvalue has a positive real part and the other has a negative real part, the equilibrium is considered a “saddle-point focus.”
The system analysis produced five equilibriums. The full dynamical equilibrium is the most relevant as all populations are there and with positive signs and the solution exists at , which means, the ‘nowcasting’ and how variations in bed usage in the different departments will affect the other parts of the system, both upstream and downstream (‘forecasting’). The upstream is when the bed of the discharge or mortuary while downstream means, beds in active departments, they are also called level 3 beds, more details are provided in Appendix B.
We investigated the equilibria of the system, denoted as , and examined their feasibility under biologically relevant conditions. To ensure the model produces biologically meaningful (non-negative) solutions, we define all initial conditions:
and parameters:
as non-negative, reflecting their real-world interpretations. The terms in the equations, such as:
are constructed to remain non-negative under these conditions. Furthermore, the death rates:
are proportional to the populations and cannot drive the variables below zero. The eigenvalues from the stability analysis confirm the biologically meaningful equilibrium ( ) is locally stable, and our numerical simulations consistently show all state variables remain non-negative throughout the system's evolution. This guarantees the model adheres to the requirement for biologically meaningful solutions under the given parameter conditions.
Parameter values investigation
5
A major reason for modelling the dynamics of a population is to understand its principle controlling features and so be able to predict the likely pattern of development consequent upon a change of environmental parameters [13]. In the hospital's bed model of Eq. (1) we assumed that the parameters within the elementary analysis are the real number of population in the daily entry basis to hospital. Due to the high bed occupancy in UK hospitals, the limiting factor for the number of admissions in any 24 hour period is determined by the beds becoming available that day (i.e. the number of deaths and discharges). Generally, seriously ill patients are assessed in the emergency department and then a decision is made to admit to a medical ward or to send home. If admitted, they will either be sent to a general medical ward G or a ward C, through out the median number of ward transfers from the ED to medical wards, which are and . There is a target that any admissions from the ED should occur within 4 hours; this ‘time to admit’ is a. Patients who deteriorate in medical wards and need more intensive treatment are transferred to ICU. The median number of such transfers each day over the preceding week ζ reflects this component of activity. The median number of medical patients who die in unit time—in this case one day—in any given ward reflects the case mix on that ward, can be known from hospital data and is represented here by , and for the general ward, ward and ICU, respectively. As can be seen, the total number of beds thus is the sum of the number of discharges and deaths in a given period ω. Because of the physical limit of beds and staff on any given day, the threshold for admission can change to prevent more patients being admitted than the available resources. As the model in Eq. (1) describes the flow of patients into the hospital via ED (i.e. admission numbers). This number is normally determined by: flow of patients out of hospital (discharges and deaths) in a steady state system in the absence of . The following is a list of Exogenous (independent) parameter values definition
Numerical simulation results
6
Time series and phase portraits
6.1
This section aims to validate the analytical findings by incorporating experimental parameter values provided by a clinician consultant with hospital experience. For this analysis, we utilized the parameter values listed in Table 2, which outlines the 14 parameters used to examine the model described in Eq. (1). These values also assisted in setting the initial conditions for conducting the numerical analysis. Another key objective of this section is to confirm the analytical results (summarized in Table 1) through numerical methods. The simulations highlight several significant features of the system from a practical perspective.Table 2. Definitions of parameters and their associated units utilised in the presented model in Eq. (1).Table 2. ParametersDefinitionValueUnitsrThe number of admissions in the past 24 hours5no unitKHospital resources100 − 200no unitaThe movement process rate, i.e the average of time spent on processing the patients from ED to hospital ward, when there is little Covid4hoursζThe linear rate of hospitality (flow) number of patients in the ICU0.2no unitϵA key parameter that we are going to use to reduce the general four compartment model to a special case model0 or 1no unitΓ_1,2_The patients flow number between ED and other departments4 − 5hoursβThe number of available hospital beds (is the discharge fixed parameter)5no unitb1,2(bed time handling)1.5 − 2daysm_1,2,3_Death rate1.5no unitωPatients discharge rate from the hospital3.5no unit
Fig. 2 exhibits the local stability of the model around the second equilibrium , while there is no population in the ward and in the general medical ward, the system exhibits a stable equilibrium and all trajectories are moving toward the equilibrium point. The oscillator behaviour is influenced by the second positive root of the quartic polynomial, shaping the stability of the clinically relevant equilibrium . In the 24-hour case, oscillations reflect short-term periodic dynamics, while in the 500-hour case, they persist over extended durations, indicating long-term regulatory effects. Similarly, Fig. 6 highlights oscillatory trajectories, emphasizing their dependence on system parameters and initial conditions.Figure 2. Time series and phase portraits near the equilibrium point (hospital resources and the ICU equilibrium E2), which is given by (He,We,Ge,Ce)=(100,0,0,233.3333333) with ζ = 0.2 and all other parameters fixed as in Table 2. It is readily seen that the trajectories are attracted onto a stable limit cycle.Figure 2
Figure 4, Figure 6 illustrate the system's behaviour over continuous time for the special case model, along with its trajectory in HWC space based on three distinct initial conditions: , , and , with and bed numbers (along with all other parameters) fixed at their default values. In Fig. 4(b), the trajectory is shown to converge onto a limit cycle with an approximate period of 500 hours. This trajectory reveals significant large amplitude oscillations in H. These findings demonstrate the system's inherent instability.
These results have tended to focus on bed usage within departments (micro-activity), but not activity across healthcare systems (macroactivity). We are looking at the use of beds between departments within a hospital trust (what we call ‘meso-activity’). The results in Figure 4, Figure 5, Figure 6 show the hospital activities in 24 hours, where almost all departments are under control and the patients' movement is stable. As soon as we increase the time's loop to 500 hours, which is approximately 20 days we can notice the periodic behaviour of the system and the flow of the trajectories to create a limit cycle around the three feasible clinically relevant equilibrium. Normally in the UK, emergency cases, including patients, arrive in hospital either after having called for help and been assessed at home by a clinician (usually a paramedic; occasionally a GP), or after having presented at the emergency department (ED) of their local hospital. They are assessed as to how serious and urgent their condition is a process called triage, based on the military practice of rapidly dividing casualties into three groups: those who will survive without intervention; those who will die anyway; and those who will die without intervention but are likely to survive with it.
One parameter bifurcation behaviour
6.2
We have used numerical simulations to analyse the proposed model in Eq. (1). Fig. 7 represents the local stability diagram around with the parameter values given in Table 2. It is readily seen that in Fig. 7(a) indicates that if in the clinically relevant equilibrium then the hospital population will increase and if this means there will be a deficiency in hospital resources. Especially, if is a function of ζ i.e. it depends tremendously on the number of beds in hospital. Also, if then the population will remain constant.
These graphs illustrate clinical model: For a specific choice of parameters, in each cycle, the prey population is increased to extremely high numbers, yet recovers (while the emergency population remains sizeable at the highest number of admitted population density). In real-life situations, however, chance fluctuations of the discrete numbers of individual structure and life-cycle of admitted people might cause the population in E to actually increase more than usual due to the cases admitted because of as well as other health conditions. For a specific choice of parameters, the patients population is increases to extremely high numbers, yet recovers (while the G and C populations remain size able at the highest patients density). In real-life situations, however, chance fluctuations of the discrete numbers of individual structure and life-cycle of virus might cause the patients to actually decease.
Heat map for the hospital dynamics
7
To study the effect of altering the medical resources k of the hospital on the population dynamics by varying the value of k and ζ number of beds in the hospital in 24 hours. We presented a heat-map of a hospital in Fig. 7 typically occurs when the system dynamics of Eq. (1) are cyclic, which means when the density of a patients population increases in response to a greater number of infected patients i.e. when there is a surge in the virus and limited resources the death ratio will increase consequently as a response to this mechanism. The patients population density in the general medical ward will remain constant over short timescales but it does support our assumption that the surge in the virus may respond to the limited resources available in the hospital. The heat map of Fig. 8 effect also implies unreasonable responses to changes in patient population in each ward and other parameters affecting population stability such as the hospital resources k and ζ. It is also defined as response to altered mortality. The different levels of virus effect determine the stabilization of patients population densities in each ward. From the heat map images, an equilibrium is highlighted that indicates an unstable state to the left of the curve of Fig. 8(a) which represent the population densities of E ward and the C ward in Fig. 8(b) are high and this is reflected in the red colour represents the maximum densities of the equilibria. From this, the results are an increase of both ward's populations. The heat-map in each of Fig. 8(a), Fig. 8(b), Fig. 8(c) and Fig. 8(d) indicates that after crossing the saddle-node curve there is then an unstable equilibrium density. This is even though when there is an increase in the patient flow it will generate pressure on the hospital's medical resources and consequently affect the patient population density in each ward.
Results and discussion
8
Several researchers have explored various models of the Holling type II functional response since the groundbreaking contributions of Freedman [16], [10]. These studies aimed to enhance understanding of the dynamics and behaviours of such systems. More recent work, such as Freedman [11], investigates the existence of periodic oscillations and examines the impact of the functional response on these behaviours [1]. In this study, we focus on analyzing the trajectory directions by solving the model represented by Eq. (1). To summarise the analytical findings, we used Table 1 to obtain some numerical results generated using in MATLAB. The model in Eq. (1) exhibits four hyperbolic, clinically feasible equilibria and one non-feasible equilibrium . The first one is where all hospital populations are extinct, and this is always stable. The second equilibrium is , where the ED department is at its highest population density, while both and the general medical ward are empty or with an extinct population and the population in the ICU is limited; this is also stable. The third equilibrium is is clinically irrelevant as one of the hospital departments has a negative population. The fourth equilibrium is the clinically relevant, , which is a quartic polynomial with four real roots two of which are negative roots and three positive where all populations continue to survive. The three positive roots exhibit three different behaviours. The equilibrium is a saddle-focus point, exhibiting a combination of stability and instability along with oscillatory behaviour. The real eigenvalues govern the stability aspects, while the complex conjugate eigenvalues contribute to the oscillatory dynamics. Fig. 4 shows the behaviour for the general medical ward free equilibrium in Fig. 4(a) and Fig. 4(b). Fig. 4(c) and Fig. 4(d) of the first positive root of the quartic polynomial, the clinically relevant equilibrium in duration of 24 hours and 500 hours cases, which is represented in Eq. (13) and all of the other parameters are fixed as in Table 2.
The parameter set in Table 2 enables a diverse range of system behaviour to emerge within a relatively narrow ζ parameter space. The system's stability can be classified into four distinct categories based on hospital population dynamics or limit-cycle patterns [12]. An ‘unstable spiral’ is observed to diverge from the initial conditions, resulting in unbounded population oscillations. We identify a region of such oscillatory behaviour in the four-species model and demonstrate its persistence across the parameter values listed in Table 2. These findings align with those reported in [10].
The oscillatory nature of the hospital model primarily arises due to the complexities involved in modelling the ICU bed functional response (C), which plays a critical role in the system's dynamics and is clinically significant [10]. According to [21], using a simple reaction-diffusion model can effectively capture the intricate dynamics, including oscillatory behaviours, by emphasizing trophic interactions.
Interestingly, the limit-cycle behaviour observed for the linear mortality function of the COVID ward (W), the general medical ward (G), and the ICU (C) may not manifest if a quadratic mortality function is applied to G and C. The results presented—calculated numerically using for various equilibria and illustrated in Fig. 2 for the time series in Fig. 2(a) and phase portraits 2(b), near the equilibrium point (hospital resources and the ICU equilibrium ), with and all other parameters fixed as in 2, show all trajectories are attracted onto a stable limit cycle. Fig. 3, is the system behaviour near the equilibrium point (General ward free equilibrium ), with and all other parameters fixed as in 2. It shows the trajectories are attracted onto unstable limit cycle via the time series Fig. 3(a) and phase portrait in Fig. 3(b), along with oscillatory behaviour.Figure 3. Time series and phase portraits near the equilibrium point (General ward free equilibrium E3), which is given by (He,We,Ge,Ce)=(0.02597402597,1.298363974,0,0.4934840052) with ζ = 0.2 and all other parameters fixed as in Table 2. It is readily seen that the trajectories are attracted onto unstable limit cycle, along with oscillatory behaviour.Figure 3
In Figs. 4(a), 4(b), 4(c) and 4(d), highlight these dynamics, we observed that the clinically relevant equilibrium is unstable when . While Figs. 5(a), 5(b), 5(c), 5(d), which refer to the second positive root of the quartic polynomial, the clinically relevant equilibrium in duration of 24 hours and 500 hours cases, and similarly in Fig. 6.Figure 4. Time series and phase-space trajectories around the proposed initial condition for the general medical ward free equilibrium in Fig. 4(a) and 4(b). Fig. 4(c) and Fig. 4(d) the first positive root of the quartic polynomial, the clinically relevant equilibrium E4 in duration of 24 hours and 500 hours cases, which is represented in Eq (13) and all of the other parameters are fixed as in Table 2.Figure 4. Figure 5Time series and phase-space trajectories around the proposed initial condition for the second positive root of the quartic polynomial, the clinically relevant equilibrium E4 in duration of 24 hours and 500 hours cases, which is represented in Eq (13) and all of the other parameters are fixed as in Table 2.Figure 5. Figure 6Time series and phase-space trajectories around the proposed initial condition for the third positive root of the quartic polynomial, the clinically relevant equilibrium E4 in duration of 24 hours and 500 hours cases, which is represented in Eq (13) and all of the other parameters are fixed as in Table 2.Figure 6
The model in Eq. (1) displays a region of instability near the Hopf bifurcations when , , and . However, this model does not exhibit behaviour in accordance with the enrichment paradox. While increasing the hospital's main resources K does take the system through a region of unstable states, the presence of a higher population in both W and C causes the system to be unstable for larger values of K. This captures detailed information on interactions among the three departments.
Conclusion
9
The primary goal of this analysis is to gain deeper insights into the hospital dynamics described by the model in Eq. (1). This study confirms the existence of periodic oscillations in solutions and evaluates how the virus response influences hospital operations. It highlights the importance of understanding the impact of COVID-19 spread within the structure of hospital wards. In this investigation, the trajectory directions were analyzed by solving the model in Eq. (1). To summarize the analytical results, Table 1 was used to present numerical findings obtained through MATLAB's solver. The model in Eq. (1) reveals four hyperbolic, clinically feasible equilibria and one non-viable equilibrium, . The first equilibrium, , where all populations are extinct (i.e. the hospital is empty), is always unstable. This study aims to enhance understanding of hospital dynamics during the COVID-19 pandemic, particularly under the constraints of limited bed availability. It also examines the stabilization of hospital operations by focusing on the bed usage in each ward, particularly the ICU. The second equilibrium is where the patients in E are at the highest population while the patients in C and the G are no longer present, and the spread of is constrained, making it unstable, as described in Section 4. The third one is where the patients and spread persist while the hospital resources are extinct. The fourth equilibrium is the coexistence where all wards populations exist as explained in sec. 3. The parameter values in Table 2 facilitate observing diverse behaviour within a relatively narrow ζ parameter space. The system's stability can be classified into four distinct categories, based on the population dynamics or the limit-cycle graph behaviour [12]. An unstable spiral emerges from the initial condition, leading to unbounded population oscillations. We demonstrate the presence of this oscillatory region in the four-species model and show how it persists with the parameter values specified in Table 2. The oscillatory behaviour in the model is the challenge of modelling using Holling type II functional response, as it is clinically intricate and possibly impactful on the system. We chose the Holling Type II functional response to represent patient transfers between departments because it effectively captures the saturation effect observed in hospital systems, where the rate of patient transfer slows as departmental capacity approaches its limit. The observed limit-cycle behaviour with respect to linear mortality for patients may not appear if a quadratic mortality function is applied to each ward [1]. The numerical results shown in Fig. 7, computed using ODE45 for different equilibria, reveal that the coexistence equilibrium becomes unstable when . In this case, a neutral centre corresponds to a closed loop, where population oscillations persist without damping. A stable spiral gradually moves toward a stable state, with oscillations in the population being dampened until all populations stabilize. We intend to validate these findings using real-world hospital patient flow data.Figure 7. The clinically relevant equilibrium point w.r.t. ζ as a bed number parameter in a hospital.Figure 7. Figure 8A heat map to represent the hospital dynamics and stability during 24 hours, which indicate the system maximum equilibrium (Ee,Ce,Ge,Ie) for the parameters for different values of K and ζ. Fig. 8(a) shows the emergency department E heat map which reflects the persistence of a high level of population in this department represented by the red colour. Fig. 8(d) represents the low population in the ICU unit due to the limited beds number.Figure 8
CRediT authorship contribution statement
Tahani Al-Karkhi: Validation, Methodology, Formal analysis. Kit Byatt: Writing – original draft, Project administration.
Declaration of Competing Interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Al-Karkhi Tahani A.S.The stability analysis of the plankton full interaction model AIP Conference Proceedingsvol. 25542023 AIP Publishing
- 2Andersen Anders Reenberg Nielsen Bo Friis Reinhardt Line Blander Optimization of hospital ward resources with patient relocation using Markov chain modeling Eur. J. Oper. Res.2603201711521163
- 3Anon Health at a glance 2023: OECD indicatorshttps://www.oecd.org/en/publications/2023/11/health-at-a-glance-2023_e 04f 8239.html 2023
- 4Anon Hospital bed occupancyhttps://www.nuffieldtrust.org.uk/resource/hospital-bed-occupancy/2024
- 5Bekker RenéKoeleman Paulien M.Scheduling admissions and reducing variability in bed demand Health Care Manage. Sci.14201123724910.1007/s 10729-011-9163-x PMC 315833921667090 · doi ↗ · pubmed ↗
- 6Belciug Smaranda Gorunescu Florin A hybrid genetic algorithm-queuing multi-compartment model for optimizing inpatient bed occupancy and associated costs Artif. Intell. Med.68201659692705267710.1016/j.artmed.2016.03.001 · doi ↗ · pubmed ↗
- 7Brailsford Sally C.Lattimer Valerie A.Tarnaras P.Turnbull J.C.Emergency and on-demand health care: modelling a large complex system J. Oper. Res. Soc.5520043442
- 8Deschepper Mieke Eeckloo Kristof Malfait Simon Benoit Dominique Callens Steven Vansteelandt Stijn Prediction of hospital bed capacity during the COVID-19 pandemic BMC Health Serv. Res.21120214683400627910.1186/s 12913-021-06492-3PMC 8128685 · doi ↗ · pubmed ↗
