Skip to content

Commit

Permalink
Do a light clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
dzalkind committed Jul 28, 2023
1 parent fcea64e commit 0fd891c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions ROSCO/src/Controllers.f90
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ SUBROUTINE PitchControl(avrSWAP, CntrPar, LocalVar, objInst, DebugVar, ErrVar)

CHARACTER(*), PARAMETER :: RoutineName = 'PitchControl'

! Local

! ------- Blade Pitch Controller --------
! Load PC State
IF (LocalVar%PC_State == 1) THEN ! PI BldPitch control
Expand Down Expand Up @@ -407,7 +405,7 @@ SUBROUTINE YawRateControl(avrSWAP, CntrPar, LocalVar, objInst, zmqVar, DebugVar,
avrSWAP(48) = YawRateCom * D2R

! If using open loop yaw rate control, overwrite controlled output
! Open loop yaw rated control - control input in rad/s
! Open loop yaw rate control - control input in rad/s
IF ((CntrPar%OL_Mode == 1) .AND. (CntrPar%Ind_YawRate > 0)) THEN
IF (LocalVar%Time >= CntrPar%OL_Breakpoints(1)) THEN
avrSWAP(48) = interp1d(CntrPar%OL_Breakpoints,CntrPar%OL_YawRate,LocalVar%Time, ErrVar)
Expand Down
1 change: 0 additions & 1 deletion ROSCO/src/ROSCO_IO.f90
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,6 @@ SUBROUTINE Debug(LocalVar, CntrPar, DebugVar, ErrVar, avrSWAP, RootName, size_av
END IF
END IF


END SUBROUTINE Debug

END MODULE ROSCO_IO
1 change: 0 additions & 1 deletion ROSCO_toolbox/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,6 @@ def write_input(self,ol_filename):
Return open_loop dict for control params
'''

# simplify
ol_timeseries = self.ol_timeseries

# Init indices
Expand Down

0 comments on commit 0fd891c

Please sign in to comment.