Chapter 17.3: SUMO-Canyon Coupling

17.3.1 Bridging Microsimulation and Canyon Physics

The key insight connecting SUMO (Chapter 17.1) with street canyon pollution (Module 16) is the spatial emission density. SUMO’s Floating Car Data (FCD) provides per-vehicle speed \(v_i\) and acceleration \(a_i\) at each timestep. These feed into HBEFA to produce individual emission rates \(E_{\text{NOx}}(v_i, a_i)\). Aggregating over all vehicles on an edge of length \(L_e\) gives the line source strength:

$$S_e(t) = \frac{1}{L_e} \sum_{i \in \text{edge}} E_{\text{NOx}}(v_i(t),\, a_i(t))$$

This \(S_e(t)\) is the source term \(q_L\) in the OSPM model (Chapter 16.2). Each street segment now has a time-varying pollution field driven by the actual traffic state.

17.3.2 Two-Way Feedback Loop

The coupling is not one-directional. When pollution concentrations are fed back into the MFG routing framework (Module 12), drivers reroute to avoid polluted streets. This changes the traffic distribution, which changes emissions, which changes concentrations:

$$\text{SUMO} \xrightarrow{v_i, a_i} \text{HBEFA} \xrightarrow{E_{\text{NOx}}} \text{OSPM} \xrightarrow{C_{\text{street}}} \text{MFG} \xrightarrow{\text{routes}} \text{TraCI} \xrightarrow{\text{reroute}} \text{SUMO}$$

The integration diagram connects all preceding modules:

┌──────────────────────────────────────────────────────────────┐
│                    Integration Architecture                    │
│                                                                │
│  OSMnx (Mod 6) ──→ netconvert ──→ SUMO (.net.xml)           │
│                                        │                      │
│                                    TraCI (TCP)                │
│                                    ↕        ↕                 │
│                              FCD output   Route updates       │
│                                 │              ↑              │
│                            HBEFA (17.1)   MFG Router (12)    │
│                                 │              ↑              │
│                           E_NOx(v,a)     Pollution cost       │
│                                 │              ↑              │
│                          OSPM (16.2) ──→ C_street(x,t)       │
│                                                               │
│  Signal Control (13) ──→ TraCI ──→ TLS updates               │
└──────────────────────────────────────────────────────────────┘

17.3.3 Traffic Load Scenarios

We analyse three traffic scenarios to understand how load affects canyon pollution:

ScenarioFlow (veh/hr)Density (veh/km)Mean SpeedEmission Factor
Light200540 km/h1.0x
Moderate8003025 km/h1.8x
Congested600 (capacity drop)808 km/h4.2x

The emission factor increase from light to congested is nonlinear because stop-and-go driving involves repeated high-acceleration events, each producing a spike in NOₓ emissions.

17.3.4 Signal Control Impact on Pollution

Three signal control strategies from Module 13 are compared by their pollution outcomes:

  • Fixed-time: pre-set green splits, no adaptation. Produces predictable but suboptimal emission patterns.
  • Actuated: extends green based on detector occupancy. Reduces idling at low-demand approaches, cutting emissions by 10–20%.
  • PMP (Pontryagin): optimal control from Module 13 with pollution-augmented cost. Can reduce peak concentrations by 25–40% through coordinated green waves.

The key mechanism: green waves reduce the number of stop-start cycles. Each avoided stop eliminates one acceleration event, preventing the associated emission spike.

17.3.5 Mean-Field Limit: Krauss to LWR

As the number of vehicles \(N \to \infty\), the Krauss car-following model converges to the Lighthill-Whitham-Richards (LWR) macroscopic model from Module 10. The correspondence is:

$$\text{Krauss: } v_i(t+\Delta t) = \min(v_{\max}, v_{\text{safe},i}) \quad \xrightarrow{N \to \infty} \quad \text{LWR: } \frac{\partial \rho}{\partial t} + \frac{\partial}{\partial x}[\rho \, V(\rho)] = 0$$

The equilibrium speed-density relation \(V(\rho)\) of the LWR model is the deterministic limit of the Krauss safe-velocity function. Setting \(\sigma = 0\) (no dawdling) and computing the equilibrium spacing at each speed:

$$s_{\text{eq}}(v) = v\,\tau + \frac{v^2}{2b} + s_0 \quad \Longrightarrow \quad \rho(v) = \frac{1}{L_{\text{veh}} + s_{\text{eq}}(v)}$$

This provides a rigorous bridge between the microscopic SUMO simulation and the macroscopic PDE models used in Modules 10–12.

17.3.6 Python: SUMO-Canyon Coupling Simulation

SUMO-Canyon Coupling: Emissions, OSPM, Signal Control

Python
script.py200 lines

Click Run to execute the Python code

Code will be executed with Python 3 on the server

17.3.7 Key Takeaways

  • SUMO FCD provides (v, a) per vehicle, which HBEFA converts to emission rates; spatial aggregation gives the OSPM line source strength \(S_e = (1/L_e)\sum E_{\text{NOx}}\).
  • The two-way feedback loop (emissions → MFG rerouting → TraCI → emissions) creates a coupled system where traffic and pollution co-evolve.
  • Congested traffic produces 4x the emissions of light traffic due to stop-and-go acceleration events.
  • PMP signal control from Module 13 can reduce peak canyon concentrations by 25–40% by smoothing traffic flow and reducing acceleration events.
  • In the mean-field limit (\(N \to \infty\)), Krauss car-following converges to LWR (Module 10), providing a rigorous micro-macro bridge.