-
Notifications
You must be signed in to change notification settings - Fork 63
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
Static yaw misalignment analysis method #249
Static yaw misalignment analysis method #249
Conversation
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.
This is really good, thanks for yet another analysis class, @ejsimley! I've made a few small comments and amendments (only for really minor points about speedups via NumPy, or lower-level setup pieces that were missing), but nothing that fundamentally changes the work you've done.
I'll look into the failing tests a little bit more and the notebook commentary in more detail in another comment, but wanted to get you feedback on the code contributions first.
@ejsimley, below I've made some comments on the new example notebook. Overall, it's a really great demonstration of the capabilities, nice work! Cell 5The plots should be generated by `openoa.utils.plot.plot_by_id(project.scada, "asset_id", "WMET_HorWdSpd", "WROT_BlPthAngVal"). However, I realize this also leaves room for improvement in that method for the actual axis labesl being additional input, in place of relying on the variable names themselves, and so I just created Issue #251. Yaw misalignment detection without uncertainty quantificationI'd probably just have all "( Cell 10Looks like the empty axes are still being shown, so it'd be good to have them be removed if they're not in use. Let me know if you want any help with that. Is your suggestion of power-weighted misalignment in the works? That sounds pretty interesting as an alternative, and if not, could be slightly misleading to the reader. ConclusionShould there be a sentence or two to end the notebook on what do with any of this? It feels like it ends abruptly |
…ificing boolean output type for bin filter
Hi @RHammond2, thanks for the careful review and for helping to improve the code! I addressed all of the comments except for the ones that we discussed adding as separate issues. The unaddressed comments are:
Let me know if you'd like me to work on any of those, or if you have any more comments on this PR. Also, there are still a couple minor differences causing the tests to fail. I'm not sure what is the best way to address this. |
Thanks @ejsimley! There seems to be one missing update, which is the only unresolved comment, otherwise this is ready to go from a code perspective. As for the failing test, it seems that it's back to just the one invalid result in |
Hi @RHammond2, thanks for reviewing the changes! See my response about the unresolved comment, which I think is already incorporated. Regarding the tests, they all pass on my laptop as well. I don't have any ideas about how to address the lone test failure on the CI pipeline (other than further reducing the test precision), so we should discuss how to proceed. |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## develop_v3 #249 +/- ##
==============================================
- Coverage 63.32% 62.88% -0.44%
==============================================
Files 28 29 +1
Lines 3910 4209 +299
==============================================
+ Hits 2476 2647 +171
- Misses 1434 1562 +128
☔ View full report in Codecov by Sentry. |
This pull request contributes a new analysis method for estimating static yaw misalignment for individual turbines using SCADA data. The PR includes the following changes and additions:
yaw_misalignment
analysis module which contains theStaticYawMisalignment
class for performing the yaw misalignment assessment using aPlantData
objectplot_yaw_misalignment
function in theplot
utils module, which is used by theStaticYawMisalignment
class to help visualize yaw misalignmentmetadata.py
, including the addition of asset data requirements for theWakeLosses
andStaticYaw Misalignment
analysis methodsThis pull request closes issue #230