Skip to content

Commit

Permalink
Initialize Cp_op so debug output is not ******
Browse files Browse the repository at this point in the history
  • Loading branch information
dzalkind committed Jan 7, 2021
1 parent 584bc08 commit 032b126
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ControllerBlocks.f90
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ SUBROUTINE WindSpeedEstimator(LocalVar, CntrPar, objInst, PerfData, DebugVar)
xh = RESHAPE((/om_r, v_t, v_m/),(/3,1/))
P = RESHAPE((/0.01, 0.0, 0.0, 0.0, 0.01, 0.0, 0.0, 0.0, 1.0/),(/3,3/))
K = RESHAPE((/0.0,0.0,0.0/),(/3,1/))
Cp_op = 0.25 ! initialize so debug output doesn't give *****

ELSE
! Find estimated operating Cp and system pole
Expand Down

0 comments on commit 032b126

Please sign in to comment.