Re: [sumo-user] Obtaining the simulation image as a matrix through Traci

2022-03-17 Thread Jakob Erdmann
you could use traci.gui.screenshot: https://sumo.dlr.de/pydoc/traci._gui.html#GuiDomain-screenshot Am Do., 17. März 2022 um 00:29 Uhr schrieb Paul Gazel-Anthoine < paul.gazel-antho...@estudiantat.upc.edu>: > Hi, > > I'm using SUMO in a Reinforcement Learning project and I'm looking for a > way to

Re: [sumo-user] Import real time traffic data into Sumo

2022-03-17 Thread Jakob Erdmann
PS: pull requests are welcome: https://github.com/eclipse/sumo/issues/6613 Am Do., 17. März 2022 um 08:58 Uhr schrieb Jakob Erdmann < namdre.s...@gmail.com>: > Hello, > > I'd recommend routeSampler.py ( > https://sumo.dlr.de/docs/Tools/Turns.html#routesamplerpy) inst

Re: [sumo-user] Import real time traffic data into Sumo

2022-03-17 Thread Jakob Erdmann
Hello, I'd recommend routeSampler.py ( https://sumo.dlr.de/docs/Tools/Turns.html#routesamplerpy) instead of the calibrator approach because it is simpler and more robust (The page https://sumo.dlr.de/docs/Simulation/Calibrator.html#building_a_scenario_without_knowledge_of_routes_based_on_flow_meas

Re: [sumo-user] Cooperative lane changing in SL2015

2022-03-17 Thread Jakob Erdmann
would have imagined that the random starting speeds and lanes would make > it such that vehicles were forced to cooperate and lane change accordingly? > Do I have to mess with the speed mode too? > > Thank you. > > Sincerely, > Hriday > > > On Wed, 16 Mar 2022 at 09:10

Re: [sumo-user] Language mapping for netconvert

2022-03-16 Thread Jakob Erdmann
Hello, the current mapping file for english Visum input can be found in the data/lang folder of your SUMO installation. The format is KEYWORD_DE KEYWORD_OTHER with one such pair per line. regards, Jakob Am Mi., 16. März 2022 um 13:35 Uhr schrieb Bachmann, Frederik < frederik.bachm...@tum.de>: >

Re: [sumo-user] Traci: How to get SUMO warnings

2022-03-16 Thread Jakob Erdmann
Hello, there is currently no API to retrieve warnings. The error output should be flushed in every step so you could try to consume stderr of the simulation process directly. Alternatively, you could monitor the acceleration values of all vehicles in every step to detect abnormal deceleration. reg

Re: [sumo-user] Set up road-net supporting latitude and longitude

2022-03-16 Thread Jakob Erdmann
Networks imported from OSM automatically support lon,lat positioning. See https://sumo.dlr.de/docs/Geo-Coordinates.html Triggering crashes is explained at https://sumo.dlr.de/docs/Simulation/Safety.html Am Mi., 16. März 2022 um 02:56 Uhr schrieb Dayuan Tan : > Hi community, > > Hope you everythin

Re: [sumo-user] Cooperative lane changing in SL2015

2022-03-16 Thread Jakob Erdmann
at > a rate of 1 vehicles/hr -> only a difference of 4-8 simulation time > steps (seconds in my case). Wondering in what scenario this difference in > parameters would be most visible - if any clue? > > Thank you. > > Sincerely, > Hriday > > > On Mon, 14 Mar

Re: [sumo-user] GLOSA implementation

2022-03-14 Thread Jakob Erdmann
it of coloring a vehicle based off of its acceleration? > > > > How could this be achieved? > > > > Many thanks, > > > > Nathan > > > > > > *From: *Jakob Erdmann > *Sent: *03 March 2022 09:35 > *To: *Sumo project User discussions >

Re: [sumo-user] Cooperative lane changing in SL2015

2022-03-14 Thread Jakob Erdmann
Hello, cooperative behavior is actually guided by three parameters that can be controlled separately: - lcCooperative: whether to perform a cooperative lane change if decreases ego speed, See Line 1375 - lcCooperativeSpeed (defaults to lcCooperative): whether to adapt the ego speed to help other ve

Re: [sumo-user] Vehicle is not known

2022-03-14 Thread Jakob Erdmann
Most likely, the vehicle has already arrived and thus left the simulation. You can either - check for the vehicles presence by confirming its presence in traci.vehicle.getIDList - monitor all arrivals with traci.simulation.getArrivedIDList - handle the exception with 'except traci.TraCIException' (

Re: [sumo-user] statistics output & summary output

2022-03-14 Thread Jakob Erdmann
is is something that IS build up into > memory and is flushed into the file at the very moment of closing the final > simulation end dialog with "yes" (closing view & files). Whether it's only > flushing the file output buffer or outputting a data structure at that time

Re: [sumo-user] statistics output & summary output

2022-03-14 Thread Jakob Erdmann
> I'd suggest to add this condition to get it working also in https://sumo.dlr.de/docs/Simulation/Output/StatisticOutput.html, preferably accompanied with a reference to https://sumo.dlr.de/docs/Simulation/Output/index.html#converting_outputs or to https://sumo.dlr.de/docs/Tools/Xml.html#xml2csvpy.

Re: [sumo-user] flows

2022-03-11 Thread Jakob Erdmann
r? Because I > want to investigate the impacts of different demand ratios on intersection > approaches. > > Thanks, > Yajun > > On Mon, 7 Mar 2022 at 19:31, Jakob Erdmann wrote: > >> When using a a flow with 'probability', insertion follows a binomial >> di

Re: [sumo-user] stopping at the rightmost of the outer lane

2022-03-10 Thread Jakob Erdmann
of your second suggestion, I had done it before my first >> question. I think the blue vehicles are affected by the cyan and yellow >> ones trying to overtake the red stopped vehicles. Is it possible to >> terminate this connection in this position? >> >> On Thu, Mar 1

Re: [sumo-user] stopping at the rightmost of the outer lane

2022-03-10 Thread Jakob Erdmann
gned regards, Jakob Am Do., 10. März 2022 um 15:54 Uhr schrieb ali mirzaei : > I add this kind of vehicle (the blues) with traci.vehicle.add() and then > make them stop by traci.vehicle.setStop() while the attribute 'posLat' is > not defined there. > > > On Thu, Mar 10,

Re: [sumo-user] [EXTERNAL] Re: SUMO OpenDrive unable to load in VTD

2022-03-10 Thread Jakob Erdmann
eck it out. Thanks for the updates. > > > With kind regards, > > Gregor > > > -- > *Od:* sumo-user v imenu Jakob Erdmann < > namdre.s...@gmail.com> > *Poslano:* torek, 08. marec 2022 19:10 > *Za:* Sumo project User discussions > *Zadeva:* [EXTERNAL] Re: [

Re: [sumo-user] converted shape file to sumo network file

2022-03-10 Thread Jakob Erdmann
hich is a variation of layout to be tested in microsimulation. > > > > Le jeudi 10 mars 2022, 10:50:02 UTC+1, Jakob Erdmann < > namdre.s...@gmail.com> a écrit : > > > The recommended way for converting OSM data to a .net.xml file is by > importing the OSM data directly ( >

Re: [sumo-user] stopping at the rightmost of the outer lane

2022-03-10 Thread Jakob Erdmann
use stop attribute 'posLat' ( https://sumo.dlr.de/docs/Definition_of_Vehicles%2C_Vehicle_Types%2C_and_Routes.html#stops ) Am Do., 10. März 2022 um 10:46 Uhr schrieb ali mirzaei : > Hi everyone, > In my scenario, there is a route having two lanes. I want to simulate a > flow in which a specified

Re: [sumo-user] Sumo-gui crashes as reading my file

2022-03-10 Thread Jakob Erdmann
Please see https://sumo.dlr.de/docs/FAQ.html#i_made_changes_to_the_netxml-file_but_it_did_not_work_as_expected_why Am Do., 10. März 2022 um 08:53 Uhr schrieb Thanhnt Nguyen < thanhnt@gmail.com>: > Thank you very much. Your file, it helped me a lot > > Vào 14:46, Th 5, 10 thg 3, 2022 Hung Trin

Re: [sumo-user] SUMO OpenDrive unable to load in VTD

2022-03-08 Thread Jakob Erdmann
Hello Gregor, the latest git version contains several fixes with regard to misspelled attributes and element ordering. Can you re-export some xodr (either with a fresh build of netconvert or tomorrows nightly-build) and check whether VTD can load it? regards, Jakob Am Mo., 7. März 2022 um 10:49 U

Re: [sumo-user] flows

2022-03-07 Thread Jakob Erdmann
When using a a flow with 'probability', insertion follows a binomial distribution. Your example should be a good fit to a poisson distribution. See here, for rules of thumb on approximation: https://en.wikipedia.org/wiki/Binomial_distribution#Poisson_approximation Note that you cannot not set 'end

Re: [sumo-user] getting Trajectory using Traci

2022-03-07 Thread Jakob Erdmann
travel time output >run the next minute simulation > > > > On Mon, Mar 7, 2022 at 11:16 AM Jakob Erdmann > wrote: > >> I'm not sure what you mean by "travel time". Usually the concept refers >> to the time it takes for traveling a specified dist

Re: [sumo-user] SUMO OpenDrive unable to load in VTD

2022-03-07 Thread Jakob Erdmann
Thank you for the examples. Unfortunately, I also cannot identify the problem in those files and cannot even reproduce the problem due to lack of access to VTD. 1. You could try to narrow it down by testing simpler and ever simpler files until you find identify the element that creates the proble

Re: [sumo-user] Importing Real World Data in Sumo for Simulation

2022-03-07 Thread Jakob Erdmann
Hello, the recommended way to include counting data is with the routeSampler tool ( https://sumo.dlr.de/docs/Tools/Turns.html#routesamplerpy) You can find a video tutorial and example files at https://sumo.dlr.de/docs/Tutorials/index.html#sumo_user_conference (year 2020) SUMO provides a ton of out

Re: [sumo-user] getting Trajectory using Traci

2022-03-06 Thread Jakob Erdmann
t with the previous 60 seconds > if comparison exceed a threshold > change speed > else >continue simulation > so, for this purpose what is your opinion, can I get travel time for every > 60 seconds? > > > > > On Fri,

Re: [sumo-user] flows, vehsPerHour

2022-03-06 Thread Jakob Erdmann
Indeed, such a flow should have no more than 1000 vehicles per hour by default. Did you maybe set option --scale ? If not, please zip and attach all simulation files that show this unexpected behavior. Am So., 6. März 2022 um 13:54 Uhr schrieb Yajun She : > Dear all, > > I inserted a traffic flow

Re: [sumo-user] Two lane side street

2022-03-04 Thread Jakob Erdmann
rce the cyan vehicles to wait behind the red ones till the > stopping duration over? > > On Thu, Mar 3, 2022 at 7:25 PM ali mirzaei wrote: > >> Thank you. That's it. >> >> On Thu, Mar 3, 2022 at 7:04 PM Jakob Erdmann >> wrote: >> >>> The lane on

Re: [sumo-user] Vehicles stalled in a signalized intersection

2022-03-04 Thread Jakob Erdmann
Are you maybe using other traci functions that could affect vehicle behavior? A screenshot might also help to diagnose the situation. Am Do., 3. März 2022 um 16:08 Uhr schrieb Hervé Diedie < hervedie...@gmail.com>: > Using TraCI function trafficlights.setRedYellowGreenState with proper > argumen

Re: [sumo-user] getting Trajectory using Traci

2022-03-04 Thread Jakob Erdmann
int(avgTT_list) > step += 0.4 > but after some time step sumo raise this error > raise TraCIException(err, prefix[1], _RESULTS[prefix[2]]) > traci.exceptions.TraCIException: Vehicle '1.3' is not known. > how can I fix it and do you have any suggestions for c

Re: [sumo-user] Two lane side street

2022-03-03 Thread Jakob Erdmann
expected to have a stop defined by ~.setStop(), stops in > the determined position but when starts moving, experiences a lane change > and then goes on to its path. > > On Thu, Mar 3, 2022 at 4:54 PM Jakob Erdmann > wrote: > >> Please show a screenshot. >> >>

Re: [sumo-user] Converted shape file on sumo file network

2022-03-03 Thread Jakob Erdmann
- converting OSM to shapefile and then shapefile to .net.xml will not work as well as converting OSM to .net.xml directly ( https://sumo.dlr.de/docs/Networks/Import/OpenStreetMap.html) - your command fails due to an invalid path 'net.net.xml\' instead of 'net.net.xml' Am Do., 3. März 2022 um 14:45

Re: [sumo-user] Two lane side street

2022-03-03 Thread Jakob Erdmann
Please show a screenshot. Am Do., 3. März 2022 um 14:05 Uhr schrieb ali mirzaei : > Hi everyone, > I have a double-bond side street in which the flow has the same direction > and leads to a main street. Why do all the vehicles, even those whose > departure lane is on the right side, make a lane c

Re: [sumo-user] Lane changing issue

2022-03-03 Thread Jakob Erdmann
Failure to overtake in this situation may have different reasons. Can you provide the scenario files for me to look at? Am Di., 1. März 2022 um 22:20 Uhr schrieb soni shamli : > Hello all, > > I am doing a microsimulation of a street and currently facing an issue > with lane changing scenarios. I

Re: [sumo-user] GLOSA implementation

2022-03-03 Thread Jakob Erdmann
output of the cars > > On Thu, 3 Mar 2022, 08:21 Jakob Erdmann, wrote: > >> The device assignment looks fine (though you could simplify it by >> defining '') as a child >> element of the ). >> What kind of error / problems are you seeing? >> >&g

Re: [sumo-user] GLOSA implementation

2022-03-03 Thread Jakob Erdmann
gt; Thank you very much for your help, > > Nathan > > > > vClass="passenger" length="5" accel="3.5" decel="2.2" > sigma="1.0" maxSpeed="10"/> > > > > > > > > > > >

Re: [sumo-user] GLOSA implementation

2022-03-02 Thread Jakob Erdmann
Hello, - in case you were not aware of this, SUMO already supports a glosa device that works without TraCI and can be enabled via options or xml inputs: https://sumo.dlr.de/docs/Simulation/GLOSA.html - SUMO does not model a communication layer. If you want to implement your own GLOSA functions, you

Re: [sumo-user] getting Trajectory using Traci

2022-03-01 Thread Jakob Erdmann
Have you considered using fcd-output? The simplest (though not the most efficient) way to retrieve data from all vehicles is by looping over the list of all ids: for vehID in traci.vehicle.getIDList(): traci.vehicle.getPosition(vehID) Am Di., 1. März 2022 um 14:59 Uhr schrieb amir kr : > Hell

Re: [sumo-user] Convert the .shape file en SUMO network file

2022-02-27 Thread Jakob Erdmann
To import a shapefile with netconvert, you can use the "extra" version: https://sumo.dlr.de/releases/1.12.0/sumo-win64extra-1.12.0.msi Combining a shapefile with an osm-based .net.xm file is technically possible but not recommended. I'd suggest that you use the netedit application to construct your

Re: [sumo-user] changing output time steps in "dump.xml"

2022-02-26 Thread Jakob Erdmann
--aggregation 60 (default is 900) Am Sa., 26. Feb. 2022 um 09:01 Uhr schrieb Reza Bahmani < rbaphysics1...@gmail.com>: > Hi > How can we have 1min link information (density, speed, ...) when we use > duaiterate? after running simulation it returns 15min outputs as file > "dump.xml". > __

Re: [sumo-user] using multiple cores in sumo

2022-02-25 Thread Jakob Erdmann
--routing-threads is not an option of duaIterate.py. However, you can pass options directly to duarouter by putting them last in in the option list and prefixing them with 'duarouter' like so: "python2 duaIterate.py -n test.net.xml -t test.trips.xml --max-convergence-deviation 0.05 --last-step 10

Re: [sumo-user] [EXTERNAL] Re: Carla Simulator Support for SUMO generated opendrive files.

2022-02-25 Thread Jakob Erdmann
ile to Carla >and try to parse it with the command--> > python3 >config.py -x opendrive/SUMOopendrive.xodr >4. I get an error that simply states : opendrive could not be >correctly parsed. > > > With kind regards, > Greg

Re: [sumo-user] SUMO Queries

2022-02-25 Thread Jakob Erdmann
ually we talk about > *moving average of something in a time window* (i.e. moving average of > vehicle count over the last 50 steps) > > yes, how can we find the moving average of the vehicle? > > > On Fri, 25 Feb 2022 at 12:11, Jakob Erdmann wrote: > >> 1. set opti

Re: [sumo-user] Need help with graphs

2022-02-25 Thread Jakob Erdmann
t; departSpeed="avg" begin="0" end="3600"/> > departLane="best" departSpeed="avg" begin="0" end="3600"/> > > > > I also looked into this link: > https://sumo.dlr.de/docs/Definition_of_Vehicles%2C_Vehicle_Type

Re: [sumo-user] SUMO Queries

2022-02-25 Thread Jakob Erdmann
1. set option --fcd-output fcd.xml --device.fcd.explicit EGO --tripinfo-output tripinfo.xml --device.tripinfo.explicit EGO This writes the relevant outputs for EGO only 2. not sure what you mean by "moving average". Usually we talk about *moving average of something in a time window* (i.e. mov

Re: [sumo-user] using Calibrator with routeProbe

2022-02-24 Thread Jakob Erdmann
gt; to about 700 veh/h. The insertionCheck doesn't seem to have any impact on > the results. > > > On Thu, Feb 24, 2022 at 10:54 PM Jakob Erdmann > wrote: > >> Your simulation is completely jammed and thus the calibrator cannot >> insert anything. Or are you targeting mesosim

Re: [sumo-user] using Calibrator with routeProbe

2022-02-24 Thread Jakob Erdmann
les being inserted visually but haven't checked the outputs > yet. > Here is a small example (so far I have tried on three different networks > and all had the same issue of not inserting vehicles). > > On Thu, Feb 24, 2022 at 2:31 PM Jakob Erdmann > wrote: > >> i

Re: [sumo-user] using Calibrator with routeProbe

2022-02-24 Thread Jakob Erdmann
if I can find the output of the attribute. I set it and > looked at the log and tripinfo but couldn't find anything useful. But the > calibrator is indeed inserting some vehicles which I see in both detector > output and tripinfo. > > On Wed, Feb 23, 2022 at 4:28 PM Jakob Erdmann

Re: [sumo-user] Need help with graphs

2022-02-24 Thread Jakob Erdmann
_3: similarly if the density is high then the number of >> Vehperhour leaving the edge should be less but in the attached graph it is >> opposite. >> >> Please find the attached configuration files and graphs >> >> Please guide me where I am making mistakes. >>

Re: [sumo-user] Identify a successful lane change in TraCI

2022-02-24 Thread Jakob Erdmann
let state,stateTraci be the result of calling getLaneChangeState. A successful lane change in a specific direction corresponds to a 'True' result by vehicle.wantsAndCouldChangeLane(vehID, direction, stateTraCI). For details, see https://github.com/eclipse/sumo/blob/8dc07fce1b874255272cddcca49a1407f

Re: [sumo-user] Vehicles Running Over Each Other During SUMO Simulation

2022-02-24 Thread Jakob Erdmann
o attaching a snippet >> which shows where I'm observing the "jumpy" behavior. Please note that I >> only defined traffic in the NB direction and that you need to wait for >> congestion to start building up (after second 3000) to observe this >> behavior in the

Re: [sumo-user] sumo network map

2022-02-24 Thread Jakob Erdmann
Either - use netedit to disable some roads by setting their permissions to allow=authority (and modify permissions at runtime with traci) - use closingReroute or closingLaneReroute with attribute allow=authority to disallow roads for a specific time window ( https://sumo.dlr.de/docs/Simulation/Rero

Re: [sumo-user] Emission output in Lon,Lat coordinates

2022-02-24 Thread Jakob Erdmann
Yes: https://github.com/eclipse/sumo/issues/10216 Am Do., 24. Feb. 2022 um 09:57 Uhr schrieb Sasan Amini : > Hi all, > > I am trying to analyze the emission output from SUMO using --emission-output > by getting the position and emission values every second and then > aggregating the data over ti

Re: [sumo-user] Unexplainable behaviour for lane change mode

2022-02-23 Thread Jakob Erdmann
ttps://eclipse.org/legal/epl-v20.html> >> Use --help to get the list of options > > > I follow a modified version of the Dockerfile as in > https://github.com/lcodeca/rllibsumodocker/blob/master/docker-image-linux/Dockerfile > so *yes, it does build after cloning*! > &g

Re: [sumo-user] using Calibrator with routeProbe

2022-02-23 Thread Jakob Erdmann
I'd guess that insertion fails for some reason. You could try the new 'insertionCheck' feature to see which check it runs afoul of. https://github.com/eclipse/sumo/issues/10114 Am Mi., 23. Feb. 2022 um 16:23 Uhr schrieb Sasan Amini : > Dear all, > > I was trying to test the calibrator for a netwo

Re: [sumo-user] Unexplainable behaviour for lane change mode

2022-02-23 Thread Jakob Erdmann
not solve the https://github.com/eclipse/sumo/issues/10060 > problem > for me. So am I doing something wrong regarding the updating itself? So > would I actually have to download the "zip" file and then unzip it from > there locally? > > Thank you. > > Sincerel

Re: [sumo-user] Lane change state (pretty) meaning.

2022-02-23 Thread Jakob Erdmann
That was a bug: https://github.com/eclipse/sumo/issues/10212 Am Di., 22. Feb. 2022 um 13:26 Uhr schrieb Hriday Sanghvi via sumo-user < sumo-user@eclipse.org>: > Hello, > > What does it mean when getLaneChangeStatePretty() TraCI command returns > ['left', 'right', 'strategic', 'TraCI', 'urgent'] -

Re: [sumo-user] Unexplainable behaviour for lane change mode

2022-02-23 Thread Jakob Erdmann
to get the nightly version, or can I use the "main" branch > version? > > Thank you. > > Sincerely, > Hriday > > On Wed, 23 Feb 2022 at 13:14, Jakob Erdmann wrote: > >> I think your video was running with an older version of sumo. The likely >> reason

Re: [sumo-user] Unexplainable behaviour for lane change mode

2022-02-23 Thread Jakob Erdmann
-user < sumo-user@eclipse.org>: > I am attaching the other relevant files associated with the above Python > code! > > Thank you. > > Sincerely, > Hriday > > > On Mon, 21 Feb 2022 at 12:26, Jakob Erdmann wrote: > >> Looks buggy. Please provide all re

Re: [sumo-user] Carla Simulator Support for SUMO generated opendrive files.

2022-02-23 Thread Jakob Erdmann
Thank you for bringing this up. I was not aware Carla had an issue with SUMO-generated OpenDRIVE and have invited their developers to report their problems. If you can provide a (small) example for reproducing the problem, that would also help: -a netconvert-generated xodr file that carla cannot lo

Re: [sumo-user] exitTimes of the vehicle's vehroute.xml shows -1

2022-02-21 Thread Jakob Erdmann
> so the exitTimes for the not-arrived edges will just show as "-1". yes. > And I would like to ask, whether the vehicle.routeLength includes the not > arrived edges? The routeLength attribute of the reflects the length that was actually driven until removal. The routeLength attribute of the s

Re: [sumo-user] Need help with graphs

2022-02-21 Thread Jakob Erdmann
pancy="6.38" waitingTime="0.00" > timeLoss="140.73" > speed="12.36" speedRelative="0.89" departed="48" arrived="0" entered="0" > left="0" laneChangedFrom="6" laneChangedTo="6"/> &g

Re: [sumo-user] Need help with graphs

2022-02-21 Thread Jakob Erdmann
1. you cannot do this with fcd-output directly since you need an intermediate processing step to compute average speeds (fcd has no aggregation). You could plot edgeData 'speed' vs 'left' for this 2. as above. You need to program your own aggregation for this. 3. edgeData 'left' vs 'density' Am Sa

Re: [sumo-user] The value of "pos" component in traci.vehicle.setStop() method

2022-02-21 Thread Jakob Erdmann
If the street after an intersection is only 1m short, then define the stop on the subsequent edge. Am Fr., 18. Feb. 2022 um 20:06 Uhr schrieb ali mirzaei : > Hi everyone, > Using the traci.vehicle.setStop () method, I can not define the "pos" > component so that the vehicle moving in the side str

Re: [sumo-user] Vehicles Running Over Each Other During SUMO Simulation

2022-02-21 Thread Jakob Erdmann
nsity when being in a more > congested lane. I'm attaching a short recording which displays this > problem. Any thoughts? > > > Best regards, > Ahmad Abdallah. > > > On Thu, Feb 17, 2022 at 11:33 AM Jakob Erdmann > wrote: > >> lcAssertive 30 is quite l

Re: [sumo-user] Unexplainable behaviour for lane change mode

2022-02-21 Thread Jakob Erdmann
Looks buggy. Please provide all relevant files for reproducing your scenario. Am Fr., 18. Feb. 2022 um 14:31 Uhr schrieb Hriday Sanghvi via sumo-user < sumo-user@eclipse.org>: > Hello, > > As per my understanding, the "duration" argument in the change lane > command would keep attempting to chang

Re: [sumo-user] Duarouter options while using randomTrips

2022-02-21 Thread Jakob Erdmann
randomTrips only supports "frequently" used duarouter options. For your use case, you need to split the call. Am Mo., 21. Feb. 2022 um 12:43 Uhr schrieb Iñaki Cejudo Fresnadillo via sumo-user : > Hi, > > I'm using randomTrips with -r option to automatically call duarouter, but > it gives me an er

Re: [sumo-user] Miscellaneous Queries

2022-02-18 Thread Jakob Erdmann
> >- average timeLoss on road: edgeData but you can also look at > https://sumo.dlr.de/docs/Simulation/Output/StatisticOutput.html >- minimum, maximum, average travel time on road: edgeData (typical > aggregations are 3600s or whole-simulation) >- maximum capacity on road (max vehs/hour

Re: [sumo-user] Representing loop detectors as Graph in .csv

2022-02-18 Thread Jakob Erdmann
It would convert all the attributes into csv columns and is usable with any xml input (as you can easily test yourself). If you have code that uses plain.edg.csv then you can also use detectors.add.csv. Am Fr., 18. Feb. 2022 um 13:15 Uhr schrieb Jordan Mc Connon < jordan.mcconn...@mail.dcu.ie>: >

Re: [sumo-user] DUAROUTER - Random departure times of person flows, no difference between randomize flows true or false

2022-02-18 Thread Jakob Erdmann
I'd consider it a missing feature since nobody asked for or it or implemented this yet but you could also call it a bug since it violates reasonable user assumptions. Either way, it has been implemented in the latest development version today and you can download an updated version tomorrow at http

Re: [sumo-user] Lane change duration

2022-02-18 Thread Jakob Erdmann
ne? > > > Sincerely, > Hriday > > > On Fri, 18 Feb 2022 at 08:48, Jakob Erdmann wrote: > >> 1. It stays on the target lane even if the model in sumo (LC2013/ SL2015) >> would prefer something different >> 2. it does whatever the model in sumo deems be

Re: [sumo-user] Lane change duration

2022-02-18 Thread Jakob Erdmann
ds, does > it move back to the other lane (not the target lane), or just stay on the > target lane since it has no motivation to move to the other one? > > Sincerely, > Hriday > > > On Fri, 18 Feb 2022 at 07:16, Jakob Erdmann wrote: > >> Yes. The vehicle will try to m

Re: [sumo-user] Miscellaneous Queries

2022-02-17 Thread Jakob Erdmann
1) the simulation always runs as fast as it can and manages anywhere from 50k to 300k vehicle updates per second. This means a simulation of 600s (10min) may take anywhere from <1 s to hours depending on the number of vehicles being simulated 2) yes 3) there is (almost) no way to create congestio

Re: [sumo-user] Deadlock in the Junction

2022-02-17 Thread Jakob Erdmann
There are two ways to deal with this situation a) override this type of junction deadlock by setting the option --ignore-junction-blocker TIME (vehicles will ignore the blocked junction after waiting for TIME) b) figure out why the blockage happens. Possible causes are: - insufficient clearance

Re: [sumo-user] Lane change duration

2022-02-17 Thread Jakob Erdmann
Yes. The vehicle will try to move to that lane and then stay on it for the next 10 seconds and attempts for reaching the target lane are made in every action step until that point (i.e. every second). Am Do., 17. Feb. 2022 um 18:02 Uhr schrieb Hriday Sanghvi via sumo-user < sumo-user@eclipse.org>:

Re: [sumo-user] Confused about "Lane change state"

2022-02-17 Thread Jakob Erdmann
Hello, > the second list is computed after incorporating the TraCI requests (3) and this is what will ACTUALLY happen? Yes > *traci.vehicle.wantsAndCouldChangeLane - *At what point does this request output True? Does the "want to change lane" come from what SUMO would have done, or what actually

Re: [sumo-user] How to change scale traffic using traci?

2022-02-17 Thread Jakob Erdmann
This isn't supported in version 1.12.0 However, the latest development version supports the methods simulation.setScale as well as vehicletype.setScale The download at https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version should should contain a version with those features starti

Re: [sumo-user] Vehicles Running Over Each Other During SUMO Simulation

2022-02-17 Thread Jakob Erdmann
lcAssertive 30 is quite likely to cause this. It reduces the acceptable gap size by a factor of 30 and thus causes lane-changing into short gaps that are very unsafe. I'd recommend keeping lcAssertive well below 2 (though even a value of 1.1 may cause collision in exceptional circumstances). Am Do

Re: [sumo-user] Use the rerouter to simulate the centralized parking management strategy

2022-02-16 Thread Jakob Erdmann
The above description should indeed lead to a fluid centralized parking simulation. However, your use of the rerouter attribute 'timeThreshold="5"' currently causes vehicles to ignore the central parking guidance before they have waited at least 5s. Am Mi., 16. Feb. 2022 um 10:05 Uhr schrieb 何润恺 :

Re: [sumo-user] Measure Road Efficiency - SUMO Traci

2022-02-15 Thread Jakob Erdmann
ould you please explain this point option --yfactor 60 causes all y > values to be scaled by 60. > > On Tue, Feb 15, 2022, 9:19 PM Jakob Erdmann wrote: > >> 1. option --yfactor 60 causes all y values to be scaled by 60 >> 2. The latest development version supports filtering

Re: [sumo-user] Measure Road Efficiency - SUMO Traci

2022-02-15 Thread Jakob Erdmann
edgedata output file. > 2. Can we aggregate the values of all the edges and plot them or how can > we get the output of selective edges? > 3. How can we draw a line graph using plotXMLAttributes.py > 4. What do "-i id" and "-s" represent in the above command. > 5.

Re: [sumo-user] SL2015 lane change model long vehicle overtaking bug still remains

2022-02-15 Thread Jakob Erdmann
C2013 > model. Please advise. > > Thank you. > > Sincerely, > Hriday > > On Thu, 10 Feb 2022 at 12:06, Jakob Erdmann wrote: > >> Thank you for the detailed test case description which permitted >> reproducing the issue. >> The problem is now fixed (do

Re: [sumo-user] TraCI Lane changing mid-second step length

2022-02-15 Thread Jakob Erdmann
1. no 2. setting duration=1 in your changeLane command ensure that the vehicle moves-towards / stays-on the target lane for that duration. Calling changeLane with the current lane, likewise keeps the vehicle there for the duration. Am Di., 15. Feb. 2022 um 11:58 Uhr schrieb Hriday Sanghvi via sumo

Re: [sumo-user] averageTripStatistics.py

2022-02-15 Thread Jakob Erdmann
the output-prefix "TIME" generates time stamps with 1s resolution. If your simulation runs faster than this, outputs will be overwritten. Am Di., 15. Feb. 2022 um 10:45 Uhr schrieb mehmet nedim yavuz < mehmetnedim...@gmail.com>: > I am using the averageTripStatistics.py file to run sumocfg file m

Re: [sumo-user] Measure Road Efficiency - SUMO Traci

2022-02-14 Thread Jakob Erdmann
1. TraCI is not tailored for measuring aggregated data. I recommend doing this with XML outputs (i.e https://sumo.dlr.de/docs/Simulation/Output/Lane-_or_Edge-based_Traffic_Measures.html). However, you can compute traffic statistics "manually": - retrieve the speed or timeLoss of all vehicles in eve

Re: [sumo-user] Strange results with Webster method for traffic lights

2022-02-14 Thread Jakob Erdmann
exandre Hering Coelho, Dr.-Ing. > Departamento de Engenharia Civil > Universidade Federal de Santa Catarina > Florianópolis, Brasil > > On 14 Feb 2022, at 17:46, Jakob Erdmann wrote: > > Hello, > I would generally expect that modifying cycle times and green split > accor

Re: [sumo-user] Strange results with Webster method for traffic lights

2022-02-14 Thread Jakob Erdmann
Hello, I would generally expect that modifying cycle times and green split according to Webster leads to performance improvements compared to unoptimized fixed plans. Could it be that your scenario has significant departDelay in some of your runs? A likely reason for unexpected performance measures

Re: [sumo-user] Netconvert flips the lat,long from shapefile

2022-02-14 Thread Jakob Erdmann
know what does this option do, but it appears to be the > default behavior at least for my data. > > Cheers, > Sasan > > On Wed, Feb 9, 2022 at 8:07 PM Jakob Erdmann > wrote: > >> try with option --shapefile.traditional-axis-mapping >> >> Am Mi., 9. Fe

Re: [sumo-user] Generate SUMO routes from GPS Traces

2022-02-14 Thread Jakob Erdmann
You could match the GPS positions to junctions in the network and then define a route with attributes fromJunction, viaJunctions and toJunction. Am Mo., 14. Feb. 2022 um 12:40 Uhr schrieb Martin Högner : > Dear SUMO Team, > > i use SUMO to test alternative routing algorithms, therefor i want to

Re: [sumo-user] measure_id and summary

2022-02-14 Thread Jakob Erdmann
um 11:26 Uhr schrieb Yajun She : > Dear Jakob, > > A small follow-up question regarding "edgeData", what's the format of the > string list? > For example, I wrote like: edges="rightout, > upout", wirteAttributes="entered, traveltime", which didn

Re: [sumo-user] Simulation duration time

2022-02-14 Thread Jakob Erdmann
There is no direct way to get the end time but multiple indirect ways: - parse the 'log' file when running with option --verbse ("simulation ended at time: X") - run with --summary-output and read the 'time' attribute of the final step - add meanData output or a detector with default aggregation. I

Re: [sumo-user] E3Detector recordings

2022-02-14 Thread Jakob Erdmann
set attribute file="NUL" (works for all outputs) Am Mo., 14. Feb. 2022 um 09:23 Uhr schrieb Hervé Diedie < hervedie...@gmail.com>: > Hi, How can i prevent e3detector from recording data in its corresponding > file during a simulation. I tried to keep parameter file empty but it > didn't work. >

Re: [sumo-user] measure_id and summary

2022-02-13 Thread Jakob Erdmann
To quote the documentation on this: "Note: attribute 'id' is only used to distinguish outputs if there are multiple edgeData definitions. The value is otherwise *arbitrary* and does not influence written outputs." The --summary-output is tied directly to the step length. You can set option --step-

Re: [sumo-user] Questions regarding randomtTrips and routeSampler with edge relation data

2022-02-13 Thread Jakob Erdmann
> When i run the routeSampler.py script i get several warnings that > no route pass the edgeX (X stand for the id) but i still get routes on > these edges. Does this mean that the routeSampler generate new trips if > no trips pass a certain edge? No. RouteSampler only uses routes from your input.

Re: [sumo-user] Reinforcement Learning in Matlab

2022-02-13 Thread Jakob Erdmann
- if a vehicle controlled by moveToXY reaches the end of it's edge, it exits the simulation unless either of the following is done - the moveToXY command is sent in every simulation step - the vehicle was provided with a route that continues after the edge - once the vehicle has left the simul

Re: [sumo-user] Support for NWWriter_OpenDrive

2022-02-13 Thread Jakob Erdmann
Hello, The latest development version (available at https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version) supports export of signal ids. With regard to version support, we are selectively supporting features from all versions depending on requirements of ourselves, project part

Re: [sumo-user] Works with only using traci

2022-02-11 Thread Jakob Erdmann
> if the vehicle is operated using the traci command(to be coded) inside the solid line, can the vehicle data be received without being affected by sumo functions(car-following model, lane changing model, etc..)? yes. Am Fr., 11. Feb. 2022 um 11:53 Uhr schrieb 허송무 : > Hi > > In my scenario, I wa

Re: [sumo-user] SUMO: Predict Collision/Stopped Vehicles?

2022-02-10 Thread Jakob Erdmann
traci.vehicle.getLeader returns the leader vehicle. You can retrieve vehicle speeds and accelerations with vehicle.getSpeed, vehicle.getAcceleration which makes it possible to detect danger. Am Do., 10. Feb. 2022 um 22:17 Uhr schrieb Sumbal Malik < maliksumba...@gmail.com>: > Can the vehicle pred

Re: [sumo-user] Queues at signalized intersections in SUMO simulation

2022-02-10 Thread Jakob Erdmann
In the default microscopic model, queue dynamics are not modeled explicitly. Instead, they are an emergent feature of the carFollowModel(s) in use. However, if you run with option **--mesosim**, the simulation switches to a queueing model: https://sumo.dlr.de/docs/Simulation/Meso.html Am Do., 10.

Re: [sumo-user] How to retrieve these numbers using traci?

2022-02-10 Thread Jakob Erdmann
it's the sum of the values retrieved in every simulation step. Am Do., 10. Feb. 2022 um 14:37 Uhr schrieb Nao Tomori < jeremiahferre...@gmail.com>: > How to do I tally the departed loaded and arrived? > > On Thu, Feb 10, 2022, 9:28 PM Jakob Erdmann wrote: >

<    3   4   5   6   7   8   9   10   11   12   >