Hello, by using a flow with attribute probability you do have quite a lot of control over the flow since it has an expected value of probability*3600 vehs per hour. Note that you should always measure the flow in the simulation as it can be lower than the demand value due to capacity constraints. See http://sumo.dlr.de/wiki/FAQ#How_do_I_get_high_flows.2Fvehicle_densities.3F regards, Jakob
2017-02-24 17:56 GMT+01:00 Vaibhav Rungta <[email protected]>: > Hello Folks/ Hello Jakob, > "I have now gained control over the vehicle movement and the vehicles do > what I want them to do!" > This sounds funny :) > > Thanks to the SUMO team and Jakob for their guidance to use TraCI commands. > The next stage of research is to make my simulations realistic which begins > with randomization. Currently I am using flows with *vehPerHour* which > inserts vehicles uniformly in the simulation space. I can use *probability* > to make the insertion random, however, one of the factors I wish to study > is the traffic density. If I use *probability* I may not have any control > over number of vehicles entering the simulation space per hour. > > I want a certain no. of vehicles to enter the simulation but not equally > spaced. Kindly suggest how I may do that. > > I came across this page: > http://www.sumo.dlr.de/userdoc/Simulation/Randomness. > html#Flows_with_a_random_number_of_vehicles > which suggests use of *--randomize-flows* for "fixed number of vehicles". > However, I'll need information to use this option. > > The function *randomTrips.py *might be another way to achieve what I want. > I am still figuring out its usage coz I want that all the vehicles follow > the same route and are chosen from the vehicle mix (vType) I have created > based on NHTSA data. > > Kindly suggest. Thanks! > > Regards, > Vaibhav Rungta > Graduate Student - Industrial and Systems Engineering > Graduate Assistant - Toyota Production Systems Lab > Research Assistant - University Transport Research Center > 585-754-7133 > ------------------------------------------------------------ > ------------------ > 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
