Skip to content

Commit

Permalink
Parameter updates
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhar-abbas committed Sep 26, 2019
1 parent 3f4b5e0 commit 7dc12fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/ControllerBlocks.f90
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ SUBROUTINE WindSpeedEstimator(LocalVar, CntrPar, objInst, PerfData)
! Extended Kalman Filter (EKF) implementation
ELSEIF (CntrPar%WE_Mode == 2) THEN
! Define contant values
L = 4.0 * CntrPar%WE_BladeRadius
Ti = 0.1
L = 2.0 * CntrPar%WE_BladeRadius
Ti = 0.2
R_m = 0.02
H = RESHAPE((/1.0 , 0.0 , 0.0/),(/1,3/))
! Define matrices to be filled
Expand Down Expand Up @@ -185,7 +185,7 @@ SUBROUTINE WindSpeedEstimator(LocalVar, CntrPar, objInst, PerfData)
F(2,3) = PI * v_t/(2.0*L)

! Update process noise covariance
Q(1,1) = 0.000001
Q(1,1) = 0.0001
Q(2,2) =(PI * (v_m**3.0) * (Ti**2.0)) / L
Q(3,3) = (2.0**2.0)/600.0
\
Expand Down

0 comments on commit 7dc12fa

Please sign in to comment.