1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy...

30
1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache [email protected] Research Applications Laboratory National Center for Atmospheric Research WORKSHOP ON ENVIRONMETRICS – 15 October 2010,
  • date post

    19-Dec-2015
  • Category

    Documents

  • view

    218
  • download

    2

Transcript of 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy...

Page 1: 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache lucadm@ucar.edu Research.

1

Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel

operational wind-energy forecasting system

Luca Delle [email protected]

Research Applications LaboratoryNational Center for Atmospheric Research

WORKSHOP ON ENVIRONMETRICS – 15 October 2010, NCAR

Page 2: 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache lucadm@ucar.edu Research.

2

ACKNOWLEDGMENTS

NCAR: Aime Fournier, Yubao Liu, Gregory RouxUBC: Thomas Nipen, Roland Stull

Page 3: 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache lucadm@ucar.edu Research.

3

OUTLINE

• Ensemble and Kalman filtering (KF) to improve Numerical

Weather and Air Quality Predictions

• New methods based on KF and an analog approach (ANKF, AN)

• Tests of KF, ANKF, and AN to correct 10-m wind speed

• Wavelet filtering for hub-height winds

• Summary

Page 4: 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache lucadm@ucar.edu Research.

4

A Kalman filter bias correction for deterministic and probabilistic ozone predictions

• Summer of 2004 (56 days)• 8 photochemical models• 360 ozone surface stations

Sources: Delle Monache et al. (JGR, 2006b)Delle Monache et al. (Tellus B, 2008)Djalalova et al. (Atmospheric Environment, 2010)

Page 5: 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache lucadm@ucar.edu Research.

5

Timet = 0

day-1day-2day-6 day-5 day-4 day-3day-7

OBS

PRED

KF-weight

KF

Page 6: 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache lucadm@ucar.edu Research.

6

ii

n

1i

2ii

n

1i

2ii

22

bOaP

)PP(n

1u

RMSE,)OP(n

1s

RMSE,u

RMSEs

RMSERMSE

ˆ

ˆˆ

Ensemble averaging and Kalman Filtering effects on systematic and unsystematic RMSE components

RMSE decomposition (Willmott, Physical Geography 1981):

, a and b least-squares regression coefficients of P i and Oi

Page 7: 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache lucadm@ucar.edu Research.

7

Kalman Filtering effects on probabilistic prediction reliability

Page 8: 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache lucadm@ucar.edu Research.

8

Kalman Filtering effects on probabilistic prediction resolution

(6 %) (0.1 %)

Page 9: 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache lucadm@ucar.edu Research.

9

Timet = 0

day-1day-2day-6 day-5 day-4 day-3day-7

OBS

PRED

KF-weight

KF

ANKFAN

“Analog” Spaceday-4day-7day-5 day-3 day-2 day-1day-6

PRED

OBS

farthest analog

closest analog

NOTEThis procedure is applied independently at each

observation location and for a given forecast time

Page 10: 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache lucadm@ucar.edu Research.

10

How to find analogs? (1)

We can define a metric:

Where,

Nvar is the number of variable to compute the “distance” between and

wvar is the weight given to each variable while computing the metric

is the standard deviation of the set with 0 ≤ t ≤ t0

is the half-width of the time window over which differences are computedt

var

var

var var 2var

var 1

1( )

i n i n i

N t

tt tt k t kk tf

d f A w f A

varf var{ }tf

ntf itA

Page 11: 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache lucadm@ucar.edu Research.

11

How to find analogs? (2)

We can define a metric:

tn

tn +1

ti-1

t0 = 0 Timetn -1

ti

ti+1

var

var

var var 2var

var 1

1( )

i n i n i

N t

tt tt k t kk tf

d f A w f A

varf

Page 12: 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache lucadm@ucar.edu Research.

12

How to find analogs? (3)

We can define a metric:

tn

tn +1

tn -1

ti

ti+1

var

var

var var 2var

var 1

1( )

i n i n i

N t

tt tt k t kk tf

d f A w f A

Page 13: 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache lucadm@ucar.edu Research.

13

How to find analogs?!? (4)

We can define a metric:

tn

tn +1

tn -1

ti

ti+1

var

var

var var 2var

var 1

1( )

i n i n i

N t

tt tt k t kk tf

d f A w f A

Page 14: 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache lucadm@ucar.edu Research.

14

WRF Model physics:• Lin et al. microphysics• YSU for PBL• Monin-Oboukov for SL• Kain-Fritsch CUP (Domain 1/2)• Noah Land Surface Model

Modeling settings for wind predictionsProject: Wind energy predictions (Sponsor: Xcel Energy)

D1: 30 km, 128x114 D2: 10 km, 253x232D3: 3.3 km, 541x571NOTE: 37 vertical levels, with 12 levels in the lowest 1-km

D2D1

D3

Source: Delle Monache et al. (Submitted to MWR, 2010)

Page 15: 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache lucadm@ucar.edu Research.

15

Analog-based methods:improvements relative to KF

Page 16: 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache lucadm@ucar.edu Research.

16

Wind speed: statistics as function of time

• 6 months period• 500 surface stations• • • Variables: u, v, T, P, Q @ surface

var,1var w1~ t

Page 17: 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache lucadm@ucar.edu Research.

17

Wind speed: Bias (m s-1) as function of space

Page 18: 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache lucadm@ucar.edu Research.

18

Sensitivity to data set length • NWP model: MM5• 1 year period• 22 surface stations in NM• • • Variables: u, v, T @ surface

Courtesy of Josh Hacker (of NPS) and Daran Rife (of NCAR)

var,1var w1~ t

Page 19: 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache lucadm@ucar.edu Research.

19

Wavelet filteringW

avel

et C

om

po

nen

ts

Time SeriesRaw Pred OBS Corrected Pred

Sum

SmoothestComponent

15 min.

30 min.

1 h

2 h

4 h

Page 20: 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache lucadm@ucar.edu Research.

Wavelet filtering: RMSE and Correlation at Cedar Creek Wind Farm

• 230 days• 4 turbines• 1~ t

• • Variables to search analogs:

spd, dir, T, P, Q @ surface

var,1var w

Page 21: 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache lucadm@ucar.edu Research.

21

SUMMARY

• Ensemble and Kalman filtering (KF) to improve Numerical Predictions (AQ: ozone, PM; MET: wind, T, Td, sfc pressure, etc.)

• New methods based on KF and an analog approaches (ANKF, AN)

• Test KF, ANKF, and AN to correct 10-m wind speed– ANKF and AN beat KF over a range of metrics– ANKF and AN gain vs KF grows with length of data set

• The combination of ANKF and AN with a wavelet decomposition

improve predictions when dealing with noisy data (@ a wind farm)

Page 22: 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache lucadm@ucar.edu Research.

22

Thanks!([email protected])

Page 23: 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache lucadm@ucar.edu Research.

23

Source: Djalalova et al. (Atmospheric Environment, 2010)

A Kalman filter bias correction for deterministic and probabilistic PM2.5 predictions

Page 24: 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache lucadm@ucar.edu Research.

24

• fn is a forecast at time tn and at a given location, with tn > t0

• is a metric to measure the “distance” between fn and Ai

• {Ai} is a set of “analog” forecasts at a time ti, with ti < t0

– {Ai} are ordered with respect to di : di -1 > di , and

We can now introduce the Kalman filter bias correction procedure as follows:

• The true unknown forecast bias at time tn can me modeled by

• And the actual forecast error can be expressed as

KF in analog space (1)

ini Afd

}}{2:,{ iANiNi N

)(,11211 ||

2ttttt ntnnnnn

0,N xx

)(,11

2ttttttttt itiiiiiiiii

0,N xxOAy

~

~

Page 25: 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache lucadm@ucar.edu Research.

25

The optimal recursive predictor of xt can be written as

Where K, the “Kalman gain” is

And p, the expected mean square error is

NOTE: The system of equations is closed by:

•first running the filter for (with constant)

KF in analog space (2)

)ˆ(ˆˆ21121211 ||||

nnnnnnnnn ttttttttt xyKxx

)( 22|

2|

|

1121

121

1

ntntnn

ntnn

nntt

tttt p

pK

)1)((211211 |

2||

nnntnnnn tttttt Kpp

22 r

2

2 2

2 2and

Page 26: 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache lucadm@ucar.edu Research.

26

“Global” statistics

Page 27: 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache lucadm@ucar.edu Research.

27

Wind speed: CRMSE (m s-1) as function of space

Page 28: 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache lucadm@ucar.edu Research.

28

Wind speed: Rank correlation as function of space

Page 29: 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache lucadm@ucar.edu Research.

29

ANKF…how does it work?

Page 30: 1 Kalman filter, analog and wavelet postprocessing in the NCAR-Xcel operational wind-energy forecasting system Luca Delle Monache lucadm@ucar.edu Research.

30