From 9c3acfed8ae94c54ab9ba8ba1c81070dfcb0d8ed Mon Sep 17 00:00:00 2001 From: Nikhar Abbas Date: Mon, 23 Sep 2019 10:45:38 -0600 Subject: [PATCH] Comment updates --- Parameter_files/NREL5MW/DISCON.IN | 4 ++-- Source/Controllers.f90 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Parameter_files/NREL5MW/DISCON.IN b/Parameter_files/NREL5MW/DISCON.IN index 0353da5b..6ad757f8 100644 --- a/Parameter_files/NREL5MW/DISCON.IN +++ b/Parameter_files/NREL5MW/DISCON.IN @@ -57,8 +57,8 @@ 43093.55 ! VS_RtTq - Rated torque, [Nm]. 120.113 ! VS_RefSpd - Rated generator speed [rad/s] 1 ! VS_n - Number of generator PI torque controller gains --4200 ! VS_KP - Proportional gain for generator PI torque controller, used in the transitional 2.5 region, [1/(rad/s) Nm] --2100 ! VS_KI - Integral gain for generator PI torque controller, used in the transitional 2.5 region, [1/rad Nm] +-4200 ! VS_KP - Proportional gain for generator PI torque controller [1/(rad/s) Nm]. (Only used in the transitional 2.5 region if VS_ControlMode =/ 2) +-2100 ! VS_KI - Integral gain for generator PI torque controller [1/rad Nm]. (Only used in the transitional 2.5 region if VS_ControlMode =/ 2) !------- Setpoint Smoother ------------------------------------------------ 30 ! SS_VSGainBias - Variable speed torque controller gain bias, [(rad/s)/rad]. diff --git a/Source/Controllers.f90 b/Source/Controllers.f90 index 360c8c0e..c75a71ff 100644 --- a/Source/Controllers.f90 +++ b/Source/Controllers.f90 @@ -100,7 +100,7 @@ SUBROUTINE VariableSpeedControl(avrSWAP, CntrPar, LocalVar, objInst) TYPE(ObjectInstances), INTENT(INOUT) :: objInst ! Allocate Variables REAL(C_FLOAT), INTENT(INOUT) :: avrSWAP(*) ! The swap array, used to pass data to, and receive data from, the DLL controller. - REAL(4) :: VS_MaxTq ! Maximum torque saturation limits + REAL(4) :: VS_MaxTq ! Locally allocated maximum torque saturation limits ! -------- Variable-Speed Torque Controller -------- ! Optimal Tip-Speed-Ratio tracking controller