Add wake deflection to the TurbOPark wake deficit model #439
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.
Feature or improvement description
This PR includes wake deflection in the TurbOPark wake deficit model. Co-created with @rafmudaf.
Related issue, if one exists
None.
Impacted areas of the software
The TurbOPark wake deficit model and the TurbOPark solver.
Additional supporting information
This introduces another for loop to the TurbOPark solver when yaw angles are non-zero. Hopefully this can be optimized further, but the calculation requires the wake centerline position of upstream turbines, where in the current solver schemes, the wake deflection is calculated for all downstream turbines and the effect of that deflection is stored in the wake velocity fields. Here, I assume the wake centerline to be the amount of deflection calculated by the deflection model.
Test results, if applicable
Need to update the regression tests to include yawed results.
Below are the results of a 2 turbine pair, yawing the first turbine 25 degrees and sweeping the second turbine laterally (y-direction), recording its change in power. Beneath that is the result for a 3 turbine array, yawed first turbine, and sweeping the third turbine. The code to reproduce these results is at the bottom.