[sumo-user] Measuring flows in SUMO

2019-10-23 Thread Lixo Lixo
Hi! Thank you in advance for your help! I am struggling trying to mix Cell Transmission Model and Sumo Traffic Simulator. I have two quick questions. 1) Is there any simple way to compute the flows between one cell to another using Sumo? More precisely, can I measure the number of cars that

[sumo-user] Generating Public Transport Demand

2019-10-23 Thread Laksh Bhatia
Hello, My name is Laksh and I am a new SUMO user. It is a really great software and I have been able to simulate some useful scenarios. I am now trying to generate a public transport demand and I am unsure how to do that. I have generated a list of bus routes using osmWebWizard.py. I would

Re: [sumo-user] Traci importing a new traffic light program

2019-10-23 Thread Jakob Erdmann
traci.trafficlight.setProgram Am Mi., 23. Okt. 2019 um 16:56 Uhr schrieb Roman, Charlotte < c.d.ro...@warwick.ac.uk>: > I have written a program like that and saved it as a file, I'm just not > sure how to call the program using traci. > > Kind regards, > > > Charlotte > > >

Re: [sumo-user] Traci importing a new traffic light program

2019-10-23 Thread Roman, Charlotte
I have written a program like that and saved it as a file, I'm just not sure how to call the program using traci. Kind regards, Charlotte From: sumo-user-boun...@eclipse.org on behalf of Jakob Erdmann Sent: Wednesday, October 23, 2019 3:49 PM To: Sumo

Re: [sumo-user] Traci importing a new traffic light program

2019-10-23 Thread Jakob Erdmann
see https://sumo.dlr.de/docs/Simulation/Traffic_Lights.html#defining_new_tls-programs Am Mi., 23. Okt. 2019 um 16:46 Uhr schrieb priyank soni < priyanksonige...@gmail.com>: > Write this piece of code in your script. > Or read relevant values from external. xml > file and feed here. > > On Wed 23

Re: [sumo-user] Traci importing a new traffic light program

2019-10-23 Thread priyank soni
Write this piece of code in your script. Or read relevant values from external. xml file and feed here. On Wed 23 Oct, 2019, 7:58 PM Roman, Charlotte, wrote: > Hi all, > > I want to know how to load an additional file with a traffic light program > to change just one of the traffic lights using

Re: [sumo-user] Possible issue in closingLaneReroute

2019-10-23 Thread Jakob Erdmann
Hello, while this behavior is admittedly not intuitive, it is intended. ClosingLaneReroute and closingEdgeReroute are meant for different purposes. The former is meant to allow some vehicles of the fleet to react to potential slow-downs from closed lanes. Detecting the special case

[sumo-user] Traci importing a new traffic light program

2019-10-23 Thread Roman, Charlotte
Hi all, I want to know how to load an additional file with a traffic light program to change just one of the traffic lights using traci. I have a network with 4 traffic lights in a grid and I want to change just one of them to a different program. I can't change it in the net file because I

Re: [sumo-user] Running different scenarios with the same random seeds

2019-10-23 Thread Jakob Erdmann
I looked at your simulation and observed the following: - the number of left-turns is mostly irrelevant to delay since the total flow is low enough to allow for easy merging - the difference in delay is dominated by the flow the southern approach. All the extra vehicles turning left at

Re: [sumo-user] traffic program set from python starts with phase "1" rather than "0"

2019-10-23 Thread Jakob Erdmann
There may be a bug there (possibly related to #5554). You should be able to make it work by calling traci.trafficLight.setPhase('1', 0) after loading the new program. Am Mi., 23. Okt. 2019 um 14:57 Uhr schrieb priyank soni < priyanksonige...@gmail.com>: > Hi All, > > I am setting traffic program

[sumo-user] traffic program set from python starts with phase "1" rather than "0"

2019-10-23 Thread priyank soni
Hi All, I am setting traffic program with python script , I have total 12 phases, but it runs as: 1-2-3-4-5-6-7-8-9-10-11-0-1-2-... What I want is: 0-1-2-3-4-5-6-7-8-9-10-11-0-1-2- *python code:* [image: 1.png] *What changes should I make in the code ?*

Re: [sumo-user] Logic behind Emission model

2019-10-23 Thread Radha Reddy
Dear Jakob, Many thanks for your kind response and alert. Regards Radha On Wed, Oct 23, 2019 at 12:41 PM Jakob Erdmann wrote: > This converted from hourly values to per-second values. The author tells > me that the original the training data was scaled. Note, that the > compute-formula in the

Re: [sumo-user] Logic behind Emission model

2019-10-23 Thread Jakob Erdmann
This converted from hourly values to per-second values. The author tells me that the original the training data was scaled. Note, that the compute-formula in the actual model (HelpserHBEFA3.h) does not have this factor anymore. Am Mi., 23. Okt. 2019 um 09:48 Uhr schrieb Radha Reddy <

Re: [sumo-user] Logic behind Emission model

2019-10-23 Thread Radha Reddy
Dear Jakob, I went through the document to understand the emission models. It is really worth the document is, however, I didn't understand one parameter employed in Eq (4-5). In the Eq(4-5) there is 3600 over the formula, what is this value? Is it the simulation time? 3600 seconds! Can you