Skip to content

Use effective vehicle speed for mesoscopic gross headway - #19983

Open
M-Colley wants to merge 3 commits into
eclipse-sumo:mainfrom
M-Colley:codex/sumo-16019-meso-speed-factor-headway
Open

M-Colley wants to merge 3 commits into
eclipse-sumo:mainfrom
M-Colley:codex/sumo-16019-meso-speed-factor-headway

Conversation

@M-Colley

@M-Colley M-Colley commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Fixes #16019.

Summary

  • Use each vehicle's effective free-flow speed to convert net mesoscopic headway to gross headway. Include the existing length, minimum gap, and lane-pooling adjustments.
  • Apply the vehicle-specific calculation to scheduling, queues, detectors, and their outputs. Nominal jam calibration still uses the segment speed.

Evidence

  • On a 20 m/s edge with a one-second net gap and 10 m length plus gap, stock schedules both pairs 1.50 s apart. The patched builds schedule the normal pair at 1.50 s and the slower pair at 2.00 s. The new fixture fails stock and passes in standard meso and meso.LTM.
  • Eight direct checks verify mixed-speed leader and follower behavior, a speed cap, and the expected gaps when two lanes share a queue.
  • Both mesoscopic variants passed 125 of 126 cases. The remaining geographic case reports the same missing PROJ diagnostic as stock. Projecting its output separately matches the checked-in expectation. The seven state reload and eight microscopic queue tests passed. Two failures in 142 supplemental output tests also occurred on stock.
  • Strict MkDocs passed.

Merge Danger

Vehicle speed now influences simulated discharge headways. The expected outputs include changes to timing, queue measurements, and resulting stops and teleports.

M-Colley and others added 3 commits December 5, 2026 02:54
…6019

Signed-off-by: Josh <39366189+M-Colley@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
Signed-off-by: Josh <39366189+M-Colley@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
Signed-off-by: Josh <39366189+M-Colley@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
@behrisch
behrisch force-pushed the codex/sumo-16019-meso-speed-factor-headway branch from 05763b0 to 395c566 Compare December 5, 2026 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

brutto-tau computation ignores speedFactor

1 participant