Skip to content

paul188/ReproductionNbSim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SECIHURD Model - ReproductionNbSim

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.


🚀 Getting Started

Prerequisites

  • Visual Studio Community (with C++ Desktop Development)
  • CMake (version 3.10+)
  • Python 3.x (for fitting and visualization)

Build Instructions

  1. Build Libraries: In each subfolder within ./libs/ (e.g., RungeKuttaLib):
    • Create a build folder.
    • Run cmake -S .. -B . inside that folder.
    • Open the generated .sln file in Visual Studio and build the solution.
  2. Build Main Model:
    • Create a build folder in the root ReproductionNbSim directory.
    • Run cmake -S .. -B . inside.
    • Open the .sln and build the project.
  3. Link Dependencies:
    • Copy the .dll files generated in the library build folders into ReproductionNbSim/build/Debug.

🛠 Usage

Command Line Interface

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]

About

Simulation of ODEs in the paper: Estimate of the development of the epidemic reproduction number Rt from Coronavirus SARS-CoV-2 case data and implications for political measures based on prognostics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors