Hi, it depends on the distribution you want and whether you want to modify only the speed at departure or the maximum speed. If you want a uniform distribution of departure speeds in [0, MAX_SPEED] you can use the departSpeed="random" attribute when defining the vehicle or the flow. For maximum speed I would recommend using the following script http://sumo.dlr.de/wiki/Tools/Misc#createVehTypeDistributions.py and then use the resulting vTypeDistribution.
Best regards, Michael Am 21.11.2016 um 11:14 schrieb Fatima kader: > Hello all, > > how can i generate a flow of vehicles with random speed in the interval > [MIN_SPEED, MAX_SPEED]. > > Thank you for your help > ------------------------------------------------------------------------------ > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
