Skip to content

Commit

Permalink
Force PC_MinPitch
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhar-abbas committed Jan 21, 2020
1 parent 2186682 commit 063b062
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Controllers.f90
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ SUBROUTINE PitchControl(avrSWAP, CntrPar, LocalVar, objInst)
! Peak Shaving
IF (CntrPar%PS_Mode == 1) THEN
LocalVar%PC_MinPit = PitchSaturation(LocalVar,CntrPar,objInst)
LocalVar%PC_MinPit = max(LocalVar%PC_MinPit, CntrPar%PC_MinPit)
ELSE
LocalVar%PC_MinPit = CntrPar%PC_MinPit
ENDIF
Expand Down

0 comments on commit 063b062

Please sign in to comment.