sumo icon indicating copy to clipboard operation
sumo copied to clipboard

Differentiate routing edge speeds per vehicle class

Open m-kro opened this issue 1 year ago • 6 comments

"Discovered" through the mailing list. Currently speeds of all lanes are averaged which makes edges with a pedestrian lane seem slower than those without from a car perspective. Even if there are no vehicles or pedestrians, the respective lanes participate in the speed average.

m-kro avatar Dec 21 '23 14:12 m-kro

The problem is not as severe as it looks at first sight because the maximum allowed speed on the sidewalk is per default the same as on the street.

behrisch avatar Dec 22 '23 09:12 behrisch

The problem is not as severe as it looks at first sight because the maximum allowed speed on the sidewalk is per default the same as on the street.

Hello. I think this would be the case when we manually create the network. The network we used was extracted from OSM in which some sidewalks had the same speed as their street and some had a lower speed. This lack of consistency in the extracted network resulted in questionable routing for our real-world network.

BlueSoheil99 avatar Dec 27 '23 23:12 BlueSoheil99

@BlueSoheil99 Can you give the geo-coordinates of your example? Did you convert it with the default osmWebWizard settings?

behrisch avatar Jan 02 '24 11:01 behrisch

@behrisch Given the user name, I presume it's the same network I showed you (Seattle city center around Fairview avenue). Importing it through osmWebWizard will create separate pedestrian edges though, so it seems the user did it differently...

m-kro avatar Jan 02 '24 13:01 m-kro

@behrisch Given the user name, I presume it's the same network I showed you (Seattle city center around Fairview avenue). Importing it through osmWebWizard will create separate pedestrian edges though, so it seems the user did it differently...

Yes, it's Downtown Seattle. I think the network was made with the help of netconvert command and many revisions and cleaning were done on it. Since I was not included in that part and previous lab members worked on it, I cannot exactly tell you how they merged pedestrian lanes with vehicle lanes.

BlueSoheil99 avatar Jan 03 '24 01:01 BlueSoheil99

the relevant code is at https://github.com/eclipse-sumo/sumo/blob/9e882d67182e9dc57d8df5716f8de5d02a5dbac0/src/microsim/MSEdge.cpp#L870-L877

namdre avatar Feb 16 '24 16:02 namdre

This is also relevant for #5347

namdre avatar May 23 '24 14:05 namdre