Skip to content

Commit

Permalink
Include minimum refspeed for vs controller
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhar-abbas committed Nov 14, 2019
1 parent 0347814 commit 5692cd9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ReadSetParameters.f90
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,9 @@ SUBROUTINE ComputeVariablesSetpoints(CntrPar, LocalVar, objInst)
VS_RefSpd = CntrPar%VS_MinOMSpd
ENDIF

! Force minimum rotor speed
VS_RefSpd = max(VS_RefSpd, CntrPar%VS_MinOmSpd)

! TSR-tracking reference error
IF (CntrPar%VS_ControlMode == 2) THEN
LocalVar%VS_SpdErr = VS_RefSpd - LocalVar%GenSpeedF
Expand Down

0 comments on commit 5692cd9

Please sign in to comment.