Agent-based simulation of epidemic incorporating real data
DOI:
https://doi.org/10.36560/19420262214Palavras-chave:
epidemics, computer simulation, agent based models, small-world networksResumo
The spread of infectious diseases in large urban populations is strongly influenced by individual-level contact heterogeneity and network structure. Agent-based models combined with network representations can capture this complexity beyond the homogeneous mixing assumptions of classical compartmental models. We developed an agent-based simulator using a Watts-Strogatz small-world network to represent interaction, and variable contact probabilities to reflect patterns observed in data. The model was programmed to generate execution logs summarizing agent histories. The software was tested with actual data from a covid outburst in Curitiba, Brazil, a city of approximately 1.77 million inhabitants, covering a period of 240 days. Contact probabilities were adjusted in eight intervals optimised against actual data using the nomad optimization tool. Three counterfactual scenarios were evaluated: public transport restrictions, maintained public transport capacity, and delayed school closure. The model achieved a good fit to actual data (RMSE = 9125; R² = 0.767) and sensitivity analysis showed that contact probability perturbations during the first 150 days produced the largest effects. The contact probabilities exhibited a temporal pattern consistent with changes in social behaviour and policy interventions. Counterfactual experiments showed strong nonlinear responses. The model demonstrated that the integration of demographic realism, small-world network topology, stochastic simulation, and data-driven calibration produced a computationally feasible framework that reproduces empirical epidemic dynamics of a large urban setting. The simulation outputs (contagion trees, secondary-case distributions, serial intervals) provide epidemiological information not accessible from compartmental approaches, supporting decision making for public health planning and epidemic preparedness.
Referências
Adiga A, et al. Advancing calibration for stochastic agent-based models in epidemiology with Stein variational inference and Gaussian process surrogates. arXiv:2502.19550; 2025.
Ahmed A, Greensmith J, Aickelin U. Variance in System Dynamics and Agent Based Modelling Using the SIR Model of Infectious Disease. arXiv:1307.2001; 2013.
Ajelli M, Gonçalves B, Balcan D, et al. Comparing large-scale computational approaches to epidemic modeling: Agent-based versus structured metapopulation models. BMC Infect Dis. 2010;10:190.
Audet C, Le Digabel S, Montplaisir VR, Tribes C. Algorithm 1027: NOMAD Version 4: Nonlinear Optimization with the MADS Algorithm. ACM Trans Math Softw. 2022;48(3):1-22.
Broeke, G., Van Voorn, G., Ligtenberg, A. Which sensitivity analysis method should I use for my agent-based model?. Journal of Artificial Societies and Social Simulation, 2016;19(1), 5.
Bostanci I, Conrad T. Integrating Agent-Based and Compartmental Models for Infectious Disease Modeling: A Novel Hybrid Approach. JASSS. 2025;28(1):5.
Diallo SY, Wildman WJ, Hodulik G, et al. Computational simulation is a vital resource for navigating the COVID-19 pandemic. Simul Healthc. 2021;16(5):297-310.
Duan W, Fan Z, Zhang P, Guo G, Qiu X. Mathematical and computational approaches to epidemic modeling: a comprehensive review. Front Comput Sci. 2015;9(5):806-26.
Fadikar A, et al. Towards improved uncertainty quantification of stochastic epidemic models using Sequential Monte Carlo. arXiv:2402.15619; 2024.
Ferretti L, Ledda A, Wymant C, Zhao L, Ledda V, Abeler-Dörner L, et al. The timing of COVID-19 transmission. MedRxiv. 2020;2020-09.
Firth JA, Hellewell J, Klepac P, et al. Using a real-world network to model localized COVID-19 control strategies. Nat Med. 2021;27:1015-1021.
Großmann G, Backenköhler M, Wolf V. Heterogeneity matters: Contact structure and individual variation shape epidemic dynamics. PLoS One. 2021;16(7):e0250050.
IPARDES, Instituto Paranaense de Desenvolvimento Econômico e Social. URL https:// www.ipardes.pr.gov.br/ Pagina/ Tabelas-Censos-Demograficos.
Marion G, Hadley L, Isham V, et al. Challenges for modelling interventions for future pandemics. Epidemics. 2022;38:100546.
Moein S, Nickaeen N, Roointan A, et al. Inefficiency of SIR models in forecasting COVID-19 epidemic: a case study of Isfahan. Sci Rep. 2021;11(1):4725.
Silva P. C. L., Batista P. V. C., Lima H. S., COVID-ABS: An agent-based model of COVID-19 epidemic to simulate health and economic effects of social distancing interventions. Chaos Solitons Fractals. 2020;139:110088.
Tracy M, Cerdá M, Keyes KM. Agent-Based Modeling in Public Health: Current Applications and Future Directions. Annu Rev Public Health. 2018;39(1):77-94.
UFPR, Universidade Federal do Paraná. Dados abertos. URL https://dadosabertos.c3sl.ufpr.br / curitiba / CasosCovid19.
Vespignani A, Tian H, Dye C, et al. Modelling COVID-19. Nat Rev Phys. 2020;2:279-281.
Volz EM, Miller JC, Galvani A, Meyers LA. Effects of heterogeneous and clustered contact patterns on infectious disease dynamics. PLoS Comput Biol. 2011;7(6):e1002042.
Watts DJ, Strogatz SH. Collective dynamics of 'small-world' networks. Nature. 1998;393(6684):440-2.
Willem L, Verelst F, Bilcke J, et al. Lessons from a decade of individual-based models for infectious disease transmission: a systematic review (2006-2015). BMC Infect Dis. 2017;17:612.
Downloads
Publicado
Como Citar
Edição
Seção
Licença
Copyright (c) 2026 Scientific Electronic Archives

Este trabalho está licenciado sob uma licença Creative Commons Attribution 4.0 International License.
A revista se reserva o direito de fazer alterações nas regras originais, na ortografia e na ordem gramatical, a fim de manter o idioma de culto padrão, respeitando, no entanto, o estilo dos autores. Os artigos publicados são de propriedade da revista Scientific Electronic Archives, tornando-se sua reimpressão total ou parcial, sujeitos à autorização expressa da direção da revista. A fonte original da publicação deve ser mantida. Os originais não serão devolvidos aos autores. As opiniões expressas pelos autores dos artigos são de sua exclusiva responsabilidade.
The journal reserves the right to make changes to the original rules, spelling and grammatical order, in order to keep the language of worship default, respecting, however, the style of the authors. Articles published are the property of Scientific Electronic Archives magazine, becoming its total or partial reprint, subject to the express authorization of the direction of the journal. The original source of publication should be retained. The originals will not be returned to the authors. Opinions expressed by authors of articles are solely your responsibility.

This journal uses the License Creative Commons Atribuição 4.0 Internacional.
Accepted 2026-05-01
Published 2026-06-17

