1 Introduction

The World Health Organization (WHO) declared coronavirus disease 2019 (COVID-19) a pandemic on March 11, 2020. The severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) can be transmitted by droplets that escape lungs through coughing or sneezing and infects humans (direct transmission), or is deposited in surfaces and infects humans when in contact with these contaminated surfaces (indirect transmission) (Liu et al. 2020; Zhu et al. 2020). SARS-CoV-2 infects susceptible individuals through the nose, mouth, or eyes and infects cells in the respiratory tract. COVID-19 in mild form presents fever, dry cough, chills, malaise, muscle pain, and sore throat. In moderate form presents fever, respiratory symptoms, and radiographic characteristics, and in severe form manifests dyspnea, low oxygen saturation, and may evolve to multiple organ failure.

In the absence of effective treatment and vaccine, many countries adopted quarantine to control the SARS-CoV-2 with high transmissibility and lethality at the beginning of the epidemic. Italy (Battineni et al. 2020) and Spain (Guirao 2020) adopted rigid quarantine; however, São Paulo State (Brazil) implemented partial quarantine. In Yang et al. (2021a), a mathematical model based on the COVID-19 natural history encompassing the different fatality rates in young (60 years old or less) and elder (60 years old or more) subpopulations was developed. That model assumed that asymptomatic, pre-symptomatic, and mild COVID-19 individuals transmit SARS-CoV-2, while severe COVID-19 cases are isolated in hospitals. It is worth stressing that the SEIR-type (susceptible, exposed, infectious, and recovered compartments) models estimate the transmission rate using the severe COVID-19 registered cases as SARS-CoV-2 transmitters (Yang et al. 2020a). That model was applied to evaluate the impacts on the COVID-19 epidemic by partial quarantine in São Paulo State and rigid quarantine (lockdown) in Spain associated with the protective measures (washing hands with alcohol and gel, use of face mask, and social distancing). Notwithstanding, the relaxation of the isolated population raises the question of better release strategies to avoid the collapse of the health care system. We applied the model presented in Yang et al. (2021a) to forecast the epidemiological scenarios of relaxation (Yang et al. 2020b) based on the plan elaborated by the São Paulo State authorities (Plano são paulo 2020). They assessed the impact of SARS-CoV-2 transmission on the healthcare system’s capacity. Unfortunately, that relaxation plane was not implemented due to the quick increase in new cases.

Ferguson et al. (2020) adapted an agent-based model describing the influenza epidemic to investigate the impact of the isolation of susceptible individuals on the COVID-19 epidemic, which was referred to as non-pharmaceutical interventions (mitigation and suppression). Briefly, mitigation reduces the basic reproduction number \(R_{0}\) but not lower than one, while suppression reduces the basic reproduction number lower than one. Hence, São Paulo State is an example of mitigation, while Spain, of suppression (Yang et al. 2021a). However, the mitigation strategy by a partial quarantine sustains the COVID-19 epidemic. Consequently, like all RNA-based viruses, SARS-CoV-2 suffers mutations as the chain of infections is maintained continuously (WHO 2021). “A virus with one or several new mutations (small changes during the replication) is referred to as a variant of the original virus” (WHO 2021). For instance, three variants are challenging the vaccination’s control efforts—B.1.1.7 (United Kingdom), B.1.351 (South Africa), and P.1 (Brazil) (see CDC: Sars-cov-2 variants 2021 and references therein). Many countries closed their frontiers, mostly travelers from United Kingdom, South Africa, and Brazil, to control these variants. It is currently accepted that the more virulent variants of SARS-CoV-2 are also more transmissible based on the increased deaths caused by these strains (Korber et al. 2020).

Here, we adapt the model presented in Yang et al. (2021a) to describe the epidemiological scenario of relaxation and SARS-CoV-2 mutations using the COVID-19 cases and deaths registered from São Paulo State (Boletim completo 2020). The adapted model does not take into account the different COVID-19 fatalities depending on age but considers relaxation characterized by a series of pulses’ release, SARS-CoV-2 mutation resulting in a more virulent variant, and the waning of immunity. However, this model does not take into account the vaccination. We aim to describe the epidemiological scenario of incipient vaccination found in São Paulo State. Siddiqi and Mehra (2020) described three progressive clinical phases of COVID-19: (1) mild (early infection), (2) moderate, subdivided into without and with hypoxia (pulmonary involvement), and (3) severe (systemic hyper inflammation), leading to the cytokine storm. We assess the number of fatalities taking into account the severe COVID-19 evolution distributed into three clinical phases.

The paper is structured as follows. In Sect. 2, a model is presented to describe the relaxation and SARS-CoV-2 mutation. In Sect. 3, the model is applied to describe the epidemiological scenario using data from São Paulo State. Section 4 presents discussions, and conclusion is given in Sect. 5.

2 Materials and methods

The appearance of the mutations occurs as the epidemic evolves. These mutations constitute a pool that can maintain the virulence similar to the original SARS-CoV-2, or more virulent mutations can occur, forming variants with enhanced capacity of infecting cells. A model considering the SARS-CoV-2 mutation resulting in a more virulent variant and the waning of immunity is formulated based on a previous model (Yang et al. 2021a).

2.1 The SQEAPMDR\(_{1,2,3}\) model

The severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) infects an individual and initiates its replicates rapidly. As an RNA virus, SARS-CoV-2 can mutate in the process of the cells’ infection releasing and originated more virulent variants. We formulate a mathematical model to describe the appearance of more virulent variants from the populational point of view. We assume that all individuals harbor an original type of SARS-CoV-2 initially, and a more virulent one appears later. Hence, we deal with two subpopulations, one harboring original or a pool of less virulent variants and the other, a pool of more virulent variants.

The SQEAPMDR\(_{1,2,3}\) model divides the SARS-CoV-2 mutations into pools of a less (original virus, hereafter) and a more (variant virus, hereafter) virulent virus. The model is formulated based on the SARS-CoV-2 transmission flowchart shown in Fig. 1 dividing the population into two subpopulations harboring original and variant (subscript v) SARS-CoV-2.

Fig. 1
figure 1

The flowchart of the SARS-CoV-2 transmission model. The arrow representing natural mortality rate \(\mu \) is omitted in all classes

We describe the subpopulation harboring less virulent according to the natural history of COVID-19. All individuals are divided into susceptible S , susceptible individuals who are isolated Q, exposed and incubating E, asymptomatic A, pre-symptomatic (or pre-diseased, before the onset of COVID-19) P, symptomatic with mild M and severe COVID-19 D, and recovered (immune) \(R_{1}\), \(R_{2}\), and \(R_{3}\) compartments. For the more virulent pool, we use the subscript v. Table 1 summarizes the model compartments (dynamic variables).

Table 1 Summary of the model variables

The natural history of SARS-CoV-2 infection is the same for both subpopulations. We assume that individuals in the asymptomatic (A and \( A_{v}\)), pre-symptomatic (P and \(P_{v}\)), and a fraction z (and \(z_{v}\)) of mild COVID-19 (M and \(M_{v}\)) compartments are transmitting the virus. Other infected classes (\(\left( 1-z\right) M\), D, \(\left( 1-z_{v}\right) M_{v}\), and \(D_{v}\)) are under voluntary or forced isolation. Susceptible individuals are infected at a rate \(\lambda S\) or \(\lambda _{v}S\) (known as the mass action law Anderson and May 1992) and enter into compartment E or \(E_{v} \), where \(\lambda \) and \(\lambda _{v}\) are the per-capita incidence rates (or force of infection) of less and more virulent variants defined by

$$\begin{aligned} \begin{array}{ccccc} \displaystyle \lambda =\frac{\varepsilon }{N}\left( \beta _{1}A+\beta _{2}P+\beta _{3}zM\right) ,&\,&{\mathrm {and}}&\,&\displaystyle \lambda _{v}= \frac{\varepsilon }{N}\left( \beta _{1v}A_{v}+\beta _{2v}P_{v}+\beta _{3v}z_{v}M_{v}\right) , \end{array} \end{aligned}$$
(1)

where \(\beta _{1}\), \(\beta _{2}\) and \(\beta _{3}\) (and \(\beta _{1v}\), \(\beta _{2v}\) and \(\beta _{3v}\)) are the transmission rates, that is, the rates at which a virus encounters a susceptible people and infects him/her. The protection factor \(\varepsilon \le 1\) decreases the transmission of infection by individual (face mask, hygiene) and collective (social distancing) protective measures.

Susceptible individuals are infected by original SARS-CoV-2 at a rate \( \lambda \) and enter into compartment E. After an average period \( 1/\sigma \) in the compartment \(E_{j}\), where \(\sigma \) is the incubation rate, exposed individuals enter into the asymptomatic compartment A (with probability l) or pre-symptomatic compartment P (with probability \(1-l\) ). Possibly asymptomatic individuals can manifest symptoms at the end of the period \(1/\gamma \), where \(\gamma \) is the recovery rate of asymptomatic individuals, and a fraction \(1-\chi \) enters into the mild COVID-19 compartment M. Hence, a fraction \(\chi \) enters into the immune (recovered) compartment R. For pre-symptomatic individuals, after an average period \(1/\gamma _{1}\) in the compartment P, where \(\gamma _{1}\) is the infection rate of pre-diseased individuals, these individuals enter into the severe D (with probability \(1-k\)) or mild M (with probability k) COVID-19 compartments. Severe COVID-19 cases die under the disease-induced (additional) mortality rate \(\alpha \). Individuals in compartments M and D acquire immunity after periods \(1/\gamma _{2}\) and \( 1/\gamma _{3}\), where \(\gamma _{2}\) and \(\gamma _{3}\) are the recovery rates of severe and mild COVID-19, and enter into the first immune compartment \( R_{1}\). Recovered individuals stay in the compartment \(R_{1}\) during an average period \(1/\pi _{1}\), where \(\pi _{1}\) is the first waning immunity rate. A fraction \(y_{1}\) of these individuals loses immunity returning to the compartment S, and \(1-y_{1}\) remains immune entering into compartment \(R_{2}\). Similarly, from compartment \(R_{2}\) flows to \(R_{3}\). All individuals in compartment \(R_{3}\) wane immunity at a rate \(\pi _{3}\).

The more virulent SARS-CoV-2 appears by mutation. Populationally, we assume that a fraction \(j_{E}\) among individuals exposed with original type E suffers mutations and enters into the compartment \(E_{v}\). Similarly, fractions \(j_{A}\), \(j_{P}\), and \(j_{M}\) mutate from compartments A, P, and M, entering into compartments \(A_{v}\), \(P_{v}\), and \(M_{v}\). These infected individuals transmit the variant virus at a rate \(\lambda _{v}S\). Once in the compartment \(E_{v}\), the flows are similar to those described in the original SARS-CoV-2 natural history. All parameters related to the less virulent variant are applied to the more virulent SARS-CoV-2 differentiated by the subscript v.

In the model, we consider pulse isolation and intermittent (series of pulses) release. We assume that there is a unique pulse in isolation at time \(t=\tau \), described by \(Su\delta \left( t-\tau \right) \), and the intermittent releases are described by \(\sum _{i}Qu_{i}\delta \left( t-t_{i}\right) \), where \(t_{i}=\tau +\sum _{w=1}^{i}\tau _{w}\). The Dirac delta function \(\delta \left( x\right) \) is defined by \(\delta \left( x\right) =\infty \), if \(x=0\), otherwise, \(\delta \left( x\right) =0\), with \( \int _{0}^{\infty }\delta \left( x\right) {\text{ d }}x=1\). The fraction of individuals in isolation is u, and \(u_{i}\), \(i=1,2,\cdots \), is the fraction of i-th release of isolated individuals, with \(\tau _{w}\) being the period between successive releases.

Based on the above descriptions summarized in Fig. 1, the SARS-CoV-2 transmission model is described by the system of ordinary differential equations. Equations for susceptible and isolated individuals are

$$\begin{aligned} \left\{ \begin{array}{rll} \displaystyle \frac{\text {d}}{{\text {d}}t}S &{} = &{} \phi N-\mu S-\left( \lambda +\lambda _{v}\right) S+\pi _{1}y_{1}R_{1}+\pi _{1v}y_{1v}R_{1v}+\pi _{2}y_{2}R_{2}+\pi _{2v}y_{2v}R_{2v} \\ &{} &{} +\pi _{3}R_{3}+\pi _{3v}R_{3v}-Su\delta \left( t-\tau \right) +\sum \limits _{i}Qu_{i}\delta \left( t-\tau -\sum \limits _{w=1}^{i}\tau _{w}\right) \\ \displaystyle \frac{\text {d}}{{\text {d}}t}Q &{} = &{} -\mu Q+Su\delta \left( t-\tau \right) -\sum \limits _{i}Qu_{i}\delta \left( t-\tau -\sum \limits _{w=1}^{i}\tau _{w}\right) , \end{array} \right. \end{aligned}$$
(2)

for original virus harboring individuals,

$$\begin{aligned} \left\{ \begin{array}{rll} \displaystyle \frac{\text {d}}{{\text {d}}t}E &{} = &{} \lambda S-\left( \sigma +\mu \right) E \\ \displaystyle \frac{\text {d}}{{\text {d}}t}A &{} = &{} \left( 1-j_{E}\right) l\sigma E-\left( \gamma +\mu \right) A \\ \displaystyle \frac{\text {d}}{{\text {d}}t}P &{} = &{} \left( 1-j_{E}\right) \left( 1-l\right) \sigma E-\left( \gamma _{1}+\mu \right) P \\ \displaystyle \frac{\text {d}}{{\text {d}}t}M &{} = &{} \left( 1-j_{A}\right) \left( 1-\chi \right) \gamma A+\left( 1-j_{P}\right) k\gamma _{1}P-\left( \gamma _{3}+\mu \right) M \\ \displaystyle \frac{\text {d}}{{\text {d}}t}D &{} = &{} \left( 1-j_{P}\right) \left( 1-k\right) \gamma _{1}P-\left( \gamma _{2}+\mu +\alpha \right) D \\ \displaystyle \frac{\text {d}}{{\text {d}}t}R_{1} &{} = &{} \left( 1-j_{A}\right) \chi \gamma A+\left( 1-j_{M}\right) \gamma _{3}M+\gamma _{2}D-\left( \pi _{1}+\mu \right) R_{1} \\ \displaystyle \frac{\text {d}}{{\text {d}}t}R_{2} &{} = &{} \left( 1-y_{1}\right) \pi _{1}R_{1}-\left( \pi _{2}+\mu \right) R_{2} \\ \displaystyle \frac{\text {d}}{{\text {d}}t}R_{3} &{} = &{} \left( 1-y_{2}\right) \pi _{2}R_{2}-\left( \pi _{3}+\mu \right) R_{3}, \end{array} \right. \end{aligned}$$
(3)

and variant virus harboring individuals,

$$\begin{aligned} \left\{ \begin{array}{rll} \displaystyle \frac{\text {d}}{{\text {d}}t}E_{v} &{} = &{} \lambda _{v}S-\left( \sigma _{v}+\mu \right) E_{v} \\ \displaystyle \frac{\text {d}}{{\text {d}}t}A_{v} &{} = &{} j_{E}l\sigma E+l_{v}\sigma _{v}E_{v}-\left( \gamma _{v}+\mu \right) A_{v} \\ \displaystyle \frac{\text {d}}{{\text {d}}t}P_{v} &{} = &{} j_{E}\left( 1-l\right) \sigma E+\left( 1-l_{v}\right) \sigma _{v}E_{v}-\left( \gamma _{1v}+\mu \right) P_{v} \\ \displaystyle \frac{\text {d}}{{\text {d}}t}M_{v} &{} = &{} j_{A}\left( 1-\chi \right) \gamma A+j_{P}k\gamma _{1}P+\left( 1-\chi _{v}\right) \gamma _{v}A_{v}+k_{v}\gamma _{1v}P_{v}-\left( \gamma _{3v}+\mu \right) M_{v} \\ \displaystyle \frac{\text {d}}{{\text {d}}t}D_{v} &{} = &{} j_{P}\left( 1-k\right) \gamma _{1}P+\left( 1-k_{v}\right) \gamma _{1v}P_{v}-\left( \gamma _{2v}+\mu +\alpha _{v}\right) D_{v} \\ \displaystyle \frac{\text {d}}{{\text {d}}t}R_{1v} &{} = &{} j_{A}\chi \gamma A+j_{M}\gamma _{3}M+\chi _{v}\gamma _{v}A_{v}+\gamma _{3v}M_{v}+\gamma _{2v}D_{v}-\left( \pi _{1v}+\mu \right) R_{1v} \\ \displaystyle \frac{\text {d}}{{\text {d}}t}R_{2v} &{} = &{} \left( 1-y_{1v}\right) \pi _{1v}R_{1v}-\left( \pi _{2v}+\mu \right) R_{2v} \\ \displaystyle \frac{\text {d}}{{\text {d}}t}R_{3v} &{} = &{} \left( 1-y_{2v}\right) \pi _{2v}R_{2v}-\left( \pi _{3v}+\mu \right) R_{3v}, \end{array} \right. \end{aligned}$$
(4)

where \(N_{o}=S+Q+E+A+P+M+D+R_{1}+R_{2}+R_{3}\) and \( N_{v}=E_{v}+A_{v}+P_{v}+M_{v}+D_{v}+R_{1v}+R_{2v}+R_{3v}\), with \( N=N_{o}+N_{v}\) obeying

$$\begin{aligned} \frac{\text {d}}{{\text {d}}t}N=\left( \phi -\mu \right) N-\left( \alpha D+\alpha _{v}D_{v}\right) . \end{aligned}$$
(5)

This community’s vital dynamic is described by the per-capita rates of birth (\(\phi \)) and death (\(\mu \)).

Table 2 summarizes the model parameters and values. The subscript v stands for the variant virus transmitting parameters.

Table 2 Summary of the model parameters and values (rates in days\(^{-1}\), time in days and proportions are dimensionless)

The initial and boundary conditions for the system of Eqs. (2 ), (3), and (4) are given in Appendix A.1. The basic reproduction number \(R_{0}\) is presented in Appendix A.2.

2.2 Epidemiological values

To better describe the epidemiological scenarios of partial quarantine and relaxation, we calculate the following epidemiological values solving the system of Eqs. (2), (3), and (4).

  1. (1)

    Susceptible individuals—The number of circulating plus isolated susceptible individuals \(S^\mathrm{{tot}}\) is obtained from the numbers of non-isolated (circulating) susceptible (S) and isolated (Q) individuals by

    $$\begin{aligned} S^\mathrm{{tot}}=S+Q. \end{aligned}$$
    (6)
  2. (2)

    New cases—We calculate the numbers of accumulated severe COVID-19 cases in subpopulations harboring original (\(\varOmega _{o}\)) and variant (\(\varOmega _{v}\)) virus as

    $$\begin{aligned} \begin{array}{ccccc} \frac{\text {d}}{{\text {d}}t}\varOmega _{o}=\left( 1-m\right) \gamma _{1}P&\,&{\mathrm {and}}&\,&\frac{\text {d}}{{\text {d}}t}\varOmega _{v}=\left( 1-m_{v}\right) \gamma _{1v}P_{v}, \end{array} \end{aligned}$$
    (7)

    which are given by the exits from P and \(P_{v}\), and entering into compartments D and \(D_{v}\), with \(\varOmega =\varOmega _{o}+\varOmega _{v}\), where \( \varOmega _{o}(0)=\varOmega _{o0}\) and \(\varOmega _{v}(0)=\varOmega _{v0}\). The daily severe COVID-19 cases \(\varOmega _{d}\) is, considering \(\varDelta t=t_{i}-t_{i-1}=1 \) day,

    $$\begin{aligned} \begin{array}{l} \varOmega _{d}(t_{i})=\int \limits _{t_{i-1}}^{t_{i}}\frac{\text {d}}{{\text {d}}t}\varOmega {\text {d}}t=\varOmega \left( t_{i}\right) -\varOmega \left( t_{i-1}\right) , \end{array} \end{aligned}$$
    (8)

    where \(\varOmega _{d}(0)=\varOmega _{d0}\) is the first observed COVID-19 case at \( t_{0}=0\), with \(i=1,2,\cdots \).

  3. (3)

    Fatalities—The accumulated number of deaths due to severe COVID-19 cases is calculated by \(\varTheta =\varTheta _{o}+\varTheta _{v}\), where

    $$\begin{aligned} \begin{array}{lllll} \frac{\text {d}}{{\text {d}}t}\varTheta _{o}=\alpha D&\,&{\mathrm {and}}&\,&\frac{\text {d}}{{\text {d}}t}\varTheta _{v}=\alpha _{v}D_{v}, \end{array} \end{aligned}$$
    (9)

    which account the exits from compartments D and \(D_{v}\) by COVID-19 induced deaths, with \(\varTheta _{o}(0)=0\) and \(\varTheta _{v}(0)=0\). In the estimation of the additional mortality rates \(\alpha \) and \(\alpha _{v}\), we must bear in mind that the time at which new cases and deaths were registered does not have direct correspondence, rather they are delayed by \( \varDelta \) days, that is, \(\varTheta _{o}\left( t+\varDelta \right) =\alpha D(t)\), for instance. The daily COVID-19 deaths \(\varTheta _{d}\) is, considering \( \varDelta t=t_{i}-t_{i-1}=1\) day,

    $$\begin{aligned} \varTheta _{d}(t_{i})=\int \limits _{t_{i-1}}^{t_{i}}\frac{\text {d}}{{\text {d}}t}\varTheta {\text {d}}t=\varTheta \left( t_{i}\right) -\varTheta \left( t_{i-1}\right) , \end{aligned}$$
    (10)

    with \(\varTheta _{d}(0)=0\).

However, instead of calculating the number of deaths based on the severe COVID-19 cases D (dynamic system), we can use the three stages of COVID-19 clinical evolution (Pericàs et al. 2020; Siddiqi and Mehra 2020). From Eq. (7), we can derive the number of individuals in viremia staying short-time in hospital (outpatient) \(B_{1}\) (phase 1), the number of patients with inflammatory response needing hospital care (inpatient) \(B_{2}\) (phase 2), and the number of patient with cytokine storm needing ICUs (ICUs patient) \(B_{3}\) (phase 3). From the numbers \(B_{1}\), \(B_{2}\), and \(B_{3}\), we obtain the number of deaths due to COVID-19 and the number of cured individuals C.

Concerning the parameters of \(B_{j}\), \(\varTheta _{j}\), and \(C_{j}\), \(j=o,v\), a proportion \(h_{j}\) of pre-disease individuals enter into phase 1 (outpatients, class \(B_{1}\)), from which a proportion \(h_{1j}\) enters into phase 2 (inpatients, class \(B_{2}\)), and a proportion \(h_{2j}\) enters into phase 3 (ICUs patients, class \(B_{3}\)). The average periods of individuals staying in phases 1, 2, and 3 are \(1/\varsigma _{1j}\), \(1/\varsigma _{2j}\), and \(1/\varsigma _{3j}\), where \(\varsigma _{1j}\) and \(\varsigma _{2j}\) are the disease progression rates from phase 1 to 2 and phase 2 to 3, and \( \varsigma _{3j}\) is the rate of exiting from phase 3. The additional mortality (fatality) proportions among patients in phases 1, 2, and 3 are \( \alpha _{1j}\), \(\alpha _{2j}\), and \(\alpha _{3j}\). The fraction \(1-h_{j}\) is the non-hospitalization of pre-disease COVID-19 cases P, and \( 1-h_{1j}-\alpha _{1j}\), \(1-h_{2j}-\alpha _{2j}\), and \(1-\alpha _{3j}\) are the proportions of cured patients in phases 1, 2, and 3.

  1. (1)

    Clinical evolution—The number of outpatients is \( B_{1}=B_{1o}+B_{1v}\), where

    $$\begin{aligned} \begin{array}{ccccc} \frac{\text {d}}{{\text {d}}t}B_{1o}=h_{o}\frac{\text {d}}{{\text {d}}t}\varOmega _{o}-\left( \mu +\varsigma _{1o}\right) B_{1o}&\,&{\mathrm {and}}&\,&\frac{\text {d}}{{\text {d}}t}B_{1v}=h_{v}\frac{\text {d}}{ {\text {d}}t}\varOmega _{v}-\left( \mu +\varsigma _{1v}\right) B_{1v}, \end{array} \end{aligned}$$
    (11)

    with \(B_{1o}(0)=B_{1o0}\) and \(B_{1v}(0)=0\), and \(d\varOmega _{j}/{\text {d}}t\), \(j=o,v\), is given by Eq. (7). The number of inpatients is \( B_{2}=B_{2o}+B_{2v}\), where

    $$\begin{aligned} \begin{array}{ccccc} \frac{\text {d}}{{\text {d}}t}B_{2o}=h_{1o}\varsigma _{1o}B_{1o}-\left( \mu +\varsigma _{2o}\right) B_{2o}&\,&{\mathrm {and}}&\,&\frac{\text {d}}{{\text {d}}t}B_{2v}=h_{1v} \varsigma _{1v}B_{1v}-\left( \mu +\varsigma _{2v}\right) B_{2v}, \end{array} \end{aligned}$$
    (12)

    with \(B_{2o}(0)=0\) and \(B_{2v}(0)=0\). The number of ICUs patients is \( B_{3}=B_{3o}+B_{3v}\), where

    $$\begin{aligned} \begin{array}{ccccc} \frac{\text {d}}{{\text {d}}t}B_{3o}=h_{2o}\varsigma _{2o}B_{2o}-\left( \mu +\varsigma _{3o}\right) B_{3o}&\,&{\mathrm {and}}&\,&\frac{\text {d}}{{\text {d}}t}B_{3v}=h_{2v} \varsigma _{2v}B_{2v}-\left( \mu +\varsigma _{3v}\right) B_{3v}, \end{array} \end{aligned}$$
    (13)

    with \(B_{3o}(0)=0\) and \(B_{3v}(0)=0\). The total number of severe COVID-19 cases is \(B=B_{1}+B_{2}+B_{3}\).

  2. (2)

    Fatalities—The number of accumulated deaths caused by severe COVID-19 cases can be calculated from the fatality associated with the clinical evolution divided into \(B_{1}\), \(B_{2}\), and \(B_{3}\). The number of deaths of outpatients is \(\varTheta _{1}=\varTheta _{1o}+\varTheta _{1v}\), where

    $$\begin{aligned} \begin{array}{ccccc} \frac{\text {d}}{{\text {d}}t}\varTheta _{1o}=\alpha _{1o}\varsigma _{1o}B_{1o}&\,&{\mathrm {and}}&\,&\frac{\text {d}}{{\text {d}}t}\varTheta _{1v}=\alpha _{1v}\varsigma _{1v}B_{1v}, \end{array} \end{aligned}$$
    (14)

    with \(\varTheta _{1o}(0)=0\) and \(\varTheta _{1v}(0)=0\). The number of deaths of inpatients is \(\varTheta _{2}=\varTheta _{2o}+\varTheta _{2v}\), where

    $$\begin{aligned} \begin{array}{ccccc} \frac{\text {d}}{{\text {d}}t}\varTheta _{2o}=\alpha _{2o}\varsigma _{2o}B_{2o}&\,&{\mathrm {and}}&\,&\frac{\text {d}}{{\text {d}}t}\varTheta _{2v}=\alpha _{2v}\varsigma _{2v}B_{2v}, \end{array} \end{aligned}$$
    (15)

    with \(\varTheta _{2o}(0)=0\) and \(\varTheta _{2v}(0)=0\). The number of deaths of ICUs patients is \(\varTheta _{3}=\varTheta _{3o}+\varTheta _{3v}\), where

    $$\begin{aligned} \begin{array}{ccccc} \frac{\text {d}}{{\text {d}}t}\varTheta _{3o}=\alpha _{3o}\varsigma _{3o}B_{3o}&\,&{\mathrm {and}}&\,&\frac{\text {d}}{{\text {d}}t}\varTheta _{3v}=\alpha _{3v}\varsigma _{3v}B_{3v}, \end{array} \end{aligned}$$
    (16)

    with \(\varTheta _{3o}(0)=0\) and \(\varTheta _{3v}(0)=0\). The total number of deaths is \(\varTheta =\varTheta _{1}+\varTheta _{2}+\varTheta _{3}\). The daily COVID-19 deaths \( \varTheta _{d}\) can be obtained using Eq. (10).

  3. (3)

    Cures—The total number of individuals being cured is \(C=C_{o}+C_{v}\), where

    $$\begin{aligned} \begin{array}{l} \left\{ \begin{array}{lll} \frac{\text {d}}{{\text {d}}t}C_{o} &{} = &{} \left( 1-h_{1o}-\alpha _{1o}\right) \varsigma _{1o}B_{1o}+\left( 1-h_{2o}-\alpha _{2o}\right) \varsigma _{2o}B_{2o}+\left( 1-\alpha _{3o}\right) \varsigma _{3o}B_{3o}-\mu C_{o} \\ \frac{\text {d}}{{\text {d}}t}C_{v} &{} = &{} \left( 1-h_{1v}-\alpha _{1v}\right) \varsigma _{1v}B_{1v}+\left( 1-h_{2v}-\alpha _{2v}\right) \varsigma _{2v}B_{2v}+\left( 1-\alpha _{3v}\right) \varsigma _{3v}B_{3v}-\mu C_{v}, \end{array} \right. \end{array} \nonumber \\ \end{aligned}$$
    (17)

    with \(C_{o}(0)=C_{v}(0)=0\).

Table 3 summarizes the parameters related to the clinical evolution of the original virus and values (for the variant virus, the values are given between parentheses). See Appendix B for the assessment of the parameters’ values.

Table 3 Summary of the parameters related to hospitalization and values (rates in days\(^{-1}\) and proportions are dimensionless)

3 Results

At the beginning of the COVID-19 epidemic, we have the transmission of the original SARS-CoV-2, and we assume that only the less virulent viruses are circulating while the quarantine lasts, and the more virulent viruses’ transmission initiates with relaxation. In other words, the accumulated mutations occurring during the quarantine manifests populationally in its enhanced virulence when relaxation begins.

We follow the procedure presented in Yang et al. (2021a) to estimate the model parameters using data from February 26, 2020 to June 15, 2021 (Boletim completo 2020) to describe the COVID-19 epidemic in São Paulo State. The model parameters are estimated using Eq. (34) in Appendix B.

3.1 The epidemiological scenario of quarantine

The observed data, from February 26, 2020, to June 15, 2021 (Boletim completo 2020), are partitioned into two sets—the first set is used to estimate the model parameters (input data set), and the estimated model is then confronted with the second set (test data set) to assess its prediction ability (Alvarenga et al. 1999). Hence, we estimate the model parameters using severe COVID-19 cases (\(\varOmega ^{ob}\)) and deaths (\(\varTheta ^{ob}\)) recorded from February 26 to May 7, 2020 (input data set). Then, we use the estimated parameters to predict the epidemic under interventions (quarantine and relaxation) from May 8, 2020, to June 15, 2021 (test data set) and compare the model predictions with the observed data.

Using the input data set of registered COVID-19 cases and deaths from São Paulo State (Boletim completo 2020), we estimate the model parameters considering only the original SARS-CoV-2 infection—the partial quarantine (isolation) followed by the protective measures adopted by the population. We split the data set into four periods to estimate the model parameters following those procedures used in Yang et al. (2021a).

  1. (1)

    Transmission rates (from February 26 to April 3, 2020)—Estimated values are \(\beta =\beta _{1}=\beta _{2}=\beta _{3}=0.66\) days\(^{-1}\), resulting in the basic reproduction number \(R_{0}=7.63\). (Letting \(\beta _{v}=\beta _{1v}=\beta _{2v}=\beta _{3v}=0.66\) days\(^{-1}\), we should have \(R_{0v}=8.35\)). We used the initial conditions and \(R_{0}\) given by Eqs. (18) and (31) in Appendix A.

  2. (2)

    Proportion in isolation (from March 24 to April 12, 2020)—Estimated value is \(k=0.50\). The onset of severe COVID-19 symptoms appear 9 days after the isolation’s introduction (see Yang et al. 2021a). We used the boundary conditions given by Eq. (20) in Appendix A.1.

  3. (3)

    Protective measures (from April 4 to May 7, 2020)—Estimated value is \(\varepsilon =0.52\). The transmission rate \(\beta =0.66\) \( days^{-1}\) is reduced to \(\beta ^{\prime }=\varepsilon \beta =0.34\) \( days^{-1}\), reducing the basic reproduction number \(R_{0}\) to \(R_{red}=3.97\) .

  4. (4)

    Additional mortality rate (from March 16 to May 7, 2020)—Fixing \(\varDelta =15\) days, the estimated value is \(\alpha =0.0046\) days\(^{-1}\). The death occurs 15 days after the onset of severe COVID-19 symptoms (see Yang et al. 2021a).

The period from February 26 to May 7, 2020, characterizes the beginning of the epidemic under partial quarantine and protective measures adopted by individuals. Considering a pool of less virulent (original) SARS-CoV-2, we estimated parameters considering the input data set. The estimated parameters given in Table 2 are summarized in the following epidemiological scenarios. We compare these curves with the test data set aiming: (1) to study the epidemic’s prediction ability, and (2) to include other factors (relaxation and mutation) when data and estimated curves diverge.

Figure 2 shows the estimated curve \(\varOmega \) and the observed data (a), and the calculated curve \(\varOmega _{d}\) and the observed data (b). The 7-day moving average of the daily observed data is also shown in Fig. 3b. The curves \(\varOmega \) and \(\varOmega _{d}\) are given by Eqs. (7) and (8).

Fig. 2
figure 2

The curve of estimated \(\varOmega \) and observed data (a), and the calculated \(\varOmega _{d}\), the observed data, and the 7-day moving average (b)

The model parameters were estimated against the severe COVID-19 observed data \(\varOmega ^{ob}\). In Fig. 2a, the first observed point detached from the estimated curve \(\varOmega \) on June 23, 2020, and all subsequent data situate above the curve. Hence, the original virus parameters’ values fit the test data set from May 8 to June 22, 2020.

Using the set of estimated parameters, we simulate the system of Eqs. ( 2), (3), and (4) to yield the severe COVID-19 epidemic curve D. From this curve, using Eq. (9), we estimate the fatality rate \(\alpha \) to obtain the accumulated number of deaths \(\varTheta \). From this estimated curve, we calculate the daily curve \( \varTheta _{d}\) using Eq. (10). Figure 3 shows the estimated curve \(\varTheta \) (a) and the calculated curve \(\varTheta _{d}\) (b) with the corresponding observed data. The 7-day moving average of the daily observed data is also shown in Fig. 3b.

Fig. 3
figure 3

The estimated curve \(\varTheta \) and the observed data (a), and the calculated curve \(\varTheta _{d}\), the observed data, and the 7-day moving average (b)

In Fig. 3a, the first observed point detached from the estimated curve \( \varTheta \) on July 21, 2020, and all subsequent data situate above the curve. Hence, the original virus parameters’ values fit the test data set from May 8 to July 20, 2020. Notice that the first observed point detaching from the estimated curve \(\varTheta \) occurred on July 21, while the severe COVID-19 curve \(\varOmega \) separated on June 23, 28 days earlier. In the estimation of mortality rate \(\alpha \), we used \(\varDelta =15\) days in \(\varTheta \left( t+\varDelta \right) =\alpha D(t)\) and, consequently, it was expected that the curve of \(\varOmega \) should be detached from the observed data on July 6. Somehow, the unexpectedly early separation demonstrates that the observed COVID-19 cases also bring mild cases, and we cannot assure that the observed data constitute only the severe COVID-19 cases anymore since after. Therefore, the fatality data are more reliable in characterizing the severe COVID-19 cases than the observed COVID-19 data containing mild and possibly asymptomatic cases. In other words, we cannot match the registered data with the severe COVID-19 curve D.

Let us assess the model’s prediction ability by comparing the observed data with the original SARS-CoV-2 epidemiological quarantine scenario. Since July 21, 2020, the observed COVID-19 fatalities situate systematically above the estimated curve \(\varTheta \), showing that the epidemiological scenario of quarantine was perturbed. (From Figs. 2a, 3a, the epidemiological scenario under quarantine using input data set adjusted the test data set from May 8 to June 22 (\(\varOmega \)) or July 20 (\(\varTheta \)), showing that quarantine lasted until that date.) Indeed, São Paulo State initiated the relaxation by the end-June 2020. Hence, since July 6, 2020, the test data set must be described by incorporating intermittent pulses of release in the model (Yang and Greenhalgh 2015).

Besides evaluating the deaths from non-specified severe COVID-19 cases D , we use the clinical evolution since the onset of symptoms to assess the number of fatalities. The number of deaths is estimated taking into account the three clinical phases of COVID-19. Figure 4 shows the estimated curves \( \varTheta _{1}\), \(\varTheta _{2}\), \(\varTheta _{3}\), and \(\varTheta =\varTheta _{1}+\varTheta _{2}+\varTheta _{3}\) (a) and the calculated daily curve of \(\varTheta _{d}=\varTheta (t_{i})-\varTheta (t_{i-1})\) and the observed data (b). The curve corresponding to \(\varTheta _{1}\) is close to the horizontal axis. We used the values given in Table 3, and Eqs. (14), (15) and (16) for \(\varTheta _{1}\), \(\varTheta _{2}\), and \(\varTheta _{3}\). In the estimation of the fatality rate \(\alpha _{io}\), \(i=1,2,3\), we used \(\varDelta =18\) days.

Fig. 4
figure 4

The estimated curves \(\varTheta _{1}\), \(\varTheta _{2}\), \(\varTheta _{3}\), and \(\varTheta =\varTheta _{1}+\varTheta _{2}+\varTheta _{3}\) (a) and the calculated daily curve of \(\varTheta _{d}=\varTheta (t_{i})-\varTheta (t_{i-1})\), the observed data, and the 7-day moving average (b)

The epidemiological scenario of partial quarantine in São Paulo State was described by the model parameters’ values given in Table 2 and the values for the COVID-19 in hospitals’ care given in Table 3. Figures 2 and 3 describe the quarantine considering only the original SARS-CoV-2 transmission. In Yang et al. (2020b), the epidemiological scenarios of relaxation’s description were assessed based on the plan elaborated by the S ão Paulo State authorities (Plano são paulo 2020). There, the COVID-19 deaths were under-estimated (see Fig. 16 in Yang et al. (2020b) for severe COVID-19 cases), showing that more virulent viruses must be considered besides the relaxation. The epidemiological scenario in Amazonas State (Brazil) can shed more light on the virulent variants’ role in association with relaxation. In Amazonas State, deaths in January–February 2021 are higher than those that occurred during all 2020 (Informações covid-19 2021). This increased number cannot be explained only by the partial relaxation once a significant number of deaths caused by the P.1 variant was found.

3.2 The epidemiological scenario of relaxation

In the preceding section, we estimated the model parameters against the severe COVID-19 observed data. In the first months after the outbreak of the COVID-19 epidemic, the scarcity of the tests (serology and PCR) due to the novelty of the pandemic did not allow to test those individuals with COVID-19 symptoms. Hence, the test to confirm infection by SARS-CoV-2 was performed basically in the hospitalized and dead individuals presenting COVID-19 symptoms. Thus, almost all recorded data in São Paulo State were composed of severe COVID-19 cases. However, the widespread test to catch SARS-CoV-2 infection included those presenting mild COVID-19 and asymptomatic individuals. For this reason, in this section, we estimate the registered COVID-19 deaths instead of the severe cases.

The parameters related to the natural history of the original COVID-19 and the estimated transmission parameters are given in Table 2, which are maintained constant. The parameters’ values for the variant COVID-19 are changed based on the original virus’s values, given in Table 2. As we pointed out, the mutations occur as the epidemic evolves, and individuals infected with a pool of less virulent viruses may harbor more virulent viruses by mutation. The variant virus may coexist or even displaces the original virus by competition, and the severe COVID-19 cases increase. Hence, we estimate the fraction of individuals infected with the original virus being transferred to the compartment of individuals harboring variant viruses by mutations. Table 4 shows the date of the i-th transfer and the corresponding value for \(j_{k}^{i}\), with \(k=E,A,P,M\), and the fatality rate \(\alpha _{v}\). The fatality rate increased by \(14\%\) compared to the mortality induced by the original virus, which increased by \(39\%\) only in the last release on February 25, 2021.

Table 4 The i-th date and proportion of release (\(u_{i}\)), the protective measure (\(\varepsilon \)), the proportion transferring from original to variant viruses \(j_{k}^{i}\), with \(k=E,A,P,M\), and the fatality rate \(\alpha _{v}\)

In Table 4, we assumed small \(j_{E}\), and the relations \(j_{P}=2j_{A}\) and \( j_{M}=3j_{A}\). The reason behind these assumptions is the increased mutations occurring along with the progression of the infection. For instance, the exposed individuals are just infected and harboring a negligible amount of virus; hence, \(j_{E}\) assumes small value. Suppose that a small amount of virus characterizes asymptomatic status; thus, \(j_{A}\) must be lower than \(j_{P}\) and \(j_{M}\). Finally, individuals in mild disease conditions spend more time in this stage than pre-symptomatic individuals besides harboring a large amount of virus; hence \(j_{M}>j_{P}\). Notice that the transfer from compartments of individuals infected with the original virus to variant virus compartments increased on November 2, 2020, with an additional increase on February 25, 2021.

Figure 5 shows the estimated curves \(\varTheta _{o}\), \(\varTheta _{v}\), and \( \varTheta \) and the observed data (a), and the calculated curve \(\varTheta _{d}\) and the observed data (b). The 7-day moving average of the daily observed data is also shown in Fig. 5b. The curves \(\varTheta \) and \(\varTheta _{d}\) are given by Eqs. (9) and (10). The estimated curves \(\varTheta _{o}\), \(\varTheta _{v}\), and \(\varTheta \) approach asymptotically 38270, 93000, and 131300.

Fig. 5
figure 5

The estimated curve \(\varTheta \) and the observed data (a), and the calculated curve \(\varTheta _{d}\), the observed data, and the 7-day moving average (b)

Figure 6 shows the estimated curves \(\varOmega _{o}\), \(\varOmega _{v}\), and \( \varOmega \) and the observed data (a), and the calculated curve \(\varOmega _{d}\) and the observed data (b). The 7-day moving average of the daily observed data is also shown in Fig. 6b. The curves \(\varOmega \) and \(\varOmega _{d}\) are given by Eqs. (7) and (8). The estimated curves \(\varOmega _{o}\), \(\varOmega _{v}\), and \(\varOmega \) approach asymptotically 735800, 1.408 million, and 1.783 million.

Fig. 6
figure 6

The curve of estimated \(\varOmega \) and observed data (a), and the calculated \(\varOmega _{d}\), observed data, and the 7-day moving average (b)

Figure 6a shows the recorded COVID-19 data above the estimated severe cases \(\varOmega \), confirming that these observed data carry on the mild and perhaps asymptomatic individuals caught by mass tests. However, Fig. 6b shows roughly a similar trend between the lower-valued estimated daily curve \(\varOmega _{d}\) and the observed data \(\varOmega ^{ob}\). Notice that at mid-May 2021, there is an increasing trend not captured by the estimation, which was also seen smoothly in Fig. 5b.

Figure 7a shows the COVID-19 epidemic curves D, \(D_{v}\), and \( D^\mathrm{{tot}}=D+D_{v}\) corresponding to the estimated curves presented in Figs. 5a and 6a. Figure 7b shows the proportions \(D/D^\mathrm{{tot}}\) and \( D_{v}/D^\mathrm{{tot}}\) (b). The ascending phase of the D curve is roughly characterized by the effective reproduction number given by Eq. (33) greater than one (\(R_{ef}>1\)), while the descending phase, by \( R_{ef}<1\) (see Yang et al. 2021a). The epidemic peak (62080) with the original virus in the quarantine occurred on July 1, 2020, and the epidemic peak (109800) with the majority of variant virus in the relaxation occurred on May 5, 2021. The more virulent SARS-CoV-2 transmission increased the severe COVID-19 cases by \(77\%\).

Fig. 7
figure 7

The estimated curves of D, \(D_{v}\), and \(D^\mathrm{{tot}}=D+D_{v}\) (a) and the proportions \(D/D^\mathrm{{tot}}\) and \(D_{v}/D^\mathrm{{tot}}\) (b)

Figure 7a shows a severe variant epidemic increasing rapidly at the end of 2020, reaching the peak on May 5, 2021. This more intense epidemic in comparison with the original one is due to the relaxation allied with the widespread of the variant SARS-CoV-2 having higher \(R_{0v}\) (\(9.4\%\) higher than \(R_{0}\)). In Fig. 7b, we observe the displacement of the original SARS-CoV-2 by the variant virus, which corresponds to around \(80\%\) of infections at the beginning of 2021.

When susceptible individuals are infected, they pass through the natural history of COVID-19 stages and become immunes. Figure 8 shows the curves S , Q, and \(S^\mathrm{{tot}}=S+Q\) (a) and the curves R, \(R_{v}\), and \( R^\mathrm{{tot}}=R+R_{v}\) (b). The susceptible individuals \(S^\mathrm{{tot}}\) decrease from 44.6 million to 6.8 million, while the recovered individuals increase from 0 to 36.7 million. At the end of the epidemic, the susceptible and recovered individuals are \(15.25\%\) and \(82.3\%\) of the population.

Fig. 8
figure 8

The estimated curves of S, Q, and \(S^\mathrm{{tot}}=S+Q\) (a) and the estimated curves of R, \(R_{v}\), and \(R^\mathrm{{tot}}=R+R_{v}\) (b)

We estimated \(\varTheta \), from which we retrieved \(\varOmega \). Now, using this \( \varOmega \), we estimate the COVID-19 fatalities curves \(\varTheta _{1}\), \(\varTheta _{2}\), and \(\varTheta _{3}\) considering the clinical evolution of the disease. Table 5 shows the estimated parameters related to the clinical evolution of the variant virus. In the estimation of the fatality rates \(\alpha _{io}\), \( i=1,2,3\), we used \(\varDelta =15\) days.

Table 5 The estimated parameters related to the clinical evolution of the variant virus and \(\varDelta \)

Notice that during the quarantine, we used \(\varDelta =18\) days to estimate the curves \(\varTheta _{1}\), \(\varTheta _{2}\), and \(\varTheta _{3}\). However, the appearance of variant SARS-CoV-2 after the relaxation reduced the appearance of the COVID-19 symptoms to \(\varDelta =15\) days. The fatality rates \(\alpha _{io}\), \(i=1,2,3\), were not changed in comparison with the deaths induced by the original virus but increased only in the last release on February 25, 2021. However, the proportions \(h_{1v}\) and \(h_{2v}\) increased since the beginning of the relaxation on July 6, 2020.

Figure 9 shows the estimated curves \(\varTheta _{1}\), \(\varTheta _{2}\), \(\varTheta _{3}\), and \(\varTheta =\varTheta _{1}+\varTheta _{2}+\varTheta _{3}\) (a) and the calculated daily curve \(\varTheta _{d}=\varTheta (t_{i})-\varTheta (t_{i-1})\) and the observed data (b). The 7-day moving average of the daily observed data is also shown in Fig. 9b. We used the values given in Table 5, and Eqs. (14), (15) and (16) for \(\varTheta _{1}\) , \(\varTheta _{2}\), and \(\varTheta _{3}\). For daily curve \(\varTheta _{d}\), we used Eq. (10). The estimated curves \(\varTheta _{1}\), \(\varTheta _{2} \), \(\varTheta _{3}\), and \(\varTheta \) approach asymptotically 973, 20830, 120800, and 142600.

Fig. 9
figure 9

The estimated curves \(\varTheta _{1}\), \(\varTheta _{2}\), \(\varTheta _{3}\), and \(\varTheta =\varTheta _{1}+\varTheta _{2}+\varTheta _{3}\) (a) and the calculated daily curve of \(\varTheta _{d}=\varTheta (t_{i})-\varTheta (t_{i-1})\), the observed data, and the 7-day moving average (b)

The clinical evolution, using Eqs. (14), (15) and ( 16), estimated 11300 (\(8.6\%\)) more fatalities than that provided by the dynamic system, using Eq. (9). Figure 5b shows the estimated curve \(\varTheta \) following the trend of the 7-day moving average of the observed data \(\varTheta ^{ob}\) except in March and April 2021. In March, the data are situated above the curve, but in April, below the data. However, Fig. 9b shows this behavior from March to May.

4 Discussion

In the first months of the COVID-19 outbreak, the absence of a mass test against SARS-CoV-2 infection and clinical follow-up of infected individuals did not permit the discrimination between asymptomatic and pre-symptomatic individuals. Considering this initial period, we explained the COVID-19 data from São Paulo State considering less virulent (original) SARS-CoV-2 transmission. The estimated model parameters yielded \(R_{0}=7.63\) for the basic reproduction number corresponding to the original virus. A more complex model incorporating different fatalities among individuals aged up to 60 years and above 60 years resulted in \(R_{0}=R_{0y}+R_{0o}=9.24\) (partials \(R_{0y}=7.73\) for subpopulation below 60 years, and for above 60 years old, \(R_{0o}=1.51\)) (Yang et al. 2021a).

The partial quarantine and protective measures flattened the epidemic curve in São Paulo State. Still, the transmission was maintained at a relatively higher level (the effective reproduction number reached one around 80 days later Yang et al. 2021a). However, since July 21, 2020, the observed number of deaths was systematically above the estimated curve \( \varTheta \) considering quarantine only. This fact permitted establishing that the effects of relaxation began in São Paulo State appeared on July 21; however, it was not fully implemented.

However, the persistent transmission of SARS-CoV-2 should result in a high number of mutations. Among these mutations, some acquired an enhanced ability to infect cells, increasing the risk of death. In fact, São Paulo State still maintained part of the population in isolation, but 68,904 deaths on March 24, 2021, surpassed 57,300 predicted by the epidemic with original SARS-CoV-2 (Yang et al. 2021a). This higher number of deaths may be a consequence of the appearance of more virulent variants during the prolonged SARS-CoV-2 transmission. Moreover, more viruses will be released in the environment when more cells are infected, increasing the transmission. Considering these biological effects, we shortened parameters \(\sigma _{v}^{-1}\) and \(\gamma _{1v}^{-1}\) (times to become infectious and to present symptoms) and enlarged \(\gamma _{v}^{-1}\), \(\gamma _{2v}^{-1}\), and \( \gamma _{3v}^{-1}\) (times to recover from the infection) in Table 2. On the other hand, the increased number of severe symptomatic individuals is isolated in hospitals, and mild cases are detected by test and advised to isolate. Contrarily, the decreased numbers of asymptomatic and pre-symptomatic individuals (carriers) are not detected and circulate freely. Additionally, the carriers are in close contact with other susceptible individuals, contrarily to individuals manifesting any suspicious symptoms (not necessarily COVID-19). These populational features and social behaviors may vary the transmission rates, increasing or decreasing. These complex biological and populational influences on the COVID-19 epidemic were oversimplified in our model, and letting for the variant virus transmission rates the same values estimated from the original virus, we obtained \(R_{0v}=8.35\).

In the model, the force of infections \(\lambda \) and \(\lambda _{v}\) defined by Eq. (1) provide the per-capita incidences in the subpopulations infected with original and variant SARS-CoV-2. We assumed a transfer (\(j_{E}\), \(j_{A}\), \(j_{P}\), and \(j_{M}\)) from individuals infected with the original virus to the status of infection with the variant virus. This transfer can be hypothesized to have two origins in the individuals infected with the pool of less virulent virus: (1) the occurrence of mutations expressing enhanced cells’ infection, and (2) a presence of a small amount of more virulent virus accelerating cells’ infection than the original virus. In both cases, the predominance of variant virus displacing the fewer cells’ infectivity virus results in the transfer to subpopulation infected with more virulent SARS-CoV-2.

Figures 5b shows a good fitting for the daily recorded data of deaths. From this fitting, we retrieved the daily severe COVID-19 curve shown in Fig. 6b. The observed data situate above the retrieved curve, but the pattern is similar in both curves, indicating that the difference is the infected individuals caught by mass tests. Using the accumulated severe COVID-19 curve \(\varOmega \) retrieved from the estimated curve \(\varTheta \) shown in Fig. 6a, we estimated the accumulated deaths using the clinical evolution shown in Fig. 9b. At the end of the first wave of the epidemic, the number of fatalities will stay between 131300 and 142600.

Yang et al. (2021a) stated that the importance of a flattened epidemic by quarantine was the avoidance of the overloaded hospitals and the time gained to develop vaccines. In Yang et al. (2020b), they showed that the relaxation retook the interrupted epidemic, approaching the natural epidemic, which is characterized by the absence of any interventions (quarantine and protective measures). We use the original virus parameters given in Table 2 to evaluate the fraction of recovered individuals at the end of the first natural epidemic (when the first plateau is reached) as a function of the basic reproduction number. Figure 10 shows the fraction R/N at the end of the first wave of the natural epidemic as a function of \(R_{0}\). For \(R_{0}=7.63\), we have \(R/N=99.38\%\) and \(S/N=0.25\%\) .

Fig. 10
figure 10

The fraction R/N at the end of the first wave of the natural epidemic as a function of \(R_{0}\). * indicates \(R_{0}\) at which the value of R/N is calculated

Let us discuss the role of vaccines. We discuss the effects of vaccination on the first wave of the COVID-19 epidemic, and when the natural epidemic attains a steady state. We assume that individuals vaccinated with \(100\%\) efficacy are transferred to the recovered compartment.

In Fig. 8, at the end of the first wave of the epidemic, the fraction of recovered individuals attained \(82.3\%\) of the population. On the other hand, the susceptible individuals are \(15.3\%\) of the population, including \( 6.7\%\) of the isolated individuals. In Table 4, the protection factor remained \(\varepsilon =0.75\) at the end of the first wave of the epidemic. This means that by vaccinating \(82.3\%\) of the population, disregarding the past infection, the COVID-19 epidemic fades out. However, at this level of vaccine coverage, there is potentially retaken of the epidemic when all individuals are released and the protective measures are abandoned. In this case, a smooth outbreak may occur, approaching the trend of the natural epidemic. To void this retaken of the epidemic, around \(99\%\) of the population must be vaccinated (see Fig. 10), keeping in mind that this result refers to a vaccine with \(100\%\) efficacy. Depending on how the effectiveness of an administered vaccine is lowered, the epidemic will be sustained at a lower or intermediate level.

The basic reproduction number \(R_{0}\) indicates how the epidemic grows in an outbreak, and also the level of the epidemic at the steady state (in the transmission of SARS-CoV-2 without mutations, the equilibrium fraction of the susceptible individuals (at endemicity) obeys \(s^{*}=1/R_{0}\), see Eq. (33) in Appendix A.2) (Yang 2021). We stress that this relationship is not valid at the end of the first wave of the epidemic. Reaching the endemicity, the basic reproduction number \(R_{0}\) determines the magnitude of effort to eradicate infection—in the case of \(100\%\) efficacy vaccine, the efforts to eliminate a disease must be vaccinating a fraction equal to or greater than \(1-1/R_{0}\) of susceptible individuals (Anderson and May 1992) to yield \(R_{ef}<1\). In Yang (2001), analyzing vaccination as a control mechanism, if \(R_{ef}\) is reduced by the vaccine to a value lower than one, the number of cases decreased following exponential-type decay. For \(R_{0}=7.63\), we must vaccinate at least \(87\%\) of susceptible individuals to eradicate the infection (Anderson and May 1992). For the variant SARS-CoV-2 transmission, we must vaccinate at least \(88\%\).

In this paper, we did not consider the waning of immunity. However, the loss of immunity on the COVID-19 epidemic could be negligible during the 16 months of the pandemic. We considered the same transmission rates for the original and variant viruses, and for individuals transmitting in the asymptomatic, pre-symptomatic, and mild COVID-19 compartments. This assumption can be relaxed to provide a more accurate epidemiological scenario. Finally, we can incorporate the appearance of new variants in the model, such as the currently widespread SARS-CoV-2 Delta variant originated from India.

5 Conclusion

During the epidemic, the fast mutations in RNA virus can result in a pool of variants. On average, in this pool, mutations behaving like lower or higher virulence than the original SARS-CoV-2 can be found. We formulated a model considering the transmission of lower (original) and higher (variant) virulent SARS-CoV-2. The original SARS-CoV-2 transmission explained the COVID-19 epidemic in São Paulo State during the partial quarantine. However, the accumulated mutations yielding variant SARS-CoV-2 changed the trend of the original COVID-19 epidemic when the relaxation began. Consequently, the severe COVID-19 cases and fatalities increased hugely.

The efficacy of COVID-19 vaccines ranges between around \(50\%\) and \(90\%\). Considering this range of vaccine effectiveness, the model presented here can be adapted to evaluate vaccination schemes to maintain the transmission at a lower level or even to reach eradication. This study is left for future work.