Re: [sumo-user] Vehicle Position in a Lane

2018-06-28 Thread Jakob Erdmann
Hello, - if you just want cars traveling in the center of their lane all the time you can run the default model (not setting the lateral-resolution option) - if the lanes and vehicles have default width (3.2m and 1.8m-2.4m) then setting --lateral--resolution 0.4 (or lower) should be sufficient to l

Re: [sumo-user] Keeping track of vehicles entering and exiting an edge

2018-06-28 Thread Jakob Erdmann
Hello, the proposed method would mostly work except for edges that are very short (vehicles might pass that edge in a single simulation step without showing up in getLastStepVehicleIDs). If you do not need the data while the simulation is running you could post-process the vehicle route output in F

[sumo-user] Keeping track of vehicles entering and exiting an edge

2018-06-28 Thread Shekar V
Hello Is there an efficient way to keep track of vehicles entering and exiting an edge. I'd like to keep track of the vehicle ID, when they enter an edge and when they exit for the entire network. My first thought is to use Traci to get edge.getLastStepVehicleIDs() for consecutive time steps. Con

[sumo-user] Keeping track of vehicles entering and exiting an edge

2018-06-28 Thread Shekar V via sumo-user
Hello Is there an efficient way to keep track of vehicles entering and exiting an edge. I'd like to keep track of the vehicle ID, when they enter an edge and when they exit for the entire network. My first thought is to use Traci to get edge.getLastStepVehicleIDs() for consecutive time steps. Con

Re: [sumo-user] tlsCycleAdaptation.py

2018-06-28 Thread Jakob Erdmann
The tlsCycleAdaptation.py script only supports traffic defined with elements at the moment. You can convert your routes.rou.xml file from flows to vehicles by calling duarouter -r routes.rou.xml -n yournet.net.xml -o vehicles.rou.xml regards, Jakob 2018-06-28 20:16 GMT+02:00 : > Hello, > > >

[sumo-user] tlsCycleAdaptation.py

2018-06-28 Thread nestoras
Hello, I am trying to use the tlsCycleAdaptation.py and I get the following error message: "Begin time:0 There are no flows at the given intersections. No green time optimization is done." I have inserted traffic flows in the routes.rou.xml file, which look like this: Can anyone

Re: [sumo-user] Netedit: Edge splitting removes downstream pedestrian crossing

2018-06-28 Thread Jakob Erdmann
Yes, this is a bug: https://github.com/eclipse/sumo/issues/4295 The crossing turns red because it became invalid (the edge that it crosses is no longer part of the central junction). Invalid crossings are still shown in netedit so you can fix them (e.g. by setting the edge id to the second part 'g

Re: [sumo-user] The multi-threaded option in SUMO

2018-06-28 Thread Jakob Erdmann
Hello, - the simulation itself cannot be parallelized. There are some projects that spread the load across multiple instances and synchronize vehicles between the instances but they are not standardized. - if you use online rerouting ( http://sumo.dlr.de/wiki/Demand/Automatic_Routing) than you can

[sumo-user] Netedit: Edge splitting removes downstream pedestrian crossing

2018-06-28 Thread m.bartha...@t-online.de
Hi, this looks like a bug to me: * I create a pedestrian crossing with netconvert across edge A which connects two pedestrian edges * I split edge A * Firstly, the pedestrian crossing changes location to the upstream part of edge A and is marked in red (=incorrect?) *

[sumo-user] The multi-threaded option in SUMO

2018-06-28 Thread 胡志强
Dear sumo users, Is there a multi-threaded option in SUMO to accelerate the simulation process,and what is it ?If not ,is there any way to accelerate the simulation process? Thanks in advance! ___ sumo-user mailing list sumo-user@eclipse.or