Re: [sumo-user] Speed-Exponent and Speed

2018-11-18 Thread Jakob Erdmann via sumo-user
The edge probability (for depart and arrivel) is multiplied by edgeSpeed^speedExponent. The default exponent is 0 so speed does not influence probability. with an exponent of 1, edges with twice the speed are twice as likely to be sampled. regards, Jakob Am Sa., 17. Nov. 2018 um 15:03 Uhr

Re: [sumo-user] Searching for existing method of get routes for vehicles first time.

2018-11-13 Thread Jakob Erdmann via sumo-user
When loading elements, the list of edges is loaded from the XML input. When loading elements, the route is computed via MSBaseVehicle::reroute which calls the compute() method a router instance (e.g. DijkstraRouter). Am Di., 13. Nov. 2018 um 18:07 Uhr schrieb Pratik Dutta via sumo-user <

Re: [sumo-user] the difference between the ADDITIONAL TOOLS of (dua-iterate.py & one-shot.py)

2018-11-05 Thread Jakob Erdmann via sumo-user
see http://sumo.dlr.de/wiki/Demand/Dynamic_User_Assignment Am Do., 1. Nov. 2018 um 00:18 Uhr schrieb Jane Cheung < cheung180...@gmail.com>: > Could someone give more detail expression about the difference between the > function > *dua-iterate.py* > and > *one-shot.py* > > How to use these two

Re: [sumo-user] use State Plain Coordinates to move vehicle (MoveToXY)

2018-10-10 Thread Jakob Erdmann via sumo-user
The problem comes from an earlier step because the lon,lat values are outside the network boundary to begin with (The network covers an area around lon=-122,lat=37 whereas your lon,lat inputs are widely off the mark). It turns out that "CA State Plane NAD83 coordinate" is something differente

Re: [sumo-user] use State Plain Coordinates to move vehicle (MoveToXY)

2018-10-09 Thread Jakob Erdmann via sumo-user
when converting lon, lat to network coordinates, leave out the rawUTM=True. moveToXY requires the shifted positions rather than raw UTM. x2, y2 = net.convertLonLat2XY(lon, lat) Am Di., 9. Okt. 2018 um 08:03 Uhr schrieb Gama Lins de Araujo, Thais < thais.g...@tum.de>: > Hello Mr Jakob, > > >

Re: [sumo-user] use State Plain Coordinates to move vehicle (MoveToXY)

2018-10-08 Thread Jakob Erdmann via sumo-user
Hello, the position conversion functions provided by traci and libsumo only support the projection embedded in the .net.xml file. In case of an OSM import this means it will always transform between meters and WGS84 lon,lat. Since NAD83 and WGS84 are within 1m of each other, you could use

Re: [sumo-user] Extraction of speed profile of one particular vehicle

2018-08-20 Thread Jakob Erdmann via sumo-user
in version 0.32.0 you can use grep (needs to be installed seperately for window: http://gnuwin32.sourceforge.net/packages/grep.htm grep 'id="yourVehID"' in the latest development version you can set option --fcd-output.explicit yourVehID and the use --fcd-output instead of --netstate-dump

Re: [sumo-user] Loaded vs Departed Vehicles

2018-07-20 Thread Jakob Erdmann via sumo-user
the function simulation.getLoadedNumber and getLoadedIDList only refer to vehicles that were loaded in the last time step (usually vehicles are loaded in chunks of about 200s (configurable using option --route-steps). This means some of the loaded vehicles are schedulare to depart in the future

Re: [sumo-user] Loaded vs Departed Vehicles

2018-07-20 Thread Jakob Erdmann via sumo-user
Hello, you are not supposed to instantiate Domains because they require additional initialization. Instead, use traci.vehicle.getSubscriptionResults() Don't worry if your IDE fails to recognize traci.vehicle. regards, Jakob 2018-07-20 14:09 GMT+02:00 cchadj01--- via sumo-user <

Re: [sumo-user] Fully Controlled Vehicle

2018-07-11 Thread Jakob Erdmann via sumo-user
Hello, - you can set the angle argument for moveToXY to the TraciConstant INVALID_DOUBLE_VALUE and then sumo will calculate an appropriate angle - if you call moveToXY for the remote-controlled vehicles in every simulation step, then sumo will not teleport/remove them but still recognize them as

Re: [sumo-user] Reduce length for allow attribute lane

2018-06-29 Thread Jakob Erdmann via sumo-user
Hello, the proper solution is to split the edge because access permissions in SUMO cannot change within a lane. If you perform the split in netedit (right-click, 'split edge here') then it should not affect the number of lanes. If you only split the edges that are incoming to an intersection

Re: [sumo-user] With latest SUMO ver. preexisting net-files can't be loaded

2018-06-29 Thread Jakob Erdmann via sumo-user
Hello, the error message is intended because an edge that references non-existent nodes could lead to faulty simulation behavior. In earlier version of SUMO, the node information was not used as the network is completely defined by edges lanes and connections and thus the check was omitted.

Re: [sumo-user] Sumo wiki server down

2018-06-04 Thread Jakob Erdmann via sumo-user
Hello, We are experiencing a network problem which we expect to be fixed shortly. Until then, refer to the documentation at http://sumo.sourceforge.net/ regards, Jakob 2018-06-04 18:34 GMT+02:00 Cantas, Mustafa Ridvan via sumo-user < sumo-user@lists.sourceforge.net>: > Hi, > > > I am trying to

Re: [sumo-user] Can't open wiki websites anymore

2018-05-29 Thread Jakob Erdmann via sumo-user
We are experiencing a network problem. Until this is fixed, refer to the documentation at http://sumo.sourceforge.net/ regards, Jakob 2018-05-29 10:09 GMT+02:00 Diestmann, Gunnar via sumo-user < sumo-user@lists.sourceforge.net>: > Hi, > > I started to work with SUMO two weeks ago and I used the

Re: [sumo-user] CreateIncidentInHighway

2018-05-29 Thread Jakob Erdmann via sumo-user
see http://sumo.dlr.de/wiki/FAQ#How_to_simulate_an_accident regards, Jakob 2018-05-29 10:05 GMT+02:00 HANIFI Mohamed via sumo-user < sumo-user@lists.sourceforge.net>: > Hi sumo user, > i want create an incident (gridlock) in my simulation in specific edge for > specific duration, how can i do

Re: [sumo-user] Sumo and CarMaker

2018-05-24 Thread Jakob Erdmann via sumo-user
Hello, this is possible insofar as sumo allows remote-control of vehicles and retrieval of all vehicles states. Couplings to other driving simulators (e.g. VTD) have been accomplished in the past. There is no publicly available middle-ware to couple CarMaker to sumo so you will have to write this

Re: [sumo-user] Adding sidewalks using NETGENERATE and NETEDIT

2018-05-22 Thread Jakob Erdmann via sumo-user
1) you need to add the option --sidewalks.guess to enable guessing (the min-speed option only configures the heuristic). 2) The length of the sidwalk is automatically adjusted after recomputing geometries (F5) or saving the network. If the length is wrong after that, please explain the problem in

Re: [sumo-user] NetConvert Pedestrian Traffic Light Sequencing

2018-05-16 Thread Jakob Erdmann via sumo-user
Hello, your description would imply that the vehicular phases are quite short. I put the description of the current algorithm as well as ideas for improvement here: https://github.com/eclipse/sumo/issues/4078 regards, Jakob 2018-05-15 18:50 GMT+02:00 Alex Sawczuk via sumo-user <

Re: [sumo-user] link characterstics

2018-05-14 Thread Jakob Erdmann via sumo-user
see http://sumo.dlr.de/wiki/Tutorials/FundamentalDiagram 2018-05-14 1:03 GMT+02:00 Mahmoud Ramadan Nawar via sumo-user < sumo-user@lists.sourceforge.net>: > Hello allI'm looking for help in determining the free flow link speed, max > link flow and jam density for links in sumo.the max edge speed

Re: [sumo-user] Wrong calculation of edge length

2018-05-14 Thread Jakob Erdmann via sumo-user
Hello, you have created a network without internal lanes. In this case the the edges are declared artificially longer to ensure correct travel times. (see http://sumo.dlr.de/wiki/Simulation/Intersections#Internal_links) If you remove the option --no-internal-links the network will be built as you

Re: [sumo-user] Randomising vehicleID in randomTrips.py

2018-05-08 Thread Jakob Erdmann via sumo-user
Hello, this is not directly supported by randomTrips.py. You could generated all vehicles within a short interval (i.e. 1s) and then set the sumo option --random-depart-offset to spread them randomly over the chosen interval. regards, Jakob 2018-05-08 1:13 GMT+02:00 Jonathan Harper via sumo-user

Re: [sumo-user] Simulation

2018-05-03 Thread Jakob Erdmann via sumo-user
When using IDM, try setting emergencyDecel="8" in your vType definition. regards, Jakob 2018-05-01 13:41 GMT+02:00 HANIFI Mohamed via sumo-user < sumo-user@lists.sourceforge.net>: > Hi, > I'm SUMO user, i have problem in my simulation as follow: > > Warning: Teleporting vehicle '14'; collision

Re: [sumo-user] Truck phase using xml configuration

2018-05-03 Thread Jakob Erdmann via sumo-user
see http://sumo.dlr.de/wiki/Simulation/Output#traffic_lights-based_information 2018-04-25 13:41 GMT+02:00 Mouna Karoui via sumo-user < sumo-user@lists.sourceforge.net>: > Dear sumo users, > > Have you an idea how can I activate phase trucking of traffic light in the > xml code, without using

Re: [sumo-user] Plexe Sumo issues.

2018-05-02 Thread Jakob Erdmann via sumo-user
Hello, please report this to the PLEXE maintainer. regards, Jakob 2018-04-23 11:54 GMT+02:00 Viswanath Potluri via sumo-user < sumo-user@lists.sourceforge.net>: > Hi, > > I've been running plexe2.0, i tried running an example as shown below > > http://plexe.car2x.org/tutorial/ > but sumo is

Re: [sumo-user] Rerouting Question

2018-04-17 Thread Jakob Erdmann via sumo-user
Hello, The function rerouteTravelTime use the time values from edge.getTraveltime() and this is based on the average vehicle speed at that time. (no smoothing of past fluctuations and no extrapolation into the future). Various smoothing options are available when using the rerouting device (but

Re: [sumo-user] Statistics on researches by SUMO

2018-04-11 Thread Jakob Erdmann via sumo-user
Hello, - there was a comprehensive study in 2013: http://elib.dlr.de/82739/ - Google scholar gives 18k hits one sumo simulation: https://scholar.google.de/scholar?hl=en_sdt=0%2C5= sumo+simulation= - the combined number of citations for sumo reference publications as listed on researchgate is

Re: [sumo-user] start time of green phase

2018-04-08 Thread Jakob Erdmann via sumo-user
Hello, each traffic light typically has multiple green phases. Also, a 'phase' in sumo has a somewhat different meaning compared to typical traffic engineering usage. See http://sumo.dlr.de/wiki/Simulation/Traffic_Lights#.3Cphase.3E_Attributes You will have to determine the index of the phase(s)

Re: [sumo-user] RandomTrips.py Number of Vehicles

2018-04-03 Thread Jakob Erdmann via sumo-user
use option -p see http://sumo.dlr.de/wiki/Tools/Trip#Arrival_rate regards, Jakob 2018-04-01 2:14 GMT+02:00 Jonathan Harper via sumo-user < sumo-user@lists.sourceforge.net>: > Hello, > > Is there a way to make the number of vehicles much greater? I have tried > using the arguments -r and

Re: [sumo-user] Output

2018-03-31 Thread Jakob Erdmann via sumo-user
Hello, you will get most of these outputs on the command line and in the log file (--log) by setting the option --duration-log.statistics regards, Jakob 2018-03-31 2:25 GMT+02:00 Jonathan Harper via sumo-user < sumo-user@lists.sourceforge.net>: > Hello, > > I’m currently running a simulation

Re: [sumo-user] Combining Edges Using NetConvert

2018-03-29 Thread Jakob Erdmann via sumo-user
Hello, To join edges that have the same attributes and that do not have a "real" intersection with multiple edges between them (so-called geometry-like nodes), set the option --geometry.remove There is currently no option to automatically split edges to achieve a maximum length. To compare

Re: [sumo-user] What does multiple route-files mean?

2018-03-29 Thread Jakob Erdmann via sumo-user
Hello, it means that all of these files are loaded and active at the same time (i.e. one file for passenger cars and one file for public transport). regards, Jakob 2018-03-29 7:21 GMT+02:00 Changjian Li via sumo-user < sumo-user@lists.sourceforge.net>: > Hi, > > I'm wondering what the sumo

Re: [sumo-user] Error in randomTrips.py -> Routes with Inclusionof'--trip-attributes'

2018-03-24 Thread Jakob Erdmann via sumo-user
Look carefully at your quotation marks. The ones around 'best' are more curly than the one after --trip-attributes=. These typographic quotation marks are often inserted by text processing applications. Most likely the xml parsing brakes on these non-standard quotation marks. 2018-03-23 15:37

Re: [sumo-user] Error in randomTrips.py -> Routes with Inclusion of'--trip-attributes'

2018-03-23 Thread Jakob Erdmann via sumo-user
Hello, I am unable to reproduce both of these problems using the latest version of sumo 1) with the given command a trip file with correct format is created 2) when passing a randomTrips command that creates trips with invalid attributes ( departLane=\best\ ) randomTrips aborts with an error from

Re: [sumo-user] Edge.setEffort() Returning Error

2018-03-21 Thread Jakob Erdmann via sumo-user
Hello 1) this is quite strange. The last time i saw something like this it came from multiple traci threads that were trying to talk to sumo at the same time. Can you reproduce this with a single traci thread? If so, please send me a minimal scenario. 2) yes. regards, Jakob 2018-03-20 22:03

Re: [sumo-user] (SUMO) TraaS Dynamic Routing & Incomplete Routes

2018-03-20 Thread Jakob Erdmann via sumo-user
Change target fails if the new target cannot be reached from the current position. This is unrelated to the activation of automatic routing. Also, automatic routing can be activated for all vehicles by setting the option --device.rerouting.probability 1 2018-03-20 17:48 GMT+01:00 Jonathan Harper

Re: [sumo-user] (SUMO) TraaS Dynamic Routing & Incomplete Routes

2018-03-20 Thread Jakob Erdmann via sumo-user
You can define everything at runtime via TraCI. 2018-03-20 12:21 GMT+01:00 Jonathan Harper : > Hi Jakob, > > > > Thanks for the swift response. > > For this to work must I have set up the trip before runtime, or can I > define the trips during runtime and ask the

Re: [sumo-user] (SUMO) TraaS Dynamic Routing & Incomplete Routes

2018-03-20 Thread Jakob Erdmann via sumo-user
Hello, - automatic routing is suitable if you just want vehicles to react to changing road conditions (congestion). This causes them to periodically check if there is a better route and then change the route but keep the original destination - if you need more influence on the timing or individual

Re: [sumo-user] Opening TraaS GUI

2018-03-20 Thread Jakob Erdmann via sumo-user
Hello, I'm not sure what you mean by TraaS GUI. You can either use TraaS for creating a webservice that your own code can connect to our you can use it directly as a client library for accessing sumo. Either way you have to write your own code that uses TraaS and there is no gui besides the

Re: [sumo-user] Meso Sumo

2018-03-14 Thread Jakob Erdmann via sumo-user
Hello, By default there are no lanes in meso. By setting the option --meso-multi-queue, lane-specific queues are only created whenever an edge has multiple successor edges (this is meant to avoid left-turning vehicles impeding straight-going vehicles, for example). At an on-ramp (1 successor) all

Re: [sumo-user] How to obtain chargingStation.totalEnergyCharged through Traci

2018-03-13 Thread Jakob Erdmann via sumo-user
Hello, I've added the missing documentation for the simulation domain parameter retrieval: http://sumo.dlr.de/wiki/Traci/GenericParameters#supported_domains_.28get_.2F_set.29 The methods Simulation.getParameter and setParameter are not yet implemented in Traas. We'd be happy to receive a patch (-:

Re: [sumo-user] CentOS 6 installation issue

2018-03-13 Thread Jakob Erdmann via sumo-user
Hello, Did you run 'ldconfig' after installing the libraries? regards, Jakob 2018-03-13 16:56 GMT+01:00 Jakub Filip Stawik via sumo-user < sumo-user@lists.sourceforge.net>: > Greetings > > I can't make sumo work in CentOS 6 environment. > What I have tried: > - Compiling sumo from sources

Re: [sumo-user] TL Logic validation

2018-03-11 Thread Jakob Erdmann via sumo-user
Hello, netconvert returns basically two types of signal plans depending on the edge priority values at an intersection 1) streams in opposite directions at the same time, seprate phase for exclusive left turns 2) every incoming edge gets its own phase where all turning directions get the green

Re: [sumo-user] Creating a Bend

2018-02-27 Thread Jakob Erdmann via sumo-user
Yes. Networks imported from data sources such as OSM typically feature bends. In your own networks you can define custom road shapes using netedit: http://sumo.dlr.de/wiki/NETEDIT#Move regards, Jakob 2018-02-21 11:03 GMT+01:00 Anne Onyango via sumo-user < sumo-user@lists.sourceforge.net>: > Does

Re: [sumo-user] traci deceleration

2018-01-05 Thread Jakob Erdmann via sumo-user
Hello, carFollowModels in SUMO may distinguish between a desired maximum deceleration 'decel' and the maximum deceleration in case of emergency 'emergencyDecel'. The latter value is assumed to be at least as high as 'decel' and ultimately restricts braking capability. By default emergencyDecel

Re: [sumo-user] Constrained lateral movement

2018-01-05 Thread Jakob Erdmann via sumo-user
Thank you for providing the example scenario. The lane-changing related parameters must be declared in a vehicle-type definition to take effect like so: regards, Jakob 2017-12-20 16:21 GMT+01:00 alex goupilleau via sumo-user < sumo-user@lists.sourceforge.net>: > Now using version 0.32.0,

Re: [sumo-user] Constrained lateral movement

2017-12-13 Thread Jakob Erdmann via sumo-user
I didn't yet find the time to test version 0.31.0 but it's working for me in the latest development version when setting high values for maxSpeedLat and lcAccelLat. Therefore, it could be a bug in 0.31.0. regards, Jakob 2017-12-13 9:16 GMT+01:00 alex goupilleau via sumo-user <

Re: [sumo-user] Traci Traffic Signal Manipulation

2017-12-10 Thread Jakob Erdmann via sumo-user
Hello, 1) - you can use the GUI to check which index corresponds to which connection (activate 'show link tls index', see http://sumo.dlr.de/wiki/Simulation/Traffic_Lights#Signal_state_definitions) - you can use TraCI:

Re: [sumo-user] Cars crashing during traci calls despite tau being greater than timestep

2017-12-06 Thread Jakob Erdmann via sumo-user
I suspect it could be an issue with the IDM model which assumes less strict bounds on deceleration in extreme situations. Try setting the attribute emergencyDecel="9" for vType "rl" regards, Jakob 2017-12-06 9:41 GMT+01:00 Kanaad Parvate via sumo-user < sumo-user@lists.sourceforge.net>: > Hi

Re: [sumo-user] Error message from traci

2017-12-06 Thread Jakob Erdmann via sumo-user
It means that your script (the peer) closed the connection. This causes sumo to quit. Try using traci.close() in your script before calling traci.start(). 2017-12-06 6:52 GMT+01:00 羅先豪 : > Thanks for help. > I did what you recommend me to and got the message below(from

Re: [sumo-user] Error message from traci

2017-12-04 Thread Jakob Erdmann via sumo-user
Possible there is an error in 005.sumocfg which prevented the simulation from starting. Add the option to your sumocfg and then look into the generated file log.txt to check for errors. regards, Jakob 2017-12-04 4:24 GMT+01:00 羅先豪 via sumo-user : > Hello, > > I

Re: [sumo-user] Negative Departure Time

2017-12-02 Thread Jakob Erdmann via sumo-user
Hello, currently, the traci-api limits time-related values to a maximum of 2147483s (~24 days) and negative values may be returned after this point. (see https://github.com/DLR-TS/sumo/issues/3439) Since your value appears to be in the ~4day range it should not hit this issue. try monitoring the

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

2017-11-28 Thread Jakob Erdmann via sumo-user
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] Automated Intersections

2017-11-27 Thread Jakob Erdmann via sumo-user
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-user@lists.sourceforge.net>:

Re: [sumo-user] tlLogic phases

2017-11-24 Thread Jakob Erdmann via sumo-user
Yes. See http://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Lane-Changing_Models (set lcStrategic, lcSpeedGain, lcCooperative and lcKeepRight to 0) 2017-11-24 12:05 GMT+01:00 Sara el hamdani : > Thank you Jakob for the reply! yes it seems logical,

Re: [sumo-user] tlLogic phases

2017-11-24 Thread Jakob Erdmann via sumo-user
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] Rerouters for buses and polyconvert from shapefiles

2017-11-20 Thread Jakob Erdmann via sumo-user
Hello, 1) closingLaneReroute only causes vehicles with a rerouting device to adapt their routes. See http://sumo.dlr.de/wiki/Simulation/Rerouter#Closing_a_Lane http://sumo.dlr.de/wiki/Demand/Automatic_Routing Also, there is a known bug when using closingReroute with allow/disallow:

Re: [sumo-user] Simulation scenarios

2017-11-08 Thread Jakob Erdmann via sumo-user
Hello, - you can take at the Luxembourg scenario: https://github.com/lcodeca/LuSTScenario - deciding (or re-deciding) the route at run-time can be accomplished with the '--device.rerouting.' options. See http://sumo.dlr.de/wiki/Demand/Automatic_Routing regards, Jakob 2017-11-09 4:14 GMT+01:00

Re: [sumo-user] How to use xml2csv.py?

2017-11-08 Thread Jakob Erdmann via sumo-user
1) install python 2) using the command line call python xml2csv.py yourfile.xml where - PATH0 is the path for locating python (if it is not found automatically) - PATH1 is the path to xml2csv.py in your sumo installation - PATH2 is the path to your xml file 2017-11-08 3:41 GMT+01:00

Re: [sumo-user] How To automatically set the shape of a junction?

2017-11-04 Thread Jakob Erdmann via sumo-user
Hello, - if you want to have an automatically generated shape, delete the shape attribute of the junction in 'inspect mode' in netedit. - if you want to define the shape yourself, right-click the junction and select 'set custom shape' (http://sumo.dlr.de/wiki/NETEDIT#Junction) regards, Jakob

Re: [sumo-user] question about the duration of lane-changing

2017-11-04 Thread Jakob Erdmann via sumo-user
Hello, to get a more detailed model of lateral dynamics it is recommended to use the sublane model ( http://sumo.dlr.de/wiki/Simulation/SublaneModel#Sublane-Model) regards, Jakob 2017-11-03 14:02 GMT+01:00 Du, Kunyue (TF-D) via sumo-user < sumo-user@lists.sourceforge.net>: > Hi Jacob, > I notice

Re: [sumo-user] Full set of sumo lane changing params

2017-11-04 Thread Jakob Erdmann via sumo-user
Hello, the wiki always reflects the state of the development version (a wiki snapshot that belongs to a release is always bundled with the release). The next release is planned for the end of the year but I cannot give you the date yet. regards, Jakob 2017-11-03 22:49 GMT+01:00 Kanaad Parvate via

Re: [sumo-user] sampledSeconds

2017-11-02 Thread Jakob Erdmann via sumo-user
Hello, the value is the sum for all vehicles in the measurement interval. I've updated the wiki to make this more clear. Thank you for reporting the ambiguity. regards, Jakob 2017-11-02 12:13 GMT+01:00 Natalia Liora via sumo-user < sumo-user@lists.sourceforge.net>: > Hello, > > I run SUMO and I

Re: [sumo-user] Query regarding sumo behavior with lanechangemode and setspeedmode

2017-11-02 Thread Jakob Erdmann via sumo-user
Hello, - laneChangeMode 0 also disables security checks. To disable all autonomous changing but still handle safety checks in the simulation, use either one of the modes *256* (collision avoidance) or *512* (collision avoidance and safety-gap enforcement). - By default there may only be one

Re: [sumo-user] Set traffic light error

2017-11-02 Thread Jakob Erdmann via sumo-user
Hello, the error indicates that the phase string "GyGy" does not have the correct number of entries. Right-click the traffic ligh (red/green bars) for center0 in sumo-gui and check the number of controlled links by selecting 'show phases' or simply call

Re: [sumo-user] Wrong return value of traci.vehicle.getDrivingDistance if vehicle is on node - workaround

2017-11-01 Thread Jakob Erdmann via sumo-user
Dear Joerg, thank you for reporting this. It has been fixed in v0_31_0-843-g5aa8c2c (which is our new github way of referencing commits and means 843 commits after release of 0.31.0 with full hash: https://github.com/DLR-TS/sumo/commit/5aa8c2ca2e839fd3853f9db60304aeae27a7d393 ) regards, Jakob

Re: [sumo-user] How to get the results of the simulation

2017-10-31 Thread Jakob Erdmann via sumo-user
add it like this (--log and logfile.txt are two separate items): traci.start([sumoBinary, '-c', os.path.join('data', 'run.sumocfg'), "--step-length", "0.1", "--duration-log.statistics","--log", "logfile.txt"]) 2017-10-31 17:06 GMT+01:00 Sara el hamdani : > My simulation

Re: [sumo-user] How to get the results of the simulation

2017-10-31 Thread Jakob Erdmann via sumo-user
run your simulation with the option --duration-log.statistics and --log logfile.txt you will find the results in logfile.txt regards, Jakob 2017-10-31 9:35 GMT+01:00 Sara el hamdani via sumo-user < sumo-user@lists.sourceforge.net>: > Hello sumo users, > > I need to get the avg. trip duration,

Re: [sumo-user] About SUMO wiki server corrupt

2017-10-30 Thread Jakob Erdmann via sumo-user
While we're working on getting the wiki server back online, you may use the offline version of the wiki that comes with every sumo release (sumo/docs/userdoc/index.html) regards, Jakob 2017-10-30 8:49 GMT+01:00 Gihwan Kim via sumo-user < sumo-user@lists.sourceforge.net>: > I'd like to see the

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

2017-10-26 Thread Jakob Erdmann via sumo-user
5s yellow phase should normally be sufficient. Please observe the vehicle that is performing emergency braking in the simulation: - what is the speed limit on the edge before the traffic light? - what is the vehicle speed? - what is the distance of the vehicle to the intersection at the time it

[sumo-user] Migration to GitHub

2017-10-24 Thread Jakob Erdmann via sumo-user
Dear friends and users, our migration to GitHub and Eclipse ( http://sumo.dlr.de/wiki/Eclipse_Migration) has a major step scheduled for the coming weekend. Beginning on October 27th we will switch the subversion repository hosted on Sourceforge and the

Re: [sumo-user] Find the junction nodes _Reg

2017-10-24 Thread Jakob Erdmann via sumo-user
Hello, there is no library function to accomplish your goal directly. However, using sumolib (http://sumo.dlr.de/wiki/Tools/Sumolib) you can retrieve the geometry of an existing network and then perform arbitrary geometrical computation with your own code. regards, Jakob 2017-10-24 7:14 GMT+02:00

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

2017-10-23 Thread Jakob Erdmann via sumo-user
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-user@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] Sumo debugging errors and guidance regarding sumo pedestrian features

2017-10-23 Thread Jakob Erdmann via sumo-user
Hello, Sumo uses C++11 features since version 0.31.0 which requires at least version 2013 of visual studio. The pedestrian model is implemented in src/microsim/pedestrians/MSPModel_Striping.cpp regards, Jakob 2017-10-23 8:07 GMT+02:00 Maria Khurshid via sumo-user <

Re: [sumo-user] Fuel consumption in sumo

2017-10-23 Thread Jakob Erdmann via sumo-user
Hello, fuel consumption also depends on accel/decel and for some models on slope as well. For further reading see http://elib.dlr.de/89398/ The source code for the models is in utils/emissions. The core component is the compute() function of the Helpers* classes. regards, Jakob 2017-10-23 6:45

Re: [sumo-user] Using TraCI to restart sumo simulation

2017-10-22 Thread Jakob Erdmann via sumo-user
Hello, sending 'reload' or obtaining the original options is currently not possible. You will need to pass the path to the configuration file into your test management system in some way in order to restart the simulation with those options. regards, Jakob 2017-10-22 15:06 GMT+02:00 Marc Rene

Re: [sumo-user] Default speed mode value used in Sumo

2017-10-21 Thread Jakob Erdmann via sumo-user
Hello, command traci.vehicle.setSpeed sets the new desired speed indefinitely. In order to go back to normal behavior the command setSpeed(vehID, -1) must be sent. see http://sumo.dlr.de/wiki/TraCI/Change_Vehicle_State regards, Jakob 2017-10-20 19:45 GMT+02:00 Santa Maiti

Re: [sumo-user] How to get a person's position with more precision

2017-10-21 Thread Jakob Erdmann via sumo-user
If you run your simulation with option --step-length 0.1 then time resolution is 0.1 seconds rather than 1s so you have more precision. regards, Jakob 2017-10-21 10:28 GMT+02:00 Sara el hamdani via sumo-user < sumo-user@lists.sourceforge.net>: > Dear sumo users > > Can I change deltaT or have

Re: [sumo-user] question about sumo simulation fcd-output

2017-10-20 Thread Jakob Erdmann via sumo-user
Hello, to get lon-lat values in fcd-output you als need to set the option --fcd-output.geo (note, that the values will still be written to the 'x' and 'y' attributes) regards, Jakob 2017-10-20 17:18 GMT+02:00 stefano pino via sumo-user < sumo-user@lists.sourceforge.net>: > Greetings everyone!!!

Re: [sumo-user] problem with xml2csv.py

2017-10-20 Thread Jakob Erdmann via sumo-user
Hello, run the tool using it's full path: python c:\\sumo\tools\xml\xml2csv.py (or whatever the path on your operating system is) regards, Jakob 2017-10-20 14:56 GMT+02:00 Natalia Liora via sumo-user < sumo-user@lists.sourceforge.net>: > Hello, > > I have downloaded the version 0.3 of sumo. I

Re: [sumo-user] Default speed mode value used in Sumo

2017-10-20 Thread Jakob Erdmann via sumo-user
Hello, the default speed mode is 31. Please check whether the vehicles have already reached their maximum desired speed (speedLimit * speedFactor). Also, remove any previous setSpeed() commands by sending traci.vehicle.setSpeed(vehID, -1). Furthermore, ensure that the maximum allowed acceleration

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

2017-10-17 Thread Jakob Erdmann via sumo-user
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] 0.31.0 Bug notification

2017-10-14 Thread Jakob Erdmann via sumo-user
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] * is not downstream the current route. traci.vehicle.setBusStop problem

2017-10-12 Thread Jakob Erdmann via sumo-user
Then the error message is correct in stating that "the stop is not downstream the current route". At this point you could either use a different stop or compute a route the cycles back to the start of the stop edge. For the latter case it should be sufficient to call vehicle.setVia(vehID,

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

2017-10-12 Thread Jakob Erdmann via sumo-user
Hello, Potentially the vehicle is already past the stop position? On what edge and position is the vehicle when sending the setBusStop command? If the vehicle is upstream of the stop, please send in additional information as described here:

Re: [sumo-user] Emission Output Timer

2017-10-05 Thread Jakob Erdmann via sumo-user
Hello, patching sumo is probably the easiest solution for your problem. Put your check into the file microsim/output/MSEmissionExport.cpp Alternatively, you could write the file to a socket and filter the data with another script before writing it to disk (

Re: [sumo-user] Adding penalties to current travel times.

2017-10-03 Thread Jakob Erdmann via sumo-user
The travel_time * penalty approach you describe is the most flexible and general approach. You could achieve a similar effect (automatically updated travel times, some customization via TraCI) with device.rerouting. http://sumo.dlr.de/wiki/Demand/Automatic_Routing regards, Jakob 2017-10-03 18:36

[sumo-user] 0.31.0 Bug notification

2017-09-28 Thread Jakob Erdmann via sumo-user
Dear users, Please note that a bug was introduced in Netedit version 0.31.0 that appears when saving networks which contain pedestrian crossings controlled by a traffic light (http://sumo.dlr.de/trac.wsgi/ticket/3472). It causes crossing to be uncontrolled. If you use Netedit to create pedestrian

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

2017-09-26 Thread Jakob Erdmann via sumo-user
Somewhere in your inpx file is an xml attribute with an empty value (someAttribute=""). This is not expected by the importer. Search for "" in your file and try to remove the attribute (or set an appropriate value). regards, Jakob 2017-09-26 14:34 GMT+02:00 Phuong Nguyen via sumo-user <

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

2017-09-26 Thread Jakob Erdmann via sumo-user
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] Overtaking issue when switching to sublane model

2017-09-26 Thread Jakob Erdmann via sumo-user
Hello, opposite-direction driving is not yet compatible with the sublane model ( http://sumo.dlr.de/wiki/Simulation/SublaneModel#Sublane-Model) regards, Jakob 2017-09-26 9:42 GMT+02:00 alex goupilleau via sumo-user < sumo-user@lists.sourceforge.net>: > Hello all, > > > In order to create

Re: [sumo-user] Vehicle Intersection speeds

2017-09-22 Thread Jakob Erdmann via sumo-user
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] Needing more information for platooning model

2017-09-22 Thread Jakob Erdmann via sumo-user
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 gets routed through off-line station!?

2017-09-22 Thread Jakob Erdmann via sumo-user
Hello, edge priority is not taken into account for routing purposes. Neither is the number of junctions (or rather not in the correct way). The speed should take effect but you may be suffering from a known issues of junction distances being ignored and thus getting wrong distance estimates:

Re: [sumo-user] Simulated detector problems

2017-09-22 Thread Jakob Erdmann via sumo-user
Hello 1) maybe Andres can extend the code in traci4matlab/examples 2) you may not use xml comments within an xml element as done for detector 4 (the <-- part) 2017-09-21 14:45 GMT+02:00 Selva Ganesha via sumo-user < sumo-user@lists.sourceforge.net>: > Good day, > > Having trouble with

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

2017-09-19 Thread Jakob Erdmann via sumo-user
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-user@lists.sourceforge.net>: > Good day, > > I'm having a problem whereby utilizing more than one e1detector (as seen in >

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

2017-09-18 Thread Jakob Erdmann via sumo-user
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-user@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 via sumo-user
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-user@lists.sourceforge.net>: > Hey Guys , > According to a Project i used Traci to

Re: [sumo-user] How do I get the time duration of green traffic light on a particular edge via traci4matlab?

2017-09-18 Thread Jakob Erdmann via sumo-user
First you need to determine the traffic-light index which corresponds to that edge (or rather to the lane-to-lane connections from that edge because each connection has it's own index). This is done by calling the function trafficlights.getControlledLinks. Then you can retrieve the state with

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

2017-09-18 Thread Jakob Erdmann via sumo-user
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 convert junction to edge?

2017-09-16 Thread Jakob Erdmann via sumo-user
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,

  1   2   3   >