[sumo-user] Turning cars block the intersections

2019-11-21 Thread Sasan Amini
Dear all, I have a relatively large network in which I often face a problem at intersections. As you can see in the attached screenshot, left-turning cars stop in other lanes where they cannot turn left and stand still blocking the way for the through stream. My questions is why would they

Re: [sumo-user] Help with Lisum

2019-11-21 Thread Jakob Erdmann
Hello, there is a problem with our build that we were not aware of until now: process https://github.com/eclipse/sumo/issues/6292 As a workaround, you can build lisum yourself (CMake targets lisum-core, lisum gui). regards, Jakob Am Mi., 20. Nov. 2019 um 12:30 Uhr schrieb Okatan, Mert <

Re: [sumo-user] How to calculate the Vehicle Number and waiting duration at red phsae of Traffic lights

2019-11-21 Thread Jane Cheung
could I use traci to realize my proposed objects? On Thu, Nov 21, 2019 at 15:04 Jakob Erdmann wrote: > 1) > https://sumo.dlr.de/docs/Simulation/Output/Traffic_Lights.html#coupled_lane_area_detectors > 2) for historical reasons the summary output refers to vehicles that are > waiting for

[sumo-user] discussion on using traci to compute throughput of intersections

2019-11-21 Thread Hao Zhou
Hi all, I noticed that the throughput flow of intersections can be accessed in the output file of loop detectors. But I am wondering can we use traci to get the real-time throughput between time [t-interval, t]? # Loop[j] is the lsit for loop detector j Loop = [[] for x in

Re: [sumo-user] discussion on using traci to compute throughput of intersections

2019-11-21 Thread Sasan Amini
I think it’s best if you use E3 detectors to count how many vehicles pass an intersection: traci.multientryexit.getLastStepVehicleNumber(‘detID’) From: sumo-user-boun...@eclipse.org [mailto:sumo-user-boun...@eclipse.org] On Behalf Of Hao Zhou Sent: Thursday, 21 November 2019 15:25 To: Sumo

Re: [sumo-user] Turning cars block the intersections

2019-11-21 Thread Sasan Amini
Is there a way to make the drivers a bit smarter? For example, in VISSIM one can set the “look ahead distance” to choose the best driving lane well in advance. IS there such a parameter in SUMO driving behaviour models? From: sumo-user-boun...@eclipse.org [mailto:sumo-user-boun...@eclipse.org]

Re: [sumo-user] Turning cars block the intersections

2019-11-21 Thread Jakob Erdmann
The most likely cause for this comes from the incoming connections of that edge (and possibly the ones before that). If the connections mostly target the right lanes then left-turning vehicles that enter this edge will first have to change lanes which becomes difficult in dense traffic. Am Do.,

Re: [sumo-user] Turning cars block the intersections

2019-11-21 Thread Hao Zhou
I had similar question before. Later I used traci to reroute vehicles at intersections to pick the most ‘idle’ next lane. Also I found a random routing algorithm can fix the block. I mean the route is updated every time step. Best, Hao > On Nov 21, 2019, at 07:45, Sasan Amini wrote: > > Is

Re: [sumo-user] How to reach a certain density level using traCI?

2019-11-21 Thread Hao Zhou
thanks Jakob. Best, Hao > On Nov 21, 2019, at 01:54, Jakob Erdmann wrote: > > A routeID is the name for a list of edges and must be registered first: > traci.route.add("route0", ["E3D3","D3C3"]) > traci.vehicle.add("vehicle0", "route0") > >> Am Do., 21. Nov. 2019 um 07:24 Uhr schrieb Hao

Re: [sumo-user] Turning cars block the intersections

2019-11-21 Thread Albert Jeans
I had this problem with a very congested intersection with a long, multi-lane approach. In reality, drivers try to merge into the proper lanes far ahead of the intersection, but SUMO lets drivers try to merge at the last minute which then results in cars being in the wrong lanes. The fix was to

Re: [sumo-user] Turning cars block the intersections

2019-11-21 Thread Jakob Erdmann
Usually drivers have quite a long foresight to avoid late lane changes. You can tune this by using the vType parameter lcStrategic. However, if the connection layout is bad, then drivers are forced to approach the intersection on a bad lane. One of the reasons for bad connection layout is here:

Re: [sumo-user] How to calculate the Vehicle Number and waiting duration at red phsae of Traffic lights

2019-11-21 Thread Jakob Erdmann
Yes. You can use traci to check the number of vehicles that are waiting in front of a red light. Depending on your network, you may have to search along multiple lanes until you have covered the relevant distance (e.g. queue length). Am Do., 21. Nov. 2019 um 11:24 Uhr schrieb Jane Cheung <

[sumo-user] moveToXY

2019-11-21 Thread Mohsin Memon
Hi.. I am working on moveToXY to place ego vehicle in SUMO, but unfortunately I am getting error in traci.beginMessage (line 15) message.queue = [message.queue uint8(sscanf(cmdID,'%x'))]; Error in moveToXY (line 39) traci.beginMessage(constants.CMD_SET_VEHICLE_VARIABLE, constants.MOVE_TO_XY,...

Re: [sumo-user] moveToXY

2019-11-21 Thread Jakob Erdmann
Why can you not use the function from traci4matlab? https://github.com/pipeacosta/traci4matlab/blob/master/%2Btraci/%2Bvehicle/moveToXY.m Am Fr., 22. Nov. 2019 um 02:17 Uhr schrieb Mohsin Memon < mohsin.l...@gmail.com>: > Hi.. I am working on moveToXY to place ego vehicle in SUMO, but >