Efficient and flexible methods for simulating models of time since infection

Phys Rev E. 2021 Aug;104(2-1):024410. doi: 10.1103/PhysRevE.104.024410.

Abstract

Epidemic models are useful tools in the fight against infectious diseases, as they allow policy makers to test and compare various strategies to limit disease transmission while mitigating collateral damage on the economy. Epidemic models that are more faithful to the microscopic details of disease transmission can offer more reliable projections, which in turn can lead to more reliable control strategies. For example, many epidemic models describe disease progression via a series of artificial stages or compartments (e.g., exposed, activated, infectious, etc.) but an epidemic model that explicitly tracks time since infection (TSI) can provide a more precise description. At present, epidemic models with compartments are more common than TSI models, largely due to the higher computational cost and complexity typically associated with TSI models. Here, however, we show that with the right discretization scheme a TSI model is not much more difficult to solve than a compartment model with three or four stages for the infected class. We also provide a perspective for adding stages to a TSI model in a way that decouples the disease transmission dynamics from the residence time distributions at each stage. These results are also generalized for age-structured TSI models in an Appendix. Finally, as proof of principle for the efficiency of the proposed numerical methods, we provide calculations for optimal epidemic control by nonpharmaceutical intervention. Many of the tools described in this paper are available through the software package pyross.