Numerical Solution Of The SIRV Model Using The Fourth-Order Runge-Kutta Method
on
Jurnal Matematika Vol. 13, No.2, Desember 2023, pp. 105-115
Article DOI: 10.24843/JMAT.2023.v13.i02.p164
ISSN: 1693-1394
Numerical Solution Of The SIRV Model Using The Fourth-Order Runge-Kutta Method
Nona Tjie Sapulette
Department of Mathematics, Faculty of Mathematics and Natural Sciences, Pattimura University e-mail: nonatjie72@gmail.com
Yopi Andry Lesnussa
Department of Mathematics, Faculty of Mathematics and Natural Sciences, Pattimura University e-mail: yopi_a_lesnussa@yahoo.com
Monalisa E. Rijoly
Department of Mathematics, Faculty of Mathematics and Natural Sciences, Pattimura University e-mail: engellinemonalisa@gmail.com
Abstract: This study aimed to predict the spread of the Covid-19 virus in Maluku Province using the fourth-order Runge-Kutta method. The mathematical model of the spread of the Covid-19 virus is a system of differential equations which includes Susceptible (S) variables, namely human subpopulations that are susceptible to Covid-19 virus infection, Infected (I), namely human subpopulations infected with the Covid-19 virus, Recovered (R) namely subpopulation of people who have recovered and Vaccination (V) namely a subpopulation that has been vaccinated and is immune to the Covid-19 virus, used as initial values. The values of k, a, β, γ, ψ, μ, μc are parameter values that are numerically solved by the fourth-order Runge-Kutta method performed for 24 literations with h = 0,01. Data were obtained from the Maluku Provincial Health Office from March 2022 - November 2022. Based on the data obtained, the average of the data is used as the initial value, where S = 198.890, Z = 204, R = 172, and V = 7.693. The initial and parameter values were substituted into the numerical solution and simulated using Matlab. The rate value of each class for the next 24 months for the Susceptible (S), Infected (I), and Recovered (R) classes has decreased until it approaches zero equilibrium. It shows that the subpopulation of the three classes no longer exists, and the Vaccinated (V) class has increased significantly because almost all of the population has been vaccinated in the next 24 months. It shows that after an individual is vaccinated, he does not return to being vulnerable.
Keywords: Epidemic Model, Covid-19, Vaccination, Fourth Order Runge-Kutta Method, Numerical Solution.
Coronaviruses encompass a family of viruses known to induce a spectrum of illnesses, ranging from common colds to more severe conditions such as acute respiratory syndrome (SARS). The identification of Severe Acute Respiratory Syndrome Coronavirus 2 (SARS-CoV-2) as the causative agent for a cluster of pneumonia cases in Wuhan, China, was
reported by Chen et al. (2020) in late 2019. Subsequently, the virus disseminated not only within China but also globally. By February 2020, the World Health Organization (WHO) officially declared coronavirus disease 2019 (COVID-19) as a worldwide pandemic. (Situation Report-51 SITUATION IN NUMBERS Total and New Cases in Last 24 Hours, n.d.)
There has been no cure found for Covid-19, so vaccines are one of the new initiatives launched to strengthen one's immunity. The emergence of vaccines has given many people hope to be free from the plague soon. Vaccination aims to activate antibodies so that they are immune to disease or only suffer from the mild disease (Liu et al., 2022). The mathematical model was first constructed by Kermack and Mckendrick (Kermack & Mckendrick, 1927).
Therefore, more and more researchers are considering mathematical models in solving this Covid-19 spread case. Ndairou et al. also developed a mathematical modeling system to study the spread of COVID-19 in Wuhan, China (Ndaïrou et al., 2020). Prem et al. investigated the status of COVID-19 in Wuhan (Prem et al., 2020). In another analysis, Hellewell et al. identified successful isolation techniques for COVID-19 (Hellewell et al., 2020). Kucharski et al. proposed a mathematical model-based analysis of COVID-19, where the authors considered all positive cases in Wuhan, China, until March 5, 2020 (Kucharski et al., 2020). Liu et al. Examined the possible numerical assessment of the early reproductive rate of COVID-19 in their research. (Liu et al., 2020) Fanelli and Piazza utilized mathematical modeling to explore and forecast the onset of COVID-19 in the three most impacted countries in March 2020 (Fanelli & Piazza, 2020). In a recent study, Chakraborty and Ghosh (2020) explored a hybrid ARIMA-WBF model for predicting the spread of COVID-19 in various countries worldwide. Shereen et al. (2020) delved into the characteristics, regional impact, and distribution of coronavirus within the human population. On a related note, Tahir et al. (2019) focused on investigating Middle East Respiratory Syndrome (MERS) caused by a coronavirus in humans. Additionally, Zhao and Chen (2020), as mentioned by Zhao et al., contributed to the study.Utilized mathematical modeling to examine the scope of the coronavirus pandemic. Shim et al. extended their study by investigating the transmission dynamics of 2019-nCoV in South Korea (Shim et al., 2020). Nuraini, N. et al., in their study, predicted that the end of endemic transmission of Covid-19 in Indonesia would end in April 2020, and the total number of cases would exceed 8000 (Nuraini et al., 2020). In the research, Nesteruk formulated an SIR epidemic model, statistically analyzed the parameters employed in the suggested model, and demonstrated strategies for managing these infections. (Nesteruk, 2020). Zu et al. used the sensitivity analysis method (Zu et al., 2020). They conducted predictions on the epidemic trend and transmission risk associated with COVID-19, assessing the effectiveness of various intervention strategies. Tang et al. (2020) specifically delved into the efficacy of quarantine and isolation measures, thereby determining the trajectory of the COVID-19 epidemic in the later stages within China. Ahmed et al. analyzed the mathematical model of COVID-19 in their study using numerical approaches and logistic models. They proposed three numerical techniques to solve the equation: the Euler method, second-order (RK2), and fourth-order (RK4) Runge-Kutta method (Ahmed et al., 2020). In another study by Okuonghae and Omame, they used numerical simulation to investigate the
effect of control measures, especially social distancing, mask use, and case detection (contact tracing and subsequent testing) on COVID-19 (Okuonghae & Omame, 2020). Meanwhile, Foy et al. used the SEIR model to evaluate age-specific vaccine distribution strategies in India (Foy et al., 2021). On the other hand, research on an effective vaccine against COVID-19 continues at full speed. Several academic studies have been conducted in this context. Kaur and Gupta pointed out in their study that different types of vaccine strategies have been developed against COVID-19 and provided an overview of research to find an effective vaccine against the novel coronavirus affecting the global world, economy, health, and human life (Kaur & Gupta, 2020)
In this study, a new model is introduced that refers to the modified model (Rijoly et al., 2022) in the form of adding a new variable of vaccine subpopulation class that shows the individuals who have been vaccinated. The benefit of vaccines for the human body is to stimulate the immunity of the human body and to protect them from Covid-19 viruses. Concentrating on the model, this study endeavors to identify the equilibrium points for each compartment in both disease-free and endemic states. Additionally, the research explores the stability of these equilibrium points obtained. (Sapulette, Lesnussa & Rijoly, 2023). The last study was to use the numerical simulation for this model.
This type of research is quantitative. The data used in this study were sourced from the Maluku Provincial Health Office and the Maluku Provincial Statistics Agency. The data required includes the number of subpopulations in Maluku Province, the number of subpopulations born, the number of human subpopulations susceptible to Covid-19 infection, the number of human subpopulations who have been infected with Covid-19, the number of human subpopulations who have recovered or who have become immune to Covid-19, the number of human populations who died from Covid-19 infection, The count of subpopulations that have received vaccinations and developed immunity to Covid-19, along with the life expectancy of individuals in Maluku Province in the year 2022.
The research steps are as follows:
-
1. Collecting data
-
2. Finding the parameters of the model that has been made
-
3. Inputting parameter values in the model based on the data obtained
-
4. Solving the SIRV model with fourth-order Runge-Kutta.
-
5. Numerical simulation using Matlab
-
6. Drawing conclusions on the numerical solution of the SIRV model using fourthorder Runge-Kutta.
The SIRV model described in this research consists of 4 subpopulations, namely subpopulation S (Susceptible human subpopulation), subpopulation I (Human subpopulation
that has been infected with Covid-19), Population R (Human subpopulation that has recovered from Covid-19), and subpopulation V (Vaccinated human subpopulation) with the following assumptions (Sapulette, Lesnussa & Rijoly, 2023):
-
a. The natural mortality rate was present in each subpopulation and was assumed equal to μ.
-
b. The susceptible subpopulation (S) might increase due to births, which was assumed to be k.
-
c. μc is a death rate due to the interaction of individuals in the susceptible subpopulation (S) with individuals in the infected subpopulation (I) cause by Covid-19.
-
d. Individuals in the Infected (I) subpopulation moved to the Recovered (R) subpopulation with a recovery rate of β because they received treatment.
-
e. Those in the Recovered (R) category would shift to the Vaccination (V) subgroup as part of the process of receiving vaccination to reinforce their immunity.
-
f. Individuals within the susceptible subpopulation (S) may also choose to get vaccinated to avoid contracting Covid-19, with a vaccination rate equivalent to ψ.
-
g. Those who had recovered from Covid-19 and received vaccination would no longer be susceptible to the virus.
Using these assumptions, the illustration of the spread of Covid-19 is diagrammatically depicted in the compartmental section, as indicated in Figure 1.

Figure 1. SIRV model
We construct a mathematical model of Covid-19 with respect to the above diagram. We
write it as the following equations.
^t = k- μS - aSI - ψS
⅛ = aSI-(μc+μ)I-βI
^ = βI-μR-γR
^ = γR-μV + ψS
(1)
-
(2)
-
(3)
(4)
Numerical simulation of the SIRV model used the Fourth Order Runge-Kutta Method in predicting the spread of Covid-19 with vaccination in Maluku Province. The parameter values used in this study are as follows.
1.
Individual birth rate
Number of babies born k(t) = m—7----TΓ~
Total resident population
2.
Rate of susceptible individuals becoming infected individuals
The average number of infected patients a(t) =---------—7---777---------------
number of the population
-
3. The recovery rate of infected individuals
The average number of cured patients
The average number of infected patients
-
4. Vaccination rate of individuals before the infection
Ψ(t) =
Average number of patients vaccinated before infection number of population
-
5. Vaccination rate of individuals after infection
Y(t) =
Average number of patients vaccinated after infection average number of infected patients
-
6. Natural mortality rate
1 μ = —7--------- Life Expectancy
-
7. The death rate due to Covid-19 infection
The average number of patients who died from infection he =-----------------------;----7—7----;------------------
average number of infected patients
The natural mortality rate of individuals can be computed by considering the life expectancy of the population in Maluku Province. Data obtained from the Central Bureau of Statistics of Maluku Province for the year 2022 indicates that the life expectancy of individuals in this region was 66.09 years. (Statistics Agency of Maluku Province, 2023).
Based on the calculation of the parameter values above, the parameter values used in determining the numerical solution in the SIRV model for the spread of the Covid-19 virus with vaccination are obtained which are summarized in Table 1. below:
Table 1. Parameter Estimation
Parameters |
Definition |
Value |
k |
Rate of individual births |
0,01676 |
a |
The rate at which individuals who are susceptible become infected. |
0,00011 |
β |
The rate at which individuals who are infected recovery |
0,84314 |
y |
The rate at which individuals receive vaccination following infection |
0,84314 |
^ |
The rate at which individuals are vaccinated prior to infection |
0,00404 |
k |
The rate of natural death among individuals. |
0,00126 |
^c |
The rate of death attributed to Covid-19 infection |
0,01471 |
Simulation of the SIRV model used the Fourth Order Runge-Kutta method. This simulation was done by substituting the initial value in the form of secondary data and parameter values that had been determined. The data used in the simulation is presented in the following table 2:
Table 2. Covid-19 Patient Data and Vaccination Data of Maluku Province for the
Period March 2022 - November 2022
Date |
Variables | |||
S |
I |
R |
V | |
March 1 - 31, 2022 |
1.834.651 |
1.195 |
1.134 |
25.646 |
April 1 - 30, 2022 |
1.850.026 |
75 |
65 |
12.460 |
May 1 - 31, 2022 |
1.858.310 |
43 |
24 |
4.249 |
June 1 - 30, 2022 |
1.855.491 |
25 |
22 |
7.088 |
July 1 - 31, 2022 |
1.858.351 |
44 |
14 |
4.217 |
August 1 - 31, 2022 |
1.858.644 |
112 |
65 |
3.805 |
September 1 - 30, 2022 |
1.854.910 |
97 |
73 |
7.546 |
October 1 - 31, 2022 |
1.862.145 |
56 |
42 |
383 |
November 1 - 30, 2022 |
1.858.489 |
186 |
111 |
3.840 |
TOTAL |
1.790.009 |
1.833 |
1.550 |
69.234 |
Average |
198.890 |
204 |
172 |
7.693 |
Based on data obtained at the Health Office of Maluku Province from March to November 2022, it is known that the average subpopulation S (Susceptible) is 198,890 peo-
ple, subpopulation I (Infected) are 204 people, subpopulation R (Recovered) are 172 people, and subpopulation V (Vaccination) is 7,693 people. Therefore, the initial value is obtained as in table 3.
Table 3. Initial Values
Variables |
Value |
Description |
S1 |
198.890 |
Data on the number of human subpopulations susceptible to Covid-19 in the Maluku Provincial Health Office |
Ii |
204 |
Data on the number of human subpopulations that have been infected with Covid-19 at the Maluku Provincial Health Office |
R1 |
172 |
Data on the number of human subpopulations that have recovered after Covid-19 at the Maluku Provincial Health Office |
V1 |
7.693 |
Data on the number of human subpopulations that have received vaccinations at the Maluku Provincial Health Office |
The results of iteration of numerical solutions using the Fourth Order Runge-Kutta method up to t = 24 months using Matlab. The iteration results for the rate of susceptible individuals S, I, R, and V are shown in the following graph.
Figure 2. Subpopulation Rate Graph of Vulnerable Individuals (S)
From Figure 2. We can see that the predicted rate of the vulnerable individual class (S) has decreased. In the 24th month, the number of vulnerable individuals is no longer there because many individuals have been vaccinated to strengthen immunity so as not to become vulnerable.
Figure 3. Subpopulation Rate Graph of Infected Individuals (I)
Interpreting Figure 3, we can see that the predicted rate of the infected individual class (I) decreased before the 5th month. Because vulnerable individuals are reduced and absent, infected individuals are also absent.
Figure 4. Subpopulation Rate Graph of Recovered Individuals (R)
Based on Figure 4, we can see that the prediction of the class rate of recovered individuals (R) has decreased before the 5th month because the number of infected individuals has been declared absent, so those who recover from Covid-19 also do not exist.
Figure 5. Subpopulation Rate Graph of Vaccinated Individuals (V)
Based on Figure 5, we can see that that the predicted rate of vaccinated classes (V) increases before month five because the number of vaccinated individuals is increasing in Maluku Province.
The conclusions of this study are as follows:
The Fourth Order Runge-Kutta method was used to numerically solve the SIRV model, simulating the spread of the Covid-19 virus. This SIRV model comprises Susceptible, Infected, Recovered, and Vaccinated populations. From the model, the Matlab Software iteration calculation was carried out with the initial value of S0 = 198.890, ∕0 = 204, Λ0 = 172, dan V0 = 7.693. Then, iterations were carried out starting from t0 = 0 month to t24 = 24 months.
Prediction using Matlab Software obtained results where, in the next 24 months, vulnerable individuals (S), infected individuals (1), and recovered individuals (R) no longer exist, and vaccinated individuals amounted to 197,490 people. It means that the subpopulations (S), (1), and (R) will decrease slowly for the next 24 months while the population (V) will increase slowly for the next 24 months. So, it can be inferred that the spread of Covid-19 in Maluku Province is influenced by the vaccination rate.
Reference
Ahmed, A., Salam, B., Mohammad, M., Akgül, A., Akgül, A., & Khoshnaw, S. H. A. (2020). Analysis coronavirus disease (COVID-19) model using numerical approaches and logistic model. https://doi.org/10.3934/bioeng.2020013
Fanelli, D., & Piazza, F. (2020). Analysis and forecast of COVID-19 spreading in China, Italy and France. Chaos, Solitons and Fractals, 134.
https://doi.org/10.1016/j.chaos.2020.109761
Foy, B. H., Wahl, B., Mehta, K., Shet, A., Menon, G. I., & Britto, C. (2021). Comparing COVID-19 vaccine allocation strategies in India: A mathematical modelling study. International Journal of Infectious Diseases, 103, 431–438.
https://doi.org/10.1016/j.ijid.2020.12.075
Kaur, S. P., & Gupta, V. (2020). COVID-19 Vaccine: A comprehensive status report. In Virus Research (Vol. 288). Elsevier B.V. https://doi.org/10.1016/j.vi-rusres.2020.198114
Kermack, W. O., & Mckendrick, A. G. (1927). A Contribution to the Mathematical Theory of Epidemics. In Source: Proceedings of the Royal Society of London. Series A, Containing Papers of a Mathematical and Physical Character (Vol. 115, Issue 772).
Leleury, Z. A., Rijoly, M. E., & Risamena, F. M. (2022). ANALISIS STABILITAS MODEL SIR (SUSCEPTIBLES, INFECTED, RECOVERED) PADA PENYEBARAN VIRUS COVID-19 DI KOTA AMBON. Jurnal Riset dan Aplikasi Matematika (JRAM), 6(2), 159-169.
Liu, Y., Gayle, A. A., Wilder-Smith, A., & Rocklöv, J. (2020). The reproductive number of COVID-19 is higher compared to SARS coronavirus. Journal of Travel Medicine, 27(2). https://doi.org/10.1093/jtm/taaa021
Liu, Y., Jian, S., & Gao, J. (2022). Dynamics analysis and optimal control of SIVR epidemic model with incomplete immunity. Advances in Continuous and Discrete Models, 2022(1). https://doi.org/10.1186/s13662-022-03723-7
Ndaïrou, F., Area, I., Nieto, J. J., & Torres, D. F. M. (2020). Mathematical modeling of COVID-19 transmission dynamics with a case study of Wuhan. Chaos, Solitons and Fractals, 135. https://doi.org/10.1016/j.chaos.2020.109846
Nuraini, N., Khairudin, K., & Apri, M. (2020). Modeling Simulation of COVID-19 in Indonesia based on Early Endemic Data. Communication in Biomathematical Sciences, 3(1), 1–8. https://doi.org/10.5614/cbms.2020.3.1.1
Okuonghae, D., & Omame, A. (2020). Analysis of a mathematical model for COVID-19 population dynamics in Lagos, Nigeria. Chaos, Solitons and Fractals, 139.
https://doi.org/10.1016/j.chaos.2020.110032
Rijoly, M., Muin, R. F., Rumlawang, F. Y., & Tomasouw, B. P. (2022). Solusi Numerik Model Sir Dengan Menggunakan Metode Runge-Kutta Orde Empat Dalam Prediksi Penyebaran Virus Covid-19 Di Provinsi Maluku. Tensor: Pure and Applied Mathematics Journal, 3(2), 93-100.
Rijoly, M. E., Rumlawang, F. Y., & Maurits, S. (2023). Solusi Numerik Model Penyebaran Virus Covid-19 Dengan Vaksinasi Menggunakan Metode Runge-Kutta
Fehlbrg Orde Lima Pada Provinsi Maluku. Tensor: Pure and Applied Mathematics Journal, 4(2), 93-104.
Sapulette, N. T., Lesnussa, Y. A., & Rijoly, M. E. (2023). DYNAMICS OF A SIRV MODEL FOR THE SPREAD OF COVID-19 IN MALUKU PROVINCE. BA-REKENG: Jurnal Ilmu Matematika dan Terapan, 17(3), 1673-1684.
Situation Report-51 SITUATION IN NUMBERS total and new cases in last 24 hours. (n.d.).
Statistics Agency of Maluku Province. (2023). Life Expectancy at Birth in 2022 in Maluku Province.
Zu, J., Li, M. L., Li, Z. F., Shen, M. W., Xiao, Y. N., & Ji, F. P. (2020). Transmission patterns of COVID-19 in the mainland of China and the efficacy of different control strategies: a data- And model-driven study. Infectious Diseases of Poverty, 9(1). https://doi.org/10.1186/s40249-020-00709-z
115
Discussion and feedback