Updated 29 Dec 2020
This work presents open-source computer simulation programs developed for simulating, tracking, and forecasting the COVID-19 outbreak. The programs are built in Simulink and MATLAB (two separate but related programs) and are aimed to be used for educational and research studies. It is not directed for any other reason such as medical or commercial purposes. The mathematical models used in this program are the SIR, SEIR, and SEIRD models represented by a set of differential-algebraic equations. It can be easily modified to develop new models for the problem. The package simulates all the outbreaks around the world in a generalized, easy, and efficient way. The infection and recovery rate functions are treated as constant, variable, or a combination of the two. In addition, an adaptive neuro-fuzzy inference system is employed and proposed to train the model and predict its output. As with any other open-source programs, this package comes without any guarantee. Please use it at your own risk.
A simple script was coded to extract the data for each country from the excel sheet provided by the websites below and updated daily. you only need to enter the country name and run the model. You can easily edit the programs for your own use. All worldwide countries are included.
SimCOVID consists of two separate but related programs:
Several MATLAB programs with different versions are available using various models including SIR and SEIR representation. The programs are used for:
(1) parameter estimation
(2) tracking existing data
(3) forecasting future spread
You can edit the codes, add new differential equations, define new functions for the inputs such as the infection and recovery rates, and build a GUI for your model and use.
The same basic models created in MATLAB are available in Simulink with a block diagram display. In addition, an adaptive neuro-fuzzy inference system is created to replace the differential equations in the model and predict the future outbreak. For those who have different versions of Simulink, the same programs were saved in the following versions: R2018a, R2018b, R2019a, R2019b, and R2020a.
Ismael Abdulrahman (2022). SimCOVID 6.0 (https://www.mathworks.com/matlabcentral/fileexchange/75025-simcovid-6-0), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!