[Bug]: Journey chain (Reiseketteanalyse) does not use train frequency (Vertaktung) #77
Open
3 tasks done
Labels
bug
Something isn't working
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
Open Netzgrafik
Activate Analytics

Click on Node LTH
No time gets calculate / no journey gets found to ZF nor to Sursee (SS)
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
Relevant log output
No response
The text was updated successfully, but these errors were encountered: