Abstract
In this paper, we show how transport policy decisions regarding vehicle scheduling frequency can affect the pandemic dynamics in urban populations. Specifically, we develop a multi-agent simulation framework to model infection dynamics in complex transportation networks. Our agents periodically commute between home and work via a combination of walking routes and public transit, and make decisions intelligently based upon their location, available routes, and expectations of public transport arrival times. Our infection scheme allows for different levels of contagiousness, as a function of where the agents interact (i.e., inside or outside). The results show that the pandemic’s scale is heavily impacted by the network’s structure, and the decision making of the agents. In particular, the progression of the pandemic greatly differs when agents primarily infect each other in a crowded urban transportation system, opposed to while walking. We also assess the effect of modifying the public transport’s running frequency on the virus spread. Lowering the running frequency can discourage agents from taking public transportation too often, especially for shorter distances. On the other hand, the low frequency contributes to more crowded streetcars or subway cars if the policy is not designed correctly, which is why such an analysis may prove valuable for finding “sweet spots” that optimize the system. The proposed approach has been validated on real-world data, and a model of the transportation network of downtown Toronto, Canada. The used framework is flexible and can be easily adjusted to model other urban environments, and additional forms of transportation (such as carpooling, ride-share and more). This general approach can be used to model contiguous disease spread in urban environments, including influenza or various COVID-19 variants.





















Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.References
Aleman DM, Wibisono TG, Schwartz B (2011) A nonhomogeneous agent-based simulation approach to modeling the spread of disease in a pandemic outbreak. Interfaces 41(3):301–315. https://doi.org/10.1287/inte.1100.0550
Bezanson J, Edelman A, Karpinski S, Shah VB (2017) Julia: a fresh approach to numerical computing. SIAM Rev 59(1):65–98. https://doi.org/10.1137/141000671
Bhadra A, Mukherjee A, Sarkar K (2021) Impact of population density on COVID-19 infected and mortality rate in India. Model Earth Syst Environ 7(1):623–629. https://doi.org/10.1007/s40808-020-00984-7
Bulfone TC, Malekinejad M, Rutherford GW, Razani N (2021) Outdoor transmission of SARS-CoV-2 and other respiratory viruses: a systematic review. J Infect Dis 223(4):550–561. https://doi.org/10.1093/infdis/jiaa742
Cliff OM, Harding N, Piraveenan M, Erten EY, Gambhir M, Prokopenko M (2018) Investigating spatiotemporal dynamics and synchrony of influenza epidemics in Australia: an agent-based modelling approach. Simul Model Pract Theory 87:412–431. https://doi.org/10.1016/j.simpat.2018.07.005
Coşkun H, Yıldırım N, Gündüz S (2021) The spread of COVID-19 virus through population density and wind in Turkey cities. Sci Total Environ 751:141663. https://doi.org/10.1016/j.scitotenv.2020.141663
Cuevas E (2020) An agent-based model to evaluate the COVID-19 transmission risks in facilities. Comput Biol Med 121:103827. https://doi.org/10.1016/j.compbiomed.2020.103827
Currie CS, Fowler JW, Kotiadis K et al. (2020) How simulation modelling can help reduce the impact of COVID-19. J Simul 14(2):83–97. https://doi.org/10.1080/17477778.2020.1751570
Daduna J, Voß S (1996) Efficient technologies for passenger information systems in public mass transit. In: H. Pirkul H, Shaw MJ (eds) Proceedings of the First INFORMS Conference on Information Systems and Technology. INFORMS, Washington, pp 386–391
Dekker MM, van Lieshout RN, Ball RC et al. (2022) A next step in disruption management: Combining operations research and complexity science. Public Transport 14(1):5–26. https://doi.org/10.1007/s12469-021-00261-5
Frias-Martinez E, Williamson G, Frias-Martinez V (2011) An agent-based model of epidemic spread using human mobility and social network information. In: 2011 IEEE Third International Conference on Privacy, Security, Risk and Trust and 2011 IEEE Third International Conference on Social Computing, pp 57–64, https://doi.org/10.1109/passat/socialcom.2011.142
Ge L, Voß S, Xie L (2022) Robustness and disturbances in public transport. Public Transport 14:191–261. https://doi.org/10.1007/s12469-022-00301-8
Gkiotsalitis K, Cats O (2022) Optimal frequency setting of metro services in the age of COVID-19 distancing measures. Transportmetrica A: Transport Sci 18:807–827. https://doi.org/10.1080/23249935.2021.1896593
Hackl J, Dubernet T (2019) Epidemic spreading in urban areas using agent-based transportation models. Future Internet 11(4):92. https://doi.org/10.3390/fi11040092
Hinch R, Probert WJ, Nurtay A et al. (2021) OpenABM-Covid19—an agent-based model for non-pharmaceutical interventions against COVID-19 including contact tracing. PLoS Comput Biol 17(7):e1009146. https://doi.org/10.1371/journal.pcbi.1009146
Hoertel N, Blachier M, Blanco C et al. (2020) Facing the COVID-19 epidemic in NYC: a stochastic agent-based model of various intervention strategies. medRxiv. https://doi.org/10.1101/2020.04.23.20076885
Huang Y, Shen ZM (2021) Optimizing timetable and network reopen plans for public transportation networks during a COVID19-like pandemic. arXiv preprint arXiv:2109.03940, https://doi.org/10.48550/arXiv.2109.03940
Janson S, Luczak T, Rucinski A (2011) Random graphs. Wiley
Kaligotla C, Stevens A, Ozik J et al. (2020) Development of a large-scale synthetic population to simulate COVID-19 transmission and response. In: Bae K, Feng B, Kim S, Lazarova-Molnar S, Zheng Z, Roeder T, Thiesing R (eds) Proceedings of the 2020 Winter Simulation Conference
Kerr CC, Stuart RM, Mistry D et al. (2021) Covasim: an agent-based model of COVID-19 dynamics and interventions. PLoS Comput Biol 17(7):e1009149. https://doi.org/10.1371/journal.pcbi.1009149
Laskowski M, Demianyk BC, Witt J, Mukhi SN, Friesen MR, McLeod RD (2011) Agent-based modeling of the spread of influenza-like illness in an emergency department: a simulation study. IEEE Trans Inf Technol Biomed 15(6):877–889. https://doi.org/10.1109/titb.2011.2163414
Legard Y, Ivey N, Rodriguez A, Wolski J (2020) Utilizing simulation to evaluate shuttle bus performance under passenger counts impacted by COVID-19. In: Bae K, Feng B, Kim V, Lazarova-Molnar S, Zheng Z, Roeder T, Thiesing R (eds) Proceedings of the 2020 Winter Simulation Conference
Liu J, Zhou X (2016) Capacitated transit service network design with boundedly rational agents. Transport Res Part B: Methodol 93:225–250. https://doi.org/10.1016/j.trb.2016.07.015
Löhner R, Antil H, Srinivasan A, Idelsohn S, Oñate E (2021) High-fidelity simulation of pathogen propagation, transmission and mitigation in the built environment. Arch Comput Methods Eng 28(6):4237–4262. https://doi.org/10.1007/s11831-021-09606-6
Macal C, Ozik J, Collier N et al. (2020) CityCOVID: A computer simulation of COVID-19 spread in a large-urban area. In: Bae K, Feng B, Kim S, Lazarova-Molnar S, Zheng Z, Roeder T, Thiesing R (eds) Proceedings of the 2020 Winter Simulation Conference
Müller SA, Balmer M, Neumann A, Nagel K (2020) Mobility traces and spreading of COVID-19. medRxiv. https://doi.org/10.1101/2020.03.27.20045302
Müller SA, Balmer M, Charlton W et al. (2021) Predicting the effects of COVID-19 related interventions in urban settings by combining activity-based modelling, agent-based simulation, and mobile phone data. PLoS ONE 16(10):e0259037. https://doi.org/10.1371/journal.pone.0259037
Obuchi SP, Kawai H, Ejiri M, Ito K, Murakawa K (2021) Change in outdoor walking behavior during the coronavirus disease pandemic in Japan: a longitudinal study. Gait & Posture 88:42–46. https://doi.org/10.1016/j.gaitpost.2021.05.005
Ogden NH, Fazil A, Arino J et al. (2020) Artificial intelligence in public health: Modelling scenarios of the epidemic of COVID-19 in Canada. Canada Communicable Disease Report 46(8), 198, https://doi.org/10.14745/ccdr.v46i06a08
Rahman SM, Ratrout N, Assi K et al. (2021) Transformation of urban mobility during COVID-19 pandemic-lessons for transportation planning. J Transport Health 23:101257. https://doi.org/10.1016/j.jth.2021.101257
Serdar MZ, Koç M, Al-Ghamdi SG (2022) Urban transportation networks resilience: indicators, disturbances, and assessment methods. Sustain Cities Soc 76:103452. https://doi.org/10.1016/j.scs.2021.103452
Shamshiripour A, Rahimi E, Shabanpour R, Mohammadian AK (2020) How is COVID-19 reshaping activity-travel behavior? Evidence from a comprehensive survey in Chicago. Transport Res Interdiscip Perspect 7:100216. https://doi.org/10.1016/j.trip.2020.100216
Shi X, Sun W, Voß S, Jin J (2020) Smart city: a perspective of emergency and resilience at a community level in Shanghai. Computational Logistics, ICCL 2020. Lect Notes Comput Sci 12433:522–536. https://doi.org/10.1007/978-3-030-59747-4_34
Silva PC, Batista PV, Lima HS, Alves MA, Guimarães FG, Silva RC (2020) COVID-ABS: an agent-based model of COVID-19 epidemic to simulate health and economic effects of social distancing interventions. Chaos, Solitons & Fractals 139:110088. https://doi.org/10.1016/j.chaos.2020.110088
Speir C, Negahban A (2020) Analyzing COVID-19 control strategies in metropolitan areas: a customizable agent-based simulation tool. In: Bae K, Feng B, Kim S, Lazarova-Molnar S, Zheng Z, Roeder T, Thiesing R (eds) Proceedings of the 2020 Winter Simulation Conference
Truszkowska A, Behring B, Hasanyan J et al. (2021) High-resolution agent-based modeling of COVID-19 spreading in a small town. Adv Theory Simul. https://doi.org/10.1002/adts.202000277
Wallentin G, Kaziyeva D, Reibersdorfer-Adelsberger E (2020) COVID-19 intervention scenarios for a long-term disease management. Int J Health Policy Manag 9(12):508–516. https://doi.org/10.34172/IJHPM.2020.130
Yao W, Yu J, Yang Y et al. (2022) Understanding travel behavior adjustment under COVID-19. Commun Transport Res 2:100068. https://doi.org/10.1016/j.commtr.2022.100068
Zeng W, Church RL (2009) Finding shortest paths on real road networks: the case for A*. Int J Geogr Inf Sci 23(4):531–543. https://doi.org/10.1080/13658810801949850
Acknowledgements
The research was funded by Natural Sciences and Engineering Research Council of Canada—the NSERC Alliance project with Security Compass entitled “COVID-19: Agent-based framework for modelling pandemics in urban environment”, and complemented with SOSCIP COVID-19 Response Program.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors have no conflicts of interest to declare.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
The majority of the work done by Calum MacRury on this paper was while he was affiliated with the Department of Computer Science at the University of Toronto.
Appendices
Proofs of theorems from Sect. 3
To prove Theorem 3.1, we first prove the following lemma.
Lemma A.1
There exists a function \(\epsilon _{1} = \epsilon _{1}(n) = o(1)\), such that for any \(0 \le t < \tau _{c_f}\), a.a.s. it holds that
Note that \(\epsilon _1\) does not depend on t.
Proof of Lemma A.1
We shall apply a standard form of Chernoff bound [see, for example, Corollary 2.3 in Janson et al. (2011)]. Let \(X \in \text {Bin}(k,p)\) be a random variable with the binomial distribution with parameters k and p, and suppose \(0 < \epsilon \le 3/2\) and \(\mu := \mathbb {E}X = k p\). In this case,
Given \(s \ge 0\) and \(j \in \{1,2\}\), define \(D_{s}^{j}\) as the set of the agents that choose the path \(P_{j}\) on the commute s. Moreover, for \(s \ge 0\), define \(Y_{s}^j\) to be the number of the agents which become infected during commute s while taking \(P_j\). Clearly, \(Y_{s}^j = |D_{s}^j \cap I_{s} \cap \lnot I_{s-1}|\) for \(s \ge 1\). Let us now condition on \(I_t\) and \(D_{t+1}^{j}\) for \(0 \le t < \tau _{c_f}\) and fix agents \(a,b \in [n]\) where \(a \ne b\). Observe then that if \(a \in [n] \setminus I_t\), \(b \in I_t\), and both a and b select \(P_j\) then
To see this, observe that if both agents select path \(P_j\), then agent b infects a provided a and b interact, and their interaction is contagious. This occurs with a probability of precisely \(\beta _{j} \lambda _{j}\). As the agents of \(I_t \cap D_{t+1}^{j}\) infect a independently of one another, we have that
Now, \(\beta _j = b_j/n\), so in particular, \(\beta _j \lambda _j = o(1)\). Thus, if \(a \in [n] \setminus I_t\) and \(a \in D_{t+1}^j\) then
Thus,
To simplify (10), observe that conditional on \(I_t\), the random variables \(|I_t \cap D_{t+1}^j|\) and \(|D_{t+1}^{j} \cap \lnot I_t|\) are distributed as \(\text {Bin}(|I_t|, \alpha _j)\) and \(\text {Bin}( |\lnot I_t|, \alpha _j)\), respectively. Moreover, \(c_{s} n \le |I_t| \le c_{f} n\), as \(0 \le t \le \tau _{c_f}\), so we may apply (8) with, say, \(\epsilon (n):= 1/n^{1/3} =o(1)\) to conclude that a.a.s. \(\ell :=|I_t \cap D_{t+1}^j| = (1+ o(1)) \alpha _j X_{t}\) and \(k:=|\lnot I_t \cap D_{t+1}^j| =(1 + o(1)) \alpha _j (n - X_t)\). Thus, a.a.s.
On the other hand, \(Y_{t+1}^j\) conditional on \(I_t\) and \(D_{t+1}^j\) is distributed as a binomial \(\text {Bin}(k,p)\) with parameters \(k = |D_{t+1}^{j} \cap \lnot I_t|\) and \(p= 1 - (1 - \beta _j \lambda _j)^{|I_t \cap D_{t+1}^j|} = 1 - (1 - \beta _j \lambda _j)^{\ell }\). Moreover, a.a.s.
where the approximation for p follows from (9). As a result, by taking \(\epsilon (n) = 1/n^{1/3}\) and applying (8), we get that a.a.s.
(Formally, one should approximate stochastically lower and upper bound \(Y_{t+1}^j\) by \(\text {Bin}(k_{-},p_-)\) and \(\text {Bin}(k_+,p_+)\) with some deterministic functions \(k_{\pm }\) and \(p_{\pm }\), such that \(p_+/p_- \rightarrow 1\) and \(k_+/k_- \rightarrow 1\) as \(n \rightarrow \infty\).) Thus, a.a.s.,
for each \(j =1,2\). On the other hand, \(X_{t+1} - X_{t} = \sum _{j=1}^{2} Y_{t+1}^j\), and
so the proof is complete. \(\square\)
Proof of Theorem 3.1
Let us set \(A_{i}:= b_i \lambda _i \alpha _i \ge 0\) for \(i =1,2\), and \(A:= \max \{1, A_1, A_2\}\) for convenience. Given \(0 \le t_0 < \tau _{c_f}\), our goal is to show that there exists a function \(\epsilon _0 = \epsilon _0(n) = o(1)\) such that a.a.s.
In order to prove this, we first prove the following implication. Let us take \(0 \le t < \tau _{c_f}\), and assume that \(0 \le \delta = \delta (n) \le 1\) satisfies
and
Under these assumptions, we claim that \(|X_{t+1}/n -\widetilde{x}_{t+1}| \le 5 A \delta\). Observe first that by (14), \(X_t/n \le \widetilde{x}_t + \delta\), so
Now, using the inequality \(1-x \le \exp (-x)\), we get that
for \(z_{1},z_{2} \ge 0\). It follows that
Define \(g(z):= \sum _{i=1}^{2} \alpha _i (1- \exp (- A_i z))\) for \(z \in \mathbb {R}\). Observe then that g(z) is an increasing function of z and so by (14) and (16),
Now, applying (15),
where the latter inequalities follow since \(g(z) \le 1\) for \(z \ge 0\), and by (14) and (17). Yet, \(\widetilde{x}_{t+1}: = \widetilde{x}_t + (1 - \widetilde{x}_t) g(\widetilde{x}_t)\), so
An analogous argument shows that \(X_{t+1}/n \ge \widetilde{x}_{t+1} - 5 A \delta\). Thus, assuming (14) and (15) for \(\delta \le 1\), it follows that
In order to complete the argument, take \(\delta (n) = \epsilon _{3}(n)\), where \(\epsilon _{3} = o(1)\) is from Lemma A.1. Clearly, we may assume that \(5^{t_0} A \delta \le 1\) for n sufficiently large. Now, \(X_{0}/n = \widetilde{x}_0\) by assumption. Moreover, since \(t_0\) is constant, we may apply Lemma A.1 to each \(0 \le t \le t_0\) to ensure that (15) holds a.a.s. for all \(0 \le t \le t_0\) simultaneously. Thus, proceeding by induction, we get that a.a.s.
Since \(t_{0}\) is a constant, \(5^{t_0} A \delta = o(1)\), so the argument is complete. \(\square\)
Proof of Corollary 3.2
Let us first fix \(c:= \widetilde{x}_{t_{c_f}+3}\), which clearly satisfies \(c > c_f\). By applying Theorem 3.1, it is easy to show that \(\tau _{c} > t_{c_f} + 1\). Thus, we may apply Theorem 3.1 at the values from \(\{t_{c_f} -1, t_{c_f}, t_{c_f} +1\}\). Specifically, there exists \(\epsilon _1 = o(1)\) such that a.a.s.,
for each \(k \in \{t_{c_f} -1, t_{c_f}, t_{c_f} +1\}\).
Now, for \(k = t_{c_f} -1\), (18) implies that a.a.s.
On the other hand, \(\widetilde{x}_{t_{c_f} - 1} < c_f\). Thus, for all n sufficiently large, \(\epsilon _1(n) < c_f - \widetilde{x}_{t_{c_f} -1}\). It follows that a.a.s.
and so \(\tau _{c_f} \ge t_{c_f}\).
Suppose now that \(\widetilde{x}_{t_{c_f}} > c_f\) (part (a)). Using (18) for \(k = t_{c_f}\), we get that a.a.s.,
Since \(\widetilde{x}_{t_{c_f}} > c_f\), for all n sufficiently large, \(\epsilon _1(n) < \widetilde{x}_{t_{c_f}} - c_f\). It follows that a.a.s.
and so \(\tau _{f} \le t_{c_f}\). The same argument can be applied for part (b) but with \(X_{t_{c_f+1}}\) instead of \(X_{t_{c_f}}\). \(\square\)
Approximation for the number of infected agents
In this section, we derive an approximate but closed formula for the number of infected agents after a given number of iterations. First, let us note that \(\exp (-x) = 1 - x + O(x^2)\), and so we may approximate (3) as follows:
On Fig. 5 (right), we compare this approximation with the actual values for Scenario 1. Since the base contagion probabilities are typically very small, the exponent is also small and so the approximation \(\exp (-x) \approx 1 - x\) is relatively good.
Next, we approximate the difference equation by the differential equation:
with the initial condition \(x(0)=c_s\). We get that
As expected, this approximation is working well as depicted on Fig. 5 (left). By solving \(x(t)=c_f\), it follows that
List of symbols used in the paper
See Table 4.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
MacRury, C., Polituchyi, N., Prałat, P. et al. Optimizing transport frequency in multi-layered urban transportation networks for pandemic prevention. Public Transp 16, 381–418 (2024). https://doi.org/10.1007/s12469-024-00351-0
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s12469-024-00351-0