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

[Bug]: Journey chain (Reiseketteanalyse) does not use train frequency (Vertaktung) #77

Open
3 tasks done
aiAdrian opened this issue Apr 10, 2024 · 0 comments
Open
3 tasks done
Labels
bug Something isn't working

Comments

@aiAdrian
Copy link
Collaborator

aiAdrian commented Apr 10, 2024

Preflight Checklist

Which version are you using

2.5.0

What happened?

The journey chain analysis calculates the travel times between nodes in the network. This allows determining the time required to travel from one specific node to another.

The journey chain analysis can be used to efficiently determine the travel times in the network.

In the current implementation, there is an error. Frequencies are not taken into account, meaning that if the arrival time + transfer time is later than the departure time, the algorithm currently does not find a connection. This is incorrect; the algorithm should try to make the connection in the next interval, which is the next departing trainrun with departure time + n x trainrum-frequency >= arrival time + connection time.

See JSON
netzgrafik_simple_issue_traveltimematrix.json

Steps to reproduce the issue

  1. Open Netzgrafik

  2. Activate Analytics
    image

  3. Click on Node LTH

  4. No time gets calculate / no journey gets found to ZF nor to Sursee (SS)

image

The problem is at ZG - Train arrives from LTH 46 + the connection time is set to 5 = 46 + 5 = 51 -> this is later than departure time 49 towards ZF which would make connection to SS

image

Relevant log output

No response

@aiAdrian aiAdrian added the bug Something isn't working label Apr 10, 2024
@aiAdrian aiAdrian changed the title [Bug]: [Bug]: Journey chain (Reiseketteanalyse) does not use train frequency (Vertaktung) Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant