Skip to content

Gate OSWEC regular-wave PTO work through opt-in source ode4 - #592

Merged
cmccomb merged 3 commits into
masterfrom
feat/oswec-regular-source-ode4
Oct 19, 2026
Merged

cmccomb merged 3 commits into
masterfrom
feat/oswec-regular-source-ode4

Conversation

@cmccomb

@cmccomb cmccomb commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

What changed

  • Extend the opt-in fixed-hinge wecsim_ode4 path to regular-wave OSWEC with time-only linear excitation and simulink_delay added mass. The implicit physical solver stays the default.
  • Gate the full 400 s published Wave_Markers/OSWEC input through public WEC.run from HDF5 and wave parameters: all 4,001 body and PTO samples and four PTO-work windows.
  • Record the numerical source-step result separately from the physical-default work gap. Strict case and badge counts stay unchanged.

Measured evidence

  • Maximum pitch/speed error: 1.09e-6 rad / 7.87e-7 rad/s.
  • Maximum PTO torque error: 0.00945 N m.
  • Full-run PTO work: Python 168,386.45 J; MATLAB 168,387.33 J; relative difference 0.000522%.
  • Local tests on the exact PR head: 811 passed, 282 skipped in 19m17s. Focused OSWEC and boundary tests: 41 passed.

This PR is stacked on #589 because it extends that source solver path. Retarget to master after #589 merges. The published-step physical-default work gate still fails by 2.130% and is not promoted.

Base automatically changed from feat/oswec-core-source-ode4-work to master October 19, 2026 20:35
@cmccomb
cmccomb merged commit 2942eac into master Oct 19, 2026
15 checks passed
@cmccomb
cmccomb deleted the feat/oswec-regular-source-ode4 branch October 19, 2026 21:58
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.

1 participant