"Dynamic Traffic Simulation Package with Multi-Resolution Modelling" (DLSim-MRM) is an open source, high-fidelity multi-resolution (i.e., macroscopic, mesoscopic, and microscopic simulation) traffic simulation package which users jointly apply varying temporal and spatial resolutions to solve a single question or set of questions that mirror the physical world with complex intersections. Users can perform traffic assignments and feed results from one model to another while maintaining consistency between the model assumptions. DLSim-MRM typically takes the following steps for simulation based on General Modeling Network Specification (GMNS) format, as shown in Figure 1:
- Use demand forecasting models to determine overall trip patterns in a regional network, including trip generation, trip distribution, mode split, and initial O-D matrices.
- Use mesoscopic simulation-based dynamic traffic assignment (DTA) to realistically assign traffic to the network by accounting for strategic traveler behavior.
- Use microscopic analysis of traffic at the corridor level or subnetwork level.
Figure 1: Different levels of sample road networks for Phoenix, AZ.
DLSim-MRM uses 3 open-source packages; OSM2GMNS, Path4GMNS and Vol2Timing with the additional developments along the multi-resolution modelling and dyanmic traffic simulation.
-OSM2GMNS can help users easily convert networks from OpenStreetMap to .csv files with standard GMNS format for visualization, traffic simulation and planning purpose.
-Path4GMNS is an open-source AMS library for efficiently macroscopic and mesoscopic traffic assignment based on General Modeling Network Specification (GMNS) format.
-Vol2Timing is a python tool aims to offer a light-weight computational engine to generate optimize signal control timing data, and analyze the effectiveness of signal control strategies.
DLSim-MRM has 4 main steps in the simulation process from the beginning as shown in Fig. 2.
-
After generating GMNS structured node and link files for all simulation levels, first step is reading nodes, links, lanes and agents (auto, walk, bike, bus, truck, cav or ev).
-
In the second step, DLSim-MRM reads the agents demand for desired OD pairs, demand period and cumulative level as presented in input file.
-
Checking OD connectivity and accesibility in the microscopic level, column generation and column-pool based flow updating for traffic assingmnet, and finally OD estimation are the key processes for the traffic assignment in 3rd step.
-
DLSim-MRM simulate the agents behaviour along the multi-resolution network by using queue-VDF, parallel processing, re-routing based memeory management, trajectory generation focusing internal consistency of multi-resolution road network.
Figure 2: Key processes of DLSim-MRM.
Recent Advances by Dr. Cafer Avci
Tutorials in *ASU Transportation AI Lab by Dr. Xuesong (Simon) Zhou
Mini-lessson by Dr. Cafer Avci and Dr. Xuesong (Simon) Zhou : What is the best way to learn dynamic traffic simulation and network assignment for a beginner? Do you want to integrate a powerful traffic simulator in your deep learning framework? We would like to offer a collaborative learning experience through 500 lines of python codes and real-life data sets. This is part of our mini-lessons through teaching dialog.
In-Depth Learning from References
Levels of modeling elements:
Category | Element | GMNS File Names | Learning Goals |
---|---|---|---|
A | Network | node.csv, link.csv | Free-flow speed, capacity, multiresolution network |
B | Demand | input_path.csv | Zone structure, OD demand matrix mapping to road network |
C | Signal | Timing in link.csv | Micro |
D | Scenario | setting.csv | |
E1 | Link output | link_performance.csv | Macro |
E2 | Route assignment output | Route_assignment.csv | Macro |
E3 | Agent output | agent.csv | Agent |
E4 | Trajectory output | trajectory.csv, trace.csv | Micro |
Network generation with osm2gmns
Visualization of networks with NeXTA