hybridPy: The Simulation Suite for Mesoscopic and Microscopic Traffic Simulations

Authors

DOI:

https://doi.org/10.52825/scp.v5i.1030

Keywords:

MATSIM, Hybrid Traffic Simualtion

Abstract

Mesoscopic, agent-based simulations efficiently model and assess entire regions’ daily activities and travel patterns, exemplified by smaller countries like Switzerland. The queue-based simulation represents a compromise between computational speed on the one hand and the necessity of detailed modeling infrastructure on the other hand. Thus, mesoscopic simulations enable an efficient and reasonably detailed analysis of the complex interplay between supply and demand in mobility research. Conversely, microsimulations excel at reproducing individual speed profiles and behavior by modeling the interactions between traffic participants, including pedestrians, bicycles, and scooters. Although allowing for more detailed system analysis, the downside is the high computational burden, which often prevents large-scale microscopic simulations from running in optimization or calibration loops. hybridPY, an extension of SUMOPy, aims to close the gap and benefit from both environments. The simulation suite allows the running of mesoscopic as well as microscopic traffic simulations based on the core idea: running a microscopic simulation in a smaller dedicated area, using the routes or mobility plans generated from a larger mesoscopic model. The main features of this software are: (i) import, editing and visualization of MATSim and BEAM CORE networks; (ii) conversion of MATSim plans to SUMO routes or plans within the SUMO area; (iii) configuring and running of MATSim simulations. The capability of hybridPY is demonstrated by two applications: the simulation of Schwabing, Germany, based on the MITO MATSim model, and the San Francisco municipality, USA, based on the mesoscopic BEAM CORE model of the entire San Francisco Bay area. Both scenarios demonstrate that the hybrid approach results in significant computational gains with respect to a pure microscopic approach.

Downloads

Download data is not yet available.

References

Meister, M. Balmer, F. Ari, et al., “Large-scale agent-based travel demand optimization applied to Switzerland, including mode choice,” Jul. 2010.

“The multi-agent transport simulation matsim,” in A. Horni, K. Nagel, and K. W. Axhausen, Eds. Gordon House, 29 Gordon Square, London WC1H 0: Ubiquity Press Ltd., 2016, ch. The “Multi-Modal” Contribution, ISBN: 78-1-909188-76-1. DOI: http://dx.doi.org/10.5334/baw.

M. Maciejewski and K. Nagel, “Towards multi-agent simulation of the dynamic vehicle routing problem in matsim,” in Parallel Processing and Applied Mathematics, R. Wyrzykowski, J. Dongarra, K. Karczewski, and J. Wasniewski, Eds., Berlin, Heidelberg: Springer Berlin Heidelberg, 2012, pp. 551–560, ISBN: 978-3-642-31500-8.

E. Nassar, “Integrating dynamic ride-sharing in matsim: Assessing the impacts of dynamic ride sharing on the environment. The case study of upper Austria,” English, M.S. thesis, Technical University of Munich, Jun. 2023.

D. Krajzewicz, J. Erdmann, M. Behrisch, and L. Bieker, “Recent development and applications of SUMO - Simulation of Urban MObility,” International Journal On Advances in Systems and Measurements, vol. 5, no. 3&4, pp. 128–138, Dec. 2012.

Y. Huang, K. M. Kockelman, V. Garikapati, L. Zhu, and S. Young, “Use of shared automated vehicles for first-mile last-mile service: Micro-simulation of rail-transit connections in Austin, Texas,” Transportation Research Record, vol. 2675, no. 2, pp. 135– 149, 2021. DOI: 10.1177/0361198120962491. [Online]. Available: https://doi.org/10.1177/0361198120962491.

L. Koch, D. S. Buse, M. Wegener, et al., “Accurate physics-based modeling of electric vehicle energy consumption in the sumo traffic microsimulator,” in 2021 IEEE International Intelligent Transportation Systems Conference (ITSC), 2021, pp. 1650–1657. DOI: https://doi.org/10.1109/ITSC48978.2021.9564463.

P. Pau, K.-H. Kastner, R. Keber, and M. Samal, “Real-time traffic conditions with sumo for its Austria west,” May 2013, ISBN: 978-3-662-45078-9. DOI: https://doi.org/10.1007/978-3-662-45079- 6_11.

P. Pau and K.-H. Kastner, “Experiences with sumo in a real-life traffic monitoring system,” May 2015.

C. A. Spurlock, M. A. Bouzaghrane, A. Brooker, et al., “Behavior, energy, autonomy & mobility comprehensive regional evaluator: Overview, calibration and validation summary of an agent-based integrated regional transportation modeling workflow,” Berkeley, Tech. Rep., Feb. 2024. [Online]. Available: https://eta-publications.lbl.gov/publications/behavior-energy-autonomy-mobility.

H. Laarabi, Z. Needell, R. Waraich, C. Poliziani, and T. P. Wenzel, “A modeling framework for behavior, energy, autonomy and mobility (beam),” Tech. Rep., Feb. 2024. [Online]. Available: https://eta-publications.lbl.gov/publications/behavior- energy-autonomy-mobility.

R. Nazanin, T.-B. Annika, F. Sydny K., et al., “At the nexus of equity and transportation modeling: Assessing accessibility through the individual experienced utility-based synthesis (inexus) metric,” Journal of Transport Geography, vol. 115, 2024. DOI: https://doi.org/10.1016/j.jtrangeo.2024.103824.

W. Charlton and B. Sana, “Simwrapper, an open source web-based platform for interactive visualization of microsimulation outputs and transport data,” Procedia Computer Science, vol. 220, pp. 724–729, 2023, The 14th International Conference on Ambient Systems, Networks and Technologies Networks (ANT) and The 6th International Conference on Emerging Data and Industry 4.0 (EDI40), ISSN: 1877-0509. DOI: https://doi. org/10.1016/j.procs.2023.03.095. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S1877050923006300.

A. Neumann and M. Zilske, MATSim JOSMNetwork Editor. Technische Universität Berlin, 2018.

P. Barbecho Bautista, L. F. Urquiza-Aguiar, and M. Aguilar Igartua, “Stgt: Sumo-based traffic mobility generation tool for evaluation of vehicular networks,” in Proceedings of the 18th ACM Symposium on Performance Evaluation of Wireless Ad Hoc, Sensor, & Ubiquitous Networks, ser. PE-WASUN ’21, Alicante, Spain: Association for Computing Machinery, 2021, pp. 17–24, ISBN: 9781450390781. DOI:10.1145/3479240.3488523. [Online]. Available: https://doi.org/10.1145/3479240.3488523.

P. P. Garrido Abenza, M. Malumbres, P. Piñol, and O. López Granado, “A simulation tool for evaluating video streaming architectures in vehicular network scenarios,” Electronics, vol. 9, p. 1970, Nov. 2020. DOI: https://doi.org/10.3390/electronics9111970.

M. Dikaiakos, “Trafficmodeler: A graphical tool for programming microscopic traffic simulators through high-level abstractions,” May 2009, pp. 1–5. DOI: https://doi.org/10.1109/VETECS.2009.5073891.

W. Arellano and I. Mahgoub, “Trafficmodeler extensions: A case for rapid vanet simulation using, omnet++, sumo, and veins,” 2013 High Capacity Optical Networks and Emerging/Enabling Technologies, pp. 109–115, 2013. [Online]. Available: https://api.semanticscholar.org/CorpusID:14090546.

M. Gütlein and A. Djanatliev, “Coupled traffic simulation by detached translation federates: An hla-based approach,” in 2019 Winter Simulation Conference (WSC), 2019, pp. 1378–1389, ISBN: 1558-4305. DOI: https://doi.org/10.1109/WSC40007.2019.9004809.

M. Gütlein, R. German, and A. Djanatliev, “Towards a hybrid co-simulation framework: Hla-based coupling of matsim and sumo,” in 2018 IEEE/ACM 22nd International Symposium on Distributed Simulation and Real Time Applications (DS-RT), 2018, pp. 1–9, ISBN: 1550-6525. DOI: https://doi.org/10.1109/DISTRA.2018.8601004.

M. Gütlein and A. Djanatliev, “Coupled traffic simulation by detached translation federates: An hla-based approach,” in 2019 Winter Simulation Conference (WSC), 2019, pp. 1378–1389. DOI: https://doi.org/10.1109/WSC40007.2019.9004809.

H. Triebke, Calibrating spatio-temporal network states in microscopic traffic simulation on a global level: Youtube video - technische Präsentation @ sumo user conference. [Online]. Available: https://www.youtube.com/watch?v=QzrkIrEllTI.

H. Triebke, M. Kromer, and P. Vortisch, “Pre-study and insights to a sequential matsim-sumo tool-coupling to deduce 24h driving profiles for saevs,” SUMO Conference Proceedings, vol. 1, pp. 93–112, 2022. DOI: https://doi.org/10.52825/scp.v1i.103.

Henriette Triebke, Markus Kromer, and Peter Vortisch, “Bridging the gap between mesoscopic transport planning and microscopic traffic simulation: An analytical and numerical analysis of traffic dynamics,” Transportation Research Record, vol. 0, no. 0, p. 03 611 981 221 128 284, 0, ISSN: 0361-1981. DOI: https://doi.org/10.1177/03611981221128284.

K. Schrab, R. Protzmann, and I. Radusch, “A large-scale traffic scenario of berlin for evaluating smart mobility applications,” in Smart Energy for Smart Transport, ser. Lecture Notes in Intelligent Transportation and Infrastructure, E. G. Nathanail, N. Gavanas, and G. Adamos, Eds., Cham: Springer Nature Switzerland, 2023, pp. 276–287, ISBN: 978-3- 031-23720-1. DOI: https://doi.org/10.1007/978-3-031-23721-8.

Christian Rakow, Ihab Kaddoura, Chengqi Lu, Ronald Nippold, and Peter Wagner, “Investigation of the system-wide effects of intelligent infrastructure concepts with microscopic and mesoscopic traffic simulation,” 2021.

S. F. M. T. Authority, Gtfs of the San Francisco public transportation, Last accessed Feb 2024. [Online]. Available: https://transitfeeds.com/p/sfmta/60.

R. Moeckel, N. Kuehnel, C. Llorca, A. T. Moreno, H. Rayaprolu, and F. Galante, “Agent-based simulation to improve policy sensitivity of trip-based models,” Journal of Advanced Transportation, vol. 2020, p. 1 902 162, 2020, ISSN: 0197-6729. DOI: https://doi.org/10.1155/2020/1902162.

Downloads

Published

2024-07-17

How to Cite

Schweizer, J., Schuhmann, F., & Poliziani, C. (2024). hybridPy: The Simulation Suite for Mesoscopic and Microscopic Traffic Simulations. SUMO Conference Proceedings, 5, 39–55. https://doi.org/10.52825/scp.v5i.1030

Conference Proceedings Volume

Section

Conference papers
Received 2024-01-12
Accepted 2024-04-03
Published 2024-07-17