Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider turn restrictions during routing #2829

Open
1 of 8 tasks
Tracked by #2851
marecabo opened this issue Oct 10, 2023 · 0 comments
Open
1 of 8 tasks
Tracked by #2851

Consider turn restrictions during routing #2829

marecabo opened this issue Oct 10, 2023 · 0 comments
Assignees
Labels
code sprint Possible issue(s) for the MATSim code sprint

Comments

@marecabo
Copy link
Contributor

marecabo commented Oct 10, 2023

We want to consider turn restrictions in the network during routing.

Turn restrictions are list of subsequent links, which shall not be passed by vehicles of a given mode.

Currently, it is only possible to model turn restrictions using Lanes with a separate lane definition file.

Proposal

  • Links can have a disallowedNextLinks attribute containing an object, which is basically a map of modes and a set of lists with forbidden next link ids.
  • Turn restrictions are only considered at the routing level. The QSim should just execute routes and not check turn restrictions again. This allows busses with fixed routes to follow it and cars get routed differently.
  • An empty or missing attribute means that no next links are disallowed.

Example

  • Link 1 has attribute disallowedNextLinks = {"car": {["2", "3"], ["6"]}, "bike": {["6"]}}
  • This means that link sequences [1, 2, 3] and [1, 6] are not allowed for car and link sequence [1, 6] is not allowed for bike.

Todos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code sprint Possible issue(s) for the MATSim code sprint
Projects
Status: In Progress
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants