-
Notifications
You must be signed in to change notification settings - Fork 46
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
Implement a converter from NGE operations to OSRD timetable update - Part 1 #7539
Closed
23 of 32 tasks
Closed
23 of 32 tasks
Labels
area:front
Work on Standard OSRD Interface modules
kind:feature-task
Work related to a feature epic
module:operational-studies
Multi-train simulation with structured studies management
Comments
This was referenced May 28, 2024
This was referenced Jul 24, 2024
CR atelier 29/07/24Présents : Louis, Uriel, Simon, Florian, Maëlys Questions
TODO sur ce PI
TODO côté métier
|
14 tasks
15 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area:front
Work on Standard OSRD Interface modules
kind:feature-task
Work related to a feature epic
module:operational-studies
Multi-train simulation with structured studies management
4th step of meta #7535
Acceptance criteria
A timetable change implies an update of the NGE model
An action on trainruns* in NGE implies an update of the timetable
Information converted from NGE to OSRD :
*a
trainrun
in NGE is the equivalent of atrain schedule
in OSRD (even tho it is not semantically 100% correct)Old acceptance criteria (when NGE was supposed to take the output of OSRD)
*a
trainrun
in NGE is the equivalent of atrain schedule
in OSRD (even tho it is not semantically 100% correct)Implementation plan
eventListener
for the NGEoperationX
eventsDescription
Train schedules v2
Train schedules v2 is not released at the time on the refinement of this ticket, refinement taking in account TSv2 will have to be done during the development of this ticket.
[POSTPONE] Train frequency
Train frequency is not a concept well used in OSRD as well as it is in NGE, however this is a key concept to understand how to work with these two level of detail.
A train frequency helper will have to be implemented on OSRD side, a service that will "translate" a trainrun in NGE into a serie of train schedules in OSRD.
For example, if a trainrun, with a trainrun frequency of 1 hour, is created, it will result in the creation of X (to be defined, maybe 24) train schedules in OSRD, with a very close name (i.e., "{trainrun.name}-{hourOfDeparture}), all shifted from 1 hour, using the same rolling stock, same minute of departure, same path etc...
For you information, in the other hand, when converting a scenario from OSRD to NGE, when a serie of train schedules that have the same attributes enough to be interpreted as frequenced train schedules (same rolling stock, slight variation of name (i.e., "{trainrun.name}-{hourOfDeparture}), same path, evenly shifted in time (every hour / 2 hours...)), it will have to let to display only a single trainrun in NGE (frequency depending on the frequence pattern observed)
Payloads
See Trainrun data model and TrainrunSection data model
Create
trainrun
:Update
trainrun
:Delete
trainrun
:Timetable update
The philosophy behind the timetable update is different from the PoC, since in the PoC the whole NGE model is computed and the result is compared to the whole timetable. Here we aim to deal with unitary action from NGE and request for a timetable update only once (atomic change instead of whole timetable comparison). In addition to that, the PoC has been implemented on TSv1. For these reasons, do not stick to the PoC algorithms (even tho it can help to understand).
Labels
The creation or update of a label of a trainrun has to be persisted in OSRD train schedule.
To start with, trainrun labels can be set as train schedule labels, such as:
category
("IC", "EC", ...)frequency
(15min, 30min, ...)Tests
Definition of ready
PO
Technical
General
The text was updated successfully, but these errors were encountered: