Skip to content

Commit

Permalink
Comment updates
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhar-abbas committed Sep 23, 2019
1 parent b99a486 commit 9c3acfe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Parameter_files/NREL5MW/DISCON.IN
Original file line number Diff line number Diff line change
Expand Up @@ -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].
Expand Down
2 changes: 1 addition & 1 deletion Source/Controllers.f90
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9c3acfe

Please sign in to comment.