Hello Folks,
I started understanding the use of randomTrips.py

For now I am using it from the command line to understand different
options. The help option came in handy.

*Here are the options which I could implement correctly*:
--net-file <name of network file>

--min-distance <the minimum distance between the start and the end edge in
meter>
I am using this option because I want all the vehicles in simulation to
follow the same route and since I have three connected edges this option
meets my requirement and generates desired output.

--period <defines number of uniform time periods after which a vehicle is
inserted in simulation space>
A value 6 will insert a total of 600 vehicles, equally spaced after every
6th second (if total time is default 3600s)

--binomial <1>
I wanted randomness and only 1 vehicle to be inserted in the simulation
space at any moment.

--seed <int>
This serves like an identifier of the randomly generated output.

*The option for which I'll need your help*:
--additional-file
I want to use a particular vehicleDistribution. I created an additional
file but when I ran the simulation the output didn't have the vehicles
according to the vehicle distribution but only the default vehicle type.

*Next step*:
I want to use this program for generating different scenarios. It may not
be prudent of me if I generate all the required route files and then call
all the route file in the .sumo.cfg file and generate a new .sumo.cfg
everytime.
Please suggest a smarter and efficient way to do this. I will use all the
scenarios to analyze the algorithm I have created (using python). Thank you!

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

Reply via email to