Skip to content

Commit

Permalink
Remove tower-top velocity from pitch saturation block
Browse files Browse the repository at this point in the history
  • Loading branch information
dzalkind committed Jul 16, 2020
1 parent dd841ae commit d214f5a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/ControllerBlocks.f90
Original file line number Diff line number Diff line change
Expand Up @@ -268,12 +268,10 @@ REAL FUNCTION PitchSaturation(LocalVar, CntrPar, objInst)
TYPE(LocalVariables), INTENT(INOUT) :: LocalVar
TYPE(ObjectInstances), INTENT(INOUT) :: objInst
! Allocate Variables
REAL(4) :: V_towertop ! Estimated velocity of tower top (m/s)
REAL(4) :: Vhat ! Estimated wind speed without towertop motion [m/s]
REAL(4) :: Vhatf ! 30 second low pass filtered Estimated wind speed without towertop motion [m/s]

V_towertop = PIController(LocalVar%FA_Acc, 0.0, 1.0, -100.0, 100.0, LocalVar%DT, 0.0, .FALSE., objInst%instPI)
Vhat = LocalVar%WE_Vw_F + V_towertop
Vhat = LocalVar%WE_Vw_F
Vhatf = SecLPFilter(Vhat,LocalVar%DT,0.21,0.7,LocalVar%iStatus,.FALSE.,objInst%instSecLPF) ! 30 second time constant

! Define minimum blade pitch angle as a function of estimated wind speed
Expand Down

0 comments on commit d214f5a

Please sign in to comment.