1 Introduction

In 2020, the all world is facing a battle against a new type of viral pneumonia. The novel coronavirus pneumonia was named "COVID-19" (Corona Virus Disease 2019) by the director general of World Health Organization (WHO) Tedros on February 11, 2020 [1, 2]. Meanwhile, International Committee on Taxonomy of Viruses declared that the novel coronavirus was named "SARS-CoV-2" (Severe Acute Respiratory Syndrome Coronavirus 2), and it was identified as a sister virus of SARS coronavirus. The main transmission route of COVID-19 is respiratory droplets transmission and contact transmission. It is very infectious, but the death rate is not high. As the outbreak continues to worsen, on 28 February 2020, the WHO raised the regional and global risk levels to the highest level, "very high", in its daily COVID-19 situation report. As of 11 March 2020, COVID-19 has spread to 115 countries, with 119,239 confirmed cases and 4,287 deaths. On the same day, the director general of the WHO, Tedros, announced that based on the assessment, WHO believes that the current outbreak of COVID-19 can be called a global pandemic [3].

In early January 2020, a new cases of viral pneumonia were reported in Wuhan [4]. With a large number of people moving during the Spring Festival, the number of infected cases increased rapidly. After finding the evidence of human-to-human transmission, the Chinese government issued a blockade of Wuhan on January 23, 2020, in order to control the number of infected people. All the citizens actively cooperated with home quarantine, which greatly reduced the flow of people and the spread of the virus. Although a prolonged urban blockade would cause great damage to the economy, the Chinese government immediately implemented the measures of "trapping and killing the virus" in a responsible attitude towards the people and the world. By mid-march, the number of new confirmed cases nationwide had dropped to single digits. The spread of the virus in China has been basically contained.

Many domestic and foreign epidemiologists have done a lot of modeling and prediction on the spread of COVID-19 in China during the outbreak [5,6,7,8,9,10,11,12, 29]. Such as: Using data from reported confirmed cases before 22 January 2020, Tang et al. [5] estimated that the basic reproduction number could be as high as 6.47 based on likelihood analysis and model analysis. Yan et al. [6] proposed a mathematical model of COVID-19 with time delay based on the cumulative confirmed number and cured cases published by the National Health Commission. The time delay is introduced to describe the incubation period of the virus. Khan and Atangana [7] established a fractional mathematical model to simulate the spread of COVID-19, estimated the parameters through the confirmed cases of 21 January to 28 January, and analyzed the sensitivity of the basic reproduction number. Due to the implementation of a series of strong intervention policies issued by the state, Tang et al. [8] used the new data as of January 29 to re-estimate the parameters of the model, and calculated that the basic reproduction number was less than 1.

With the continuous spread of COVID-19 around the world, many scholars established a series of COVID-19 models to simulate its spread according to different situations and considering different influencing factors [39,40,41,42,43,44,45,46,47]. Aba et al. [39] developed a fractional mathematical model for the dynamics of COVID-19 by taking into account quarantine, isolation, and environmental viral load factors. Then, by fitting the data of daily infections in Pakistan from March 1, 2020 to June 30, 2020, the estimated value of the parameter was obtained. Gupta et al. [40] used a SEIR-QDPA model to simulate COVID-19 transmission in India from March 30, 2020 to June 7, 2020. The best exit time of the blocking strategy is analyzed through experiments. Hezam et al. [41] presented a new mathematical model of cotransmission of COVID-19 and cholera, and then fitted the data of coinfection outbreaks in Yemen between 1 January 2020 and 30 May 2020. The study took into account the preventive measures taken to contain the outbreak: social distance, lockdown, number of tests, etc. Wickramaarachchi and Perera [42] used a traditional SEIR model to simulate the spread of COVID-19 in Sri Lanka from 10 March 2020 to 31 May 2020. By assuming that the number of cases of infection presents an exponential curve, the parameters of the obtained data are estimated and the results are analyzed.

It is an important part of infectious disease dynamics to study the dynamic properties of the model. Through the qualitative and quantitative analysis of the model, the development process of the disease is analyzed, the epidemic law is revealed, the change trend is predicted, and the causes and key points of the disease epidemic are analyzed [13,14,15,16,17,18,19,20,21,22,23,24, 33,34,35]]. For example, Khan et al. [13] established a mathematical model to simulate the spread of Pine Wilt Disease, studied its stability, and compared the control results under different strategies. Li et al. [14] proposed a nonlinear SIQS infectious disease model based on complex networks, and studied the stability of the model by using complex network theory and Lyapunov function method. Bonyah et al. [15] used the Atangana-Beleanu derivative in the sense of Liouville-Caputo to study the model of human African trypanosomiasis, and analyzed the basic properties and stable states in the sense of fractional derivative. Huo et al. [16] considered a new SEIS infectious disease model with media influence, obtained the basic reproduction number through the analysis of the characteristic equation, and studied its stability and the occurrence of Hopf bifurcation. There are also some important articles, please refer to the references.

The basic reproduction number \(R_{0}\) is a very important concept in epidemiology, and is undoubtedly “one of the most important and valuable ideas brought by mathematical thinking to the epidemiological theory” [25]. Inspired by the above literatures, in order to demonstrate the impact of Chinese government interventions on COVID-19 transmission, we divide the entire transmission process into three stages according to specific interventions. By fitting daily data published by the National Health Commission, the basic reproduction number for the three stages was obtained. The effect of the intervention was analyzed by comparing the values of the basic reproduction number in three different stages.

The structure of this paper is as follows: the establishment of the model and its basic properties are given in Sect. 2; the basic reproduction number and equilibria are obtained in Sect. 3; the stability of the equilibrium are proved in Sect. 4; data analysis and numerical simulation are shown in Sect. 5; some findings of this paper are given in last Section.

2 The model formulation

2.1 System description

Our research target is the infection of COVID-19 in China, so the target population we selected is all population in China, denoted as N(t). We take the healthy people as S(t). We define people who have close contact with symptomatic and asymptomatic infections as exposed people E(t). They are subject to self-isolation observation.

From the appearance of similar symptoms of COVID-19 to the isolation treatment after diagnosis in the hospital, this is a real process that can not be ignored, because there is still the spread of disease in this process. We define the population in this process as: probable infected population, denoted as I(t). Because asymptomatic infection and mild infection have a lot in common, so we put them into \(I_{1}\) compartment. The mild and asymptomatic probable infected individuals are referred to as \(I_{1}(t)\); severe probable cases are identified as \(I_{2}(t)\). As COVID-19 is a self-limited disease, some people with strong resistance in \(I_{1}(t)\) can recover and produce antibodies by relying on their own immunity without entering the hospital for treatment.

Because the COVID-19 is highly contagious, the mild and severe cases are isolated and treated separately to avoid cross-infection among people. Asymptomatic infection once diagnosed in the hospital, will be isolated for treatment. So we generalize this kind of patients to \(T_{1}(t)\). Therefore, we divide the confirmed treated patients in the hospital into mild or asymptomatic treatment compartment \(T_{1}(t)\) and severe treatment compartment \(T_{2}(t)\). People who experienced COVID-19 infection and recovered are referred to as R(t).

Thus, the total population is given by:

$$\begin{aligned} N(t) = S(t) + E(t)+ I_{1}(t)+ I_{2}(t) + T_{1}(t)+ T_{2}(t)+ R(t). \end{aligned}$$
(1)

The population flow among those compartments is shown in Fig. 1 (Table 1).

Fig. 1
figure 1

Transfer diagram of model

The transfer diagram leads to the following system of ordinary differential equations:

$$\begin{aligned} \left\{ \begin{array}{l} S'=\Lambda -\mu S- S\frac{\alpha _{1}I_{1}+\alpha _{2}I_{2}}{N},\\ E'= S\frac{\alpha _{1}I_{1}+\alpha _{2}I_{2}}{N}-(v_{1}+v_{2}+\mu )E, \\ I'_{1}=v_{1}E -(w_{1}+w_{2}+w_{5}+\mu )I_{1}, \\ I'_{2}=v_{2}E-(w_{3}+w_{4}+\mu )I_{2}, \\ T'_{1}=w_{1}I_{1}+w_{3}I_{2}+\xi T_{2}-(\eta _{1}+\eta _{2}+\mu )T_{1}, \\ T'_{2}=w_{2}I_{1}+w_{4}I_{2}+\eta _{1}T_{1}-(\xi +\mu +d)T_{2}, \\ R'=w_{5}I_{1}+\eta _{2} T_{1}-\mu R. \end{array} \right. \end{aligned}$$
(2)
Table 1 Description of related parameters in COVID-19 model (2)

2.2 Positivity

In practical sense, the initial total number of the model must be positive, and the population of each warehouse is negative at any time. So it is necessary to prove that the solutions of the system (2) with positive initial conditions remain positive for all \(t > 0\). System (2) can be put into the matrix form

$$\begin{aligned} X' = G(X), \end{aligned}$$
(3)

where \(X=(S,E,I_{1},I_{2},T_{1},T_{2},R)^\mathrm {T} \in R_{7}^{+}\) and G(X) is given by

$$\begin{aligned} G(X)= & {} \left( \begin{array}{c} G_{1}(X)\\ G_{2}(X)\\ G_{3}(X)\\ G_{4}(X)\\ G_{5}(X)\\ G_{6}(X)\\ G_{7}(X) \end{array} \right) \nonumber \\= & {} \left( \begin{array}{c} \Lambda -\mu S- S\frac{\alpha _{1}I_{1}+\alpha _{2}I_{2}}{N}\\ S\frac{\alpha _{1}I_{1}+\alpha _{2}I_{2}}{N}-(v_{1}+v_{2}+\mu )E \\ v_{1}E -(w_{1}+w_{2}+w_{5}+\mu )I_{1}\\ v_{2}E-(w_{3}+w_{4}+\mu )I_{2}\\ w_{1}I_{1}+w_{3}I_{2}+\xi T_{2}-(\eta _{1}+\eta _{2}+\mu )T_{1}\\ w_{2}I_{1}+w_{4}I_{2}+\eta _{1}T_{1}-(\xi +\mu +d)T_{2}\\ w_{5}I_{1}+\eta _{2} T_{1}-\mu R \end{array} \right) . \end{aligned}$$
(4)

We can obtain

$$\begin{aligned}&\frac{dS}{dt}\bigg |_{[S=0, E\ge 0, I_{1}\ge 0, I_{2}\ge 0, T_{1}\ge 0, T_{2}\ge 0, R\ge 0]}=\Lambda>0,\\&\frac{dE}{dt}\bigg |_{[S>0, E=0, I_{1}\ge 0, I_{2}\ge 0, T_{1}\ge 0, T_{2}\ge 0, R\ge 0]}=S\frac{\alpha _{1}I_{1}+\alpha _{2}I_{2}}{N}\ge 0,\\&\frac{dI_{1}}{dt}\bigg |_{[S>0, E\ge 0, I_{1}=0, I_{2}\ge 0, T_{1}\ge 0, T_{2}\ge 0, R\ge 0]}=v_{1}E\ge 0,\\&\frac{dI_{2}}{dt}\bigg |_{[S>0, E\ge 0, I_{1}\ge 0, I_{2}= 0, T_{1}\ge 0, T_{2}\ge 0, R\ge 0]}=v_{2}E\ge 0,\\&\frac{dT_{1}}{dt}\bigg |_{[S>0, E\ge 0, I_{1}\ge 0, I_{2}\ge 0, T_{1}= 0, T_{2}\ge 0, R\ge 0]}=w_{1}I_{1}+w_{3}I_{2}+\xi T_{2}\ge 0,\\&\frac{dT_{2}}{dt}\bigg |_{[S>0, E\ge 0, I_{1}\ge 0, I_{2}\ge 0, T_{1}\ge 0, T_{2}= 0, R\ge 0]}=w_{2}I_{1}+w_{4}I_{2}+\eta _{1}T_{1}\ge 0,\\&\frac{dR}{dt}\bigg |_{[S>0, E\ge 0, I_{1}\ge 0, I_{2}\ge 0, T_{1}\ge 0, T_{2}\ge 0, R= 0]}=w_{5}I_{1}+\eta _{2} T_{1}\ge 0. \end{aligned}$$

Since these rates are non-negative at the boundary of non-negative cone \(R_{7}^{+}\), the direction of the vector field is inward from the boundary plane. Therefore, starting from the non-negative point, the trajectories of all solutions remain in the positive region. It is worth noting that some scholars have different solutions to this problem. For more information on this issue, please refer to references [36, 37].

2.3 Boundedness

Because of

$$\begin{aligned} \frac{dN}{dt}=\Sigma _{i=1}^{7}G_{i}(x)=\Lambda -\mu N-dT_{2}\le \Lambda -\mu N, \end{aligned}$$

which yields that

$$\begin{aligned} \limsup _{t\rightarrow \infty } N(t)\le \frac{\Lambda }{\mu }. \end{aligned}$$

Therefore, we get the biologically feasible region

$$\begin{aligned} \Omega =\Big \{(S,E,I_{1},I_{2},T_{1},T_{2},R)\in R_{+}^{7} : S+E+I_{1}+I_{2}+T_{1}+T_{2}+R\le \frac{\Lambda }{\mu }\Big \}, \end{aligned}$$
(5)

and it is a positive invariant set of system (2).

3 The basic reproduction number and existence of endemic equilibrium

3.1 The basic reproduction number

The model has a Disease-Free Equilibrium \(D_{0}\) given by

$$\begin{aligned} D_{0}=\Big (\frac{\Lambda }{\mu },0,0,0,0,0,0\Big ). \end{aligned}$$
(6)

In the following, the basic reproduction number of system (2) will be obtained by the next generation matrix method. Let \(x=(E,I_{1},I_{2},T_{1},T_{2},R,S)^\mathrm {T}\), then system (2) can be written as

$$\begin{aligned} \frac{dx}{dt}=\mathscr {F}(x)-\mathscr {V}(x), \end{aligned}$$
(7)

where

$$\begin{aligned} \mathscr {F}(x)=\left( \begin{array}{c} S\frac{\alpha _{1}I_{1}+\alpha _{2}I_{2}}{N}\\ v_{1}E\\ v_{2}E\\ 0\\ 0\\ 0\\ 0 \end{array} \right) , \quad \mathscr {V}(x)=\left( \begin{array}{c} (v_{1}+v_{2}+\mu )E\\ (w_{1}+w_{2}+w_{5}+\mu )I_{1}\\ (w_{3}+w_{4}+\mu )I_{2}\\ -w_{1}I_{1}-w_{3}I_{2}-\xi T_{2}+(\eta _{1}+\eta _{2}+\mu )T_{1} \\ -w_{2}I_{1}-w_{4}I_{2}-\eta _{1}T_{1}+(\xi +\mu +d)T_{2} \\ -w_{5}I_{1}-\eta _{2} T_{1}+\mu R\\ \mu S-\Lambda + S\frac{\alpha _{1}I_{1}+\alpha _{2}I_{2}}{N} \end{array} \right) . \end{aligned}$$

The Jacobian matrices of \(\mathscr {F}(x)\) and \(\mathscr {V}(x)\) at the Disease-Free Equilibrium \(D_{0}\) are

$$\begin{aligned} D\mathscr {F}(D_{0})=\left( \begin{array}{cc} F_{5\times {5}} &{} 0\\ 0 &{} 0 \end{array} \right) , \quad D\mathscr {V}(D_{0})=\left( \begin{array}{cc} V_{5\times {5}} &{} 0\\ J_{1} &{} J_{2} \end{array} \right) . \end{aligned}$$

where

$$\begin{aligned}&F_{5\times {5}}=\left( \begin{array}{ccccc} 0 &{} \alpha _{1} &{} \alpha _{2} &{}0 &{}0\\ v_{1} &{} 0 &{} 0&{}0 &{}0\\ v_{2} &{} 0 &{} 0&{}0 &{}0\\ 0 &{} 0 &{} 0&{}0 &{}0\\ 0 &{} 0 &{} 0&{}0 &{}0\\ \end{array} \right) , \quad \\&V_{5\times {5}}=\left( \begin{array}{ccccc} v_{1}+v_{2}+\mu &{} 0&{} 0&{} 0&{} 0 \\ 0 &{} w_{1}+w_{2}+w_{5}+\mu &{} 0 &{} 0&{} 0\\ 0 &{} 0 &{} w_{3}+w_{4}+\mu &{} 0&{} 0\\ 0 &{} -w_{1} &{} -w_{3} &{} \eta _{1}+\eta _{2}+\mu &{} -\xi \\ 0 &{} -w_{2} &{} -w_{4} &{} -\eta _{1}&{} \xi +\mu +d\\ \end{array} \right) , \\&J_{1}=\left( \begin{array}{ccccc} 0 &{} -w_{5} &{}0&{} -\eta _{2} &{}0\\ 0 &{} \alpha _{1}&{}\alpha _{2} &{} 0&{}0\\ \end{array} \right) , \quad J_{2}=\left( \begin{array}{cccc} \mu &{} 0 \\ 0 &{} \mu \\ \end{array} \right) . \end{aligned}$$

The basic reproduction number, denoted by \(R_{0}\), is given by

$$\begin{aligned}&R_{0}=\rho (FV^{-1})=\sqrt{\frac{1}{v_{1}+v_{2}+\mu }\Big (\frac{\alpha _{1}v_{1}}{w_{1}+w_{2}+w_{5}+\mu }+ \frac{\alpha _{2}v_{2}}{w_{3}+w_{4}+\mu }\Big ) } \nonumber \\&\quad \ \triangleq \sqrt{R_{1}}, \end{aligned}$$
(8)

where \(\rho (A)\) denotes the spectral radius of a matrix A.

3.2 Existence of endemic equilibrium

The Endemic Equilibrium \(D^{*}=(S^{*},E^{*},I_{1}^{*},I_{2}^{*},T_{1}^{*},T_{2}^{*},R^{*})\) of system (2) is determined by equations:

$$\begin{aligned} \left\{ \begin{array}{l} \Lambda -\mu S- S\frac{\alpha _{1}I_{1}+\alpha _{2}I_{2}}{N}=0, \\ S\frac{\alpha _{1}I_{1}+\alpha _{2}I_{2}}{N}-k_{1}E=0, \\ v_{1}E -k_{2}I_{1}=0, \\ v_{2}E-k_{3}I_{2}=0, \\ w_{1}I_{1}+w_{3}I_{2}+\xi T_{2}-k_{4}T_{1}=0, \\ w_{2}I_{1}+w_{4}I_{2}+\eta _{1}T_{1}-k_{5}T_{2}=0, \\ w_{5}T_{1}+\eta _{2}T_{2}-\mu R=0. \end{array} \right. \end{aligned}$$
(9)

where \(k_{1}=v_{1}+v_{2}+\mu \), \(k_{2}=w_{1}+w_{2}+w_{5}+\mu \), \(k_{3}=w_{3}+w_{4}+\mu \), \(k_{4}=\eta _{1}+\eta _{2}+\mu \) and \(k_{5}=\xi +\mu +d\).

From the first, third and forth equations of the system (9), we get

$$\begin{aligned}&S=\frac{\Lambda }{\mu +(\frac{\alpha _{1}v_{1}}{Nk_{2}}+\frac{\alpha _{2}v_{2}}{Nk_{3}})E}, \\&I_{1}=\frac{v_{1}}{k_{2}}E,\\&I_{2}=\frac{v_{2}}{k_{3}}E. \end{aligned}$$

By adding the first two equations of (9), we have

$$\begin{aligned} \Lambda -\mu S=k_{1}E. \end{aligned}$$

Hence,

$$\begin{aligned} \Lambda -\mu \frac{\Lambda }{\mu +(\frac{\alpha _{1}v_{1}}{Nk_{2}}+\frac{\alpha _{2}v_{2}}{Nk_{3}})E}=k_{1}E. \end{aligned}$$

That is

$$\begin{aligned} \frac{k_{1}}{\mu N}\Big (\frac{\alpha _{1}v_{1}}{k_{2}}+\frac{\alpha _{2}v_{2}}{k_{3}}\Big )E^{2}+\Big [k_{1}\Big (1-\frac{\Lambda }{\mu N}R_{1}\Big )\Big ]E=0. \end{aligned}$$

Because \(N\le \frac{\Lambda }{\mu }\) and \(R_{1}>1\), \([k_{1}(1-\frac{\Lambda }{\mu N}R_{1})]<0\). From above we know that

$$\begin{aligned} E=\frac{1}{k_{1}}\Big (\Lambda -\frac{\mu N}{ R_{1}}\Big ). \end{aligned}$$
(10)

From the last three equations of (9) we can obtain

$$\begin{aligned}&T_{1}=\frac{v_{1}k_{3}(k_{5}w_{1}+\xi w_{2})+v_{2}k_{2}(k_{5}w_{3}+\xi w_{4})}{k_{2}k_{3}(k_{4}k_{5}-\xi \eta _{1})}E, \nonumber \\&T_{2}=\frac{v_{1}k_{3}(\eta _{1}w_{1}+k_{4} w_{2})+v_{2}k_{2}(\eta _{1}w_{3}+k_{4} w_{4})}{k_{2}k_{3}(k_{4}k_{5}-\xi \eta _{1})}E\triangleq KE, \nonumber \\&R=\frac{v_{1}k_{3}[w_{5}(k_{5}w_{1}+\xi w_{2})+\eta _{2}(\eta _{1}w_{1}+k_{4} w_{2})]+v_{2}k_{2}[w_{5}(k_{5}w_{3}+\xi w_{4})+\eta _{2}(\eta _{1}w_{3}+k_{4} w_{4})]}{\mu k_{2}k_{3}(k_{4}k_{5}-\xi \eta _{1})}E.\nonumber \\ \end{aligned}$$
(11)

By adding all equations of (9), we have \(\Lambda -\mu N - d T_{2}=0\). Combining Eqs. (10) and (11),

$$\begin{aligned} \Big (\frac{Kd}{k_{1}}-R_{1}\Big )\mu N=R_{1}\Lambda \Big (\frac{Kd}{k_{1}}-1\Big ), \end{aligned}$$

where

$$\begin{aligned} \frac{Kd}{k_{1}}=\frac{v_{1}k_{3}(\eta _{1}w_{1}+k_{4} w_{2})+v_{2}k_{2}(\eta _{1}w_{3}+k_{4} w_{4})}{k_{1}k_{2}k_{3}(k_{4}k_{5}-\xi \eta _{1})}d. \end{aligned}$$

Since

$$\begin{aligned}&d(v_{1}k_{3}(\eta _{1}w_{1}+k_{4} w_{2})+v_{2}k_{2}(\eta _{1}w_{3}+k_{4} w_{4})) \\&\quad<d(v_{1}k_{3}(k_{4}w_{1}+k_{4} w_{2})+v_{2}k_{2}(k_{4}w_{3}+k_{4} w_{4}))\\&\quad<d(v_{1}k_{3}k_{4}k_{2}+v_{2}k_{2}k_{4}k_{3})\\&\quad<dk_{1}k_{2}k_{3}k_{4}\\&\quad<dk_{1}k_{2}k_{3}k_{4}+\xi k_{1}k_{2}k_{3}(k_{4}-\eta _{1})\\&\quad <k_{1}k_{2}k_{3}k_{4}k_{5}-k_{1}k_{2}k_{3}\xi \eta _{1}. \end{aligned}$$

Thus, \(0<K d/k_{1}<1\), we can get that the value of N is unique and positive as \(R_{1}>1\). So there is a unique positive Endemic Equilibrium \(D^{*}\) when \(R_{0}>1\).

Theorem 1

In the system (2), there is always a Disease-Free Equilibrium \(D_{0}=(\frac{\Lambda }{\mu },0,0,0,0,0,0)\). When \(R_{0}>1\), the system (2) has a unique Endemic Equilibrium \(D^{*}=(S^{*},E^{*},I_{1}^{*},I_{2}^{*},T_{1}^{*},T_{2}^{*},R^{*})\).

4 Stability analysis of disease-free equilibrium

We denote a vector \(x=(E,I_{1},I_{2},T_{1},T_{2},R,S)^\mathrm {T}\) and

$$\begin{aligned} f(x) = \left( \begin{array}{c} S\frac{\alpha _{1}I_{1}+\alpha _{2}I_{2}}{N}-(v_{1}+v_{2}+\mu )E\\ v_{1}E -(w_{1}+w_{2}+w_{5}+\mu )I_{1}\\ v_{2}E-(w_{3}+w_{4}+\mu )I_{2} \\ w_{1}I_{1}+w_{3}I_{2}+\xi T_{2}-(\eta _{1}+\eta _{2}+\mu )T_{1} \\ w_{2}I_{1}+w_{4}I_{2}+\eta _{1}T_{1}-(\xi +\mu +d)T_{2}\\ w_{5}I_{1}+\eta _{2}T_{1}-\mu R \\ \Lambda -\mu S- S\frac{\alpha _{1}I_{1}+\alpha _{2}I_{2}}{N} \end{array} \right) . \end{aligned}$$
(12)

So the Jacobian matrix of f(x) about vector x is as the following:

$$\begin{aligned} J= & {} \frac{\partial f(x)}{\partial x} \nonumber \\= & {} \left( \begin{array}{ccccccc} -k_{1} &{} \alpha _{1}\frac{ S}{N} &{} \alpha _{2}\frac{ S}{N} &{} 0 &{} 0 &{} 0 &{}\frac{\alpha _{1}I_{1}+\alpha _{2}I_{2}}{N} \\ v_{1} &{} -k_{2} &{} 0 &{} 0 &{} 0 &{} 0 &{} 0\\ v_{2} &{} 0 &{} -k_{3} &{} 0 &{} 0 &{} 0 &{} 0 \\ 0 &{} w_{1} &{} w_{3} &{} -k_{4} &{} 0 &{} 0 &{} 0 \\ 0 &{} w_{2} &{} w_{4} &{} 0 &{} -k_{5} &{} 0 &{} 0\\ 0 &{} 0 &{} 0 &{}\eta &{} \xi &{} -\mu &{} 0 \\ 0 &{} -\alpha _{1}\frac{ S}{N} &{} -\alpha _{2}\frac{ S}{N}&{} 0 &{}0 &{} 0 &{}-\frac{\alpha _{1}I_{1}+\alpha _{2}I_{2}}{N}-\mu \end{array} \right) . \end{aligned}$$

where \(k_{1}=v_{1}+v_{2}+\mu \), \(k_{2}=w_{1}+w_{2}+w_{5}+\mu \), \(k_{3}=w_{3}+w_{4}+\mu \), \(k_{4}=\eta _{1}+\eta _{2}+\mu \) and \(k_{5}=\xi +\mu +d\).

Theorem 2

For the system (2), the Disease-Free Equilibrium \(D_{0}\) is Locally Asymptotically Stable (LAS) if \(R_{0}<1\).

Proof

Since

$$\begin{aligned} J(D_{0}) = \left( \begin{array}{ccccccc} -k_{1} &{} \alpha _{1} &{} \alpha _{2} &{} 0 &{} 0 &{} 0 &{} 0\\ v_{1} &{} -k_{2} &{} 0 &{} 0 &{} 0 &{} 0 &{} 0\\ v_{2} &{} 0 &{} -k_{3} &{} 0 &{} 0 &{} 0 &{} 0 \\ 0 &{} w_{1} &{} w_{3} &{} -k_{4} &{} \xi &{} 0 &{} 0 \\ 0 &{} w_{2} &{} w_{4} &{} \eta _{1} &{}-k_{5} &{} 0 &{} 0\\ 0 &{} w_{5} &{} 0 &{}\eta _{2} &{} 0 &{} -\mu &{} 0 \\ 0 &{} -\alpha _{1} &{} -\alpha _{2} &{} 0 &{} 0 &{} 0 &{} -\mu \end{array} \right) . \end{aligned}$$

We assume that \(\lambda _{1},\lambda _{2},\lambda _{3}\) are eigenvalues of \(M_{1}\), \(\lambda _{4},\lambda _{5}\) are eigenvalues of \(M_{2}\) and \(\lambda _{6}=\lambda _{7}=-\mu \), where

$$\begin{aligned} M_{1} = \left( \begin{array}{ccc} -k_{1} &{}\alpha _{1} &{} \alpha _{2} \\ v_{1} &{} -k_{2} &{} 0 \\ v_{2}&{} 0 &{} -k_{3} \\ \end{array} \right) , \quad M_{2} = \left( \begin{array}{cc} -k_{4} &{} \xi \\ \eta _{1} &{} -k_{5} \\ \end{array} \right) . \end{aligned}$$

The characteristic equation of characteristic matrix of \(M_{1}\) is

$$\begin{aligned} \lambda ^{3}+b_{1}\lambda ^{2}+b_{2}\lambda +b_{3}=0, \end{aligned}$$

where

$$\begin{aligned}&b_{1}=k_{1}+k_{2}+k_{3},\\&b_{2}=k_{2}k_{3}+k_{1}k_{2}+k_{1}k_{3}-\alpha _{2}v_{2}-\alpha _{1}v_{1},\\&b_{3}=k_{1}k_{2}k_{3}-\alpha _{2}v_{2}k_{2}-\alpha _{1}v_{1}k_{3}. \end{aligned}$$

Due to \(0<R_{0}<1\), we have \(b_{1}>0\), \(b_{3}>0\), \(\alpha _{1}v_{1}<k_{1}k_{2}\) and \(\alpha _{2}v_{2}<k_{1}k_{3}\).

$$\begin{aligned}&b_{1}b_{2}-b_{3}\\&\quad =(k_{1}+k_{2}+k_{3})(k_{2}k_{3}+k_{1}k_{2}+k_{1}k_{3}-\alpha _{2}v_{2}-\alpha _{1}v_{1})-(k_{1}k_{2}k_{3}-\alpha _{2}v_{2}k_{2}-\alpha _{1}v_{1}k_{3})\\&\quad =k_{1}(k_{1}k_{2}+k_{1}k_{3}-\alpha _{2}v_{2}-\alpha _{1}v_{1})+(k_{2}+k_{3})(k_{2}k_{3}+k_{1}k_{2}+k_{1}k_{3}-\alpha _{2}v_{2}-\alpha _{1}v_{1})\\&\qquad +\,(k_{2}\alpha _{2}v_{2}+k_{3}\alpha _{1}v_{1})\\&\quad >0. \end{aligned}$$

Using Routh–Hurwitz criteria, the real part of all characteristic roots of \(M_{1}\) are negative. The characteristic equation of characteristic matrix of \(M_{2}\) is

$$\begin{aligned} \lambda ^{2}+(\eta _{1}+\eta _{2}+2\mu +\xi +d)\lambda +\eta _{1}(\mu +d)+(\eta _{2}+\mu )(\xi +\mu +d)=0. \end{aligned}$$

Because all coefficients of the equation are greater than 0, the real part of all characteristic roots of \(M_{2}\) are negative. So the point \(D_{0}\) is LAS. The proof is completed. \(\square \)

Theorem 3

For the system (2), the Disease-Free Equilibrium \(D_{0}\) is Globally Asymptotically Stable (GAS) if \(R_{0}<1\).

Proof

Consider the subsystem of (2) as follows:

$$\begin{aligned}&E'(t)= S\frac{\alpha _{1}I_{1}+\alpha _{2}I_{2}}{N}-k_{1}E, \\&I'_{1}(t)= v_{1}E -k_{2}I_{1}, \\&I'_{2}(t)= v_{2}E-k_{3}I_{2}, \\&T'_{1}(t)=w_{1}I_{1}+w_{3}I_{2}+\xi T_{2}-k_{4}T_{1}, \\&T'_{2}(t)=w_{2}I_{1}+w_{4}I_{2}+\eta _{1}T_{1}-k_{5}T_{2}. \end{aligned}$$

For \(S \le N\) (all t>0),

$$\begin{aligned} \left( \begin{array}{c} E'\\ I'_{1}\\ I'_{2}\\ T'_{1}\\ T'_{2}\\ \end{array} \right)\le & {} \left( \begin{array}{c} \alpha _{1}I_{1}+\alpha _{2}I_{2}-k_{1}E\\ v_{1}E-k_{2}I_{1}\\ v_{2}E-k_{3}I_{2}\\ w_{1}I_{1}+w_{3}I_{2}+\xi T_{2}-k_{4}T_{1}\\ w_{2}I_{1}+w_{4}I_{2}+\eta _{1}T_{1}-k_{5}T_{2}\\ \end{array} \right) \\= & {} (F-V)\left( \begin{array}{c} E\\ I_{1}\\ I_{2}\\ T_{1}\\ T_{2}\\ \end{array} \right) . \end{aligned}$$

Since the eigenvalues of the matrix \(F-V\) all have negative real parts, then system (2) is stable when \(R_{0}<1\). So \((E,I_{1},I_{2},T_{1},T_{2})\rightarrow (0,0,0,0,0)\) as \(t\rightarrow \infty \). By the comparison theorem, it follows that \((E,I_{1},I_{2},T_{1},T_{2})\rightarrow (0,0,0,0,0)\) and \(S\rightarrow \frac{\Lambda }{\mu }\) as \(t\rightarrow \infty \). So \(D_{0}\) is Globally Asymptotically Stable for \(R_{0}<1\). \(\square \)

Remark 1

For more information on the global stability results, please refer to reference [37, 38].

Remark 2

It is worth mentioning that the unique Endemic Equilibrium \(D^{*}\) is unstable from the literature [30] and the trend prediction analysis part of the first stage in numerical simulation. If we set that the death rate d due to COVID-19 as 0, then we can prove that the Endemic Equilibrium is GAS. However, it is obvious that this assumption is meaningless because it is seriously inconsistent with the actual situation.

5 Numerical simulation

In this chapter, we simulate the number of probable, mild, severe and recovered patients reported by the National Health Commission in different stages, and estimate the parameters by using the nonlinear weighted least square method to get the value of the basic reproduction number, so as to explore the spread of disease in this stage and the role of the government’s strong intervention policy.

5.1 Data collection

The data of COVID-19 in China from January 10, 2020 to March 11, 2020 are collected from the web of the National Health Commission, including number of the probable, confirmed and recovered cases, see attachment 1 for more details. Figure 2a shows the new confirmed cases per day, and Fig. 2b shows the cumulative confirmed cases per day. It can be seen from Fig. 2 that the curves of the number of new cases and the cumulative number of cases every day are relatively smooth, except for two abnormal points: 1771 new confirmed cases and 4515 cumulative confirmed cases on January 27, 15,152 new cases and 59,804 cumulative confirmed cases on February 12.

Fig. 2
figure 2

The number of new confirmed cases and the cumulative confirmed cases per day in China from January 10, 2020 to March 11, 2020: (a, b)

The reason for the first abnormal point of statistical data is that at the beginning of the outbreak of the COVID-19, people don’t know much about the virus, such as its transmission route, transmission intensity, and whether there will be human to human phenomenon. On January 26, almost all cities in China implemented measures of isolation at home. Therefore, we will take the period from January 10 to January 26 as the first stage of disease transmission. In the first stage, the disease is transmitted naturally without people’s awareness of protection. At the same time, there may be a certain gap between the statistical data of this stage and the real infection situation.

From January 27 to February 11, people consciously cut off all social activities, greatly reducing the chance of virus transmission. As the incubation period of COVID-19 is 14 days, with an average of 7 days, in Fig. 2a, we can see that there is still a continuous increase in new cases every day for 8 consecutive days, and then the decrease begins. Because the detection method of COVID-19 is still under study, there are still many suspected cases not detected in this period of time. Until around February 11th, the detection reagent of the COVID-19 was produced on a large scale, and the number of confirmed statistics had an abnormal surge. Therefore, we regard the spread of the disease between January 27 and February 11 as the second stage. In this stage, people have a strong sense of self-protection, and under the call of the government, they actively isolate themselves at home. Due to the large-scale production of COVID-19 detection reagents, huoshenshan and leishenshan anti epidemic hospital and fangcang hospital were built in this period of time. Therefore, during this period, the total number of suspected and confirmed patients is very close to the total number of real infected patients, and the data is relatively reliable.

The reason for the second abnormal point in the statistical data is that on February 12, the new coronavirus detection reagent was fully supplied, and the existing suspected cases were tested and diagnosed in a wide range, so an explosive growth abnormal point will appear in the new cases. From February 12 onwards, we can see from Fig. 2a that the number of new cases continues to decrease, indicating that the spread of the virus is significantly reduced. All these show that the strong intervention of the Chinese government has played a very effective role in curbing the spread of the virus.

5.2 Parameter estimation

First of all, we estimate some parameters through the existing literature. In 2020, the population statistics report pointed out that the average life expectancy of Chinese is 77 years old [26]. Therefore, we have \(\mu =1/(77*365)\) per day. According to the population statistics report, the total number of Chinese mainland is 1,400,050,000 [26], so \(\Lambda =49{,}814.98\) per day. We use the cumulative number of deaths reported per day divided by the cumulative number of confirmed cases, and then take its mean value as the estimation of mortality d. The death rates of the three stages are: \(d_{1}=0.028398\), \(d_{2}=0.021824\), \(d_{3}=0.032834\). According to the objective situation, the treatment level in the third stage should be higher than that in the first and second stages, so the mortality \(d_{3}\) should be less than \(d_{1}\) and \(d_{2}\). This inconsistency with reality may be caused by incomplete data collection in the first and second stages.

In this estimation method, the data is fitted by minimizing the weighted error square sum between the estimated values and the reported data. We take the data of probable infection cases, mild confirmed cases, severe confirmed cases and cure cases reported as the target of \(I_{1} + I_{2}\), \(T_{1}\), \(T_{2}\), R to fit. Let’s set the objective function in the minimization process as follows.

$$\begin{aligned} J= & {} {W_{1}}\sum _{i=1}^{n}[(I_{1}+I_{2})_{t_{i}}-(\tilde{I})_{t_{i}}]^{2}+{W_{2}}\sum _{i=1}^{n}[(T_{1})_{t_{i}}-\tilde{(T_{1})}_{t_{i}}]^{2}\nonumber \\&+{W_{3}}\sum _{i=1}^{n}[(T_{2})_{t_{i}}-\tilde{(T_{2})}_{t_{i}}]^{2}\nonumber \\&+{W_{4}}\sum _{i=1}^{n}[(R)_{t_{i}}-\tilde{(R)}_{t_{i}}]^{2}, \end{aligned}$$
(13)

where \(I_{1}+I_{2}\) is the estimated number of probable cases; \(T_{1}, T_{2}, R\) is the estimated number of mild treatment, severe treatment and recovered cases; \(\tilde{I}, \tilde{T}_{1}, \tilde{T}_{2}, \tilde{R}\) is the reported number of probable, mild treatment, severe treatment and recovered cases; \(W_{i}, (i=1,2,3,4)\) is the weight coefficient of the error square sum in each compartment, and the value of \(W_{i}\) is the reciprocal of the sample point variance. The selection of weight can effectively reduce the fitting deviation caused by the difference in the order of magnitude of different warehouses’ data. There are also some introductions about this method, please refer to [27, 28]. To estimate the parameters of the model, we need to minimize the following objective function.

$$\begin{aligned} \left\{ \begin{array}{l} \min \ \ J\\ subject\ \ to\ \ system\ \ (2). \end{array} \right. \end{aligned}$$
(14)

In the first stage, the fitting results of probable cases, mild treatment cases, severe treatment cases and recovered cases are shown in Fig. 3a–d respectively. The results of the fitted parameters are shown in Table 2.

Fig. 3
figure 3

Model fitting for the reported number of probable cases, mild treatment cases, severe treatment cases and recovered cases in the first stage (January 10, 2020 to January 26, 2020)

In Fig. 3a–c, we can see a common feature: the simulated values are larger than the reported values. This is consistent with the previous analysis. In the early stage of disease outbreak, the lack of understanding of the disease led to incomplete statistical data. Therefore, there are some differences between the fitted results and the reported data. From the fitting results, the virus outbreak shows an exponential growth trend, so its transmission speed is very fast. By substituting the fitting parameters into \(R_{0}\), we get that the basic reproduction number of the COVID-19 in the first stage (natural state) is \(R_{01}=2.6735\). This result is close to the simulation result 2.4829 in [7].

In the second stage, under the strict measures of the government, almost all cases have been counted, so the sum of the probable cases and confirmed cases is very close to the number of real infections, and the number of severe cases has been basically treated in the hospital, so the data is reliable. The simulation results are shown in Fig. 4.

Fig. 4
figure 4

Model fitting for the reported number of probable cases, mild treatment cases, severe treatment cases and recovered cases in the second stage (January 27, 2020 to February 11, 2020)

In Fig. 4a–d, the number of probable, mild treatment, severe treatment, and severe cases per day during the second stage is shown. At this stage, we can see that although the number of confirmed cases has been increasing, the rate of increase has been gradually decreasing, indicating that the spread of the virus has been effectively suppressed. We substituted the fitted parameters into \(R_{0}\) and obtained: \(R_{02}=0.85077<1\) for the second stage (isolated state) transmission of the COVID-19. From a biological point of view, when the basic reproduction number is less than 1, after a certain period of time, the virus will eventually disappear. When people persist in isolation for a certain period of time, blocking the spread of the virus, the disease will disappear.

Fig. 5
figure 5

Model fitting for the reported number of probable cases, mild treatment cases, severe treatment cases and recovered cases in the third stage (February 12, 2020 to March 11, 2020)

Figure 5a–d shows the number of probable, mild treatment, severe treatment and recovered cases per day during the third stage. In this stage, we can see that the number of cases in any subgraph dropped sharply after a few days, which also indicates that the combination of isolation, detection and treatment can quickly and effectively inhibit the spread of the virus. The actual number of patients in the mild and severe treatment compartments are lower than that in the simulation, indicating that the effect of treatment is beyond expectation and satisfactory.

We substituted the fitted parameters into \(R_{0}\) and obtained that the basic reproduction number of the COVID-19 in the third stage (isolation + detection + treatment state) transmission \(R_{03}=0.18249\). It is far less than 1, so there is a sharp drop in the number of people infected in the third stage, and it also shows that the anti-virus measures implemented in China are very effective.

Table 2 Fitted or assumed values of parameters for system (2) (unit: \(\mathrm{day}^{-1}\))

5.3 Sensitivity analysis

In order to further study the leading factors related to an intervention and having a significant impact on the disease dynamics, we need to conduct sensitivity analysis (SA) on the model. For this reason, we use the standard combination of Latin hypercube sampling (LHS) and partial rank correlation coefficient (PRCC). PRCC can be successfully used to measure the monotonic nonlinear relationship between the input and output of the system. This is one of the most effective statistical techniques. For more information about this method, please refer to [31, 32].

Fig. 6
figure 6

PRCC values for the COVID-19 model (2) in the first stage

Fig. 7
figure 7

PRCC values for the COVID-19 model (2) in the second stage

Fig. 8
figure 8

PRCC values for the COVID-19 model (2) in the third stage

In Figs. 67 and 8, we depict the results of PRCC graphically in three different stages. To generate the LHS matrix, we assume that all model parameters are uniformly distributed. The model was simulated for 1000 times in each stage. .

We can see that the parameters with high and positive PRCC values are as follows: \(\alpha _{2}\), \(w_{2}\) and \(\xi \) in Fig. 6, \(\alpha _{2}\), \(v_{1}\) and \(v_{2}\) in Fig. 7, \(\alpha _{2}\), \(v_{1}\) and \(\xi \) in Fig. 8. This means that we can reduce the basic reproduction number \(R_{0}\) by reducing the values of these parameters. At the same time, we can found that the parameters with high and negative PRCC values are as follows: \(w_{1}\), \(w_{3}\) and \(w_{5}\) in Fig. 6, \(w_{1}\), \(w_{2}\) and \(w_{5}\) in Fig. 7, \(w_{1}\), \(w_{3}\) and \(w_{5}\) in Fig. 8. This also means that in different stages, we can reduce the value of \(R_{0}\) by increasing the value of these parameters. These results reflect the contribution of different parameters to the system dynamics in each stage. We can use these data to guide the daily epidemic prevention work.

5.4 Prediction analysis

We continue to use the previously fitted parameters in the first stage for forward simulation and prediction, and the results are shown in Fig. 9. The blue line represent the population changes of each warehouse under the natural propagation conditions. Since the basic number of regenerations at this stage is \(R_{01} = 2.6735\), the number of confirmed cases will reach the peak after about 100 days. Under this assumption, the number of confirmed cases remains at 1.1 billion, the number of mild cases treated at 980 million, and the number of severe cases at 141 million. This is really an unimaginable and unacceptable result.

Fig. 9
figure 9

Population change curve of probable, mild treatment and severe treatment cases in the first stage

The fitted parameter values of the second stage and the third stage are used to predict the results, which are shown in Figs. 10 and 11. As you can see from the graph, they all converge to DFE \(D_{0}\). Since their basic reproduction numbers are all less than 1, they also tend to be in a stable state, which is consistent with the global stability of DFE \(D_{0}\) in our previous theory.

Fig. 10
figure 10

Population change curve of probable, mild treatment and severe treatment cases in the second stage

Fig. 11
figure 11

Population change curve of probable, mild treatment and severe treatment cases in the third stage

As the prevention and control measures in the second stage are still based on isolation, there are some differences between the second and third stage. In Figs. 10 and 11, we can see from the comparison results that the number of confirmed cases in the third stage will decline faster. It indicates that the treatment scheme of combining traditional Chinese and Western medicine in the hospital plays a very important role in the recovery of patients. At the same time, it can also be used as a basis for other countries to learn from the treatment scheme of combining traditional Chinese and Western medicine in the fight against the epidemic.

6 Conclusion

In early 2020, the spread of COVID-19 in mainland China posed a serious threat to people’s lives. The resolute measures taken by the Chinese government have brought the spread of the disease under rapid and effective control. In this study, a novel mathematical model of COVID-19 was established to simulate the spread of COVID-19 in China.

In the analysis of the dynamic properties of the model, the basic properties (positivity and boundedness) of the solution of the model are firstly proved, and then the existence of all equilibria of the model are obtained. The basic reproduction number \(R_{0}\) of the model is obtained by the classical method of next generation matrix. Finally, the stability of all equilibria are analyzed.

In the numerical simulation, we first divided the entire COVID-19 transmission process into three stages, based on data from the National Health Commission website and strong national interventions. Then, the nonlinear weighted least square estimation method is used to fit the data of multiple warehouses, and the parameter estimation values of each stage are obtained, and the basic reproduction numbers of three different stages are calculated. Then the global sensitivity analysis of the threshold parameters at each stage were carried out to obtain the parameters that had a greater influence on the disease transmission. Finally, through the trend analysis of each stage, we got their change trend. Based on the basic reproduction numbers and trend changes in the three stages, we can see that the intervention has played a very important role in inhibiting the transmission of COVID-19.

The differences between this paper and previous literatures lie in the following points:

(i) Differences in data processing. Considering that government intervention measures will change people’s behavior, will greatly affect the spread rate of the disease, and will also greatly change the values of various parameters. The numerical simulation results prove our point of view. Therefore, we divided the whole process into three stages for analysis and comparison according to specific measures, which is an important difference between this paper and many COVID-19 papers.

(ii) Differences in COVID-19 model. Based on the traditional SEIR model, in this paper we further considered that asymptomatic infected persons are also infectious, and that mild and severe cases are treated separately in hospital.

(iii) Differences in data fitting methods. In this paper, in the process of data fitting, in order to fully use the data, consider using the nonlinear weighted least square estimation method to fit the data of multiple warehouses. This point is different from many articles that only fit the cases of infected compartment. So the results we get are relatively more reliable.

In the numerical simulation, we analyzed the global sensitivity analysis of the lower threshold parameters at each stage, and obtained some parameters that have a greater influence on the spread of the disease. Combined with the actual epidemic prevention and control measures, we can further study the problem of optimal control strategy in different stages.

Vaccines for COVID-19 are currently available in many countries. Unfortunately, there are many different variations in COVID-19 that make the vaccine not fully effective against the virus. Therefore, it is also interesting to study the dynamics of how COVID-19 spreads differently in the presence of an imperfect vaccine. We leave the work for the future.