Skip to content

core: add ETCS SVL logic to ETCS braking simulator #10402

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

Merged
merged 1 commit into from
Mar 10, 2025

Conversation

Erashin
Copy link
Contributor

@Erashin Erashin commented Jan 16, 2025

Fixes #10404.
Add SVL logic to ETCS braking simulator.
How: compute svl and eoa indications, compute minimum curve, and compare it against overlay.
Limit: approximate braking curves' calculation when SvL is after the end of the path, due to the missing tractive effort and slopes post path.

@github-actions github-actions bot added the area:core Work on Core Service label Jan 16, 2025
@Erashin Erashin changed the base branch from dev to alch/core/add_loa_svl_etcs_logic January 16, 2025 10:06
@codecov-commenter
Copy link

codecov-commenter commented Jan 16, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.67%. Comparing base (37c3b08) to head (408d683).
Report is 78 commits behind head on dev.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff            @@
##              dev   #10402    +/-   ##
========================================
  Coverage   80.66%   80.67%            
========================================
  Files        1098     1101     +3     
  Lines      111787   112573   +786     
  Branches      744      747     +3     
========================================
+ Hits        90176    90813   +637     
- Misses      21568    21717   +149     
  Partials       43       43            
Flag Coverage Δ
editoast 72.32% <ø> (+0.10%) ⬆️
front 89.92% <ø> (-0.02%) ⬇️
gateway 2.18% <ø> (ø)
osrdyne 2.53% <ø> (ø)
railjson_generator 87.58% <ø> (ø)
tests 88.81% <100.00%> (+0.91%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Erashin Erashin force-pushed the alch/core/add_loa_svl_etcs_logic branch 5 times, most recently from 5bfa910 to 8350dfe Compare January 16, 2025 11:18
@Erashin Erashin linked an issue Jan 16, 2025 that may be closed by this pull request
@Erashin Erashin changed the title core: add etcs SVL logic core: add ETCS SVL logic to ETCS braking simulator Jan 16, 2025
@Erashin Erashin force-pushed the alch/core/add_loa_svl_etcs_logic branch 6 times, most recently from 5fd6dac to e93a30e Compare January 17, 2025 14:46
Base automatically changed from alch/core/add_loa_svl_etcs_logic to dev January 17, 2025 15:46
@Erashin Erashin force-pushed the alch/core/add_svl_etcs_logic branch 9 times, most recently from 29d84bb to 6212f99 Compare February 21, 2025 08:31
@Erashin Erashin force-pushed the alch/core/add_svl_etcs_logic branch 4 times, most recently from ec6da6b to 390b821 Compare February 25, 2025 13:36
@Erashin Erashin force-pushed the alch/core/add_svl_etcs_logic branch 3 times, most recently from a8a8bb4 to ce5a895 Compare February 26, 2025 13:30
@Erashin Erashin marked this pull request as ready for review February 26, 2025 13:32
@Erashin Erashin requested review from a team as code owners February 26, 2025 13:32
@Erashin Erashin force-pushed the alch/core/add_svl_etcs_logic branch from ce5a895 to 7af533a Compare February 26, 2025 16:02
@Erashin Erashin force-pushed the alch/core/add_svl_etcs_logic branch from 7af533a to 1e7ce69 Compare February 27, 2025 15:05
Copy link
Contributor Author

@Erashin Erashin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bougue-pe : fixed in e3dbe47 and 1e7ce69.

@Erashin Erashin force-pushed the alch/core/add_svl_etcs_logic branch 4 times, most recently from cb65815 to 19652df Compare February 28, 2025 10:09
Copy link
Contributor

@bougue-pe bougue-pe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏 Nice, thank you very much for the work !

Only nits and not-mandatory comments (or even just ideas for the future): no problem resolving them by yourself once decided/replied 👍

@shenriotpro shenriotpro removed their request for review March 3, 2025 10:43
@Erashin Erashin force-pushed the alch/core/add_svl_etcs_logic branch from 19652df to fb7fde5 Compare March 3, 2025 14:39
Copy link
Contributor

@eckter eckter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job on the tests

I only skimmed through the core changes, I trust PE's review on this

@Erashin Erashin force-pushed the alch/core/add_svl_etcs_logic branch from 574a3e7 to 408d683 Compare March 10, 2025 13:18
@Erashin Erashin added this pull request to the merge queue Mar 10, 2025
Merged via the queue into dev with commit 5544b0a Mar 10, 2025
27 checks passed
@Erashin Erashin deleted the alch/core/add_svl_etcs_logic branch March 10, 2025 13:46
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 area:integration-tests Work on Integration test, by nature related to different services
Projects
None yet
Development

Successfully merging this pull request may close these issues.

core: ETCS: implement SVL braking curves logic
4 participants