-
Notifications
You must be signed in to change notification settings - Fork 18
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
Code for determining which turbines impact the power of a given turbine #70
Conversation
Addresses #57 |
Codecov ReportBase: 27.23% // Head: 30.51% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## develop #70 +/- ##
===========================================
+ Coverage 27.23% 30.51% +3.27%
===========================================
Files 32 40 +8
Lines 3565 4303 +738
===========================================
+ Hits 971 1313 +342
- Misses 2594 2990 +396
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
…st_turbine, rather than the other way around as originally written. Renaming functions and updating documentation for clarity.
These functions are super helpful, Misha, thanks! Have you already figured out how you want to do (1)? |
Maybe to continue this conversation, I'd like the same functionality and I had a look in the FLORIS code, here: which introduces the variable Note that this solution does not take care of wake summation so there may be some small differences between this and your method, but perhaps still relatively small. Could be worth considering, in case you hadn't made up your mind yet! |
@Bartdoekemeijer thanks for the comment here! I have now added a first pass for the first task, which simply rearranges the output of the "dependent turbine" function. It's a bit clunky though, because the returned impacting turbines are not ordered. Still, a possible fix is to generate this as a class and assign the size of the impacts (found in the |
…and can be limited to a certain limit_number.
…ype a list of length 1.
@Bartdoekemeijer, all intended functionality is now in. The new example (in examples/layout/turbine_dependencies.py) should give an idea of functionality. @paulf81 does this hit all the functionality you'd like to see? |
I actually have been using the |
Hi Misha this is great and indeeds include all the functionality I hoped for in a really neat arrangement! I added a few small comments (maybe check I am indeed explaining nomenclature right). Otherwise this is good to merge from my perspective. |
@paulf81 Thanks, yes, your comments look good to me. Squashing and merging. |
Ready for review and merge.
New functionality added to floris_tools.py to compute which turbines impact and depend on a specified turbine, based on their variations in power predicted by FLORIS.
Tasks: