Skip to content

Commit

Permalink
Merge branch 'develop' into weis
Browse files Browse the repository at this point in the history
  • Loading branch information
dzalkind committed Jan 6, 2021
2 parents cf5b43b + af600fd commit 096f1e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ROSCO_toolbox/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,8 @@ def tune_controller(self, turbine):
# --- Floating feedback term ---
if self.Fl_Mode == 1: # Floating feedback
Kp_float = (dtau_dv/dtau_dbeta) * turbine.TowerHt * Ng
self.Kp_float = Kp_float[len(v_below_rated)]
f_kp = interpolate.interp1d(v,Kp_float)
self.Kp_float = f_kp(turbine.v_rated + 0.5) # get Kp at v_rated + 0.5 m/s
# Turn on the notch filter if floating
self.F_NotchType = 2

Expand Down

0 comments on commit 096f1e9

Please sign in to comment.