Skip to content

Conversation

@nathanmtom
Copy link

The issue described in #836 has demonstrated that there is was an error in the full expression (intermediate and shallow water) for regular waves. The expression requires an extra factor of two within the sinh function which is important as sinh has near or larger than exponential growth past an argument of one. Since this is in the denominator of the expression it can dramatically over estimate wave power. Furthermore, in the full expression for the irregular wave case, there was a hard coded 9.81 which was converted to simu.g.

@nathanmtom nathanmtom changed the title Bug fix with the regular wave power full expression Bug fix for the regular wave power full expression Mar 30, 2022
@kmruehl
Copy link
Collaborator

kmruehl commented Mar 31, 2022

Thanks @nathanmtom, much appreciated!

@kmruehl kmruehl added Bug bug in WEC-Sim source, high priority Wave Class Wave Classs (waveClass.m) labels Mar 31, 2022
@kmruehl kmruehl merged commit c21349d into WEC-Sim:dev Mar 31, 2022
@nathanmtom nathanmtom deleted the wavePowerBugFix branch April 8, 2022 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug bug in WEC-Sim source, high priority Wave Class Wave Classs (waveClass.m)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants