Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] How to generate a Rush hour in sumo

Hello,

 Does that mean I have to create 24 route files for generating 24 hours. Is
it possible to generate only one file that has all the routes for 24 hour
period

 I have tried to create 3 hours using the following commands

randomTrips.py -n map3.net.xml  -b 0 -e 3600  --prefix 01 -p 1 -r
mapnewn.rou.xml -l
randomTrips.py -n map3.net.xml  -b 3600 -e 7200  --prefix 02 -p 0.5 -r
mapnewn1.rou.xml -l
randomTrips.py -n map3.net.xml  -b 7400 -e 10800  --prefix 02 -p 80 -r
mapnew7.rou.xml -l

and then placing them in my configuration file as follows
 <route-files value="mapnewn.rou.xml,mapnewn1.rou.xml,mapnew7.rou.xml"/>

However, it did generate different traffic flow but it kept generating the
following error
Error: A vehicle with id '021' already exists.
Quitting (on error).

Some vehicle ids kept getting repeated in the route files. So how can I
overcome this problem and generate a normal traffic pattern over 24 hours
[with rush and normal hours] in one configuration. 

Thank you. 



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/


Back to the top