You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/copilot-instructions.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,6 @@ Write and reason in English.
40
40
- Make sure you have the necessary permissions to push to the repository. If you do not have permissions, stop and ask for them, guiding the user to the appropriate process to gain access.
41
41
- You can add, commit and push changes to this repository. Never commit to 'main' or 'swopp' branches directly.
42
42
- If you are on 'main' or 'swopp', create a new branch for your changes and open a pull request for review.
43
-
- Create tests before implementing new features or fixing bugs. Tests should be in the `tests/` directory and follow existing patterns.
43
+
- Create tests before implementing new features or fixing bugs in `routetools` (you can ignore other directories such as `scripts` or `docs`). Tests should be in the `tests/` directory and follow existing patterns.
44
44
- Make sure to run all tests and hooks before pushing your changes. If you encounter any issues, please fix them before pushing.
45
45
- Do small commits, preferably one per logical change. This makes it easier to review and understand the history of changes.
Copy file name to clipboardExpand all lines: docs/swopp3_sweep_results.md
+52-49Lines changed: 52 additions & 49 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
# SWOPP3 Parameter Sweep Results
2
2
3
-
**Date:** 2026-03-19
4
-
**Branch:**`feat/swopp3-final-results`
5
-
**Route:** Pacific noWPS (no waypoint system)
3
+
**Date:** 2026-03-19
4
+
**Branch:**`feat/swopp3-final-results`
5
+
**Route:** Pacific noWPS (no waypoint system)
6
6
**Operational constraints:** TWS ≤ 20 m/s, Hs ≤ 7.0 m
7
7
8
8
---
@@ -19,10 +19,10 @@ where $x_i$ is TWS or Hs at segment midpoint $i$.
19
19
20
20
Two parameters control the penalty magnitude:
21
21
22
-
| Parameter | Symbol | Role |
23
-
|-----------|--------|------|
24
-
|`weather_penalty_weight` (wpw) | outer multiplier |**Global scale** — multiplies the entire penalty term before it is added to the energy cost. Controls how much the penalty matters *relative to fuel cost*.|
25
-
|`sharpness`| inner multiplier |**Violation sensitivity** — multiplies each individual squared excess *before* summation. Controls how steeply the penalty ramps up *per segment* as conditions worsen beyond the threshold. |
|`weather_penalty_weight` (wpw) | outer multiplier |**Global scale** — multiplies the entire penalty term before it is added to the energy cost. Controls how much the penalty matters _relative to fuel cost_. |
25
+
|`sharpness`| inner multiplier |**Violation sensitivity** — multiplies each individual squared excess _before_ summation. Controls how steeply the penalty ramps up _per segment_ as conditions worsen beyond the threshold. |
26
26
27
27
They are mathematically interchangeable in a single-field scenario
28
28
($\texttt{wpw} \cdot \texttt{sharpness}$ acts as one effective multiplier),
@@ -31,6 +31,7 @@ scales each field's excess identically (same ramp steepness for TWS and Hs),
31
31
while `wpw` scales the combined total against the fuel cost.
32
32
33
33
**In practice for this sweep:**
34
+
34
35
- Higher **wpw** → optimizer sees weather avoidance as more important than fuel savings → routes detour more.
35
36
- Higher **sharpness** → small exceedances above the limit are punished more aggressively → optimizer reacts earlier to marginal violations.
36
37
@@ -42,38 +43,39 @@ while `wpw` scales the combined total against the fuel cost.
42
43
over-spend (+30 to +99%) seen on stormy Pacific crossings.
0 commit comments