Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Realistic Simulation with traffic data and calibration

the randomTrips option -e only impacts the number of generates routes. This affects the pool of avialbe routes but not the number of vehicles or their eventual departure times becuase departure times are ignored by Instead routeSampler distributes the departures evenly on the turncount interval.

If the network is too empty at the start, this means you have to wait a bit for your network to fill up (you could double the interval length as well as the counts or simply exclude the first x minutes from your evaluation).

If the simulation has lots of jams, it means that the network cannot handle the measured flows. This is a typical effect of network errors (lane numbers, connections, signal programs).
The general solution is to look carefully at the simulation to understand where the jams originate and then make the necessary corrections.


Am Fr., 6. März 2020 um 14:48 Uhr schrieb Tetris <schmelter@xxxxxxxxxxxxxxxxxxx>:
I used randomTrips as input for routeSampler. The depart times of the routes
from randomTrips are important for the final simulation.

"C:\Python27\python.exe" "C:\Program Files
(x86)\Eclipse\Sumo\tools\" -n -e 3600 -p 1
--route-file rou.rou.xml

and then the routeSampler:
"..\sumo-git\tools\" -r rou.rou.xml -t turncount.xml -o

The turncount.xml has this interval:
<interval id="turncount" begin="0.0" end="3600.0">
because the data I have are vehicle counts per hour.

If I use -e 3600 then the simulation is quite empty at the beginning, has a
lot of traffic jam until the end. That is not realistic. I want many
vehicles from the beginning.

Is tweaking the -e option the way to get realistic traffic?

Or do I have to control the total number of vehicles in my simulation to
avoid too much traffic jam?

> >> Jakob Erdmann wrote
> >> > - if you have turn-count data, I would recommend using the new
> >> > routeSampler
> >> > tool. It works similar to calibrators but calibrates the routes in an
> >> > offline manner so you can then rerun it without calibrators. Make
> sure
> >> to
> >> > use the latest development version because it includes additional
> >> options
> >> > for optimizing the calibration with an ILP solver (
> >> > See
> >> >
> >> >
> >> > regards,
> >> > Jakob
> >> >

Sent from:
sumo-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top