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

nge: investigate ways to refactor NGE to ease the constraints (times, round trips) #10576

Open
louisgreiner opened this issue Jan 29, 2025 · 1 comment
Assignees
Labels
area:front Work on Standard OSRD Interface modules component:nge Macroscopic mode of Operational Studies module module:operational-studies Multi-train simulation with structured studies management

Comments

@louisgreiner
Copy link
Contributor

louisgreiner commented Jan 29, 2025

Main issue: https://github.com/osrd-project/osrd-confidential/issues/923

Exploration plan : B -> C -> D

Preliminary for asymmetry

The asymmetry is supposed to be set on a Trainrun, to allow on the same network to have symmetrical and asymetrical trainruns.

B - Enable trainrun section departure/arrival assymetry at nodes

The idea is to get rid of the following rule: a trainrun section arriving on a node at x, departs again from this node at 60 - x at the return trip. In other words, targetArrival + targetDeparture = 0 % 60.

C - Enable one-way trip

D - Enable different travel times for round trips

E - Enable different itinerary for the way back of a round trip (not on the scope of this issue)

Image


With @Yohh and @Uriel-Sautron

@louisgreiner louisgreiner self-assigned this Jan 29, 2025
@louisgreiner louisgreiner added area:front Work on Standard OSRD Interface modules module:operational-studies Multi-train simulation with structured studies management component:nge Macroscopic mode of Operational Studies module labels Jan 29, 2025
@louisgreiner
Copy link
Contributor Author

louisgreiner commented Mar 6, 2025

First draft of B at SchweizerischeBundesbahnen/netzgrafik-editor-frontend#407 (PR closed, branch still available here)

/!\ At this stage, the symmetry is broken and we get warnings : it is normal since with the same travel time for both ways and non-symmetrical times at source/target node, only 1 travel time is not enough to determine a trainrun section (see TrainrunsectionValidator in NGE code) -> I disabled the warnings not in a proper way, might need to work on it

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 component:nge Macroscopic mode of Operational Studies module module:operational-studies Multi-train simulation with structured studies management
Projects
None yet
Development

No branches or pull requests

3 participants