Skip to content

Conversation

@jtgrasb
Copy link
Contributor

@jtgrasb jtgrasb commented Apr 18, 2023

This PR allows for different bodies, directions, and degrees of freedom to be specified in the hydro structures for BEMIO plotting.

Default settings for hydro.plotBodies (all bodies), hydro.plotDirections (first direction), and hydro.plotDofs (1,1; 3,3; 5,5) are added in the readBEM scripts. Then, the user can change the defaults and the plot BEMIO scripts will select the data based on desired plotting variables.

@jtgrasb jtgrasb requested a review from akeeste April 18, 2023 20:36
@akeeste
Copy link
Contributor

akeeste commented Apr 24, 2023

@jtgrasb Just a quick update here. I meant to review this PR last week, but did not. I'll put this back on my agenda for Wednesday/Thursday of this week.

@akeeste
Copy link
Contributor

akeeste commented May 2, 2023

@jtgrasb Just letting you know that I begun reviewing this PR. I'll continue my review and provide additional feedback this week. Great work!

@akeeste akeeste added the BEM/BEMIO related to BEMIO or BEM hydro data label May 3, 2023
Copy link
Contributor

@akeeste akeeste left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HI @jtgrasb

I added to my review here. Let me know your thoughts on those commented points. Most comments on plotAddedMass should apply to the other 5 plotting functions as well, but I condensed them into that file for simplicity

jtgrasb and others added 3 commits May 4, 2023 14:44
Co-authored-by: Adam Keester <72414466+akeeste@users.noreply.github.com>
Co-authored-by: Adam Keester <72414466+akeeste@users.noreply.github.com>
@jtgrasb
Copy link
Contributor Author

jtgrasb commented May 4, 2023

@akeeste Thanks for the detailed review! I think I've covered everything you mentioned except for one outstanding comment on the hold off addition. Other than that, let me know if you have any other comments.

@akeeste
Copy link
Contributor

akeeste commented May 16, 2023

@jtgrasb Thanks Jeff! Sorry for the delay on resolving that one comment. Just responded, hopefully we can wrap up this PR this week.

Co-authored-by: Adam Keester <72414466+akeeste@users.noreply.github.com>
@akeeste akeeste merged commit 9825ad7 into WEC-Sim:dev May 17, 2023
H0R5E pushed a commit to H0R5E/WEC-Sim that referenced this pull request May 19, 2023
* Update PlotAddedMass

* test parser

* Update tester

* Add checks for bodies and dofs to plotAddedMass

* Make individual dofs and bodies work

* Add OSWEC data to test

* Fix excitations

* Add options to hydro structure

* Update plotting functions

* Remove testing scripts

* Update source/functions/BEMIO/plotAddedMass.m

Co-authored-by: Adam Keester <72414466+akeeste@users.noreply.github.com>

* Update source/functions/BEMIO/checkAndFormatPlotVars.m

Co-authored-by: Adam Keester <72414466+akeeste@users.noreply.github.com>

* Update according to review

* Update source/functions/BEMIO/formatPlot.m

Co-authored-by: Adam Keester <72414466+akeeste@users.noreply.github.com>

---------

Co-authored-by: Adam Keester <72414466+akeeste@users.noreply.github.com>
@jtgrasb jtgrasb deleted the plotBEMIOFeatures branch October 18, 2023 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BEM/BEMIO related to BEMIO or BEM hydro data

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants