Feature: Identify impacting turbines geometrically and reduce FLORIS accordingly#158
Merged
paulf81 merged 4 commits intoNatLabRockies:developfrom Jan 24, 2024
Conversation
…of interest, and add function to reduce floris accordingly
Collaborator
|
This looks really nice @Bartdoekemeijer, thank you! @misi9170 and I are pretty deep in FLORIS v4 right now, but soon hope to come back to FLASC v2 work. This is a pretty small request though, so I'm tempted to approve it quickly once we have a small example or test, |
Collaborator
Author
|
Great @paulf81! Here's a quick example: This results in: |
Collaborator
|
hi @Bartdoekemeijer I hope it's ok, I pushed up a few commits, one including the above example, and then I ruff formatted floris_tools.py and removed some unused variables, looks good to go on my end! |
Collaborator
Author
|
Perfect, looks good to me! Please go ahead and merge! |
Collaborator
|
Merging now, thank you @Bartdoekemeijer ! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.





This PR is ready to be merged, but may require examples.
Feature or improvement description
This function, through very simplified geometry (linear wake expansion, not modeling deficit), identifies which turbines are impacting a set of "turbines of interest". This can be helpful when you are trying to identify which neighboring wind farms affect your farm of interest for a particular wind direction. This function runs in a matter of seconds, vs. the current function which runs FLORIS simulations and can take hours for large farms. At times, this reduction can cut down the size of your FLORIS model by more than 50% and thereby give you massive speed-ups.
Related issue, if one exists
N/A
Impacted areas of the software
FLORIS tools.
Additional supporting information
N/A
Test results, if applicable
This still requires a simple example.