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

Setting a stop in tsv2 cancels the margin after the stop #7965

Closed
axrolld opened this issue Jul 5, 2024 · 1 comment
Closed

Setting a stop in tsv2 cancels the margin after the stop #7965

axrolld opened this issue Jul 5, 2024 · 1 comment
Labels
area:core Work on Core Service kind:bug Something isn't working module:operational-studies Multi-train simulation with structured studies management severity:major Major severity bug

Comments

@axrolld
Copy link
Contributor

axrolld commented Jul 5, 2024

What happened?

  1. I set 10min/100km margin in Grenoble P2 and 20% margin in St-Egrève.
  2. 30s stop in Grenoble PB
  3. I got 7.21min/100km real margin (this is ✅ it's just a matter of precision on margin computation)
  4. But the problem is i got no margin between the stop and ST Egrève

image

What did you expect to happen?

If we follow the same principle as tsv1, stops split the margin.

That means if there's 10min/100km margin between Grenoble P2 and St-Egrève, the stop in Genoble PB should split this in two, and we should have 10min/100km on both portions.

So I'm expexting no margin before Grenoble P2 (✅), 10min/100km until St-Egrève (❌), and 20% after (✅).

How can we reproduce it (as minimally and precisely as possible)?

.

What operating system, browser and environment are you using?

  • Browser: Chrome
  • OS: W11
  • Env: dev

OSRD version (top right corner Account button > Informations)

839f7ef

@axrolld axrolld added kind:bug Something isn't working area:core Work on Core Service module:operational-studies Multi-train simulation with structured studies management severity:major Major severity bug labels Jul 5, 2024
@axrolld
Copy link
Contributor Author

axrolld commented Jul 5, 2024

Duplicate with #7950

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:core Work on Core Service kind:bug Something isn't working module:operational-studies Multi-train simulation with structured studies management severity:major Major severity bug
Projects
None yet
Development

No branches or pull requests

1 participant