Hi Reza, you can try to define different route/flow files and call them from the cmd line with the option --route-files (see https://sumo.dlr.de/docs/sumo.html for all possible options). You can name the files with the number 1 to 5 at the end and can use the "i" value in your loop. For example "--route-files", "flows" + srt(i) + ".rou.xml" Otherwise you can create different .sumocfg files with different routes/flows file or other parameters. For example "--c", "VEL" + srt(i) + ".sumocfg"
Maybe there is a better way to do what you want, but I can only think of this one. Regards, Giuliana -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of MohamadReza-Haghani Sent: Donnerstag, 23. Juli 2020 17:12 To: [email protected] Subject: Re: [sumo-user] Change the volume of traffic flows in TraCI Hi Giuliana, Thank you very much for your answer. What I am trying to do is not changing the traffic flow in the middle of simulation. I wrote a loop for running the simulation several times that you can see it here. <http://sumo-user-mailing-list.90755.n8.nabble.com/file/t374/Capture3.png> I was wondering to know is there any cmd command that I can add it in "traci.start()" to change the traffic volume at the start of every simulation. Best, Reza. -- Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/ _______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user _______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
