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.36k stars 1.36k forks source link

option for lane-based routing #15102

Open ambuehll opened 1 week ago

ambuehll commented 1 week ago

as discussed on matrix:

quick question on the routing speed for astar or CH in sumo micro vs meso:

does the router take into account different lane speeds in sumo micro? does the router take into account different lane speeds in sumo meso when the approach lane differ and meso-lane is on?

--> According @m-kro the speeds are aggregated over all lanes. I see some issues when a turning lane is completely congested and the through lanes are not. If the average is calculated this also means that the travel time for the left turn movement is underestimated and for the through movement overestimated.

Would it be possible to have a lane-based routing? this is definitely related to #8904

As always, many thanks!

namdre commented 1 week ago

you can use option --weights.separate-turns to distinguish travel time by turning direction. That isn't to say a lane-based routing isn't possible but it's definitely a larger piece of work (and no timeline for implementation).

ambuehll commented 1 week ago

Ah, right! forgot about that option or actually I thought it was for marouter... Thanks for pointing it out. Any suggestion for a value to test with? :)

namdre commented 1 week ago

try values in [0.5, 1]

ambuehll commented 1 week ago

interestingly, setting the option leads to many more routes taking turn-lanes (which in the end leads to much more congestion). Is that expected? I can provide an example, if interested.

namdre commented 1 week ago

No, it's not expected! If you can build a small example that would be great. A single big scenario is too much to analyze for this effect.

ambuehll commented 1 week ago
image

once weights.separate-turns is set the above route gets very attractive

sumo version: yesterday's dev

Archive.zip