Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Randomising vehicleID in randomTrips.py

Hello,
this is not directly supported by randomTrips.py. You could generated all vehicles within a short interval (i.e. 1s) and then set the sumo option --random-depart-offset to spread them randomly over the chosen interval.

regards,
Jakob

2018-05-08 1:13 GMT+02:00 Jonathan Harper via sumo-user <sumo-user@xxxxxxxxxxxxxxxxxxxxx>:
Hello,

I’m trying to randomise the order of vehicle departure using randomTrips.py. As in, instead of the vehicle’s departing sequentially according to their ID’s (vehicle 1 goes first, vehicle 2 next, ...), it would instead randomise the order of departure of the vehicle ID’s.
E.g. say there’s 100 vehicles with ID’s between 1-100, it’s possible that the vehicle’s could depart in the order: veh1, veh5, veh2.

Thanks,
Jonathan



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Back to the top