Hi SUMO,

I have found a bug based on the SUMO Guide on how to generate Trips randomly as 
well as controlling its arrival 
rate<http://sumo.dlr.de/wiki/Tools/Trip#Arrival_rate>.

Using randomTrips.py, the script will literally never stop generating a trip 
when I put the option --period 0 or -p 0.

I have known of this issue after waiting for the script to complete after an 
unreasonable amount of time (An hour, while a relatively large number of 
approximate 608,400 vehicles takes less than 10 minutes) and I saw the script 
has generated a > 10GB of SUMO Trip File.

What I wanted to do:


  *   To specify SUMO Trips for departing 10 vehicles for every step from Start 
(-b) til End (-e)

What did I tried:
1: -p 1 --binomial x

Where variable x = Ceiling on the 1% of entire duration between Start Time and 
End Time

Python code only of relevance:
x = int(math.ceil(0.01 * (endTime - startTime)))
exec += str.format(" -p 1 --binomial {0}", x)

2: -p y

Where variable y is 1 / (Number of vehicles to depart at every step)

Python code only of relevance:
y = raw_input("Please specify the number of vehicles to depart in each step: ")
period = 1 / (y)
toBeExec += str.format(" -p {0}", period)



Both did not do what I expected.

The first method has a non-fixed number of vehicles to depart at every step. 
The second method departs vehicles in different sub-step (Departure time is a 
Float value, not integer)


Regards,


Samuel Lee
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to