From 28908dfba5b476e1e584a90c41b847d96d4ae763 Mon Sep 17 00:00:00 2001 From: Nikhar Abbas Date: Tue, 17 Sep 2019 13:55:23 -0600 Subject: [PATCH] Call SetpointSmoother --- Source/DISCON.f90 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/DISCON.f90 b/Source/DISCON.f90 index 6a64266b..0b99326b 100644 --- a/Source/DISCON.f90 +++ b/Source/DISCON.f90 @@ -11,6 +11,7 @@ SUBROUTINE DISCON(avrSWAP, aviFAIL, accINFILE, avcOUTNAME, avcMSG) BIND (C, NAME USE :: Controllers USE :: Constants USE :: Filters +USE :: Functions IMPLICIT NONE #ifndef IMPLICIT_DLLEXPORT @@ -51,6 +52,8 @@ SUBROUTINE DISCON(avrSWAP, aviFAIL, accINFILE, avcOUTNAME, avcMSG) BIND (C, NAME CALL StateMachine(CntrPar, LocalVar) CALL WindSpeedEstimator(LocalVar, CntrPar) + CALL SetpointSmoother(LocalVar, CntrPar, objInst) + CALL VariableSpeedControl(avrSWAP, CntrPar, LocalVar, objInst) CALL PitchControl(avrSWAP, CntrPar, LocalVar, objInst) CALL YawRateControl(avrSWAP, CntrPar, LocalVar, objInst)