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.51k stars 1.42k forks source link

disconnected routes in matsim import #7958

Open behrisch opened 3 years ago

behrisch commented 3 years ago

The current plan import does not check connectivity of the routes. What is observed when importing Berlin is that turnarounds happen on streets where sumo does not allow turnarounds (probably because it is a geometry like and almost straight junction). The easiest way out is to call duarouter --repair after the import maybe also with --remove-loops.

behrisch commented 3 years ago

A better solution may be to remove the loops before repairing but there is currently no way of doing this without calling duarouter twice.

namdre commented 3 years ago

or, we could just allow those turnarounds in the network if matsim thinks that they should be used.

behrisch commented 3 years ago

I am not sure whether they are intentional and even if they are, they are possibly unhealthy to the microsimulation. At least the (few) cases I saw were classical cases of departure / arrival in the wrong direction. So unless we want to do the full bidi-taz approach as with TAPAS, removing them seems a good idea.