1 Introduction

The outbreak of the deadly and highly infectious COVID-19 caused by SARS-CoV-2 has been impacting the world since the beginning of 2020 (Chen et al. 2020c) and two waves or even three waves of COVID-19 outbreak (Nørgaard et al. 2021) have hit many countries. The vaccine for SARS-CoV-2 provides hope for a path out of the pandemic, while due to the factors such as limited vaccine resources (Alaran et al. 2021), low willingness of vaccination injection (Sun et al. 2021), and mutations of the virus (Robinson et al. 2021), the control of this epidemic is still facing great difficulties and challenges (Eaton 2021). It is worth noting that the COVID-19 epidemic, which was first reported in Wuhan, was successfully controlled within a few months. Meanwhile, about 50,340 of the 9.04 million people in Wuhan were diagnosed (Office of Health Emergency 2020), this figure is in sharp contrast with the high infection rates in most of the other parts of the world. In fact, evidences show that in response to such a sudden outbreak, in the absence of vaccines, drugs, or even effective diagnostic reagents, the policy of “Joint Prevention and Control Mechanism” (JPCM) proposed by the national authorities has played a significant role in the successful control of Wuhan’s COVID-19 epidemic (Chen et al. 2020a; Pang et al. 2020; Huo et al. 2020).

The JPCM is a multi-departmental working mechanism to control the COVID-19 epidemic. In order to mitigate the epidemic, the associated departments developed a series of prevention and control measures, which includes shutdown of public transport service, building of designated hospital (DH) and Fangcang Shelter Hospital (FSH), tracing and home quarantine of close contacts, centralizing all resources from other regions of China, etc. Hubei Daily (2020), Prevention and Control Dynamics, Xinhuanet (2020). With the establishment of more and more DHs and FSHs, and supporting medical staff and equipment throughout the country, the JPCM subsequently developed into instructional principles such as “early detection, reporting, quarantine and treatment,” “all persons in need have been tested, quarantined, hospitalized or treated” to ensure all of those different measures could jointly affect the containment of COVID-19 in Wuhan (Yan and Zhao 2020). Indeed, with the gradual implementation of the most thorough joint prevention and control measures, the spread of COVID-19 in Wuhan has been effectively controlled (Xin et al. 2021).

Many available modeling studies of COVID-19 in Wuhan have been contributed to understand the transmission mechanism (Li et al. 2020b; Zhao et al. 2020), to predict of the development of the outbreak (Liu et al. 2020a; Tang et al. 2020), and to explore the effectiveness of various nonpharmaceutical intervention (NPIs) strategies (Matteo and Jessica 2020; Ming et al. 2020; Li et al. 2020c, d; Rong et al. 2020). The impact of lockdown in Wuhan on the spread of COVID-19 was widely explored (Kraemer et al. 2020; Pan et al. 2020; Sun et al. 2020), the results showed that the lockdown of Wuhan reduced the propagation of cases to other cities in Hubei province and throughout China. The study in Rong et al. (2020) revealed that the medical resources supply and diagnosis efficiency are essential for an early diagnosis and timely treatment, and improving the timely diagnosis rate can significantly reduce the transmission risk and effectively prevent the endemic of COVID-19. Moreover, the studies on other measures implied that the traffic and community restrictions reduced the flow of population and the spread of disease (Liu et al. 2020b; Fang et al. 2020), increasing wards and beds and medical personnel reduced the incidence of severe cases and mortality (Matteo and Jessica 2020; Ming et al. 2020; Li et al. 2020d; Rong et al. 2020), the establishment of the FSHs provided a good isolation and monitoring environment, and further reduced the spread and fatality of the disease (Li et al. 2020c; Chen et al. 2020b). Furthermore, assessment for two combined control measures was employed to investigate the effects of the measures on the control of COVID-19. For example, Tang et al. (2020) and Kucharski et al. (2020) found that interventions such as enhanced contact tracing, quarantine, and isolation can effectively reduce the risk of transmission. Leung et al. used a susceptible–infectious–recovered model to describe the potential impact of reducing the intensity of prevention and control measures after the first wave to predict the risk of a second wave of infection (Leung et al. 2020). None of these aforementioned models accounted for the mechanism of the joint containment measures to control COVID-19 in Wuhan. Hence, it is essential to explore how these containment measures worked jointly leading to the control of COVID-19 in Wuhan, or the possible scenario if any of these measures was absent.

In addition, the authorities released eight different versions of prevention and control protocols to make timely changes of the control policies, while the diagnostic criteria for COVID-19 were updated eight times. A shocking scenario of daily reported cases is that the newly confirmed cases surged dramatically on February 12, 2020 (National Health Commission of the People’s Republic of China 2020b). Obviously, such a large number of cases cannot be infected within one day, rather they represent an accumulation of clinically diagnosed cases in the previous stage (The State Council Information Office of the People’s Republic of China 2020) based on the latest version of diagnostic criteria at that time. Most studies ignore this disparity or use the number of cases after February 12 to fit with their model. No doubt, the issue of cases under-reporting may cause bias in predication. Parameters estimation based on precise data can contribute to a realistic assessment of the disease transmission characteristics and a reasonable evaluation of the used control measures (Lin et al. 2020). For example, Lin et al. (2020) filled the missing data before January 15, 2020. Based on the adjusted data, their model successfully captures the course of the COVID-19 outbreak, and sheds light on understanding the trends of the outbreak. Wang et al. (2021) also pointed out that the proposed method partially corrected the under-reporting issue. Therefore, it is meaningful to generate a new method to calibrate the sudden reported data, especially based on the transmission mechanism of COVID-19.

A full understanding of SARS-CoV-2 transmission patterns and risk factors is crucial to plan targeted COVID-19 responses to inform decision making. In this work, based on the transmission of COVID-19 and epidemic characteristics of Wuhan (Prevention and Control Dynamics, Xinhuanet 2020; Chen et al. 2020a; Pan et al. 2020; Hao et al. 2020), we proposed a four-stage transmission model for COVID-19 in Wuhan to reflect the developing control strategies over different stages. Then, we calibrated the under-reported data by a new proposed dynamics-based inversion method. Based on the parameterized model, we simulated the transmission of COVID-19 in Wuhan, and quantify the implementation effects of DH, FSH, home quarantine, and infectious tracing, to examine how the combined measures of JPCM work comprehensively on the controlling of COVID-19.

2 Materials

2.1 Data

When lockdown started in Wuhan on January 23, 2020, the JPCM was successively implemented to prevent and control the COVID-19 epidemic. In order to characterize the early transmission dynamics of COVID-19 and to assess the effectiveness of the containment strategy and comprehensive intervention measures, we only concentrate on the data from January 23 to February 25.

The daily reported data of COVID-19 in Wuhan was summarized from the official website of the Wuhan Municipal Health Commission (WMHC) Prevention and Control Dynamics, Xinhuanet (2020). Data information included the daily numbers of newly confirmed cases, cumulative recovered cases, and cumulative infection death (see Fig. 1). From Fig. 1, it is observed that, after the lockdown on Wuhan, the daily new confirmed cases admitted an increasing trend until February 5 and then a decreasing trend.

In addition, the newly confirmed cases surged dramatically on February 12 and 13 with 12523 and 3910 cases, respectively. This “sudden jump” was attributed to a change of test standards in the “Diagnosis and Treatment Protocol for Novel Coronavirus Pneumonia (Trial version 5)” released by National Health Commission. According to the diagnostic criteria for Wuhan in the 5th edition of protocol, from February 12, all patients had mild clinical symptoms should be reported as confirmed cases together with the RNA test diagnosed cases. The accumulated cases with mild clinical symptoms before February 12 were reported in those days.

The DHs and FSHs were recognized to play a crucial and significant role in the control of COVID-19 (Chen et al. 2020b). There was a severe shortage of hospital beds in the early stage as the number of infections surged. By directing resources to Wuhan, the number and capacity of DHs and FSHs gradually expanded and the number of hospital beds quickly increased. Wuhan had thousands of spare beds in DHs and FSHs till February 25. So the number of new hospital beds in DHs and FSHs can be used to quantitatively assess the efficacy of medical resources. The numbers of hospital beds in DHs and FSHs were collected and estimated from the data of hospital diagnoses included in public reports from the Wuhan COVID-19 Epidemic Prevention and Control Headquarters (Prevention and Control Dynamics, Xinhuanet 2020) (see Fig. 2).

Fig. 1
figure 1

Daily reported data of new confirmed cases, cumulative death, and cumulative recovery of COVID-19 in Wuhan from January 23 to February 25. The daily reported data of new confirmed cases prior to the “sudden jump” on February 12 is to be calibrated. Data source: Prevention and Control Dynamics, Xinhuanet (2020)

Fig. 2
figure 2

Cumulative number of hospital beds in DHs and FSHs from January 23 to February 25 in Wuhan

The COVID-19 outbreak in Wuhan was across several different stages defined by significant events and interventions. The measures and strength of prevention and control, in particular the building and addition of new hospital beds, highly varied through multiple stages. The values of key parameters also varied during different stages. Considering the time-varying strength of control measures, we will estimate the parameters in different stages, independently and separately. Our modeling study, which incorporates the estimated time-varying parameters, will delineate the full-spectrum transmission dynamics of the COVID-19 outbreak in Wuhan, and evaluate the effect of the JPCM in different stages.

2.2 Stages of COVID-19 Outbreak in Wuhan Considering JPCM

During the outbreak of COVID-19, the resources to mitigate the epidemic vary greatly in different periods. The prevention and control measures have been implemented rapidly, from the early stages in Wuhan and other key areas of Hubei, to the overall national epidemic. From January 23 to February 25, 2020, Wuhan’s fight against the epidemic can be divided into four different stages, with several important events defining those stages following the guidelines of JPCM:

  • Stage I Initial Progress in Containing the Virus (January 23 to February 4, 2020). January 23 is the date when Wuhan was put on a lockdown (Prevention and Control Dynamics, Xinhuanet 2020) and Huoshenshan Hospital started to be built (Routine press conference on the prevention and control of the COVID-19 epidemic 2020). It is an initial phase of the outbreak due to the growing emergence of large numbers of infections after the lockdown. It is crucial to note that the lack of medical resources is one of the key factors leading to the increase in infections. In this stage, the family-based household quarantine is the main measures to control the COVID-19.

  • Stage II FSHs and DHs were available to admit infections (February 5 to February 12, 2020). Huoshenshan Hospital was completed to admit confirmed infected patients with severe symptoms on February 4 (Health Commission of Hubei Province 2020b), and the first bed in FSH is opened to treat quarantine individuals with mild symptoms on February 5 (Routine press conference on the prevention and control of the COVID-19 epidemic 2020). Leishenshan Hospital was officially launched on February 8 (Health Commission of Hubei Province 2020c). A number of hospital beds in DH and FSH were available and the stalemate situation in curbing the epidemic is essentially changed. As of 12 February, the number of hospital beds of DHs and FSHs is about 14269 and 8605, respectively (see Fig. 2).

  • Stage III Early detection, reporting, quarantine, and treatment (February 13 to February 17, 2020). On February 13, all the residential communities in Wuhan were under lockdown and 24-h closed management was implemented in all residential areas (Health Commission of Hubei Province 2020d). More DHs and FSHs were built consequently, the sufficient hospital beds could be applied for the confirmed mild infections and severe patients through contacting tracing and testing. The FSHs provided timely treatment for the mild cases, as well as breaking down transmission of the virus.

  • Stage IV Overall Every Control and Clear approach (February 18 to February 25, 2020). On February 18, the most thorough, rigorous, and comprehensive prevention and control measures were officially and legally adopted to ensure that all those in need have been tested, quarantined, hospitalized, or treated as much as possible. The Overall Every Control and Clear approach (Hao et al. 2020) was applied in nucleic acid testing and the testing efficiency was greatly enhanced. Great effort had been exhaustively applied in epidemiological investigations to find every infected person and track every close contact for quarantine. The implementation of such strategy significantly controlled the source of infection and quickly suppressed the epidemic.

3 Modeling

3.1 Time-Varying Model Formulation

During the COVID-19 outbreak, most people in Wuhan were observing home quarantine which puts family members at risk, and 75–80\(\%\) of all clustered infections were within families, suggesting high rates of family transmission (Chen et al. 2020b). We classify the population into the following ten compartments: susceptible (S(t)), close contact (C(t)), uninfected under home quarantine (U(t)), asymptomatic infectious under home quarantine (A(t)), infectious with mild symptoms under home quarantine (Q(t)), infectious with severe symptoms under home quarantine (I(t)), infectious in DH (H(t)), infectious in FSH (M(t)), recovered (R(t)), and deaths due to COVID-19 (D(t)). The epidemic is assumed to take place on a timescale of days.

The susceptible individuals could be infected via contact with the infectious AQI and then move to the compartment C at rate of \((\sigma ^A A+\sigma ^Q Q+\sigma ^I I)S/N\) by contact tracing. After the observation period (i.e., incubation period) \(1/\nu \) days, the close contact C become infectious and move to the infectious A, Q, I at rate \(\beta ^{*}\nu C\) with probabilities \((1-\rho \)), \(\rho (1-\xi )\), \(\rho \xi \), respectively, also move to the uninfected self-quarantined U at rate \((1-\beta ^{*})\nu C\). The uninfected self-quarantined U becomes susceptible after quarantined period \(1/\eta \) days. The infectious A, H, and M can recover at rate \(\gamma ^A\), \(\gamma ^H\) and \(\gamma ^M\), respectively. The COVID-19 deaths only occur in DH at rate \(\mu H\).

A schematic description of the transmission dynamics of COVID-19 is depicted in Fig. 3. The flow diagram in Fig. 3 leads to the following model

$$\begin{aligned} \left\{ \begin{array}{l} \displaystyle \frac{\mathrm{{d}}S}{\mathrm{{d}}t}=-\displaystyle \frac{\big (\sigma ^A A+\sigma ^Q Q+\sigma ^I I\big )S}{S+C+U+A+Q+I+H+R+D+M}+\eta U,\\ \displaystyle \frac{\mathrm{{d}}C}{\mathrm{{d}}t}=\displaystyle \frac{\big (\sigma ^A A+\sigma ^Q Q+\sigma ^I I\big )S}{S+C+U+A+Q+I+H+R+D+M}-\nu C,\\ \displaystyle \frac{\mathrm{{d}}U}{\mathrm{{d}}t}=(1-\beta ^*)\nu C -\eta U,\\ \displaystyle \frac{\mathrm{{d}}A}{\mathrm{{d}}t}=\beta ^*(1-\rho )\nu C-\gamma ^AA-f_4(t,A),\\ \displaystyle \frac{\mathrm{{d}}Q}{\mathrm{{d}}t}=\beta ^* \rho (1-\xi )\nu C-f_2(t,Q)-f_3(t,Q) ,\\ \displaystyle \frac{\mathrm{{d}}I}{\mathrm{{d}}t}=\beta ^* \rho \xi \nu C-f_1(t,I),\\ \displaystyle \frac{\mathrm{{d}}H}{\mathrm{{d}}t}=f_1(t,I)+f_2(t,Q)-\gamma ^H H-\mu H,\\ \displaystyle \frac{\mathrm{{d}}R}{\mathrm{{d}}t}=\gamma ^AA+\gamma ^H H+\gamma ^M M,\\ \displaystyle \frac{\mathrm{{d}}D}{\mathrm{{d}}t}=\mu H,\\ \displaystyle \frac{\mathrm{{d}}M}{\mathrm{{d}}t}=f_3(t,Q)+f_4(t,A)-\gamma ^M M, \end{array}\right. \end{aligned}$$
(3.1)

where the variables/parameters and their epidemiological significance, initial/default values, and reference sources are summarized in Tables 1 and 2.

Fig. 3
figure 3

Flow diagram of the transmission of COVID-19

Table 1 Variables and their descriptions, initial values, and sources
Table 2 Parameters and their descriptions, values, and sources

In (3.1), \(f_i\), \(i=1, 2, 3, 4\), represent the transmission functions between different compartments. Next, we deliberately discuss those functions in detail. Note that, the hospital beds in DH are preferred for treating patients with severe symptoms, and then sparse beds can be used for infections with mild symptoms; the hospital beds in FSHs are mainly served to isolate and care for patients with mild to moderate symptoms, and sparse beds are available for asymptomatic infections. Let \(B_{DH}(t)\) and \(B_{MH}(t)\) denote the numbers of hospital beds in DH and FSH at time t, respectively. Then, we have the following facts:

  • The number of infectious individuals with severe symptoms under home quarantine being admitted into DH per unit time

    $$\begin{aligned} f_1(t,I)=\min \left\{ \tau ^I I(t), \max \{ B_{DH}(t) -H(t),0\} \right\} , \end{aligned}$$
  • The number of infectious individuals with mild symptoms under home quarantine being admitted into DH per unit time

    $$\begin{aligned} f_2(t,Q)=\min \left\{ \tau ^Q Q-f_3(t,Q), \max \{ B_{DH}(t) -H(t),0\}-f_1(t,I) \right\} , \end{aligned}$$
  • The number of infectious individuals with mild symptoms under home quarantine being admitted into FSH per unit time

    $$\begin{aligned} f_3(t,Q)=\min \left\{ \tau ^Q Q, \max \{B_{MH}(t) -M(t),0\} \right\} , \end{aligned}$$
  • The number of asymptomatic infectious under home quarantine being admitted into FSH per unit time

    $$\begin{aligned} f_4(t,A)=\min \left\{ \tau ^A A, \max \{B_{MH}(t) -M(t),0\} -f_3(t,Q)\right\} , \end{aligned}$$

where \(\tau ^I\), \(\tau ^Q\), and \(\tau ^A\) are the tracing rate of compartments I, Q, and A, respectively.

3.2 Under-Reported Data Calibration

Under-reported data are commonly found as a crucial issue for data collection, especially for a new emerging infectious disease that has never appeared before. At the early stages of COVID-19 outbreak after Wuhan’s lockdown, the reported number of confirmed cases is not the actual number of infections on a specific day due to the limited capability of nucleic acid test. In addition, the diagnostic criteria for COVID-19 were updated continually. Before February 12, the National Health Commission (NHC) of China employed nucleic acid test as the unique diagnostic standard to confirm infected cases. On February 12, the clinically diagnosed cases together with the nucleic acid test diagnosed cases were first reported as confirmed cases according to the latest version of prevention and control protocols at that time. As a result, the daily number of infected cases in Wuhan has jumped with significantly large sizes on February 12 and 13 with 12,523 and 3910 cases, respectively (see Fig. 1).

In the previous modeling study of COVID-19, only the data from February 12 onward were used to estimate the model parameters (Li et al. 2020c), or the data of February 12 and 13 were deliberately neglected (Li et al. 2020a), or adjusted data through the statistic calibration procedure which fits an exponential function (Wang et al. 2021). The analysis of under-reported data may lead to a biased estimation and prediction when mathematical or statistical models are used. How to deal with and correct the under-reporting data, in particular the significantly sudden jumps, is not only crucially important but also very challenging.

Obviously, the new reported clinically diagnosed cases on February 12 and 13 cannot happen within one day, rather than they represent an accumulation of cases that have not been reported and timely diagnosed by RNA test before February 12. Therefore, the daily increment of clinically diagnosed cases should also follow the same rule of the reported increment confirmed by the RNA test. The method developed in Wang et al. (2021), Li et al. (2020a) for adjusting the under-reported data assumes that the data obeys certain distributions (exponential or gamma distribution), while this assumption may enlarge the data biases. In reality, the fitted evolution pattern of those cases with heavy symptoms (i.e., RNA-Test confirmed cases) follows the laws of the transmission mechanism of COVID-19 in Wuhan. Then, based on model (3.1), we develop a dynamics-based data inversion approach to calibrate the number of infections. The approach proceeds through the following steps.

  • Step 1 With the help of the COVID-19 transmission model (3.1), by employing the nonlinear least squares procedure, we formulate the evolution pattern of the data of daily new confirmed cases diagnosed by RNA test from January 23 to February 13 (see the fitted curve in Fig. 4a). The number of fitted daily new confirmed cases (see the model output in Fig. 4a) are denoted by \(x_1\), \(x_2\), ..., \(x_{22}\), respectively.

  • Step 2 Following the fitted evolution pattern obtained in Step 1, the sudden increments of the clinically diagnosed cases on February 12 and 13, which are denoted by \({\mathbb {M}}_1\) and \({\mathbb {M}}_2\), respectively, are inversely distributed into each day from January 23 to February 13, in proportion to the percentage of daily fitting data in all fitting data, that is,

    $$\begin{aligned} \frac{x_i}{\sum _{k=1}^{22}x_k}({\mathbb {M}}_1+{\mathbb {M}}_2),~~i=1, 2, \ldots , 22. \end{aligned}$$

The calibrated data are shown in Table 3 and are illustrated by the solid black curve with “o” in Fig. 4b. For example, on February 1, the reported number of daily new infected cases is 894, while the calibrated number is 1479, with a difference of 585 cases. It means that, on February 1894 cases were confirmed by RNA test, while 585 cases were not since those individuals just had mild clinical symptoms and were not included in the reported number according to the prevention and control protocols at that time.

Table 3 Calibrated data of daily new infected cases
Fig. 4
figure 4

Calibration of under-reported data of daily new infected cases in Wuhan from January 23 to February 13. a Reported number of daily new confirmed cases by RNA test and the best fitted curve. b Calibrated data of daily new infected cases shown by the solid black curve with “o”

3.3 Parameters Estimation

We set the initial values of state variables and the values of parameters for each stage in the model (3.1). Some of those values are extracted from the relevant literature and have been widely recognized, some are assumed based on the publicly published data of infections in Wuhan or well-accepted epidemiological facts, and the others are estimated by fitting the model outcomes to the data using least square method.

By the works of Yang et al. (2020), \(69.9\%\), \(25.5\%\), and \(4.5\%\) of the infectious would be mild, severe, and asymptotic cases, respectively. Thus, the parameters \(\rho =0.955\) and \(\xi =0.267\) for (3.1). Since the incubation period of COVID-19 is \(1-14\) days, mostly 3–7 days (National Health Commission of the People’s Republic of China 2020b), we assume that the observation period of close contact is 4 days (i.e., \(\nu ^{-1}=4\)), and the uninfected under home quarantine (i.e., U(t)) remain in isolation for another 10 days then become susceptible again (i.e., \(\eta ^{-1}=10\)). The mean duration time between onset of symptoms and diagnosis is 4.95 days at the early stage of COVID-19 outbreak (The Central People’s Government of China 2020), then we set \(\tau ^I=0.5\) and \(\tau ^Q=0.2\) for the first stage.

Note that the infectious A(t), Q(t), and I(t) are under home quarantine and their main contacts are among family members, considering the typical family structure in Wuhan, the values of intrafamily contacts of A, Q, and I are assumed to be \(\sigma ^A=5\), \(\sigma ^Q=2\), and \(\sigma ^I=1\) in Stage I, respectively. For Stage II–IV, owing to the successively stricter control measures and the increasing medical supplies, the values of those three parameters are properly adjusted (see Table 2). In Table 1, the initial values of state variables are directly obtained or calculated from public reports and published papers (Yang et al. 2020; People’s Network 2020; Health Commission of Hubei Province 2020a).

Consider the function \(B_{DH}(t)\) and \(B_{MH}(t)\). Let \(i=1, 2, \ldots , 33\) denote the days from January 23 to February 26. Define

$$\begin{aligned} \begin{array}{l} B_{DH}(t)=d_i,~~ t\in [i, i+1),~~i=1,2,\ldots ,32,\\ B_{MH}(t)=\left\{ \begin{array}{ll} 0 ,&{}t\in [i, i+1),~~i=1,2,\ldots ,13, \\ m_i,&{}t\in [i, i+1),~~i=14,15,\ldots ,32, \end{array} \right. \end{array} \end{aligned}$$

where everyday begins at 0:00 am, \(d_i\) and \(m_i\) are the actual number of the hospital beds in DH and FSH of the i-th day, respectively (see Fig. 2).

We employ the nonlinear least squares procedure to estimate the initial value of C(t), the infection rate (\(\beta ^*\)), recovery rate (\(\gamma ^{M}\), \(\gamma ^{H}\), and \(\gamma ^{A}\)), and death rate (\(\mu \)) in consecutive four stages, respectively. The nonlinear least square estimation is to find the parameter values to minimize the following objective function

$$\begin{aligned} \begin{array}{l} {\mathbb {F}}(\beta ^*,\gamma ^{M},\gamma ^{H},\gamma ^{A},\mu , C(0))=\sum _{i=1}^{32}\Big [(CI(i)-{\widehat{CI}}_i)^2+(D(i)-{\widehat{CD}}_i)^2\Big ]\\ \quad +\Big [\sum _{i=1}^{4}(R(i)-{\widehat{CR}}_i)^2+\sum _{i=14}^{32}(R(i)-{\widehat{CR}}_i)^2\Big ], \end{array} \end{aligned}$$

where \({\mathbb {F}}(\beta ^*,\gamma ^{M},\gamma ^{H},\gamma ^{A},\mu , C(0))\) represents the error between the output of model and the data; \({\widehat{CI}}_i\), \({\widehat{CD}}_i\) and \({\widehat{CR}}_i\) are the total numbers of the reported cumulative confirmed cases, the death, and recovered cases on the \(i-th\) day, respectively; while

$$\begin{aligned} \begin{array}{l} CI(i)=CI(t)\mid _{t=i}\triangleq \Big [I(t)+Q(t)+A(t)+H(t)+M(t)+R(t)+D(t)\Big ]_{t=i},\\ D(i)= D(t)\mid _{t=i},~R(i)= R(t)\mid _{t=i}, \end{array} \end{aligned}$$
(3.2)

\(i=1,2,\ldots ,32\), are the corresponding values calculated from the numerical outputs of (3.1). One thing to note is that, with the calibrated data and the high detection efficiency in stage III and IV, the sum of the numbers of the infectious under home quarantine (I(t), Q(t), A(t)), the treated in hospitals (H(t), M(t)), the recovered (R(t)) and the death (D(t)) is just the total number of the cumulative confirmed cases at time t.

All the initial values of state variables and the values of parameters are summarized in Tables 1 and 2, respectively.

4 Results

In what follows, by performing some numerical simulations, we simulate our model (3.1) to calibrate the actual data, and validate the parameterized model to assess the effect of joint prevention and control measures of COVID-19.

4.1 Fitting Results and Predictions

From the best fitted curves in Fig. 5, it is observed that the model calculation shows reasonably good agreement with the reported data. The validation of the estimation (see the blue solid curve and the green dots in Fig. 5a) also shows that the model parameterized with the calibrated data makes a good prediction. Figure 6 shows the comparisons of the model output H(t) and M(t) with the actual number of available hospital beds in DH and FSH. It also reflects the occupancy of the substantially increasing hospital beds. From Fig. 6a, one observes that the number of available hospital beds in DH is larger than that of the confirmed cases in Stage I owing to various possible reasons such as low efficiency of RNA test, shortage of medical resources, and lack of healthcare personnel; with the increasing of new infection and testing efficiency, there were almost no spare beds in both DH and FSH after February 5; in later Stage IV, there are again sparse beds in DH, but all hospital beds in FSH are used to treat the infected individuals with mild symptoms. Those facts are well consistent with the actual situation (National Health Commission of the People’s Republic of China 2020b). The fitting results and predictions are very interesting and exciting and also demonstrate the validity of our parameterized model (3.1).

Fig. 5
figure 5

Comparisons of model outputs, R(t), and D(t) with the daily data. The best fitted curves indicate that our predictions well match the calibrated data of cumulative confirmed cases (a and Fig. 4), and the reported data of cumulative death and cumulative recovery (bc and Fig. 1) from January 23 to February 25. The validation of the estimation (see the blue solid curve and the green dots in a) from February 26 to March 10 also shows that the parameterized model makes a perfect predication. Here, the data of green dots is the cumulative confirmed cases reported by WMHC (Prevention and Control Dynamics, Xinhuanet 2020) (Color figure online)

Fig. 6
figure 6

Comparisons of model outputs H(t) and M(t) with the actual number of available hospital beds in designated hospitals and Fangcang Shelter Hospitals

4.2 Effect of Hospital Beds in DH and FSH

Fig. 7
figure 7

Comparison of cumulative confirmed cases under different hypothetical control scenarios. It reveals that the DH of “Huoshenshan” and “Leishenshan,” and the FSH, have a great impact on the containment of COVID-19 in Wuhan

The available beds in “Huoshenshan” and “Leishenshan” hospitals for infections with severe symptoms make great sense in the prevention of COVID-19 transmission. If “Huoshenshan” and “Leishenshan” designated hospitals were not built in Wuhan (i.e., the number of available designated hospital beds were reduced by 1000 and 1500 on February 3 and February 8, respectively), then, from Fig. 7, one can find that, by the middle of March, the two designated hospitals, which only contains 2500 beds, have already averted more than 30,000 cases (see the dash curve in Fig. 7).

It is FSH that ensures sufficient capacity to both effectively isolate and care for the large numbers of people who experience mild to moderate COVID-19. If the FSH was not built in Wuhan (i.e., \(B_{MH} (t)=0\)), then, in Fig. 7, the dash-dot curve revealed that the outbreak of COVID-19 in Wuhan would be out of control and the number of cumulative confirmed cases would reach to 140,000 by March 10, even if the prevention and control measures were strengthened.

Fig. 8
figure 8

Sensitivity analysis of hospital bed capacity on COVID-19 in Wuhan. The numbers of available beds in both DH and FSH are changed by varying parameter \(p_0\), while other parameters are the same as those in Fig. 5

The sensitivity analysis in Fig. 8 clearly illustrates that the hospital bed capacity has a critical impact on the control of COVID-19 in Wuhan. If the local government of Wuhan can’t provide the actual available hospital beds (see in Fig. 2) in a short term, for example, the number of hospital beds was decreased by 20 percent (i.e., \(0.8*B_{DH} (t)\) and \(0.8*B_{MH} (t)\)), then the cumulative confirmed cases would be far more than the current infection size (see the thick dash-dot curve with \(p_0=0.8\) and the baseline of red solid curve with \(p_0=1\) in Fig. 8). On the other hand, if there were more public health resources in February and the number of hospital beds was increased by 20 percent (i.e., \(1.2*B_{DH}(t)\) and \(1.2*B_{MH} (t)\)), then the final infection size of COVID-19 in Wuhan would be less than 38,000 cases (see the thin dash-dot curve with \(p_0=1.2\) in Fig. 8).

4.3 Effect of Home Quarantine

After city’s lockdown, Wuhan implemented social distancing to inhibit the transmission of COVID-19. Home quarantine of close contact is one of the most important methods of social distancing. The parameters \(\sigma ^I\), \(\sigma ^Q\), and \(\sigma ^A\) are the numbers of close contact of infectious under home quarantine, with severe symptoms, mild symptoms, and without symptoms per unit time, respectively. The values of \(\sigma ^I\), \(\sigma ^Q\), and \(\sigma ^A\) are determined by family members, self-protect awareness, medical resources, etc. With the actual capacity of hospital beds in DH and FSH, Fig. 9 shows the sensitivity analysis of home quarantine on the containment of COVID-19 in Wuhan in terms of \(\sigma ^I\), \(\sigma ^Q\), and \(\sigma ^A\). One finds in Fig. 9 that, the smaller of the numbers of close contact (i.e., \(\sigma ^I\), \(\sigma ^Q\), and \(\sigma ^A\)), the smaller of the numbers of cumulative confirmed cases, and there are more spare beds in both DH and FSH. For example, if the numbers of close contact were decreased by \(5\%\), then the number of cumulative confirmed cases would be reduced to 32,507 (see the thin dash curve with \(p_1=0.95\) in Fig. 9a). There are again spare beds in DH from February 14 (see the thin dash curve with \(p_1=0.95\) in Fig. 9b), nine days ahead of the actual circumstance (see the baseline of thick real curve with \(p_1=1\) in Fig. 9b), meanwhile, there are also spare beds in FSH from February 17 (see the thin dash curve with \(p_1=0.95\) in Fig. 9c). In addition, one can also observe in Fig. 9 that, if the voluntary home quarantine was not effectively implemented, then the spread of COVID-19 in Wuhan would be out of control with the actual available hospital beds in DH and FSH (see the dot curves with \(p_1=1.1\) and thick dash curves with \(p_1=1.05\) in Fig. 9a–c).

Fig. 9
figure 9

Sensitivity analysis of home quarantine on the containment of COVID-19 in Wuhan in terms of \(\sigma ^I\), \(\sigma ^Q\), and \(\sigma ^A\). The values of \(\sigma ^I\), \(\sigma ^Q\), and \(\sigma ^A\) are changed by adjusting parameter \(p_1\), while other parameters are the same as those in Fig. 5

Fig. 10
figure 10

Sensitivity analysis of home quarantine under different hypothetical scenarios of hospital bed capacity in Wuhan in terms of \(\sigma ^I\), \(\sigma ^Q\), and \(\sigma ^A\). The values of \(B_{DH}(t)\), \(B_{MH}(t)\), and \(\sigma ^I\), \(\sigma ^Q\), \(\sigma ^A\) are changed by adjusting parameters \(p_0\) and \(p_1\), respectively, while other parameters are the same as those in Fig. 5

Figure 10 performs sensitivity analysis of home quarantine under different hypothetical scenarios of hospital bed capacity in Wuhan. In Fig. 10a, the hospital bed capacities in both DH and FSH are assumed to be one and a half times of the actual available beds (i.e., \(1.5B_{DH}(t)\) and \(1.5B_{MH}(t)\)), then the spread of COVID-19 in Wuhan would be still finally inhibited even if the numbers of close contact are increased by \(10\%\) (see the dot curve with \(p_0=1.5\) and \(p_1=1.1\)). However, when the corresponding parameters are increased by \(20\%\) or \(30\%\), the transmission would be out of control (see the dash-dot curve with \(p_0=1.5\), \(p_1=1.2\) and dash curve with \(p_0=1.5\), \(p_1=1.3\)). In Fig. 10b, one can find that, if the available beds double the actual number (i.e., \(2B_{DH}(t)\) and \(2B_{MH}(t)\)), then the spread of COVID-19 in Wuhan would be controlled finally when the numbers of close contact are increased by \(20\%\) (see the dash-dot curve with \(p_0=2\) and \(p_1=1.2\)). If the parameters \(\sigma ^I\), \(\sigma ^Q\), and \(\sigma ^A\) are increased by \(30\%\), then even doubling the actual number of available hospital beds still cannot inhibit the spread of COVID-19 in Wuhan (see the dash curve with \(p_0=2\) and \(p_1=1.3\) in Fig. 10b).

In Fig. 11, we carry out numerical simulations for the dynamics of cumulative confirmed cases under different hypothetical scenarios of home quarantine efficiency and hospital bed capacity in Wuhan. Figure 11a reveals that, compared with FSH, DH performs more effectively on the containment of COVID-19 in Wuhan. As of March 10, all available hospital beds in FSH averted about 80,000 new confirmed cases (see the heavy dash curve with \(p_0^D=1\), \(p_0^M=0\), \(p_1=1\), and the baseline in Fig. 11a), while one half of available beds in DH averted more than 110,000 new confirmed cases (see the dash curve with \(p_0^D=0.5\), \(p_0^M=1\), \(p_1=1\), and the baseline in Fig. 11a). If there is no FSH, with the increasing of \(80\%\) beds in DH (i.e., \(1.8B_{DH}(t)\)), the spread of COVID-19 in Wuhan still could be inhibited and the cumulative confirmed cases are even reduced to about 40,000 (see the heavy dot curve with \(p_0^D=1.8\), \(p_0^M=0\) and \(p_1=1\) in Fig. 11a). However, with one half of available beds in DH (i.e., \(0.5B_{DH}(t)\)), one needs three times the number of actual available beds in FSH (i.e., \(3B_{MH}(t)\)) to reduce the cumulative confirmed cases to an approximate number (see the red dot curve with \(p_0^D=0.5\), \(p_0^M=3\) and \(p_1=1\) in Fig. 11a). Simulations in Fig. 11b also indicate that, in addition to DH and FSH, home quarantine of close contact is another effective control measure. If FSH was not adopted in Wuhan, then decreasing \(5\%\) of the number of close contact (i.e., \(p_1=0.95\)) together with increase of \(40\%\) beds in DH (i.e., \(1.4B_{DH}(t)\)) could effectively control the transmission of COVID-19 in Wuhan and reduces the cumulative confirmed case to less than 40,000 (see the heavy dash-dot curve with \(p_0^D=1.4\), \(p_0^M=0\) and \(p_1=0.95\) in Fig. 11b).

Fig. 11
figure 11

Comparisons of cumulative confirmed cases under different hypothetical scenarios of home quarantine efficiency and hospital bed capacity in Wuhan. The values of \(B_{DH}(t)\), \(B_{MH}(t)\), and \(\sigma ^I\), \(\sigma ^Q\), \(\sigma ^A\) are changed by varying parameters \(p_0^D\), \(p_0^M\) and \(p_1\), respectively, while others are the same as those in Fig. 5

4.4 Effect of Tracing Efficiency in Early Stage of the Outbreak

To investigate the impact of the contact tracing efficiency during Stage I, in Fig. 12, sensitivity analysis is carried out using the parameterized model with different values of \(\tau ^I\), \(\tau ^Q\), and \(\tau ^A\) in the corresponding period (i.e., from January 23 to February 4). One can find in Fig. 12 that, in Stage I, all simulated curves have similar values and increasing trends, yet the number of cumulative confirmed cases shows great differences over time in the following stages. If the tracing rate in Stage I was increased by \(20\%\) (i.e., \(p_2=1.2\)), then the cumulative confirmed cases would be averted more than 20,000 cases (see the dash curve with \(p_2=1.2\) in Fig. 12). On the other hand, if the tracing rate in Stage I is decreased by \(20\%\) (i.e., \(p_2=0.8\)), the total number of cumulative confirmed cases in Wuhan would be far more than the current infection size (see the thick dot curve with \(p_2=0.8\) and the baseline of thick real curve with \(p_2=1\) in Fig. 12). In comparison, sensitivity analysis of the detection rate in Stage II (i.e., from February 5 to 12) is shown in Fig. 13, which demonstrates that high tracing rate in Stage II had much less effect on the control of COVID-19 than that in Stage I.

Fig. 12
figure 12

Sensitivity analysis of tracing efficiency in Stage I (i.e., from January 23 to February 4) on the containment of COVID-19 in Wuhan. The values of \(\tau ^I\), \(\tau ^Q\), and \(\tau ^A\) in Stage I are changed by adjusting parameter \(p_2\), while other parameters are the same as those in Fig. 5

Fig. 13
figure 13

Sensitivity analysis of tracing efficiency in Stage II (i.e., from February 5 to February 12) on the containment of COVID-19 in Wuhan. The values of \(\tau ^I\), \(\tau ^Q\), and \(\tau ^A\) in Stage II are changed by adjusting parameter \(p_3\), while other parameters are the same as those in Fig. 5

5 Discussion and Conclusion

Now, the COVID-19 pandemic has become a major public health emergency. The disease has spread faster and wider around the world than any others in the past decades, and has also proven to be the most difficult to control. The Wuhan lockdown and its success in containing of the epidemic provides a valuable experience for other regions of the world.

In this study, we established a dynamical model by considering four different stages of transmission. Several time-dependent parameters and four stages of the outbreak were used to reflect the changes of medical resources and the timely adjustments of control strategies on the transmission of COVID-19 in Wuhan. Then, we proposed a dynamics-based data inversion method to calibrate the under-reported infections accumulated from clinically diagnosed cases before February 12. Compared with Lin et al. (2020), our method follows the evolution pattern generated by a parameterized dynamic model and avoids enlargement of data collection biases caused by various reasons. Based on the reported data of cumulative confirmed cases, death cases, and recovered cases in Wuhan from January 23 to February 25, the time-varying transmission model is parameterized by employing nonlinear least squares method. It is worth mentioning that, the model simulation shows reasonably good match with the multi-dimensional real data and makes a good prediction of the cumulative confirmed cases from February 26 to March 10 (see Fig. 5), in particular, the simulation-based recurrence time point of spare beds in DH (see Fig. 6a) is well consistent with the actual situation (Health Commission of Hubei Province 2020d).

It is well known that the prevention and control of infectious disease follow the classic CCP principle, i.e., control the sources infection, cut the route of transmission, and protect the vulnerable group. When one revisits the transmission process of COVID-19 in Wuhan, the JPCM plays a decisive role on the containment of COVID-19, which contains a series of integrated and coordinated actions such as contact tracing, home quarantine, and building of DH and FSH. Our four-stage nonautonomous model reveals that the spread of COVID-19 cannot be inhibited in Wuhan if any of these measures is not effectively implemented (see Figs. 7, 8, 9, 10, 11, 12, 13). Furthermore, numerical analysis provides a scientific approach to understand how these actions work comprehensively on controlling COVID-19 in Wuhan.

FSH is one of the most important and impressive strategies in the success of tackling the COVID-19 transmission in Wuhan. In early February 2020, with the shortage of beds available for the treatment of the infectious, there were thousands of mild infected patients sent home for self-quarantine and observation. However, home quarantine could put patient’s family members at high risk. Although the hospital beds in DH were continuously increasing, the epidemic was getting worse till the FSH was adopted and mainly served to isolate and care for patients with mild symptoms. When most of the infectious with mild symptoms and their close contacts were moved to FSH, the household transmission was greatly reduced. The number of reported confirmed cases steadily decreased from February 18, 12 days after the first FSH started admitting patients. The FSH played an important role as expected (Routine press conference on the prevention and control of the COVID-19 epidemic 2020) and many countries had already adopted similar approaches for the containment of COVID-19 (Li et al. 2020c).

Nevertheless, our analysis suggests another fact that FSH is just very helpful replenishment when the bed capacity of DH cannot be increased to necessary level in the short term. Comprised with FSH, the DH can inhibit the transmission of COVID-19 more effectively. Figures 9, 10, and 11 reveal that the effective home quarantine is also a decisive factor for success in containment of COVID-19 in Wuhan. If people did not stay at home and most traditional family gatherings for the new year festival were not stopped, a small increase in the number of close contact would lead to increasing trend of COVID-19 in Wuhan. Low tracing efficiency of infectious in the early stage of outbreak would cause a large number of new infections, and then the cumulative number of confirmed cases in the following stages would be beyond imagination (see Fig. 12). That is to say, timely and quickly tracing of infectious at the beginning of outbreak is crucial for controlling of COVID-19, although it may need a huge economic cost. Furthermore, the outbreaks in other regions of China, such as the outbreak occurred in Beijing on June 11, 2020 (National Health Commission of the People’s Republic of China 2020a), and the outbreak lighted in Hebei Province on January 3, 2021 (Health Commission of Hebei Province 2021), were also effectively constrained by the insights of JPCM. The World Health Organization stated that China has paid enormous efforts in responding to the COVID-19 epidemic and has effectively prevented the further spread of the epidemic. In particular, the prevention and control measures implemented in Wuhan and other infected cities were timely and effective. The World Health Organization also calls on other countries and regions in the world to learn from China (World Health Organization 2021). In summary, the combining multiple measures must be simultaneously implemented as quickly and as early as possible when we struggle with COVID-19 or other pandemic in future.