A Compartmental Epidemiological Model applied to the Covid-19 Epidemic
Olivier Boulant, Anne-Flore Baron, Nicolas Vayatis, Ivan Panico
⚠ This is a preprint. It may change before it is accepted for publication.


The objective of this work is to provide a sophisticated but accessible compartmental epidemic model. Our algorithm is highly inspired from the compartmental model developed by Sofonea and al. This model has been used as a reference for several working groups in France during the Covid-19 crisis. Each individual is allocated to a compartment according to her age, her current state with respect to the disease, as well as the length of time she has been in that state. The model then reproduces the mechanisms of transition from one state to another: mathematically, this translates into a system of recurrence relations. It captures how much individuals interact with one another through a parameter that estimates compliance with hygiene measures and lifestyle habits. The present work aims to make the code available and give control to users so that they are able to test the model in total transparency. Focus has been put on reproducibility and explanation of the various parameters. The hard-coded parameters correspond to the data for the Covid-19 epidemic in France.