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

TSV2 : incorrect standard margin distribution in case of specified passing point #7950

Closed bgiuliana closed 5 days ago

bgiuliana commented 1 week ago

What happened?

When we put a value of standard margin in the input table, the correspondent margin with this value is inserted till the following passing point

What did you expect to happen?

When we put a value of standard margin in the input table, the correspondent margin with this value should be inserted till the following point where a new value of standard margin is specified

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

Go to a scenario TSV2 Chose the rolling stock and a path with a passing point Put 5% value of standard margin Look the margin distribution in to the speed space graph

What operating system, browser and environment are you using?

OSRD version (top right corner Account button > Informations)

staging 4698a66

axrolld commented 1 week ago

Another example here