Mathematical modeling of infectious diseases has become a key tool for evidence-based decision-making in public health. However, a significant obstacle became apparent during the COVID-19 pandemic. The software landscape for epidemiological simulations is highly fragmented. MEmilio was developed to overcome this hurdle and provide a unified, high-performance software platform for research and practice.
MEmilio combines high computing power with ease of use through a two-tier architecture:
– C++ Simulation Core (High Performance): The core of the software is written in modern, highly optimized C++. It includes custom numerical solvers for ODEs, IDEs, and SDEs, as well as efficient memory and parallelization concepts (shared and distributed memory via OpenMP/MPI). This enables simulations ranging from the local level all the way up to national high-performance computing (HPC) systems.
– Python interface (usability and flexibility): A consistent Python binding enables researchers to perform experiments, calibrations, and data analysis in familiar data analysis environments (e.g., Jupyter Notebooks).
MEmilio uses standardized data structures for spatial data, demographics, and mobility (e.g., commuter flows, travel times). This allows spatial resolutions and population sizes to be seamlessly adjusted and exchanged between different model types. The framework integrates easily with established tools for uncertainty quantification and parameter estimation and supports a wide range of applications—from scenario analysis to calibration. Rigorous software development practices, including extensive unit and continuous integration tests, ensure the framework’s robustness and minimize the risk of errors during its further development.
In summary, by standardizing implementations across different modeling paradigms, MEmilio aims to simplify the reusability and generalization of models, enable well-founded comparisons of implicit assumptions, and accelerate the development of novel approaches that strengthen model-based preparedness for disease outbreaks.
For more information, visit: https://www.nature.com/articles/s41598-026-66481-6 and the MONID Community on Zenodo: https://zenodo.org/records/22143555.