A data-driven microscopic on-ramp model based on macroscopic network flows

Niklas Kolbe, Moritz Berghaus, Eszter Kalló, Michaël Herty, Markus Oeser

TL;DR

Researchers have developed a new microscopic traffic model for highway on-ramps by "downscaling" macroscopic flow equations. By anchoring individual vehicle behavior to macroscopic traffic density and flow data, the model produces more realistic lane-merging patterns and safety conflicts than standard industry models like the Intelligent Driver Model (IDM).

What Problem Does This Paper Address?

Traffic modeling usually falls into two camps: macroscopic (treating traffic like a fluid to predict overall flow) and microscopic (simulating individual cars to study driver behavior). While macroscopic models are great for network planning, they ignore the "human" element. Conversely, microscopic models often struggle with complex geometries like on-ramps and—critically—are often too safe.

Standard microscopic models are typically designed to be accident-free. While this is great for smooth simulations, it’s useless for safety engineers who need to predict where and why "near-misses" occur. This paper addresses the challenge of creating a microscopic model that accurately reflects the messy, risky reality of merging onto a freeway while remaining consistent with observed large-scale traffic patterns.

Methods

The authors bridge the macro-micro gap using a multi-step approach:

  1. Macroscopic Foundation: They start with the Lighthill-Whitham-Richards (LWR) model, which treats traffic as a continuous flow. They use a Riemann solver to handle the "junction" where the on-ramp meets the main road.
  2. The Transformation: They convert macroscopic variables (flow and density) into microscopic ones (time headway and spacing) using the fundamental relationship $v = S/T$ (speed = spacing / time headway).
  3. Acceleration Logic: To prevent jerky, unrealistic speed changes, they integrate the Full Velocity Difference Model (FVDM). This ensures vehicles accelerate toward a target speed while reacting to the car in front to avoid (most) collisions.
  4. Virtual Coupling: For the on-ramp, they "virtually" combine the ramp and the adjacent highway lane into a single lane for the model's logic. This forces ramp vehicles to adapt their speed to highway gaps long before they actually merge.
  5. Implementation: The model was implemented in SUMO (Simulation of Urban MObility) via the TraCI interface, allowing it to override default vehicle behaviors.

Datasets

The study utilizes the DROVA Dataset, which consists of high-resolution vehicle trajectory data collected via drone photography.

  • Location: German freeway A565 near the Bonn-Beuel interchange.
  • Scope: A 270-meter stretch covering four unidirectional lanes (including the entry lane).
  • Scale: 31 data sets recorded over four days in 2019, capturing various traffic volumes (averaging 44 vehicles per minute).

Key Insights and Ideas

  • Consistency is Key: By deriving microscopic behavior from macroscopic flows, the model inherently respects the "capacity drop" and other large-scale phenomena that purely microscopic models often miss.
  • The "Safety" Paradox: Most microscopic models (like IDM) are "too perfect." In the IDM simulations, vehicles often stop at the end of a ramp to wait for a gap—a behavior rarely seen in real life. The proposed model allows for tighter gaps and more aggressive merging, which actually mirrors real-world data more closely.
  • Implicit Lane Changing: Interestingly, the model doesn't explicitly tell a car when to change lanes. Instead, the car-following logic ensures the vehicle is at the right speed and position relative to the highway traffic, making the eventual lane change (handled by SUMO's default engine) feel more natural and distributed across the length of the ramp.

Key Results

The researchers compared their flow-based model against real-world data and the industry-standard IDM:

  • Velocity Variance: The new model better represented the speed differences between lanes. While IDM predicted a massive jump in speed between the main lane and the passing lane, the proposed model showed a more realistic, gradual variance.
  • Lane Change Distribution: IDM vehicles tended to merge as soon as possible. The flow-based model showed merges occurring throughout the length of the ramp, matching the drone observations.
  • Safety Analysis: Using Modified Time-to-Collision (MTTC), the researchers found that IDM was almost entirely "conflict-free." The proposed model, however, produced a realistic amount of "risky" interactions (MTTC < 3s), making it a viable tool for surrogate safety measures (SSM) analysis.
  • Acceleration Realism: Both models tended to be more "aggressive" (higher absolute acceleration) than real drivers, likely because the models were calibrated on macroscopic scales rather than individual driver trajectories.

Limitations and Future Work

The primary limitation is that the model was calibrated on macroscopic data. This led to an overestimation of absolute speeds and accelerations compared to the drone data. The authors suggest that a "microscopic calibration"—tuning the model parameters to match individual vehicle trajectories—would significantly improve accuracy, though it is computationally expensive.

Additionally, the model currently treats all through-lanes similarly. Future iterations could benefit from explicitly modeling the differences in behavior between the "slow" right lane and "fast" passing lanes to further refine the speed profiles.

Summary updated

Abstract

While macroscopic traffic flow models consider traffic as a fluid, microscopic traffic flow models describe the dynamics of individual vehicles. Capturing macroscopic traffic phenomena remains a challenge for microscopic models, especially in complex road sections such as on-ramps. In this paper, we propose a microscopic model for on-ramps derived from a macroscopic network flow model calibrated to real traffic data. The microscopic flow-based model requires additional assumptions regarding the acceleration and the merging behavior on the on-ramp to maintain consistency with the mean speeds, traffic flow and density predicted by the macroscopic model. To evaluate the model's performance, we conduct traffic simulations assessing speeds, accelerations, lane change positions, and risky behavior. Our results show that, although the proposed model may not fully capture all traffic phenomena of on-ramps accurately, it performs better than the Intelligent Driver Model (IDM) in most evaluated aspects. While the IDM is almost completely free of conflicts, the proposed model evokes a realistic amount and severity of conflicts and can therefore be used for safety analysis.
BibTeX
@misc{kolbe2023data,
  author = {Niklas Kolbe and Moritz Berghaus and Eszter Kalló and Michaël Herty and Markus Oeser},
  title = {{A data-driven microscopic on-ramp model based on macroscopic network flows}},
  year = {2023},
  eprint = {2308.01093},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.01093},
}
Figure