[sumo-user] Problems when using multiprocessing in SUMO

2018-09-10 Thread Zhiqiang Hu
Hi Jakob, I need to use average SUMOs in my project,and I use traci.start([sumoBinary,"--start","-c","data/cross.sumocfg","--tripinfo-output","/home/hzq/hzq_disk2/test_A3C_tripinfo/tripinfo_%s.xml" % i_name]) to start SUMOs. And it works well,but, when I use

[sumo-user] Tool to Plot value of SSM

2018-09-10 Thread christian.damdjowabo
Hello Jakob, hello everybody, I wanted to analyze some critical scenario. For that reason I used ssm on the "ego-car". The Output file is an xml file with contain the value of TTC as example. By adding the parameter key="device.ssm.trajectories" value="true" /> it's possible to me to get also

Re: [sumo-user] package to use for dynamic routing

2018-09-10 Thread Jakob Erdmann
see http://sumo.dlr.de/wiki/Demand/Dynamic_User_Assignment The simplest method is loading the trips directly into SUMO (one-shot) regards, Jakob 2018-09-10 14:45 GMT+02:00 Alessandro Farina : > Dear all, > I am providing in input od matrixes to the simulator via od2trips. > When I generate

Re: [sumo-user] Repetition of random scenarios

2018-09-10 Thread Jakob Erdmann
Hello, by default, the random seed is fixed so a scenario is always repeatable. See http://sumo.dlr.de/wiki/Simulation/Randomness#Random_number_generation_.28RNG.29 regards, Jakob 2018-09-10 13:50 GMT+02:00 Tong, Kailin : > Dear SUMO community, > > > > I generated a couple of random scenarios

[sumo-user] package to use for dynamic routing

2018-09-10 Thread Alessandro Farina
Dear all, I am providing in input od matrixes to the simulator via od2trips. When I generate routes from trips via duarouter I get static routing. But I would need to have dynamic routing in the simulation: which package shall I use (instead of duarouter)? Best regards, alessandro farina

Re: [sumo-user] Beginner for SUMO

2018-09-10 Thread Ei Ei Mon
Dear, Thank you for your time. Now I use sumo 1.0.0 version. When I try to create accident case as the following: if(step>=21600 and step<=22000): traci.vehicle.setStop('43.0',edgeID='L10189',laneIndex=1,pos=90,duration=600,flags=0,startPos=50); *duration *is not still working.

Re: [sumo-user] bus flows - emissions per edge

2018-09-10 Thread Natalia Liora
Hi Jacob, thanks for your reply. Well I found that in case I do not define in the add.xml file the edgeData ids for the cases I do not have a traffic flow (i.e. ed2 for bus) then the tool works. That is to say, that it the sum of the emission outputs per edge and per vehicle type gives the same

Re: [sumo-user] Beginner for SUMO

2018-09-10 Thread Jakob Erdmann
Answers below: Now I would like to know about the difference between the outputs of > edge-based measures and using lane area detectors. I want to get the > information related with edge like density, occupancy , speed. For this > purpose, which of the following approaches is suitable? > > 1)

Re: [sumo-user] bus flows - emissions per edge

2018-09-10 Thread Jakob Erdmann
Strange, your input files look correct. Also, the attributes 'begin' and 'end' are working as expected in our emission output tests. Please send me your complete input files so I can take a look at the problem. regards, Jakob 2018-09-10 8:11 GMT+02:00 Natalia Liora : > Hello, > > > I want to run

Re: [sumo-user] A few questions about SUMO output

2018-09-10 Thread Jakob Erdmann
1) Sorry. Not yet implemented ( https://github.com/eclipse/sumo/issues/2445 https://github.com/eclipse/sumo/issues/3023) 3) http://sumo.dlr.de/wiki/Simulation/Output/Lane-_or_Edge-based_Traffic_Measures regards, Jakob 2018-09-10 4:19 GMT+02:00 mohsen hs : > Hi Jakob, > > After sending the

Re: [sumo-user] stop bus and car

2018-09-10 Thread Jakob Erdmann
by adding more elements. (e.g. https://github.com/eclipse/sumo/blob/master/tests/sumo/extended/busses/three_busses/input_additional.add.xml ) 2018-09-10 9:34 GMT+02:00 Mohammed Bin Hariz : > with child elements determines the last and first stop..How > can I make the bus stop in 3 or 4

Re: [sumo-user] stop bus and car

2018-09-10 Thread Mohammed Bin Hariz
with child elements determines the last and first stop..How can I make the bus stop in 3 or 4 specific stops located in different edges ? my map extracted from Openstreet map. On Mon, Sep 10, 2018 at 3:29 AM, Jakob Erdmann wrote: > You can control stopping time with the stop attributes

Re: [sumo-user] stop bus and car

2018-09-10 Thread Jakob Erdmann
You can control stopping time with the stop attributes 'until' (which set a lower bound on departue to ensure that a schedule is followed) and 'duration' which sets a minimum time for staying at the stop. 2018-09-10 9:16 GMT+02:00 Mohammed Bin Hariz : > Thank you for your replay..I will try it.

Re: [sumo-user] stop bus and car

2018-09-10 Thread Mohammed Bin Hariz
Thank you for your replay..I will try it. But In my scenario, there are 3 buses and each bus move and stop in many stations and these stations in different edges . For example bus A move from station"1" and stop in it for one minutes.Then move from "1" to station"2" and stop it for 2 minutes.Then

Re: [sumo-user] stop bus and car

2018-09-10 Thread Jakob Erdmann
1) Hello, You can define your bus as a with child elements. This way you just have to define a 'from' and a 'to' edge which can be identical with the edge of the first and last stop. This way sumo will find a route that connects the stops and you will not get the route errors. 2) If you want

[sumo-user] Question about converting a network from Visum to Sumo

2018-09-10 Thread Alessandro Farina via sumo-user
Dear All, we have difficulty in converting a network from Visum to Sumo, using Netconvert. We are using the Visum version 13.00-14 in Italian and the newest Sumo release (of 4/9/2018). We tried with a trial network with only a few nodes and edges but we have the same problem. The problem we had is

Re: [sumo-user] Question about converting a network from Visum to Sumo

2018-09-10 Thread Jakob Erdmann
Hello, Unfortunately, Visum uses localized keywords in it's definition files and currently only german is supported at the moment ( http://sumo.dlr.de/wiki/Networks/Import/VISUM#Import_Coverage) Adding another language should not be terribly hard and we'd be happy to accept pull requests as

Re: [sumo-user] Error while getting information from vehicle

2018-09-10 Thread Jakob Erdmann
Once vehicle '1' leaves the simulation by arriving at it's destination, requesting it's position raises an exception. The easiest solution is to catch the exception and do nothing. You can also prevent vehicle '1' from leaving the simulation by modifying it's route or adding at on the final edge

[sumo-user] bus flows - emissions per edge

2018-09-10 Thread Natalia Liora
Hello, I want to run a 3hour simulation including a bus flow for specific hours only ,e.g for the 2nd hour of simulation only. The problem is that theemissions output per edges for bus category includes emissions for all hours after the first hour in which a bus flow exists (i.e. 2nd, 3rd