Skip to content

Commit

Permalink
re-order pitcomT saturation
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhar-abbas committed Jan 22, 2021
1 parent f07ef66 commit 77989b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controllers.f90
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ SUBROUTINE PitchControl(avrSWAP, CntrPar, LocalVar, objInst, DebugVar)
ENDIF

! Saturate collective pitch commands:
LocalVar%PC_PitComT = ratelimit(LocalVar%PC_PitComT, PitComT_Last, CntrPar%PC_MinRat, CntrPar%PC_MaxRat, LocalVar%DT) ! Saturate the overall command of blade K using the pitch rate limit
LocalVar%PC_PitComT = saturate(LocalVar%PC_PitComT, LocalVar%PC_MinPit, CntrPar%PC_MaxPit) ! Saturate the overall command using the pitch angle limits
LocalVar%PC_PitComT = ratelimit(LocalVar%PC_PitComT, PitComT_Last, CntrPar%PC_MinRat, CntrPar%PC_MaxRat, LocalVar%DT) ! Saturate the overall command of blade K using the pitch rate limit
PitComT_Last = LocalVar%PC_PitComT

! Combine and saturate all individual pitch commands:
Expand Down

0 comments on commit 77989b1

Please sign in to comment.