From 8309615349d06982f7ca38e181c2df2d59614799 Mon Sep 17 00:00:00 2001 From: dzalkind Date: Wed, 3 Feb 2021 16:46:41 -0700 Subject: [PATCH] Change Kp_float to interpolate at 5% above rated --- ROSCO_toolbox/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ROSCO_toolbox/controller.py b/ROSCO_toolbox/controller.py index 013258dc8..2e98384f5 100644 --- a/ROSCO_toolbox/controller.py +++ b/ROSCO_toolbox/controller.py @@ -304,7 +304,7 @@ def tune_controller(self, turbine): if self.Fl_Mode == 1: # Floating feedback Kp_float = (dtau_dv/dtau_dbeta) * turbine.TowerHt * Ng 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 + self.Kp_float = f_kp(turbine.v_rated * (1.05)) # get Kp at v_rated + 0.5 m/s # Turn on the notch filter if floating self.F_NotchType = 2