editoast: towed rolling stocks should really have a minimum value #9543
Labels
area:editoast
Work on Editoast Service
kind:bug
Something isn't working
module:stdcm
Short-Term DCM
severity:minor
Minor severity bug
What happened?
On the STDCM page, I tried a simulation with a train weighting 1t. That input is absurd, but the output was even more absurd: simulation failed, not enough traction.
Turns out, the RK4 integration doesn't really work out properly when the traction force is absurdly high compared to the weight. The first (2s) step goes up to 1500km/h. The second iteration starts at that speed and decelerates even faster. The average acceleration over 4 iterations end up negative => "not enough traction" to even go above 0km/h at the first step.
What did you expect to happen?
Anything from these options:
How can we reproduce it (as minimally and precisely as possible)?
Send an STDCM request with a 1t train.
On which environments the bug occurs?
Local, Dev (SNCF)
On which browser the bug occurs?
Firefox
OSRD version (top right corner
Account
button >Informations
)a9261bc
The text was updated successfully, but these errors were encountered: