Quasi-Dynamic Traffic Assignment using High Performance Computing

Cy P. Chan, Anu Kuncheria, Bingyu Zhao, Theophile Cabannes, Alexander Keimer, Bin Wang, Alexandre M. Bayen, Jane MacFarlanearXiv 2021

Introduction

Transportation planners have long struggled with a fundamental trade-off in urban modeling: the choice between computational efficiency and temporal realism. Traditional Static Traffic Assignment (STA) is fast but fails to capture the time-varying nature of congestion, while Dynamic Traffic Assignment (DTA) offers high fidelity but is often too computationally expensive for large-scale metropolitan areas.

Researchers from Lawrence Berkeley National Laboratory and UC Berkeley have introduced a Quasi-Dynamic Traffic Assignment (QDTA) framework that bridges this gap. By leveraging high-performance computing (HPC), they successfully simulated 19 million vehicle trips across the San Francisco Bay Area in under four minutes, providing a scalable solution for real-time urban planning.

The Challenge of Urban Scale Modeling

Modeling city-scale traffic typically requires simplifying maps or ignoring the temporal shifts of rush hour. Static models treat traffic as a constant "snapshot," which leads to significant underestimations of peak-hour gridlock. Conversely, full dynamic models can take days to run for a single regional scenario, making iterative "what-if" planning nearly impossible.

Comparison of existing traffic assignment models and their limitations.

As shown in the comparison of existing methodologies, many current models suffer from limitations such as a lack of temporal dynamics or restricted path sets. The QDTA framework addresses these by treating a full day as a sequence of interconnected 15-minute intervals, capturing the propagation of traffic without the overhead of continuous-time simulation.

Methodology: The Quasi-Dynamic Approach

The core of the QDTA framework lies in its handling of time-steps and trip continuity. The model employs two primary mechanisms:

  1. Route Truncation: Trips that cannot reach their destination within a 15-minute window are truncated at their current location.
  2. Residual Demand: The unfinished portion of these trips is carried over into the next time interval as "residual demand."

To manage the complexity of millions of links and trips, the researchers developed a rigorous mathematical framework for parallel decomposition and demand handling.

Mathematical notation for the parallelized QDTA framework, defining variables for time-steps, network properties, and travel demand.

High-Performance Computing Optimizations

To achieve city-scale simulation in minutes, the team implemented several HPC-specific optimizations on the NERSC "Cori" supercomputer:

  • Parallelized Frank-Wolfe Algorithm: Computational workloads, including routing and flow updates, were distributed across 1,024 cores.
  • Quasi-Newton Line Search: By replacing the standard Method of Successive Averages (MSA) with a parallelized Quasi-Newton method, the team reduced the iterations required for convergence, resulting in a 16% reduction in execution time.
  • Efficient Routing: The use of "Customizable Contraction Hierarchies" (CCH) enabled the rapid processing of millions of shortest-path queries.

Key Results and Validation

The framework was tested on the San Francisco Bay Area network, comprising approximately 1 million links and 19 million daily vehicle trips. Key findings include:

  • Extreme Speed: A full-day simulation (96 time steps) ran in approximately 4 minutes using 1,024 cores, representing a 36x speedup over serial execution.
  • Improved Accuracy: QDTA predicted significantly more congested roadway length (725 km) compared to static models (188 km), aligning more closely with real-world observations of urban gridlock.
  • Strong Validation: The model achieved a coefficient of determination ($R^2$) of 0.7 or higher when compared against real-world sensor data from Caltrans PeMS and Uber Movement.

Conclusion

This research demonstrates that with proper parallelization and algorithmic optimization, planners no longer need to sacrifice network detail for speed. The QDTA framework provides a high-fidelity "flipbook" of urban mobility, allowing for rapid assessment of infrastructure changes and disaster response scenarios. Future work will focus on integrating fuel consumption and emissions metrics, as well as developing machine-learning-based surrogate models for even faster "sketch-planning."

Summary updated

BibTeX
@misc{chan2021quasi,
  author = {Cy P. Chan and Anu Kuncheria and Bingyu Zhao and Theophile Cabannes and Alexander Keimer and Bin Wang and Alexandre M. Bayen and Jane MacFarlane},
  title = {{Quasi-Dynamic Traffic Assignment using High Performance Computing}},
  year = {2021},
  eprint = {2104.12911},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2104.12911},
}
Figure