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.37k stars 1.37k forks source link

taxi dispatching only likes edges which allow taxi vClass #9812

Open behrisch opened 2 years ago

behrisch commented 2 years ago

I can give any vehicle a taxi device but apparently a person can only arrive at edges which allow vClass taxi

Error: Cannot add taxi reservation for person '0' because destination edge 'Station' does not permit taxi access

Adapting the allowed vClasses on the arrival edge is a workaround (no change to the vehicle needed).

namdre commented 2 years ago

It's meant as a feature to help users who input taxi rides starting within the pedestrian-only part of the network. The intermodal router also requires edges with vClass taxi since it doesn't have any information about the taxi fleet (at least in the duarouter case).

behrisch commented 2 years ago

It might be beneficial in general for the router to know the fleet also for parameter like maximum speed and if we route using other restrictions (weight, height etc.). But to stay on topic. Can we downgrade it to a warning or limit it to cases which only allow peds/bikes?

namdre commented 2 years ago

I guess it won't hurt to allow edges that permit "passenger or taxi" since taxis can go to all the places that normal passenger cars can go.

And it would be good to add a device.taxi option that overrides the default of "taxi,passenger" in case someone wants to simulate DRT boats. (The same option should then be added to duarouter and it it should apply to intermodal taxi routing)