Skip to content

Stability rating ends at the soft stop; replays skip the startup wind ramp - #28

Merged
ufechner7 merged 1 commit into
mainfrom
stability-before-soft-stop
Dec 1, 2026
Merged

ufechner7 merged 1 commit into
mainfrom
stability-before-soft-stop

Conversation

@ufechner7

Copy link
Copy Markdown
Member

Summary

  • soft_stop_time (src/loop_decisions.jl): the time the soft stop latched, found from the logged length setpoint (var_10) and speed setpoint (var_11) with the same test the loop latches on. examples/stability_opt_reelout.jl now ends the rated window at the soft stop or at the parking climb, whichever comes first. Below 4 m/s parking starts only in phase 5, so the soft stop, where depower ramps toward depower_final, was being rated as well.
  • Replay fix (src/startup_path.jl): a replay (replay_paths) already serves the archived run's final startup path. startup_solve now stops after the first step, so the startup wind ramp above 7 m/s no longer consumes the stored entries (the replays failed with KeyError: "reply").
  • Tuning log: two entries.
    • Replays of the 2026-11-29 scenarios. Gravity feed-forward lowers RMS d in all 22 runs, by 5–41 %. The 1/L arc floor is now neutral against a fixed 8.25°. Cabauw 5.75 m/s with feed-forward has RMS 0.85°, without it 1.46°.
    • The re-rated stability.

Stability after the change

  • Maasvlakte 3.5 m/s: α guided 0.364 → 0.691.
  • Cabauw 3 m/s: 0.531 → 0.697.
  • All other runs unchanged.
  • Cabauw 10 m/s stays marginal at 0.453: 235 m, depower 0.382. This is a genuine loss of margin, not an artifact of the rating window.

The overviews are committed to SimulationResults (aac67bb).

Test plan

  • include("test/runtests.jl") in the REPL: 1616 passed, 0 failed, 0 errors.
  • examples/stability_global.jl re-run over all 22 scenarios.
  • 67 replays (4 variants) all pass the 10 criteria.

🤖 Generated with Claude Code

… ramp

- soft_stop_time: the time the soft stop latched, from the logged length and
  speed setpoints. stability_opt_reelout.jl ends the rated window there or at
  the parking climb, whichever comes first. Below 4 m/s parking starts only in
  phase 5, so the soft stop at depower toward depower_final was being rated.
- startup_solve: a replay serves the archived final startup path, so it stops
  after the first step instead of consuming stored entries with ramp steps.
- Tuning log: replays of the 2026-11-29 scenarios (gravity feed-forward, arc
  floor, feed-forward on/off) and the re-rated stability.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@ufechner7
ufechner7 merged commit 1d43aa4 into main Dec 1, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants