Skip to content

Commit

Permalink
Initialize WSE and measured wind speed
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhar-abbas committed Aug 19, 2020
1 parent 229c281 commit c3a6222
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ReadSetParameters.f90
Original file line number Diff line number Diff line change
Expand Up @@ -567,8 +567,8 @@ SUBROUTINE SetParameters(avrSWAP, aviFAIL, accINFILE, ErrMsg, size_avcMSG, CntrP
LocalVar%Y_AccErr = 0.0 ! This will ensure that the accumulated yaw error starts at zero
LocalVar%Y_YawEndT = -1.0 ! This will ensure that the initial yaw end time is lower than the actual time to prevent initial yawing

! Wind speed estimator initialization, we always assume an initial wind speed of 10 m/s
LocalVar%WE_Vw = 10
! Wind speed estimator initialization
LocalVar%WE_Vw = LocalVar%HorWindV
LocalVar%WE_VwI = LocalVar%WE_Vw - CntrPar%WE_Gamma*LocalVar%RotSpeed

! Setpoint Smoother initialization to zero
Expand Down

0 comments on commit c3a6222

Please sign in to comment.