eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.54k stars 1.43k forks source link

question about lcstrategic #14663

Open ambuehll opened 6 months ago

ambuehll commented 6 months ago

Quick question about lcstrategic in the lane changing model LC2013: It would be helpful if the formula and the max distances for the factor lcstrategic were in the documentation. There are some old mailing list threads (https://www.eclipse.org/lists/sumo-user/msg13147.html) that talk about 3000m and in the src code I found there to be two values: 3000m for highway and 200m for "urban".

I have the issue that many vehicles select their lane very early in an urban setting with an lcstrategic of 1; setting it to 0.01 yields better results. In addition, there are some gridlocks happening for weaving vehicles on short edges (i think this is a known issue) - I'll see what I can do about that.

Any documentation would be appreciated. As always, many thanks!

namdre commented 6 months ago

The strategic distance, isn't really tied to an urban or motorway setting but rather to the number of intersections within the lookahead window (the comments only document the design intention). Furthermore, the values of 3000 and 200 only set the maximum lookahead distance. Depending on the current speed of the vehicle and the density of surrounding traffic, the strategic lookahead distance can be much shorter. This makes it somewhat difficult to document the behavior without giving a lot of code details. I'm interested in exploring the issue of unsuitable defaults though. Do you have a nice example that shows how the lane changing comes to early?

W.r.t weaving on short edges, see https://sumo.dlr.de/docs/Simulation/Motorways.html#combined_on-off-ramps

ambuehll commented 6 months ago

lcstrategic=1

image

lcstrategic=0.01

image

haven't cut the network nor demand. let me know if that's OK for you, I can cut it later in the week, if necessary. edge_id: 332478283

https://drive.google.com/file/d/1hvbWRe0XzdzGbHnUhZuUABvkgj16PyvJ/view?usp=share_link

sumo-gui -c sumo.sumocfg --device.rerouting.threads 5 --begin 54000 --end 72000 -r trips_15_20.trips.xml

namdre commented 6 months ago

regardless of defaults, I'm convinced we should open up the configuration space: #14718