Skip to main content
Elsevier - PMC COVID-19 Collection logoLink to Elsevier - PMC COVID-19 Collection
. 2020 Jul 3;139:110072. doi: 10.1016/j.chaos.2020.110072

Stability analysis and numerical simulation of SEIR model for pandemic COVID-19 spread in Indonesia

Suwardi Annas a, Muh Isbar Pratama b, Muh Rifandi b, Wahidah Sanusi b, Syafruddin Side b,
PMCID: PMC7345386  PMID: 32834616

Abstract

The Aim of this research is construct the SEIR model for COVID-19, Stability Analysis and numerical simulation of the SEIR model on the spread of COVID-19. The method used to construct the model is the SEIR model by considering vaccination and isolation factors as model parameters, the analysis of the model uses the generation matrix method to obtain the basic reproduction numbers and the global stability of the COVID-19 distribution model. Numerical simulation models use secondary data on the number of COVID-19 cases in Indonesia. The results obtained are the SEIR model for COVID-19; model analysis yields global stability from the spread of COVID-19; The results of the analysis also provide information if no vaccine, Indonesia is endemic COVID-19. Then the simulation results provide a prediction picture of the number of COVID-19 in Indonesia in the following days, the simulation results also show that the vaccine can accelerate COVID-19 healing and maximum isolation can slow the spread of COVID-19. The results obtained can be used as a reference for early prevention of the spread of COVID-19 in Indonesia

Keywords: SEIR model, COVID-19, Simulation model, Basic reproduction number, Lyapunov function

1. Introduction

According to the World Health Organization (WHO), COVID-19 is transmitted through people who have been infected with the corona virus. The virus can easily spread through small droplets from the nose or mouth compilation of someone infected with this virus to sneeze or cough. The drops then land on objects or surfaces which are touched and the healthy person adjusts their eyes, nose or mouth. How to spread the corona virus compilation of small droplets inhaled by someone compiling switch with the one supported by corona [1]. It's important to spend 1 m more distance than people who are sick. Until now there has been no research that states the COVID-19 corona virus can be transmitted through the air, "explained WHO as quoted from its website on March 23, 2020 [2].

The number of cases of corona virus infection that causes Covid-19 continues to increase in various parts of the world. The rate of increase, both for the number of cases of infection, death and cure, varies in each region. Each country also has its own policy to curb the spread of viruses that occur in its territory. According to data collected by John Hopkins University, as of March 23, 2020, the total number of Covid-19 cases worldwide had reached 331,273 cases, with 14,450 deaths, and 97,847 patients declared cured. The highest number of cases is still recorded in China, namely 81,397 cases, followed by Italy with 59,138 cases, and the United States as many as 33,073 cases. In terms of mortality, the largest number is in Italy, with 5476 cases. The number exceeds the death rate that occurred in China, which is 3265. Meanwhile, in terms of recovery, the largest number is in China, which is 72,362 patients. Both the progress of the number of infections, deaths, patients recovered until certain policies continue to be reported in various countries [2].

The number of COVID-19 cases in Indonesia continues to increase, until March 22, 2020 the number of positive cases of COVID-19 numbered 514 people with 29 people (5.64%) recovered and the number of deaths 48 people (9.34%) or the largest in Southeast Asia. The disease that has become a pandemic and causes a fairly high death in this world has not been found the cure [3]. Trend of the number of cases and spread map of COVID-19 in Indonesia is presented in Fig. 1, Fig. 2 .

Fig. 1.

Fig 1

Trend of the number of positive cases for COVID-19 in Indonesia on March 2020

Negative Positive.

[2]

Fig. 2.

Fig 2

Spread map of COVID-19 in Indonesia on March 2020

[2].

Mathematical modeling of SIR, SIRS, SEIR and SEIRS on transmission of diseases such as dengue fever, tuberculosis, diabetes, HIV-AIDS has been done by [4], [5], [6], [7], [8], [9], [10], [11], [12], [13], [14], [15], [16], [17], [18], [19], then mathematical modeling on the spread of COVID-19 has been carried out by [20] namely SEIRV mathematical modeling in the Wuhan, China taking into account environmental factors, while the analysis and simulation of the model used data of the number of COVID-19 cases in Wuhan. This SEIRV model does not consider vaccination and isolation factors as parameters in the model. Therefore, this research build, analyze using generation matrices method and simulate the SEIR model through isolation and vaccination on the spread of COVID-19 in Indonesia using Matlab software.

2. Method

The SEIR mathematical modeling on the spread of COVID-19 is a theoretical study. The method used to construct the model is the SEIR model [12] by considering vaccination and isolation factors as model parameters, the model analysis uses the generation matrix method [9] to obtain the basic reproduction number and the global stability for COVID-19 spreading. Numerical simulation of model use secondary data on the number of COVID-19 cases in Indonesia [21] by using Matlab software to predict the number of COVID-19 cases in Indonesia as a measure to prevent the number of COVID-19 cases in Indonesia.

3. Results and discussion

3.1. SEIR model formulation for COVID-19

The SEIR model on the spread of COVID-19 is divided into four compartments namely Suspected (S), Exposed (E), Infected (I), and Recovered (R). Individuals in an infected class can cause other individuals to become infected. The changes that occur in each human population in Covid-19 transmission for the SEIR model can be interpreted by Fig. 3

Fig. 3.

Fig 3

Scheme of the Model SEIR transmission for COVID-19.

Definition of variables and parameters of model SEIR for COVID-19 presented in Table 1 .

Table 1.

Defintion of variable/parameter.

Variable/Parameter Definition
N Number of human population
S Number of Suspected population
E Number of Exposed population
I Number of Infected Population
R Number of Recovered Population
μ The rate of birth/death population
α Probably of changing from S to E
β Probably of changing from E to I
μi The rate of death population by COVID-19
δ Probably of changing from I to R
v Vaccine of Suspected Population

Based on the population scheme in Fig. 3, the rate of change in the number of people Suspected, Exposed, Infected and Recovered over time in the SEIR mathematical model of the spread of Covid-19 can be interpreted as follows:

dSdt=μN(αI+μ+v)S (1)
dEdt=αIS(β+μ)E (2)
dIdt=βE(μi+δ+μ)I (3)
dRdt=δI+vSμR (4)

Let S=SN;E=EN;I=IN;and R=RN, simplified model becomes:

dSdt=μ(αI+μ+v)S (5)
dEdt=αIS(β+μ)E (6)
dIdt=βE(μi+δ+μ)I (7)
dRdt=δI+vSμR (8)

3.2. Analysis of SEIR model for COVID-19

3.2.1. Equilbrium analysis

Based on Eqs. (5)(8), stability analysis is carried out to determine the disease free equilibrium point and endemic equilibrium point. To determine the two equilibrium points, each equation in Eqs. (5)(8), must be equal to zero, or dSdt=0, dEdt=0, dIdt=0, and dRdt=0, thus obtained:

μ(αI+μ+v)S=0 (9)
αIS(β+μ)E=0 (10)
βE(μi+δ+μ)I=0 (11)
δI+vSμR=0 (12)

Then, we found the equilibrium point of S, E, I, and R.

3.2.2. Free-disease equilibrium for COVID-19

Equilibrium points for disease-free are conditions where there is no spread of COVID-19 then, E=I=0

From Eq. (9):

μ(αI+μ+v)S=0thus obtained

S=μ(μ+v)

From Eq. (12):

δI+vSμR=0thus obtained:

R=v(μ+v)

Then, the Equilibrium points of disease-free for COVID-19 are:

K0=(S,E,I,R)=(μ(μ+v),0,0,v(μ+v)) (13)

3.2.3. Endemic equilibrium for COVID-19

Endemic equilibrium points are used to indicate the possibility of disease spread. Because in endemic conditions and disease spread, the population S ≠ 0, E ≠ 0, I ≠ 0, and R ≠ 0. From Eqs. (9)(12) obtained endemic equlibrium points from COVID-19 are:

S=(μi+δ+μ)(β+μ)αβ
E=αβμ(μi+δ+μ)(μ+v)αβ
I=αβμ(μi+δ+μ)(μ+v)(β+μ)α(μi+δ+μ)(β+μ)
R=δαβ2μβ(μi+δ+μ)(μ+v)(β+μ)v((μi+δ+μ)(β+μ))2βα2(μi+δ+μ)(β+μ)

Then, the Equilibrium points of endemic for COVID-19 are:

Ke=(S,E,I,R)=((μi+δ+μ)(β+μ)αβ,αβμ(μi+δ+μ)(μ+v)αβ,αβμ(μi+δ+μ)(μ+v)(β+μ)α(μi+δ+μ)(β+μ),δαβ2μβ(μi+δ+μ)(μ+v)(β+μ)v((μi+δ+μ)(β+μ))2βα2(μi+δ+μ)(β+μ)) (14)

Base on the Eqs. (5)(8), found the Jacobian matrices

J=(αI+μ+v)0αS0αI(μ+β)αS00β(μi+δ+μ)0v0δμ (15)

Then find the eigenvalue of the Jacobian matrix in Eq. (15)

det(λIJ)=λ+(αI+μ+v)0αS0αIλ+(μ+β)αS00βλ+(μi+δ+μ)0v0δλ+μ=0

Subtitution the value S=μ(μ+v)and I=0, obtained:

λ+(μ+v)0αμ(μ+v)100λ+(μ+β)αμ(μ+v)100βλ+(μi+δ+μ)0v0δλ+μ=0
(λ+μ)(λ+(μ+v))((λ+(μ+β))(λ+(μi+δ+μ))αβμ(μ+v))=0
(λ+A)(λ+B)((λ+C)(λ+D)E)=0 (16)

with

A=μ;B=(μ+v);C=(μ+β);D=(μi+δ+μ)andE=αβμ(μ+v)

If Eq. (16) is resolved, then:

λ4+(A+B+C+D)λ3+(AB+(A+B)(C+D)+CDE)λ2+((A+B)(CDE)+AB(C+D))λ+ABCDABE=0 (17)

Based on Descartes' rule [14] the number of negative roots of the characteristic Eq. (17) is equal to the number of variations in the change in the coefficient sign, so Eq. (17) has four negative values ​​if it is in the form of:

K=L1λ4L2λ3+L3λ2L4λ+L5

with

L1=1
L2=A+B+C+D
L3=AB+(A+B)(C+D)+CDE
L4=(A+B)(CDE)+AB(C+D)
L5=ABCDABE

With condition L 1, L 2,  L 3,  L 4,  L 5 > 0

This concludes that if CD > E and L 1, L 2,  L 3,  L 4,  L 5 > 0, then:

λ1,λ2,λ3,λ4<0

Because the characteristic values ​​of the equation system in the COVID-19 model are negative, the equilibrium point is stable global asymptotic.

3.2.4. The basic reproduction number (R0) of SEIR model for COVID-19

The basic reproduction number (R 0) is determined using the matrices generation method, Based on Eqs. (5)(8), to determine (R 0).

LetF=(0αSβ0)andV=((β+μ)00μi+δ+μ)

Then, we found:

V1=1(β+μ)(μi+δ+μ)(μi+δ+μ00(β+μ))
V1=(1(β+μ)001μi+δ+μ)

and then,

P=FV1=(0αSβ0)(1(β+μ)001μi+δ+μ)
P=(0αS(μi+δ+μ)β(β+μ)0)

Then, by the matrices generation method [9], we found:

R0=αβμ(μ+β)(μ+v)(μi+δ+μ) (18)

3.2.5. Stability analysis of SEIR model for COVID-19

Theorem 1

  • 1

    If R 0 ≤ 1 then system in Eqs. (5)(8) of the model is global asymptotic stable.

  • 2

    If R 0 > 1, then system in Eqs. (5)(8) is unstable in D={(S,E,I,R)R+4,S+E+I+RS0}.

Proof

Let X=(E,I)T, it can be stated that dXdt(FV)X, with F and V are matrices on search R 0. then, let uis a eigen vector of F.

Let that:

R0=ρ(FV1)=ρ(V1F)

If V1F=R0,then uV1F=R0u

Let Lyapunov function:

L0=uV1X
dL0dt=uV1dXdt
dL0dt=uV1(FV)X
dL0dt=(uV1Fu)X
dL0dt=u(R01)X

If R 0 ≤ 1, then dL0dt=0, so that uX=0, as a result E=I=0with u > 0

If R 0 < 1 then the Equation dEdt+dIdt=0and we found:

αIS(β+μ)E+βE(μi+δ+μ)I=0
αIS(μi+δ+μ)I=0withE=0
R0[(μ+β)(μ+v)(μi+δ+μ)βμ]IS(μi+δ+μ)I=0
(μi+δ+μ)[R0(μ+β)(μ+v)βμS1]=0
(μi+δ+μ)[R0(μ+β)β1]=0

It means, (μi+δ+μ)[R01]0

Then it can be seen that, if R 0 < 1, then dL0dt<0

This proves that the system is global asymptotic stable.

In contrast, if R 0 < 1, then it follows from the continuity of the vector fields that dL0dt>0in a neighborhood of the system in D. Thus the system in Eqs. (5)–(8)is unstable by the Lyapunov stability theory. The last part of the theorem can be proved by the persistent theory [22] which is similar to the proof of Theorem 2.5 in [23].

3.3. Numerical simulation of the SEIR model of COVID-19 in Indonesia

Model simulations are performed using Mathematica software. The initial values S(0), E(0), I(0), R(0) and parameter values of the models used in this simulation are presented in Tables 2 –4, with the basic reproduction number values R 0 obtained based on Eq. (18), is R0=αβμ(μ+β)(μ+v)(μi+δ+μ)

Table 2.

Initial Value of SEIR Model for COVID-19 in Indonesia.

Variable Estimated value Source
N(0) 269.6 juta [24]
S(0) 37,538 [21]
E 13,923 [21]
I 23,191 [21]
R 13,213 [21]

Table 4.

Assumption parameter values ​​of the SEIR Model for COVID-19 in Indonesia.

Parameter Simulation 1 Simulation 2 Simulation 3
v 1% 50% 100%
β 3 days 7 days 14 days

3.3.1. Numerical simulation results of the SEIR model of COVID-19 in Indonesia

The value of the equilibrium points of the SEIR model is determined by substituting the parameter values ​​(simulation 1) in Tables 3 and 4 in Eqs. (5)(8) which are equated with zero, then the following Eqs. (5)(8) system is obtained:

{548.60625(7.0634x104I(t)+0.5063)S=0(7.0634x104I(t)+0.5063)S0.07777E=00.0714E0.00692I=00.00692I+0.5S0.00625R=0 (19)
Table 3.

Parameter value of SEIR Model for COVID-19 in Indonesia.

Parameter Estimated value Source
μ 6.25×10−3 [25]
α 0.62×10−8 /person/day [11]
δ 0.0006667 per day [11]
μi 7.344×10−7 [21]

The equation system (19) provides the equilibrium points of the endemic SEIR model of the spread of COVID-19, namely:

(S*,E*,I*,R*)=(0.00982,0.01793,0,01,811,0.89008)

These equilibrium points explain that the number of COVID-19 suspected populations was 982 people, exposed to 1793 people, infected 1811 people and those recovered were 89,008 people from the total 100,000 human population.

The eigenvalues based on Eq. (17) with the parameter values ​​in Tables 2 and 3 for the Covid-19 transmission SEIR model are:

λ1=0.13875,λ2=0.00625,λ3=0.07292,λ4=0.33625

In the same way, the equilibrium values ​​and eigenvalue for simulation 2 and simulation 3 are written in Table 5 . The eigenvalues obtained are real and negative, based on [17], the type of stability at this equilibrium point is asymptotic stable . The stability phase of the system can be illustrated in Fig. 4 and the fitting data of the SEIR model using Runge Kutta method versus the real data for covid 19 in Indonesia can be illustrated in Fig. 5 .

Table 5.

The Values of equlibrium point, eigen value and R0.

Simulation λ1 λ2 λ3 λ4 S*  E* I* R* R0
1 0.13875 0.00625 0.07292 0.33625 0.00982 0.01793 0,01,811 0.89008 3.20949
2 0.07292 0.00625 0.14911 0.50387 0.00555 0.02307 0.04521 0.92616 0.10057
3 0.07292 0.00625 0.07768 0.98387 0.00389 0.03106 0.03042 0.93463 0.04955
Fig. 4.

Fig 4

Stability phase portrait of the SEIR Model for COVID-19 in Indonesia .

Fig. 5.

Fig 5

Fitting infected data of SEIR model for covid19 versus real data in Indonesia.

According to Fig. 5, The fitting data of SEIR Model and the real data of covid 19 in Indonesia is a similar, this shown that the SEIR model on the spread of covid 19 can be used to predict the number cases of covid 19 in Indonesia, so that the government can take strategic steps to prevent this pandemic.

The basic reproduction number R0 for the endemic case of Covid-19 from Eq. (18) with only 1% vaccination is R0= 3.2094. This means that, if a person is infected with Covid-19 it will infect 3 other people. Whereas the R0 value for simulation 2 and simulation 3 presented in Table 5 explains that 50% vaccine will reduce transmission of COVID-19 and 100% does not couse spreading of Covid-19 in Indonesia.

3.3.1.1. Simulation 1 of the SEIR model for COVID-19 in Indonesia

Numerical simulation to determine the effect of variations in population isolation time on the dynamics of the number of Exposed and Infected Covid-19. The simulation uses the initial values ​​in Table 2 and the parameters in Table 3 with vaccination ν = 50%. The numerical simulation results of the Covid-19 spreading model are presented in Fig. 6, Fig. 7

Fig. 6.

Fig 6

Variation in the number of population Exposed (E) for different values of β.

Fig. 7.

Fig 7

Variation in the number of population Infected (I) for different values of β.

Based on Fig. 6, the number of Exposed populations immediately decreases if they are isolated for 3 days, but the number of COVID-19 infected populations in Indonesia has increased dramatically and only takes three days to reach a peak of 34,000 people. Then, if isolation of Suspected COVID-19 is carried out for 7 days, the number of Exposed populations decreases after the fourth day with the population infected with COVID-19 in Indonesia experiencing a not very high increase and reaching a peak on the sixth day with the number sufferers of COVID-19 around 32,000 people. Furthermore, if isolation of Suspected COVID-19 is carried out for 14 days, the number of Exposed populations decreases after the seventh day with the population infected with COVID-19 in Indonesia experiencing a smaller increase and reaching a peak on the eighth day with the number of patients COVID-19 around 29,000 people. This shows that isolation is very influential in increasing the number of population infected with COVID-19, so isolation is very necessary to do with Suspected COVID-19 population in Indonesia.

3.3.1.2. Simulation 2 of the SEIR model for COVID-19 in Indonesia

Numerical simulation to determine the effect of variations in population isolation time on the dynamics of the number of Suspected and Recovered Covid-19 in Indonesia. The simulation uses the initial values ​​in Table 2 and the parameters in Table 3 with the value β = 14 days. The numerical simulation results of the Covid-19 spreading model are presented in Fig. 8, Fig. 9 .

Fig. 8.

Fig 8

Variation in the number of population Suspected (S) for different values of ν.

Fig. 9.

Fig 9

Variation in the number of population Recovered (R) for different values of ν.

Based on Fig. 8, by giving 3% vaccine, the number of Suspected populations requires a long time to decrease, as well as the number of populations recovered from COVID-19 in Indonesia, the number is very small and the duration is quite long as shown in Fig. 9. Then, if the vaccine is 50%, then the number of Suspected populations requires a short amount of time to decrease, with the number of people recovered of COVID-19 in Indonesia being large, around 60,000 people with a short duration of time as shown in Fig. 8. Furthermore, if by giving a vaccine of 100%, then the number of Suspected populations decreases in a very short time and the number of people recovering of COVID-19 in Indonesia is becoming more that around 6200 people with a very short duration of time as in Fig. 8. This shows that the giving of vaccines in the Suspected group is very influential in increasing the total population of Recovered COVID-19 is so necessary to provide vaccines conducted on Suspended COVID-19 populations in Indonesia.

3.4. Discussion

The SIR and SEIR models [8,10,17] developed a tuberculosis (TB) transmission model, conducted analyzes and predicted the number of TB cases in South Sulawesi. Then [18,19] built a Dengue Fever (DHF) transmission model, conducted an analysis and predicted the number of Dengue Fever cases in South Sulawesi. The COVID-19 spreading model conducted by [20] is a SEIRV model in the Wuhan, China by considering environmental factors, analysis and simulation models using data on the number of COVID-19 cases in Wuhan. This SEIRV model does not consider vaccination and isolation factors as parameters in the model, while the results of this study build the COVID-19 spreading model by considering vaccination and isolation periods in the COVID-19 population in Indonesia. Analysis of the model also uses the method [9] to obtain the basic reproduction numbers. In contrast to [17,18,19] who used Maple to predict the number of TB and DHF cases, the results of this study use Mathematica to predict the number of patients with COVID-19 in Indonesia in the form of numerical simulation. Results of the simulation of the SEIR model for COVID-19 spreading provided information and predictions on the number of COVID-19 cases in Indonesia. The results of this simulation is very helpful in improving the ability of the strategy in guarding the number of COVID-19 cases in Indonesia.

4. Conclusion

Based on the results of the study, it was concluded that the SEIR model could be a reference model for the spread of COVID-19 in Indonesia. Analysis of the model provides an overview of global stability in the spread of COVID-19 and also provides information if Indonesia is in COVID-19 endemic status. Then the simulation results provide a predictive picture of the number of COVID-19 cases in Indonesia and also show that vaccines can accelerate COVID-19 healing and the isolation period can slow the spread of COVID-19 in Indonesia. The results obtained can be used as a reference for early prevention of the spread of COVID-19 in Indonesia.

CRediT authorship contribution statement

Suwardi Annas: Conceptualization, Methodology. Muh. Isbar Pratama: Software, Writing - review & editing. Muh. Rifandi: Data curation. Wahidah Sanusi: Supervision, Validation. Syafruddin Side: Conceptualization, Writing - original draft.

Declaration of Competing Interest

All authors declare no conflicts of interest in this paper.

Acknowledgements

We would like thank to UNM 2020 for financial support, also thanks to Dikti for support this research.

References


Articles from Chaos, Solitons, and Fractals are provided here courtesy of Elsevier

RESOURCES