Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Insert Randomness on route file

Hello,
1) Thank for reporting this issue which is now being tracked at https://github.com/eclipse/sumo/issues/4076
The warning, which is invalid, was intended as a fail-safe when loading unsorted route files incrementally.
As a work-around you can load your route file all at once by adding it to the list of additional files (this disables the check for sorted departures):
sumo --additional-files yourVehicles.rou.xml
This way, the option --random-depart-offset should work as expected

2) set --random-depart-offset, set vehicle (or flow) attribute departPos="random". Then call sumo with different values of --seed or add option --random (which uses a random seed)
See http://sumo.dlr.de/wiki/Simulation/Randomness
Another important aspect of stochastic simulations are speed distributions: http://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Speed_Distributions

regards,
Jakob


2018-05-15 16:24 GMT+02:00 Thanos Tasakos <thanos.tas@xxxxxxxxx>:
Hello all,
  1. if u have a given rou.xml file is it possible to create many different perturbed versions of it (i want to add stochasticity at each run). One option that i came accross was to use --random-depart-offset <TIME> but when i add this tag to my sumocfg file the sumo-gui wouldnt run giving a Warning that the departures should be ordered.
  2.  Generally given a .rou file how can i change it(different departures, different starting positions)

Kind regards,

Thanos Tasakos


 

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user



Back to the top