[sumo-user] Starting a simulation with already populated streets

2018-02-23 Thread Aboozar Roosta
Hi all, I would like to start a simulation with streets already populated with a desired amount of cars in each street. Is this possible? Please guide me. Thanks *Aboozar Roosta* Msc. Student of Electrical Engineering - Control School of Electrical and Computer Engineering, Tarbiat Modares Univers

Re: [sumo-user] Starting a simulation with already populated streets

2018-02-23 Thread Menno van der Woude
Hi Aboozar, depending on why you want this, you could also add a period of say 10 minutes to the start of the simulation, where you already send in traffic, but which you ignore for for example analysis or presentation. Of course, the network would then still be empty at the start of the simul

Re: [sumo-user] Starting a simulation with already populated streets

2018-02-23 Thread Jakob Erdmann
Hello, another solution would be to start the simulation from a saved state that already contains vehicles. See http://sumo.dlr.de/wiki/Simulation/SaveAndLoad regards, Jakob 2018-02-23 21:00 GMT+01:00 Menno van der Woude : > Hi Aboozar, > > depending on why you want this, you could also add a per

[sumo-user] Traffic flow disappears after some time

2018-02-23 Thread Jiachen Yang
Hi all, Has anyone encountered a situation where all the defined flows in a .rou.xml file have disappeared? In other words, the entire road network becomes empty and vehicles are no longer departing. Vehicles that my code add and remove using TraCI are still working fine, but the SUMO-controll

Re: [sumo-user] Traffic flow disappears after some time

2018-02-23 Thread Jakob Erdmann
Hello, have a fixed number of vehicles usually configured by setting and 'end' value along with another value describing flow rate (number, probability, vehsPerHour). Possibly, your flow has just run out which could be prevented by changing its parameters. regards, Jakob 2018-02-23 23:43 GMT+01:0

Re: [sumo-user] Traffic flow disappears after some time

2018-02-23 Thread Jiachen Yang
Thank you, Jakob, for the fast reply. That is very likely the reason. I only set a value for "probability", "begin", "departLane" and "departSpeed". I didn't include "end", so maybe there is a default value for "end" that caused the flow to stop. I couldn't find the default values in the current

Re: [sumo-user] Traffic flow disappears after some time

2018-02-23 Thread Jakob Erdmann
The default is 24 hours (which was not documented until now). Setting 'end' to infinity is not supported but you could set it to 10^15 (32 million years). regards, Jakob 2018-02-24 0:43 GMT+01:00 Jiachen Yang : > Thank you, Jakob, for the fast reply. That is very likely the reason. I > only set

Re: [sumo-user] Traffic flow disappears after some time

2018-02-23 Thread Jiachen Yang
That explains it. 24 hours matches the time when my flow stopped. Thanks so much for the info! From: sumo-user-boun...@eclipse.org on behalf of Jakob Erdmann Sent: Friday, February 23, 2018 3:59:17 PM To: Sumo project User discussions Subject: Re: [sumo-user] T