English

UXsim: An open source macroscopic and mesoscopic traffic simulator in Python -- a technical overview

Systems and Control 2023-12-22 v2 Systems and Control

Abstract

This note describes a technical overview of UXsim, an open source macro/mesoscopic traffic simulator in pure Python programming language. UXsim is based on Kinematic Wave model (more specifically, mesoscopic version of Newell's simplified car-following model) and dynamic user optimum-like route choice principle, which are well established methodology in the transportation research field. It can compute dynamical network traffic flow and have basic visualization and analysis capability. Furthermore, users can implement their own models and control methods into the simulator by using Python, thanks to the flexibility of the language. The simulator and its codes are freely available at https://github.com/toruseo/UXsim under the MIT license.

Cite

@article{arxiv.2309.17114,
  title  = {UXsim: An open source macroscopic and mesoscopic traffic simulator in Python -- a technical overview},
  author = {Toru Seo},
  journal= {arXiv preprint arXiv:2309.17114},
  year   = {2023}
}
R2 v1 2026-06-28T12:35:55.535Z