-
Notifications
You must be signed in to change notification settings - Fork 184
Dev: adding ampSpectraForWS function #907
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
Conversation
|
@dforbush2 I tested the function with a sample irregular wave. It works well and gives very similar results to MHKiT. I don't have any issue with the function, but prefer to encourage users to use MHKiT for this purpose. MHKiT already has tests and documentation built in as well. If users have MHKiT-MATLAB installed, it would be straightforward to use their |
akeeste
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per my previous comments, I made a PR into your dev branch with a few updates, including:
- remove WEC-Sim
ampSpectraForWSfuntion - add to your documentation update pointing users to MHKiT
- remove changes to
source/functions/simulink/model/nonLinearBuoyancy.mwhich i believe is meant for your other PR #910
After these changes we can merge this PR
|
TODO:
Thanks @dforbush2 for suggesting these comparisons as well. Unfortunately I was incorrect and MHKiT's |
|
@dforbush2 @akeeste is this ready for a merge? |


This is related to issue #873 . While we recommend spectrumImport instead of elevationImport as a more robust solution method for user-defined wave time series, we previously have not provided a tool to convert the elevationImport.mat --> spectrumImport.mat. The addition of this single function fixes that.