A C++ and Python-based simulation tool developed for a seminar on the Mathematical Modelling of Infectious Diseases. This project reproduces the SEIR-extended compartmental model (SECIHURD) used to analyze the COVID-19 epidemic in Italy.
Reference Paper: Modeling the COVID-19 epidemic in Italy
Important
This version currently supports Windows only due to specific filesystem and DLL handling.
- Visual Studio Community (with C++ Desktop Development)
- CMake (version 3.10+)
- Python 3.x (for fitting and visualization)
- Build Libraries: In each subfolder within
./libs/(e.g.,RungeKuttaLib):- Create a
buildfolder. - Run
cmake -S .. -B .inside that folder. - Open the generated
.slnfile in Visual Studio and build the solution.
- Create a
- Build Main Model:
- Create a
buildfolder in the rootReproductionNbSimdirectory. - Run
cmake -S .. -B .inside. - Open the
.slnand build the project.
- Create a
- Link Dependencies:
- Copy the
.dllfiles generated in the library build folders intoReproductionNbSim/build/Debug.
- Copy the
The model.exe simulates 27 days of data (104 timepoints) across 9 compartments.
Execution Format:
model.exe [region] [R1] [R3] [R4] [R5] [R6] [R7] [R8] [alpha] [beta] [rho] [theta] [delta] [d] [InitExposed] [InitCarriers] [TotalPop]