Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Different behavior between hourly simulations and a single 24h SUMO run (flowrouter + calibrators)

In the 1-hour simulation you are always starting with an empty network and thus large amounts of vehicles are absorbed by the empty road network without causing congestion.
In the 24-hour simulation, most vehicles are released into a filled network and thus any mismatch between traffic model assumptions and network capacities may easily turn into congestion.
Common sources for jamming are listed at https://sumo.dlr.de/docs/FAQ.html#the_simulation_has_lots_of_jamsdeadlocks_what_can_i_do
You will need to do the hard work of figuring out where jamming starts and whether it comes from problems with the traffic, network or infrastructure.

If your counting data is sparse in space, the solution space encompasses solutions with more or less total traffic (in the extreme cases, vehicles could either start just before a detector and arrive directly after it for a minimal-traffic solution or they could take large detours through roads not covered by measurement data for a maximum-traffic solution). 
If you notice problems with too much traffic on edges where detectors are lacking you could set option --max-flow and --max-turn-flow or load --flow-restrictions for such edges to improve the flowrouter solution.

Flowrouter defines flows with equidistant spacing in time (using 'begin', 'end' and 'number': so it already is as smooth as possible.

regards,
Jakob

Am Do., 8. Jan. 2026 um 17:33 Uhr schrieb Gabriel García Casa via sumo-user <sumo-user@xxxxxxxxxxx>:

Hi all, I hope you had a pleasant Christmas holiday.
As said in previous posts,  I am working on a calibrated SUMO model where traffic demand and speeds are derived from real measurements.

My workflow is the following:

  • Traffic counts are matched using flowrouter.py with hourly counts (interval = 60 min).

  • Route feasibility is enforced using implausibleRoutes.py, and flowrouter.py is run again with the resulting restrictions.

  • Speeds are calibrated using speed-only calibrators, with one speed profile per edge and per hour in the traffic measurement points (e1 detectors).

What I observe is a strong difference depending on how the simulation is run:

  • If I run independent simulations of 1 hour each, the model behaves well and congestion levels look realistic.

  • If I run a single continuous 24-hour simulation (0–86400 s) using exactly the same routes, flows and calibrators, the network progressively builds up heavy congestion and ends with many vehicles still running or waiting.

In particular, I would like to understand:

  • Whether flowrouter.py tends to insert vehicles in a concentrated way at the beginning of each interval when using hourly counts.

  • If there is a recommended way to smooth or distribute vehicle insertion over time when working with coarse (hourly) demand. I was thinking about programming a smoothing function.

  • Whether the combination of route restrictions and speed-only calibrators can unintentionally reduce effective capacity over time, leading to queue accumulation in long runs.

  • More generally, whether this behavior is expected in SUMO and how such effects are usually mitigated in full-day simulations.

Any insight or pointers to relevant SUMO options or best practices would be very helpful.

Thanks in advance.

Gabriel


_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top