Re: [sumo-user] Fuel consumption calculation?

2017-09-14 Thread Jakob Erdmann
Hello, SUMO uses 3rd degree polynomials over speed an acceleration which were fit to detailed engine models. For details please refer to the publication linked at http://sumo.dlr.de/wiki/Models/Emissions#Introduction regards, Jakob 2017-09-14 9:31 GMT+02:00 Selva Ganesha via sumo-user <

Re: [sumo-user] Correct use of traci.addStepListener()

2017-09-15 Thread Jakob Erdmann
see the updated documentation at http://sumo.dlr.de/wiki/TraCI/Interfacing_TraCI_from_Python#Adding_a_StepListener regards, Jakob 2017-09-15 20:42 GMT+02:00 Rodrigo Ordóñez via sumo-user < sumo-u...@lists.sourceforge.net>: > Dear Sumo Developer, > > I'm struggling with the traci method*

Re: [sumo-user] How are position and velocity computed when turning left/right at intersections?

2017-09-18 Thread Jakob Erdmann
Hello, by default, vehicles drive on so-called "internal edges" while passing an intersection. They follow the car follow model just as on normal edges/lanes. You can see these edges when you disable the option "draw junction shape" in the gui visualisation settings. Only if you have built your

Re: [sumo-user] How to get number of lanes of an edge in sumo via traci for matlab?

2017-09-16 Thread Jakob Erdmann
Hello, for static network analysis you are better of using sumlib (or sumolib4matlab). However, you could call traci.lane.getIDList() and check for the highest index of the form _ in that list (subtract 1 to get the number of lanes because it starts with lane 0). regards, Jakob 2017-09-16 17:07

Re: [sumo-user] How to convert junction to edge?

2017-09-16 Thread Jakob Erdmann
Hello, the small dark red dots are geometry points within an edge. They can be used to model curves without changing the edge id. Whenever the number of lanes changes or there is an intersection of 3 or more roads, all edges must have a unique id. In the norther intersection of your screen shot,

Re: [sumo-user] Adding vehicle via Traci

2017-09-16 Thread Jakob Erdmann
Hello, you can force a vehicle into the network using traci.vehicle.moveTo regardless of --max-num-vehicles regards, Jakob 2017-09-16 15:40 GMT+02:00 Luke Kakadukl : > I have build simulation where traffic signal preemption for emergency > vehicles is simulated. > Before

Re: [sumo-user] How to get number of lanes of an edge in sumo via traci for matlab?

2017-09-17 Thread Jakob Erdmann
ray of strings containing the IDs > of the lanes in the SUMO network. > Do you know how to get the number of lanes of a particular edge? > > > > ------ > *From:* Jakob Erdmann <namdre.s...@googlemail.com> > *Sent:* Sunday, September 17, 20

Re: [sumo-user] How are position and velocity computed when turning left/right at intersections?

2017-09-18 Thread Jakob Erdmann
Hello, by default, vehicles drive on so-called "internal edges" while passing an intersection. They follow the car follow model just as on normal edges/lanes. You can see these edges when you disable the option "draw junction shape" in the gui visualisation settings. Only if you have built your

Re: [sumo-user] Distance and coordinates conversion from sumo to ns3

2017-09-18 Thread Jakob Erdmann
Please send a timestep from the fcd file that corresponds to this situation. regards, Jakob 2017-09-18 18:02 GMT+02:00 Fatma Marzouk via sumo-user < sumo-u...@lists.sourceforge.net>: > Hello, > > > I was trying to have vehicles running with a constant speed and a fixed > intervehicle gap with

Re: [sumo-user] Sumo-Gui freeze

2017-09-18 Thread Jakob Erdmann
Unfortunately this report is not specific enough. See http://sumo.dlr.de/wiki/FAQ#How_do_I_report_erroneous_behavior_of_a_SUMO_application.3F regards, Jakob 2017-09-18 15:44 GMT+02:00 Duc Ly via sumo-user < sumo-u...@lists.sourceforge.net>: > Hey Guys , > According to a Project i used Traci to

Re: [sumo-user] emissionClass="PHEMlight/PC_D_EU4" not working with JTRROUTER

2017-09-19 Thread Jakob Erdmann
Hello, jttrrouter ignores types it does not know. You can simply leave out the type definition from your flow file and load it later on when running the simulation. best regards, Jakob 2017-09-19 22:12 GMT+02:00 Andres Felipe Acosta Gil via sumo-user < sumo-u...@lists.sourceforge.net>: > Dear

Re: [sumo-user] Distance and coordinates conversion from sumo to ns3

2017-09-19 Thread Jakob Erdmann
more respected. > > Regards > > Fatma > ᐧ > > 2017-09-18 22:05 GMT+02:00 Jakob Erdmann <namdre.s...@googlemail.com>: > >> Please send a timestep from the fcd file that corresponds to this >> situation. >> regards, >> Jakob >> >>

Re: [sumo-user] How are position and velocity computed when turningleft/right at intersections?

2017-09-19 Thread Jakob Erdmann
yes. traci.lane.getLength works for lanes of any edge. 2017-09-20 0:04 GMT+02:00 Do Duc Le <doducl...@gmail.com>: > Is there a way to get the length of the internal edges and edges in > general in traci? > > > > *Von: *Jakob Erdmann <namdre.s...@googlemail.com&

Re: [sumo-user] Malformed XML from polyconvert

2017-09-19 Thread Jakob Erdmann
Thank you for reporting this. It has been fixed in the development version revision [26119]. regards, Jakob 2017-09-19 19:33 GMT+02:00 Dan Vanderkam : > Hello, > > I've noticed that the polyconvert tool > does not escape values from

Re: [sumo-user] Detector.det.xml file error

2017-09-19 Thread Jakob Erdmann
Enclose your detector definitions with a single surrounding root element: regards, Jakob 2017-09-19 15:34 GMT+02:00 Selva Ganesha via sumo-user < sumo-u...@lists.sourceforge.net>: > Good day, > > I'm having a problem whereby utilizing more than one e1detector (as seen in >

Re: [sumo-user] How are position and velocity computed when turning left/right at intersections?

2017-09-19 Thread Jakob Erdmann
elocity > times timestep and the other variable stays the same, but how is it > actually done when the vehicle turns? Here both x and y changes. > > Best regards, > > Duc > > On 18.09.2017 21:29, Jakob Erdmann wrote: > > Hello, > by default, vehicles drive on s

Re: [sumo-user] How to get number of lanes of an edge in sumo via traci for matlab?

2017-09-17 Thread Jakob Erdmann
tmail.com>: > Hi Jakob, > > > Thanks for your reply, am I allowed to use both sumolib4matlab and > traci4matlab at the same time? and how can I install sumolib4matlab? > > > Thanks and have a great day! > > > ------ > *From:* Jakob Erdma

Re: [sumo-user] Traffic light phases

2017-09-17 Thread Jakob Erdmann
see http://sumo.dlr.de/wiki/Simulation/Traffic_Lights#Improving_Generated_programs_with_knowledge_about_traffic_demand 2017-09-17 16:33 GMT+02:00 Luke Kakadukl : > Hello, > > In my simulation I'm using network imported via https://www.openstreetmap. > org > Problem is that

Re: [sumo-user] Needing more information for platooning model

2017-09-22 Thread Jakob Erdmann
to get the leader of the ego vehicle... > > Thank you and kind regards, > Sinziana Sebe > > > > > On Fri, 22 Sep 2017 13:49:10 +0200 > Jakob Erdmann <namdre.s...@googlemail.com> wrote: > >> Hello, >> are you trying to implement a new model within sumo

Re: [sumo-user] Needing more information for platooning model

2017-09-22 Thread Jakob Erdmann
Hello, are you trying to implement a new model within sumo (C++) or are you trying to control the simulation via TraCI? In either case, the acceleration is implied in the change of speed from one step to the next. Within sumo you can call MSVehicle::getAcceleration() and from TraCI you need to

Re: [sumo-user] Vehicle Intersection speeds

2017-09-22 Thread Jakob Erdmann
Hello, this is not yet supported in 0.31.0. However, If you use the latest development version (26919) you can set the speed attribute for connections (via .con.xml input) or netedit. http://sumo.dlr.de/wiki/Downloads#SUMO_-_Latest_Development_Version regards, Jakob 2017-09-22 12:02 GMT+02:00

Re: [sumo-user] Traci trafficlight setLinkState error

2017-09-22 Thread Jakob Erdmann
Hello, thank you for reporting! This has now been fixed (development version [26189]) regards, Jakob 2017-09-22 13:13 GMT+02:00 Do Duc Le : > Hi, > > I tried to set the state of one linkIndex with > traci.trafficlights.setLinkState(tlsID,6,"G"), but I get error message > >

Re: [sumo-user] Query regarding dataset

2017-10-05 Thread Jakob Erdmann
Hello, I still cannot reproduce the error message on my end (using ubuntu 16.4). Also, the error message indicates that the network does not contain all the necessary edges that make up the route. However, your network appears to match the one I'm using and does in fact contain that edge so the

Re: [sumo-user] Iteration over TLS Phases using TraCI

2017-10-04 Thread Jakob Erdmann
Hello, setPhaseDuration only applies to the current active phase and is forgotten the next time that phase comes up in the cycle. To customize all durations beforehand you need to use the command setCompleteRedYellowGreenDefinition() with a customized tls object. An example tls object with all its

Re: [sumo-user] Fwd: Traffic Lights OSM

2017-10-04 Thread Jakob Erdmann
see http://sumo.dlr.de/wiki/Simulation/Traffic_Lights#Automatically_Generated_TLS-Programs regards, Jakob 2017-10-03 21:44 GMT+02:00 Flávio Alexandre : > Hi. I would like to know how the times are entered in the phases of > the traffic lights from the maps imported from

Re: [sumo-user] Parallel processing

2017-10-02 Thread Jakob Erdmann
Hello, subprocess.call() blocks until the started process has completed. This makes it unsuitable for starting sumo from a TraCI script. Instead subprocess.Popen or traci.start() should be used (take a look at the sourcecode of the start() method in sumo/tools/traci/__init__.py) If you intend to

Re: [sumo-user] 0.31.0 Bug notification

2017-10-14 Thread Jakob Erdmann
gt; the net. > I have tried the 32 and 64 bit windows installer versions on a Windows10 > HP computer with Intel Graphics card. > > For smaller networks, it seems that loading and simulation is OK. > > Best wishes, > Joerg > > > > > > On 28/09/17 19:39,

Re: [sumo-user] 0.31.0 Bug notification

2017-10-16 Thread Jakob Erdmann
encounters the error in an earlier stage as a result of an unrelated bugfix. regards, Jakob 2017-10-14 23:47 GMT+02:00 Jakob Erdmann <namdre.s...@googlemail.com>: > Dear Joerg, > i'm unable to reproduce such a crash with a large network (13.9k nodes) > when trying with version 2

Re: [sumo-user] Strange behaviour of pedestrians

2017-10-06 Thread Jakob Erdmann
Hello, the problem with the scenarios arises due to different discretizations of the sublane model and the pedestrian model: The pedestrian model works with a default stripe width of 0.65m which is just 5cm to narrow for 7 stripes on a road of 4.5m width. Hence the pedestrians only get 6 stripes

Re: [sumo-user] How to knowing all the nodes in intersection

2017-10-17 Thread Jakob Erdmann
Hello, sumolib currently supports retrieving edges that are located close to a given x,y coordinate using net.getNeighboringEdges and net.getNeighboringLanes. Using the function net.convertLonLat2XY and net.convertXY2LonLat you can do geo-coordinate transformation. regards, Jakob 2017-10-17 8:43

Re: [sumo-user] Problem with converting vissim to sumo.

2017-10-16 Thread Jakob Erdmann
/convert_vissimXML_flows_statRoutes.py", >>> line 234, in validate_rel_flow >>> route["rel_flow"][:, 0]) == False: >>> IndexError: too many indices for array >>> >>> Can you please give me some ideas/suggestions to fix this error? &g

Re: [sumo-user] Emission Probability

2017-10-16 Thread Jakob Erdmann
Hello, This option randomly equips a fraction of the vehicles with the device for emission recording (setting this to 1.0 equips all vehicles). The emissions will be written as part of the tripinfo-output if option --tripinfo-output is set as well. regards, Jakob 2017-10-16 19:19 GMT+02:00

Re: [sumo-user] * is not downstream the current route. traci.vehicle.setBusStop problem

2017-10-12 Thread Jakob Erdmann
rror is still there. > 1) the stop edge is part of the route. > 2) There is only one busstop assigned. > 3) No later stops. > > Thanks, > > > *Re: [sumo-user] Error: * is not downstream the current route. > <https://sourceforge.net/p/sumo/mailman/message/33133943/>*

Re: [sumo-user] Retriving Vehicle Total Travel Time

2017-10-12 Thread Jakob Erdmann
lds this value before print on console? So I > can take the 'duration' value from there. > > Thank you. > > 2017-10-12 2:46 GMT-03:00 Jakob Erdmann <namdre.s...@googlemail.com>: > >> Hello, >> you can take the aggregated value from the standard log file if you set >

Re: [sumo-user] Generating random trips

2017-09-05 Thread Jakob Erdmann
see http://sumo.dlr.de/wiki/FAQ#How_do_I_maintain_a_constant_number_of_vehicles_in_the_net.3F regards, Jakob 2017-09-05 22:59 GMT+02:00 Luke Kakadukl : > Hello, > I want to create a traffic simulation that would be as close as possible > to the real life traffic flow. > The

Re: [sumo-user] Keeping a constant speed and constant gap

2017-09-12 Thread Jakob Erdmann
Hello, the gap is also controlled by the 'tau' parameter which defines the desired time-gap in seconds (whereas minGap defines the minimum standing gap in meters). Set a lower that corresponds to the desired gap (or an even lower gap) and the following distances should not increase. regards, Jakob

Re: [sumo-user] Problem with converting vissim to sumo.

2017-09-26 Thread Jakob Erdmann
alues of > xml attributes in the inpx file but it does not work. > Can you please give me more suggestions? > > Thank you very much. > > Best regards, > > Phuong. > > On Tue, Sep 26, 2017 at 1:44 PM, Jakob Erdmann <namdre.s...@googlemail.com > > wrote: > >

Re: [sumo-user] How to get the phase duration of next phase in SUMO using traci4matlab?

2017-09-30 Thread Jakob Erdmann
Hello, this can be accomplished by calling getCompleteRedYellowGreenDefinition and looking at the properties of the the phase that follows the current one. regards, Jakob 2017-09-30 14:27 GMT+02:00 Lawrence Soon via sumo-user < sumo-u...@lists.sourceforge.net>: > Hi all, > > > if I am currently

Re: [sumo-user] Doubt about simulation

2017-10-02 Thread Jakob Erdmann
Hello, by default, vehicle speeds have a stochastic component (parameter sigma = 0.5) which causes vehicle to drive slower than the speed limit and also slower than indicated by the variable speed sign. See http://sumo.dlr.de/wiki/Simulation/VehicleSpeed regards, Jakob 2017-10-02 4:01 GMT+02:00

Re: [sumo-user] Doubt about simulation

2017-10-02 Thread Jakob Erdmann
? > > [image: Imagem inline 1] > > 2017-10-02 10:10 GMT-03:00 Jakob Erdmann <namdre.s...@googlemail.com>: > >> maxSpeed in your vType is in m/s as well. To get equal results, set it to >> 6.7. >> regards, >> Jakob >> >> 2017-10-02 14:25 GMT+02:0

Re: [sumo-user] Problem with converting vissim to sumo.

2017-09-28 Thread Jakob Erdmann
) regards, Jakob 2017-09-28 9:41 GMT+02:00 Jakob Erdmann <namdre.s...@googlemail.com>: > Please send me the input inpx file so I can take a look myself. > regards, > Jakob > > 2017-09-27 9:40 GMT+02:00 Phuong Nguyen <phuongthimaingu...@gmail.com>: > >&g

Re: [sumo-user] Simulation Step TraCI call at time 0

2017-09-26 Thread Jakob Erdmann
Hello, when you take a look at the gui, you will find that the first call of simulationStep(0) advances the simulation to the end of step 0 (with vehicles departing at 0 already being inserted). Only the command simulation.getCurrentTime() already shows you 0.5 because all further traci calls will

Re: [sumo-user] Flow limitations

2017-09-25 Thread Jakob Erdmann
Hello, there is no limitation in file size that we are aware of. In older versions of sumo simulation duration was limited to ~25 days (the signed integer range for milliseconds) but since version 0.24.0 the time range allows for millions of years. Still there might be other issues... - which

Re: [sumo-user] Performing simulation for sumo when time step = 20s via traci4matlab

2017-09-25 Thread Jakob Erdmann
the time parameter of traci.simulationStep uses milliseconds rather than seconds. regards, Jakob 2017-09-24 16:05 GMT+02:00 Lawrence Soon via sumo-user < sumo-u...@lists.sourceforge.net>: > Hi all, > > > I tried to perform traci simulation in every 20 seconds from 1s to 1001s > via traci4matlab

Re: [sumo-user] Simulation Step TraCI call at time 0

2017-09-28 Thread Jakob Erdmann
he SUMO > simulation cause the target time is smaller or equal to the current > simulation step. right? > > > > > > - Mani > > > > > > > > *From:* Jakob Erdmann [mailto:namdre.s...@googlemail.com] > *Sent:* Tuesday, September 26, 2017 3:16 AM > *

Re: [sumo-user] Splitting output files

2017-08-31 Thread Jakob Erdmann
Hello, - you can use 'stdout' or 'host:port' as a filename and filter the file while it is being generated with an attached process of your own design. (see http://sumo.dlr.de/wiki/Basics/Using_the_Command_Line_Applications#Generating_and_Reading_Files ) - you can save the simulation state and

Re: [sumo-user] How to simulate vehicles, given real veichle behaviours

2017-08-31 Thread Jakob Erdmann
Hello, you have several options: 1) generate individual attributes accel, decel, speedFactor for each vehicle 2) generate a parameter distribution fora accel, decel and speedFactor from the data (http://sumo.dlr.de/wiki/Tools/Misc#createVehTypeDistributions.py) 3) pick one representative value

Re: [sumo-user] SUMO-GUI: Waiting Persons and Vehicles

2017-09-02 Thread Jakob Erdmann
This issue is fixed in revision [25803]. Thanks for reporting! regards, Jakob 2017-09-01 14:43 GMT+02:00 Albiston, Gregory 2012 (PGR) < gregory.albiston2...@my.ntu.ac.uk>: > Hello, > > > It seems that SUMO-GUI isn't taking into account the left hand road > networks when visualising parked

Re: [sumo-user] Handling left-hand traffic

2017-10-09 Thread Jakob Erdmann
Hello, to generate a network for left hand traffic, set the option --lefthand. (I've updated the ambiguous wording at http://sumo.dlr.de/wiki/FAQ#Can_SUMO_simulate_lefthand_traffic.3F). regards, Jakob 2017-10-09 16:57 GMT+02:00 Sridhar Raman : > Hi > > I am using Sumo

Re: [sumo-user] walking areas, od2trips, zones, and vTypes

2017-10-05 Thread Jakob Erdmann
Jakob Erdmann <namdre.s...@googlemail.com>: > Hi Lara, > 1) What is the exact error message? Which SUMO version are you using? I > probably need access to your repo to investigate this. > 2) You can use sumo/tools/filterDistricts.py which reads taz file, a > network and a vehi

Re: [sumo-user] Retriving Vehicle Total Travel Time

2017-10-11 Thread Jakob Erdmann
Hello, you can take the aggregated value from the standard log file if you set option --duration-log.statistics. see http://sumo.dlr.de/wiki/Simulation/Output#Aggregated_Traffic_Measures regards, Jakob 2017-10-12 7:39 GMT+02:00 Pedro Matuck : > Hi, > > On my research, I need

Re: [sumo-user] Problem with converting vissim to sumo.

2017-10-11 Thread Jakob Erdmann
rote: > >> Good morning, >> >> Thank you for your instruction. >> >> Have a good day. >> >> Best regards, >> >> Phuong. >> >> On Sun, Oct 1, 2017 at 9:40 PM, Jakob Erdmann <namdre.s...@googlemail.com >> >

Re: [sumo-user] * is not downstream the current route. traci.vehicle.setBusStop problem

2017-10-12 Thread Jakob Erdmann
e and position is > the vehicle when sending the setBusStop command? > *Yes, the vehicle has already passed the stop position and still on the > same edge of the stop, when requests the stop.* > > In this circumstance, how should I do about it? > > Thanks, > > Lei >

Re: [sumo-user] vClass and guiShape for people with TraCI

2017-10-12 Thread Jakob Erdmann
Pedestrians always have vClass 'pedestrian' and VAR_VEHICLECLASS is not supported. Their guiShape parameter is currently not used and they will always be drawn in the same way but subscribing to it should work (its 0x4b). regards, Jakob 2017-10-12 23:04 GMT+02:00 Dan Vanderkam

Re: [sumo-user] Changed behavior of pedestrian stages

2017-10-17 Thread Jakob Erdmann
Hello, the additional stage does look like a bug but I'm unable to reproduce this. Please send me a small sample scenario and I will take a look. regards, Jakob 2017-10-17 13:24 GMT+02:00 FIXED-TERM Beutelschiess Stephan (GS/EPT1) < fixed-term.stephan.beutelschi...@de.bosch.com>: > Hi all, > > >

Re: [sumo-user] The right way of using TraCI Clients in C++

2017-10-19 Thread Jakob Erdmann
Hello, the answer is (A). The special handling in (B) is only done to simplify our regression tests. regards, Jakob 2017-10-19 8:50 GMT+02:00 Marc Rene Zofka via sumo-user < sumo-u...@lists.sourceforge.net>: > Hi, > > i've got a question concerning the appropriate way of implementing and > using

Re: [sumo-user] How to generate 1500 number of vehicles in SUMO with specific routes?

2017-10-19 Thread Jakob Erdmann
Hello, if you already know the routes (the sequence of edges) than the easiest way is to define a flow (either with fixed spacing in time or with random spacing): If you need to specify exact departure times that is not evenly spaced than you need to write your own script which

Re: [sumo-user] Models for pedestrian simulation

2017-10-18 Thread Jakob Erdmann
Hello, the current area of improvement concerns intermodal scenarios (persons that alternate in walking and riding in vehicles). In the latest release, intermodal routing must be performed before the simulation starts with one of our tools. We are working on capabilities for dynamic intermodal

Re: [sumo-user] Output of vehicle stop numbers

2017-10-18 Thread Jakob Erdmann
Hello, there is currently no output for the number of stops of all vehicles. - tripinfo-output includes the total stopped time - laneAreaDetectors can give you the number of stops for all vehicles in a given lane area - for public transport there is the -stop-output option regards, Jakob

Re: [sumo-user] how to find out the near nodes

2017-10-23 Thread Jakob Erdmann
http://sumo.dlr.de/wiki/TraCI/Interfacing_TraCI_from_Python#Context_Subscriptions regards, Jakob 2017-10-23 11:33 GMT+02:00 boopathi via sumo-user < sumo-u...@lists.sourceforge.net>: > Greeting everyone > > > May i know how to find the near nodes in junction and i am know distance > between the

Re: [sumo-user] simulate car movement in a virtual urban city

2017-10-23 Thread Jakob Erdmann
Hello, 1) This is a known issues. You may be able to decrease the number of incidences by setting the vehicle attribute departPos="best". If this still happens frequently, other mitigations are possible. 2) This is related to the geometries encoded in the network. You can make this smoother by

Re: [sumo-user] Stop the pedestrian at a certain position while crossing

2017-10-19 Thread Jakob Erdmann
Hello, To make the person stop you can use traci.person.setSpeed(personID, 0) The value returned by traci.person.getLanePosition() returns the distance from the start of that lane in m. Since the crossing lane is orthogonal to the road lanes you should be able to stop in the middle of a road lane

Re: [sumo-user] Computing reroute times using TraCI

2017-11-14 Thread Jakob Erdmann
Hello, The latest development version includes the new API call findRoute (in the python client: traci.simulation.findRoute(fromEdge, toEdge, vTypeID)) which returns an object with the fields 'edges' and 'travelTime'. see

Re: [sumo-user] Support for Traffic Light from SUMO to OpenDrive

2017-11-14 Thread Jakob Erdmann
Hello, this is an open issue: https://github.com/DLR-TS/sumo/issues/2367 (patches are welcome). Until this is fixed, please use a dedicated OpenDRIVE editor to define traffic signals after importing. regards, Jakob 2017-11-15 7:26 GMT+01:00 NAVEEN RAI via sumo-user <

Re: [sumo-user] Manually drive a car in SUMO

2017-11-14 Thread Jakob Erdmann
com>: > I'm using the source from the master branch since I need a few fixes > there. I'll have more tests to see whether it's reproducible on latest > release version or have a dump of API calls. > > Liang > > On Tuesday, November 14, 2017, Jakob Erdmann <namdr

Re: [sumo-user] The difference between Waiting time and Time loss

2017-11-28 Thread Jakob Erdmann
for every trip there is a hypothetical duration tMIN that could be achieved if the vehicle was driving with its maximum allowed speed (including speedFactor) and there were no other vehicles nor traffic rules. timeLoss = tripDuration - tMIN also, waiting time is always included in timeLoss,

Re: [sumo-user] tlLogic phases

2017-11-23 Thread Jakob Erdmann
TLC with long green duration performs better in high traffic due to the time "wasted" at every switch. TLC with short green duration performs better in low traffic because each arm is served more frequently. 2017-11-23 23:07 GMT+01:00 Sara el hamdani via sumo-user <

Re: [sumo-user] tlLogic phases

2017-11-24 Thread Jakob Erdmann
ect where I > do not use python script or Traci. Can I disable the lane change using the > xml and without using the change mode of Traci? > > 2017-11-24 7:49 GMT+00:00 Jakob Erdmann <namdre.s...@googlemail.com>: > >> TLC with long green duration performs better in high

Re: [sumo-user] OSM, netconvert and public transports.

2017-11-22 Thread Jakob Erdmann
gt; Thank you, Jakob. > > I extracted those data straight from OSM, that is why I was asking what > have I done wrong during the extraction. > I'll check what Mirko posted concerning tags, and then (if is still not > working) I'll do it myself. > > Regards, > Lara > >

Re: [sumo-user] Pedestrian flow Probability

2017-11-22 Thread Jakob Erdmann
Yes, the depart distribution from your code should be equivalent to the randomTrips behavior with the given options. 2017-11-21 10:47 GMT+01:00 Sara el hamdani via sumo-user < sumo-u...@lists.sourceforge.net>: > Hello sumo users, > > I want the pedestrians to trip in certain walking ereas, and

Re: [sumo-user] compilation error Visual Studio 2015

2017-11-29 Thread Jakob Erdmann
Hello, this was reported previously but we do not have an official fix yet ( https://github.com/DLR-TS/sumo/pull/3565) You can try this: https://github.com/DLR-TS/sumo/pull/3565/commits/35b56a2c0aac4926a0d2c349cfe44267e2fe0943 regards, Jakob 2017-11-29 14:43 GMT+01:00 Magnus Bengtsson

Re: [sumo-user] Problem while importing shape file and creating TAZ

2017-11-29 Thread Jakob Erdmann
ect or body 'help' to > sumo-user-requ...@eclipse.org > > You can reach the person managing the list at > sumo-user-ow...@eclipse.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of sumo-user digest...&quo

Re: [sumo-user] check the state that vehicle moves into junction

2017-11-30 Thread Jakob Erdmann
Hello, I'm not sure I've understood your question. - there is no traci function to compute in advance whether a vehicle will move onto a junction in the next step. The decision whether the vehicle will drive or stop is determined after the traci commands are handled. It depends on many factors

Re: [sumo-user] influencing lane change behavior in accordance with road marks

2017-11-27 Thread Jakob Erdmann
Hello, in the latest development version, the MSLaneChanger constuctor already sets a flag for each lane which defines whether changing to the left or right is possible. I've outlined a rough implementation draft here: https://github.com/DLR-TS/sumo/issues/3656 Patches are welcome (-: regards,

Re: [sumo-user] Problem while importing shape file and creating TAZ

2017-11-27 Thread Jakob Erdmann
Hello, the tool edgesInDistricts ( http://sumo.dlr.de/wiki/Tools/District#edgesInDistricts.py) can be used to generated the TAZ files automatically from polygons. The polygons must be in the xml format generated by Polyconvert and describe the outline of the TAZ. regards, Jakob 2017-11-27 0:11

Re: [sumo-user] Default speed

2017-11-27 Thread Jakob Erdmann
Hello, insertion speed is the minimum of both values (see http://sumo.dlr.de/wiki/Simulation/VehicleSpeed) Default maximum speed for pedestrians is 1.39m/s (5km/h) regards, Jakob 2017-11-26 12:42 GMT+01:00 Sara el hamdani via sumo-user < sumo-u...@lists.sourceforge.net>: > Dear sumo users, > >

Re: [sumo-user] Automated Intersections

2017-11-27 Thread Jakob Erdmann
Hello, define the node type as traffic light and set all lights to Green. Then you can manage approach speeds yourself and still get collision detection (with --collision.check-junctions). regards, Jakob 2017-11-27 1:47 GMT+01:00 Eugene Vinitsky via sumo-user < sumo-u...@lists.sourceforge.net>:

Re: [sumo-user] Pedestrian flow Probability

2017-11-22 Thread Jakob Erdmann
static"> control the two intersection, when it is >> controlling just one node and I can't understand why the second do not >> respond to the program. I do not have any other tll files and the net file >> is recreated every time I exectute the python script. >> Can I

Re: [sumo-user] JTRROUTER: why do vehicles arrive at non-sink edges?

2017-11-30 Thread Jakob Erdmann
Hello, - routes may end anywhere when setting -A - routes are cut off when they are too long due to option --max-edges-factor If neither of these seems to apply, send me a small example and I can take a look. regards, Jakob 2017-11-30 4:55 GMT+01:00 Andres Felipe Acosta Gil

Re: [sumo-user] Real world traffic data

2017-11-30 Thread Jakob Erdmann
Hello, Open Street Map gives access to its database which allows SUMO to import maps. There is no similar open database for traffic data available yet but there are sources where you can buy it. The easiest way to get traffic data into SUMO is by obtaining OD-Matrices (i.e. from city authorities).

Re: [sumo-user] Arrived Vahicles Number different in SUMO-GUI and Traci

2017-12-17 Thread Jakob Erdmann
Hello, the GUI wording is somewhat misleading. The GUI counts vehicles that were discarded due to max-depart-delay as 'arrived' even though they never departed in the first place. TraCI only counts vehicles that actually arrived at their destination. regards, Jakob 2017-12-18 2:53 GMT+01:00 Pedro

[sumo-user] Version 0.32.0 released

2017-12-19 Thread Jakob Erdmann
Dear friends and users, we are happy to announce the next release of SUMO. The download links are at http://sumo.dlr.de/wiki/Download Again, there are many new features and fixes in this release and the most important

Re: [sumo-user] TRACI getParameter issues

2017-12-15 Thread Jakob Erdmann
Hello 1) Your command is correct and should work with the version you downloaded. At least it does so in our tests. The only reason for the error message you see that I can currently think of is some character encoding shenanigans. Try copying the call from our nightly tests here:

Re: [sumo-user] Computational cheapest way to use flow of vehicles

2017-12-15 Thread Jakob Erdmann
Hello, you can limit the number of running vehicles (i.e. to 5000) as well as the number of vehicles schedule for insertion using the following sumo options: --max-num-vehicles 5000 --max-depart-delay 5 regards, Jakob 2017-12-15 18:16 GMT+01:00 Pedro Matuck : > Hi guys, > >

Re: [sumo-user] Can't Access the Configuration file for Runner.py

2017-12-14 Thread Jakob Erdmann
Hello, the cross.sumocfg file is in the data subdirectory so you must load it like subprocess.Popen([sumoBinary, "-c", "*data/*cross.sumocfg", ... 2017-12-13 8:18 GMT+01:00 NAVEEN RAI via sumo-user < sumo-u...@lists.sourceforge.net>: > Hi All, > > I get this error when I run the runner.py file

Re: [sumo-user] Implementation of AIM in SUMO

2017-12-14 Thread Jakob Erdmann
Hello, it is possible to implement this in SUMO but as far as I know it has not yet been done. You would need to model the intersection as a traffic light where all lights are green all of the time and then control vehicle speeds using the TraCI-API according to a reservation model implemented

Re: [sumo-user] Context Subscription of a Vehicle to Values of Persons (TraCI API C++)

2017-12-20 Thread Jakob Erdmann
Hello, subscribing to persons around an object and subscribing to things around a person should be working. (at least it does in our tests since version 0.31.0). You may take a look at the tests at https://github.com/DLR-TS/sumo/tree/master/tests/complex/traci/contextSubscriptions Can send a small

Re: [sumo-user] Jammed pedestrians

2017-12-20 Thread Jakob Erdmann
Hello Lara, It looks as if the width of your sidewalks is so low that it only fits a single walking stripe (something like a bidirectional pedestrian lane). The default stripe width is 0.65m (reduced to 0.64m since version 0.32.0) and it looks as if your sidewalks are just 1m wide. See option

Re: [sumo-user] multiple junctions as one traffic light

2017-12-20 Thread Jakob Erdmann
Hello, joined controllers are supported in SUMO. See the (brand new) explanation at http://sumo.dlr.de/wiki/Simulation/Traffic_Lights#Controlling_multiple_Junctions_with_the_same_controller regards, Jakob 2017-12-19 22:21 GMT+01:00 Menno van der Woude : > Hello, > > a

Re: [sumo-user] Constrained lateral movement

2017-12-13 Thread Jakob Erdmann
you think the development version > can solve the problem, I can use it > > Thanks for the answer, Best, > > Alex > > > > > De : Jakob Erdmann <namdre.s...@googlemail.com> > Envoyé : lundi 11 décembre 2017 16:35 > À : alex goupilleau; Sumo project User

Re: [sumo-user] SUMO Traffic Signal.

2017-11-17 Thread Jakob Erdmann
Hello, 1) Yes. You may take a look a thttps:// github.com/DLR-TS/sumo/blob/master/tools/tlsCoordinator.py where this is done 2) Yes. Using the TraCI API. See http://sumo.dlr.de/wiki/TraCI and http://sumo.dlr.de/wiki/Tutorials#TraCI_Tutorials regards, Jakob 2017-11-17 9:07 GMT+01:00

Re: [sumo-user] Manually drive a car in SUMO

2017-11-14 Thread Jakob Erdmann
Hello, as long as the car is receiving a moveToXY command every simulation step it should never disappear. What version of SUMO are you using? If the car does disappear (using the latest release version) despite continuous updates, it would be helpful if you could send me a .net.xml file and a log

Re: [sumo-user] How to avoid the 255 byte limit of the TraCIAPI::load() function?

2017-11-14 Thread Jakob Erdmann
Hello, thank you for reporting. This is fixed in https://github.com/DLR-TS/sumo/commit/caf9fc3 regards, Jakob 2017-11-14 8:43 GMT+01:00 Marc Rene Zofka via sumo-user < sumo-u...@lists.sourceforge.net>: > Hi, > > we want to automate testing using SUMO in a co-simulation platform. > Therefore, we

Re: [sumo-user] Sumo - parking areas and occupancy

2017-11-20 Thread Jakob Erdmann
Hello, 1) There is currently no function for that. You'll have to read the xml files 2) This is possible in the very latest development version (v0_31_0-1242-g77877a7). See http://sumo.dlr.de/wiki/Simulation/ParkingArea#TraCI regards, Jakob 2017-11-20 22:05 GMT+01:00 Xavier Paul Lister Lavenir

Re: [sumo-user] Bug in TraCI distance retravel

2017-11-21 Thread Jakob Erdmann
Hello, Try using the latest development version ( http://sumo.dlr.de/wiki/Downloads#SUMO_-_Latest_Development_Version) as it contains bug fixes related to driving distance calculation. regards, Jakob 2017-11-21 16:21 GMT+01:00 Zhizhou Chen : > Hello all, > > > I use the

Re: [sumo-user] Surprising underground edges from OSM with --osm.layer-elevation

2017-11-21 Thread Jakob Erdmann
Hello, it's a bug. The layer-elevation heuristic was only tested on highway networks so far. It uses an algorithm for building smooth ramps by interpolation the height between edges with different layer values. In this case the layer -1 of way 302298889 (Harbour Square Tunnel) is propagated to

Re: [sumo-user] version 0.31

2017-11-16 Thread Jakob Erdmann
Hello, the macports package is a bit outdated. You will have to build version 0.31.0 from source as explained here: http://sumo.dlr.de/wiki/Installing/MacOS_Build#Using_Homebrew The list of changes is substantial: http://sumo.dlr.de/wiki/ChangeLog#Version_0.31.0_.2814.09.2017.29 2017-11-16 9:27

Re: [sumo-user] New SUMO User from OHIO

2017-11-16 Thread Jakob Erdmann
Hello, 1) - after you're through the Tutorials there is still a lot of documentation to be read. At least skimming over the pages linked at http://sumo.dlr.de/wiki/SUMO_User_Documentation will give you a much better Idea about what can be accomplished and how. - see

Re: [sumo-user] Manually drive a car in SUMO

2017-11-15 Thread Jakob Erdmann
al to 0 or 2. Usually, it happens near > junctions. > > Regards, > Liang > > On Wed, Nov 15, 2017 at 3:13 PM, Jakob Erdmann <namdre.s...@googlemail.com > > wrote: > >> Since it fails in the master I'm definitely interested in the API calls. >> I'd assume it shoul

Re: [sumo-user] FW: SUMO dev

2017-11-01 Thread Jakob Erdmann
please see the updated description at http://sumo.dlr.de/wiki/FAQ#What_kind_of_a_traffic_simulation_is_SUMO.3F regards, Jakob 2017-11-01 19:02 GMT+01:00 Mani Amoozadeh : > > > > Your request to the sumo-user mailing list has been rejected by the list > moderator. > > >

  1   2   3   4   5   6   7   8   9   10   >