Skip to content
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

Develop wake steering lookup table toolset #43

Open
wants to merge 28 commits into
base: develop
Choose a base branch
from

Conversation

misi9170
Copy link
Collaborator

@misi9170 misi9170 commented Dec 10, 2024

This pull request adds tools to WHOC for the design of lookup table (LUT)-based wake steering controllers for wind farms. Visualization tools are also added, and the lookup-based_wake_steering example is updated to demonstrate design capabilities. In particular, the following tools have been added, most of which require an instantiated FlorisModelof the wind farm as an input to design procedures:

  • Basic wake steering lookup table (using the YawOptimizationSR method)
  • Wake steering under wind direction uncertainty (uses YawOptimizationSR with the UncertainFlorisModel
  • Wake steering with static rate limits (based on code from a stale repository)
  • Computing hysteresis regions for wake steering (based on code from a stale repository)
  • Spline approximations of the optimal wake steering yaw angles (based on code from a stale repository)
  • Conversion of the LUT into a numpy interpolator (bringing over from FLASC, whose version will likely be deprecated)

Will also need to build tests for each design tool and update examples and documentation.

  • Tests
  • Docstrings
  • User documentation
  • Examples

@misi9170
Copy link
Collaborator Author

I've now extended the lookup-based_wake_steering_florisstandin example to include a hysteresis option, and updated the documentation accordingly.

@misi9170
Copy link
Collaborator Author

misi9170 commented Jan 21, 2025

After discussions with @paulf81 and @ejsimley , we have decided to leave out the spline approximator. This tool would have allowed users to specify offset lookup tables with a reduced number of datapoints, which could be helpful in some circumstances, but is likely to be more nuanced than a general tool would afford. However, I'm making a note of it here in case there is future interest in such a tool (which we can then port over from another older repository).

Here is an example of what the tool would be able to do (credit to @Bartdoekemeijer):
image

Again, if this would be useful in future, we can consider bringing it over.

@misi9170
Copy link
Collaborator Author

I've now added documentation, and this PR is ready for review. The documentation may finally be reorganized some (and API documentation added), but I decided to leave that for a separate pull request.

@misi9170 misi9170 marked this pull request as ready for review January 21, 2025 20:20
@misi9170 misi9170 requested review from paulf81 and ejsimley January 21, 2025 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant