A Framework for Simulating Cyclists in SUMO





Cyclists pose an interesting challenge in the microscopic modeling and simulation of urban traffic. Like motorists, cyclists can move on roadways, tend to have one main axis of movement (longitudinal), and cannot change their velocity instantaneously. However, like pedestrians, cyclists are less bound by lane discipline and are often less rule-oriented than motorists. They flexibly adjust their lateral position within a lane, fluidly move between different types of infrastructure (bicycle lane, sidewalk, roadway), and tactically select their pathways across intersections. Their interactions with other road users are more intuitive and less defined by the lane markings. How should the behavior of such adaptable road users be modeled? In SUMO, modifications to the simulation environment enable the application of car-based models to cyclists. A driving lane is divided into multiple sub-lanes along the longitudinal axis. Lane change and car-following models can be calibrated and applied to simulate realistic bicycle and mixed traffic using this approach. However, the flexible nature of cyclists, particularly at intersections or when switching between different types of infrastructure, is difficult to simulate. A modeling framework for linking the paradigms used to simulate motor vehicle traffic (one-dimensional lane-based models) and pedestrian traffic (two-dimensional social force type models) is presented. Guidelines are used to lead each cyclist through the network while they move freely on a two-dimensional plane, their movement and interactions governed by an adapted social force model. The conceptual framework and an openly available Python package CyclistModel are introduced, and advantages and possible use cases are discussed.


E. B. Lieberman, “Brief history of traffic simulation,” Traffic Transp. Simul., vol. 17, 2014.

M. Sekeran, M. Rostami-Shahrbabaki, A. A. Syed, M. Margreiter, and K. Bogenberger, “Lane-Free Traffic: History and State of the Art,” in 2022 IEEE 25th International Conference on Intelligent Transportation Systems (ITSC), 2022, pp. 1037–1042. DOI: https://doi.org/10.1109/ITSC55140.2022.9922282

G. Asaithambi, V. Kanagaraj, and T. Toledo, “Driving Behaviors: Models and Challenges for Non-Lane Based Mixed Traffic,” Transp. Dev. Econ., vol. 2, no. 2, p. 19, 2016, doi: 10.1007/s40890-016-0025-6. DOI: https://doi.org/10.1007/s40890-016-0025-6

D. Helbing and P. Molnar, “Social force model for pedestrian dynamics,” Phys. Rev. E, vol. 51, no. 5, p. 4282, 1995. DOI: https://doi.org/10.1103/PhysRevE.51.4282

X. Chen, M. Treiber, V. Kanagaraj, and H. Li, “Social force models for pedestrian traffic–state of the art,” Transp. Rev., vol. 38, no. 5, pp. 625–653, 2018. DOI: https://doi.org/10.1080/01441647.2017.1396265

A. Schadschneider, H. Klüpfel, T. Kretz, C. Rogsch, and A. Seyfried, “Fundamentals of pedestrian and evacuation dynamics,” in Multi-Agent Systems for Traffic and Transportation Engineering, IGI Global, 2009, pp. 124–154. DOI: https://doi.org/10.4018/978-1-60566-226-8.ch006

M. Li, F. Shi, and D. Chen, “Analyze bicycle-car mixed flow by social force model for collision risk evaluation,” 3rd Int. Conf. Road Saf. Simul., pp. 1–22, 2011.

X. Liang, B. Mao, and Q. Xu, “Psychological-Physical Force Model for Bicycle Dynamics,” J. Transp. Syst. Eng. Inf. Technol., vol. 12, no. 2, pp. 91–97, 2012, doi: https://www.doi.org/10.1016/S1570-6672(11)60197-9. DOI: https://doi.org/10.1016/S1570-6672(11)60197-9

R. Schönauer, M. Stubenschrott, W. Huang, C. Rudloff, and M. Fellendorf, “Modeling concepts for mixed traffic: Steps toward a microscopic simulation tool for shared space zones,” Transp. Res. Rec. J. Transp. Res. Board, vol. 2316, no. 1, pp. 114–121, 2012. DOI: https://doi.org/10.3141/2316-13

German Aerospace Center (DLR) and others, “SUMO Documentation, ‘Bicycle Simulation,’” 2022. https://sumo.dlr.de/docs/Simulation/Bicycles.html.

C. Nobis, “Analysen zum Radverkehr und Fußverkehr,” Mobilität Deutschl. - MiD, p. 84, 2019, [Online]. Available: http://www.mobilitaet-in-deutschland.de/pdf/MiD2017_Analyse_zum_Rad_und_Fussverkehr.pdf.

PTV Group, ifok GmbH, and Fraunhofer-Institut für System- und Innovationsforschung ISI, “Nationaler Radverkehrsplan 3.0,” Berlin, 2021. Accessed: Jul. 09, 2021. [Online]. Available: https://nationaler-radverkehrsplan.de/de/bund/nationaler-radverkehrsplan-nrvp-2020.

J. A. Michon, “A critical view of driver behavior models: what do we know, what should we do?,” Hum. Behav. traffic Saf., pp. 485–520, 1985, doi: https://www.doi.org/10.1007/978-1-4613-2173-6. DOI: https://doi.org/10.1007/978-1-4613-2173-6_19

H. A. Twaddle, “Development of tactical and operational behaviour models for bicyclists based on automated video data analysis.” Technische Universität München, 2017.

S. P. Hoogendoorn and W. Daamen, “Microscopic calibration and validation of pedestrian models: Cross-comparison of models using experimental data,” in Traffic and Granular Flow’05, Springer, 2007, pp. 329–340. DOI: https://doi.org/10.1007/978-3-540-47641-2_29

S. P. Hoogendoorn, “Normative pedestrian flow behavior theory and applications,” Delft University of Technology, Faculty Civil Engineering and Geosciences, 2001.

A. Lind, J. Honey-Rosés, and E. Corbera, “Rule compliance and desire lines in Barcelona’s cycling network,” Transp. Lett., vol. 13, no. 10, pp. 728–737, 2021. DOI: https://doi.org/10.1080/19427867.2020.1803542

University of Amsterdam and Copenhagenize Design Co., “The Desire Lines of cyclists in Amsterdam,” Amsterdam, 2014.

M. S. Wexler and A. El-Geneidy, “Keep’em separated: Desire lines analysis of bidirectional cycle tracks in montreal, canada,” Transp. Res. Rec., vol. 2662, no. 1, pp. 102–115, 2017. DOI: https://doi.org/10.3141/2662-12

G. Grigoropoulos et al., “Evaluation of the Traffic Efficiency of Bicycle Highways: A Microscopic Traffic Simulation Study,” 2018.




How to Cite

Kaths, H., & Roosta, A. (2023). A Framework for Simulating Cyclists in SUMO. SUMO Conference Proceedings, 4, 105–113. https://doi.org/10.52825/scp.v4i.219

Conference Proceedings Volume


Conference papers