Hello, 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 routeSampler.py. 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). See https://sumo.dlr.de/docs/FAQ.html#the_simulation_has_lots_of_jamsdeadlocks_what_can_i_do The general solution is to look carefully at the simulation to understand where the jams originate and then make the necessary corrections. regards, Jakob Am Fr., 6. März 2020 um 14:48 Uhr schrieb Tetris < [email protected]>: > 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\randomTrips.py" -n osm.net.xml -e 3600 -p 1 > --route-file rou.rou.xml > > and then the routeSampler: > "..\sumo-git\tools\routeSampler.py" -r rou.rou.xml -t turncount.xml -o > outputRouteSampler.xml > > 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 ( > > >> > https://en.wikipedia.org/wiki/Integer_programming). See > > >> > https://sumo.dlr.de/docs/Tools/Turns.html#routesamplerpy > > >> > > > >> > regards, > > >> > Jakob > > >> > > > > > > -- > Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/ > _______________________________________________ > sumo-user mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
