OpenRailAssociation / osrd

An open source web application for railway infrastructure design, capacity analysis, timetabling and simulation
https://osrd.fr
GNU Lesser General Public License v3.0
419 stars 40 forks source link

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

Closed axrolld closed 1 week ago

axrolld commented 1 week ago

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?

OSRD version (top right corner Account button > Informations)

839f7ef

axrolld commented 1 week ago

Duplicate with #7950