[sumo-user] Extracting bus stops from a set of edges or path

2020-06-09 Thread Tripplanner Mumbai
Hello, I have a path (route) which is defined as a sequence of edges. For example, a set of edges is - edges="133 31 115 110 185 92 90 m91 88 187 190 77[0] 53[1][0] 53[1][1][0] 77[1][0] 77[1][1]". Now, how can I derive the set of bus stops corresponding to this path. I mean all the bus stops which

Re: [sumo-user] weight update inteval

2020-06-09 Thread Jakob Erdmann
If your scenario is prone to jamming, a smaller adaptation interval allows vehicles to react more quickly to developing jams and route around them. This can avoid large-scale jams and thereby reduce the time spent by each vehicle in the simulation (and thus eliminate subsequent rerouting trials).

Re: [sumo-user] weight update inteval

2020-06-09 Thread Raheleh Zarei
That is also what I expected, but for a scenario--a city map with about 1700 nodes, 100 random trips, and CH as routing algorithm-- duration is less when the interval is set to 130 than when it is 210. For Dijkstra and Astar also, it doesn't follow this rule. (smaller interval, smaller duration).

Re: [sumo-user] Save state does not have the x, y coordinates of a vehicle

2020-06-09 Thread Jakob Erdmann
No, fcd-output will not work for this. However, if you just wish to reset vehicle positions you can also do this with traci.vehicle.moveToXY and it will probably have less overhead compared to saving/loading state. Am Di., 9. Juni 2020 um 22:36 Uhr schrieb Proyash Podder : > Thank you for your

Re: [sumo-user] Save state does not have the x, y coordinates of a vehicle

2020-06-09 Thread Proyash Podder
Thank you for your reply. I already used - -fcd-output which gives me the exact x and y coordinates. But, my goal is to get the saved state(xml file), modify it, and again use the - -load state command to restart the simulation. Can I restart the simulation like load state if I use - -

Re: [sumo-user] Error in making emergency middle lane

2020-06-09 Thread Reza
Thanks. I was wondering to know whether there is anything else I can do to make the emergency lane. -- Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/ ___ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list,

Re: [sumo-user] Save and load Simulation without starting a new one

2020-06-09 Thread Jakob Erdmann
No and this is a known issue: https://github.com/eclipse/sumo/issues/7020 At the moment it only works correctly for the default traffic lights with fixed plans and no offset. Am Di., 9. Juni 2020 um 19:48 Uhr schrieb . Abdullah : > Hi, > > does traci.simulation.saveState() save traffic states as

Re: [sumo-user] Save state does not have the x, y coordinates of a vehicle

2020-06-09 Thread Jakob Erdmann
The state encodes vehicle positions via lane coordinates (lane id and offset along the lane). While you could compute x and y from this (i.e. using traci function traci.simulation.convert2d) it might be easier to use --fcd-output instead: https://sumo.dlr.de/docs/Simulation/Output/FCDOutput.html

Re: [sumo-user] Save and load Simulation without starting a new one

2020-06-09 Thread . Abdullah
Hi, does traci.simulation.saveState() save traffic states as well, like the current phases and all other phases and their remain durations? On Sun, Jun 7, 2020 at 1:18 AM Jakob Erdmann wrote: > Yes. You can use traci.load(['sumo', '-n' , 'your.net.xml', > '--load-state', 'savedstate.xml',

Re: [sumo-user] Computing distance and travel time from a bus stop to another bus stop

2020-06-09 Thread Tripplanner Mumbai
Things are sorted out after I installed the version available currently which was updated on June 8. On Tue, 9 Jun 2020 at 20:43, Tripplanner Mumbai wrote: > Hello, > > I just checked the current version which is updated on June 8. I found > that the class "busstop" is available in it. Looks

[sumo-user] Save state does not have the x, y coordinates of a vehicle

2020-06-09 Thread Proyash Podder
Hello everyone! I am using SUMO’s save state and load state functionality to take snapshot of my scenario for a particular time (e.g., 1st second) using “sumo -c myfile.sumocfg --save-state.times 1 --save-state.files trace_1.xml” command. Now, the trace_1.xml file does not contain the exact

Re: [sumo-user] SUMO-PHEMlight emissions

2020-06-09 Thread Michael Behrisch
Hi Natalia, only exhaust emissions are calculated (no abrasion). How much evaporation is included I cannot assess. If you have detailed questions concerning the models you may also contact the original authors https://www.ivt.tugraz.at/assets/files/download/PHEMlight_en.pdf. Best regards,

Re: [sumo-user] Computing distance and travel time from a bus stop to another bus stop

2020-06-09 Thread Tripplanner Mumbai
Hello, I just checked the current version which is updated on June 8. I found that the class "busstop" is available in it. Looks like I have to uninstall mine (updated from May) and again reinstall the new one. thanks and regards, Dillip Rout On Tue, 9 Jun 2020 at 19:34, Tripplanner Mumbai

Re: [sumo-user] Computing distance and travel time from a bus stop to another bus stop

2020-06-09 Thread Tripplanner Mumbai
Nope, I am using ubuntu, and the particular version I installed is - https://sumo.dlr.de/daily/sumo-all-git.tar.gz I rechecked my SUMO_HOME, it is pointing to the desired folder where all the tools are available and that is configured for use. If

Re: [sumo-user] Computing distance and travel time from a bus stop to another bus stop

2020-06-09 Thread Jakob Erdmann
The download https://sumo.dlr.de/daily/sumo-win64-git.zip contains the file tools/traci/_busstop.py Most likely your are importing traci via reference to SUMO_HOME/tools where SUMO_HOME points to another version of sumo. Am Di., 9. Juni 2020 um 15:24 Uhr schrieb Tripplanner Mumbai <

Re: [sumo-user] Computing distance and travel time from a bus stop to another bus stop

2020-06-09 Thread Tripplanner Mumbai
Hello, traci.busstop.getLaneID("busStop#35") did not work since there is no class in "busstop" in my installed version, you may verify it from the attachment which is the list of classes available in my local machine. Note that I am using the latest development version of SUMO (

[sumo-user] SUMO-PHEMlight emissions

2020-06-09 Thread Natalia Liora
Hello, I ‘d like to ask you if the pollutant emissions that are produced by SUMO-PHEMlight include also cold exhaust emissions and non-exhaust emissions (abrasion, evaporation?). Or only the hot exhaust emissions are calculated? Thank you, Natalia

[sumo-user] sumo validation

2020-06-09 Thread Natalia Liora
Hello, I’d like to ask if there is any publication regarding the validation of SUMO using field data (measurement data of speed, acceleration etc.) Thank you Natalia ___ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list,

Re: [sumo-user] Error in making emergency middle lane

2020-06-09 Thread Jakob Erdmann
Thank you for the example input. I'ts a bug: https://github.com/eclipse/sumo/issues/7134 Am Mo., 8. Juni 2020 um 16:46 Uhr schrieb Reza : > Please find attached the files. > > 2_-_Copy.rar > > > > > > -- > Sent from:

Re: [sumo-user] How to know a junction's connected edges

2020-06-09 Thread Jakob Erdmann
see https://sumo.dlr.de/docs/Tools/Sumolib.html Am Di., 9. Juni 2020 um 11:14 Uhr schrieb Dayuan Tan : > Dear Jakob, > > Hope everything goes well! Thank you very much for your helping! > > I'm wondering when I know a junction's id how to get its connected edges' > ids? > > I checked Traci

[sumo-user] How to know a junction's connected edges

2020-06-09 Thread Dayuan Tan
Dear Jakob, Hope everything goes well! Thank you very much for your helping! I'm wondering when I know a junction's id how to get its connected edges' ids? I checked Traci python doc but didn't find anything related. I also found an archived email

Re: [sumo-user] Loading the scenario or simulation using TraCI

2020-06-09 Thread Tripplanner Mumbai
With respect to TraCI, I thought that the following line of code loads and starts the simulation: traci.start([sumoBinary, "-c", "run.sumo.cfg"]) However, now I realize that this loads and starts the basic (or zeroth) step. The actual step by step simulation is executed by the

[sumo-user] Loading the scenario or simulation using TraCI

2020-06-09 Thread Tripplanner Mumbai
Hello, I was trying to only load (not start the simulation) the simulation network or scenario using TraCI, particularly the following code (ref- https://sumo.dlr.de/daily/pydoc/traci.main.html). try: traci.load(['-c', 'run.sumo.cfg']) #only loads the simulation or scenario, not starts

Re: [sumo-user] Simple - how to know platoon status

2020-06-09 Thread Jakob Erdmann
you could call simpla._mgr.getPlatoonLeaders() and also look into simpla._mgr._platoons Am Di., 9. Juni 2020 um 08:09 Uhr schrieb Dayuan Tan : > Dear Jakob, > > Hope everything goes well! > > When I use simple, how could I know which vehicles are in which platoon or > not? Do we have a method

Re: [sumo-user] How to realize the double-ring structure of traffic signal timings

2020-06-09 Thread Jakob Erdmann
Double ring controllers are support, although it's still somewhat experimental. You can find examples in https://github.com/eclipse/sumo/tree/master/tests/sumo/basic/tls/actuated (all the folders with dualring in their name). The signal plans were generated with tools/tls/tls_buildTransitions.py

Re: [sumo-user] SUMOPy Not Working

2020-06-09 Thread Jakob Erdmann
If you cannot get sumopy to run (which I cannot provide support on), The common route is to pick the appropriate xml-output and either use of the plotting tools in sumo/tools or to load the xml data into excel. To obtain a histogram of co2 per vehicle, you could use options

Re: [sumo-user] How to edit xml files with different settings

2020-06-09 Thread Jakob Erdmann
No. I usually write small single-use python scripts to accomplish this. You might also be able to use something like envsubst or sed or powershell-replace to create the needed xml files. Am So., 7. Juni 2020 um 15:15 Uhr schrieb Zhang Jackie < zhangzuot...@gmail.com>: > Hi All, > I'd like to

Re: [sumo-user] macroscopic fundamental diagram

2020-06-09 Thread Jakob Erdmann
For creating the FD, see https://sumo.dlr.de/docs/Tutorials/FundamentalDiagram.html Regarding your general validation question, you should first figure out what kind of ground truth data you can get. Obtaining the same kind of data from a simulation is usually the easy part. Am Mo., 8. Juni 2020