you can specify the 'period' when defining <flow> elements. It is not a parameter of the duarouter application. see http://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Repeated_vehicles_.28Flows.29 regards, Jakob
2015-08-12 22:11 GMT+02:00 Pardis Emami Naeini < [email protected]>: > Hi everyone, > > I am working on a project which its simulations are by SUMO. I want to > declare an arrival rate for cars. I wrote a Python file to generate the > Route and the Trip. I modified my code to be able to change the arrival > rate from default(1) to 5 cars per hour. This is how I wrote my last line > of the code. But after I compile it in command prompt I face an error that > --period doesn't exists. I would appreciate if any one can help me with > this bug. > > os.system("route\\duarouter --trip-files=route\\%d_%d.trip.xml > --net-file=map\\%d_%d.net.xml --period 0.2 -o route\\%d_%d.rou.xml" > %(row-2,col-2,row-2,col-2,row-2,col-2)) > > ------------------------------------------------------------------------------ > _______________________________________________ > 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
