NREL / ROSCO

A Reference Open Source Controller for Wind Turbines
https://rosco.readthedocs.io/en/latest/
Apache License 2.0
116 stars 93 forks source link

Floating Feedback Gain Scheduling #241

Closed alandwright closed 1 year ago

alandwright commented 1 year ago

Description and Purpose

Add gain scheduling of Kp_float with wind speed. The various options are demonstrated in a new example.

TODO:

Type of change

What types of change is it? Select the appropriate type(s) that describe this PR

TODO Items General:

TODO Items API Change:

Github issues addressed, if one exists

Examples/Testing, if applicable

dzalkind commented 1 year ago

Hi Alan,

I updated this to be a bit more flexible and also not require the user to gain schedule Fl_Kp.

In the DISCON, the user specifies the number of gain scheduling points, Fl_Kp, and Fl_U.

In the tuning yaml or controller_params, the user can specify which wind speeds to gain schedule at, none with [] or all.

Let's demo this with and example and catch up next week.

Best, Dan

dzalkind commented 1 year ago

comp_outputs.pdf

The testing results are identical to v2.8.0 when the standard (single Kp_float) floating feedback is used.