Upload
lamphuc
View
225
Download
0
Embed Size (px)
Citation preview
KIT – The Research University in the Helmholtz Association
Institute for Applied Computer Science
www.kit.edu
^
Probabilistic Energy Forecasting
Moritz SchmidSeminar Energieinformatik WS 2015/16
Institute for Applied Computer Science2 25.01.17
Agenda
Forecasting challenges
Renewable energy forecasting
Electricity price forecasting
Electric load forecasting
Probabilistic solar power forecasting model based on k-nearest neighbor and kernel density estimator
Recap and outlook
Moritz Schmid - Probabilistic Energy Forecasting
Institute for Applied Computer Science3 25.01.17
Forecasting challenges
Data cleansingIdentifying incomplete and inaccurate data Removing irrelevant dataChoosing relevant input variables
Choosing suitable forecasting techniques
IntegrationScenario generationModelingPost processing
Moritz Schmid - Probabilistic Energy Forecasting
Institute for Applied Computer Science4 25.01.17
Renewable energy forecasting
Moritz Schmid - Probabilistic Energy Forecasting
Institute for Applied Computer Science5 25.01.17
Forecasting techniques
Physical models Statistical models
White box modelsAlso called parametric Use analytical equationsE.g. use irradiance forecast
Black box modelsAlso called non parametricDirect prediction of power outputUse machine learning methods
Hybrid Models
Moritz Schmid - Probabilistic Energy Forecasting
Institute for Applied Computer Science6 25.01.17
Statistical forecasting techniques (1)
RegressionEstimate the relationship between a dependent and a independent variablePredictor variable: wind speed, …Criterion variable: power output
Artificial neural networks (ANN):Consists of a group of interconnected neuronsConnections have numeric weightsAll connections together produce an output
Moritz Schmid - Probabilistic Energy Forecasting
Institute for Applied Computer Science7 25.01.17
Statistical forecasting techniques (2)
K-nearest-neighbors (kNN):Compares current values with training samples in a feature spaceK-nearest neighbors with the smallest distance are selected for the predictions
Support vector machines (SVM):Perform well with non-linear problemsUse transformations to keep the complexity of problems lowKnown as support vector regression machines (SVR) when solving regression problems
Moritz Schmid - Probabilistic Energy Forecasting
Institute for Applied Computer Science8 25.01.17
Published techniques in solar energy forecasting based on studies
Moritz Schmid - Probabilistic Energy Forecasting
[Antonanzas16]
Institute for Applied Computer Science9 25.01.17
From deterministic to probabilistic forecasting
Moritz Schmid - Probabilistic Energy Forecasting
Probabilistic forecastsQuantify uncertaintyAdd relevant information about the expected valuesAssign a probability to each outcome
[Antonanzas16]
Institute for Applied Computer Science10 25.01.17
Obtaining probabilistic forecasts
Parametric approach Forecast values follow a known distributionGoal: determine the parameters describing it
Non parametric approach Makes no assumption about a distributionGoal: approximate the actual distribution with training dataE.g. Combining Quantile regression models, point forecasting models
Both parametric and nonparametric approaches are feasible and commonly used
Moritz Schmid - Probabilistic Energy Forecasting
Institute for Applied Computer Science11 25.01.17
Confidence and prediction interval
Confidence interval Prediction interval
Contains the parameter of interest with a specific probabilityPossible sample set: {X1, ..., Xn}
Is smaller than prediction interval
Contains a random variable yet to be observedEstimates the value of the next sample variable, Xn+1
Account for uncertainty of population mean and data scatter
Moritz Schmid - Probabilistic Energy Forecasting
Institute for Applied Computer Science12 25.01.17
Electricity price forecasting(1)
Moritz Schmid - Probabilistic Energy Forecasting
[Hong16]
Institute for Applied Computer Science13 25.01.17
Electricity price forecasting(2)
Moritz Schmid - Probabilistic Energy Forecasting
[Hong16]
Institute for Applied Computer Science14 25.01.17
Electric load forecasting
Probabilistic monthly peak load forecast for a US utility
Moritz Schmid - Probabilistic Energy Forecasting
[Hong16]
Institute for Applied Computer Science15 25.01.17
Number of journal papers in load forecasting
Moritz Schmid - Probabilistic Energy Forecasting
PLF: Probabilistic Load Forecasting [Hong16]
Institute for Applied Computer Science16 25.01.17
Forecasting maturity in the energy sector
Moritz Schmid - Probabilistic Energy Forecasting
o LTLF: Long term load forecastingo WPF: Wind power forecastingo STLF: Short-term load
forecasting
o SPF: Solar power forecastingo EPF: Electricity price forecasting
[Hong16a]
Institute for Applied Computer Science17 25.01.17
Developed by Y. Zhang, J. Wang
Goal: Improve decision making in power system operations
Model approach:1. Using k-nearest neighbor algorithm to find days with similar weather
conditions in historical dataset 2. Calculating point forecast based on averaged corresponding power values3. Determining optimal weighting factors4. Deriving probability density by applying a kernel density estimator method
Moritz Schmid - Probabilistic Energy Forecasting
Probabilistic solar power forecasting model based on k-nearest neighbor and kernel density estimator
Institute for Applied Computer Science18 25.01.17
K-NN algorithm (1)
Task: Find the k-closest training examples in the feature spaceSteps:
Calculating the distance between testing and training dataChoosing k nearest neighbors with the smalles distance
Weighted manhattan distance:
X ,Y : two instances from the training and testing data setsxi, yi : input variablesn : number of input variableswi : weight assigned to the i-th input variable
Moritz Schmid - Probabilistic Energy Forecasting
[Tax16]
Institute for Applied Computer Science19 25.01.17
K-NN algorithm (2)
The instances X1, ..., Xk with the smallest distances are the k nearest neighbors Point forecast is made based on the corresponding power observations p1, ..., pK
Calculation by using a weighted exponential function
δk : Weight associated with the instance Xk
pk: Power output associated with the instance Xk
dk: Distance associated with the instance Xk
Moritz Schmid - Probabilistic Energy Forecasting
Institute for Applied Computer Science20 25.01.17
Determining optimal weighting factors
Use sum of square error measure to assess prediction performance
Coordinate decent algorithm determines optimal weighting factors of the manhattan distanceThe algorithm minimizes of the sum of square error
Moritz Schmid - Probabilistic Energy Forecasting
[Zhang14]
pi : observed power outputp*i: predicted power output
Institute for Applied Computer Science21 25.01.17
Kernel density estimator
Derive probability density
G(): kernel function, h: bandwidth
The predictive density of the power output is converted into 99 quantilesfor a specific quantile a:
F*-1 : inversion of the cumulative distribution function
Moritz Schmid - Probabilistic Energy Forecasting
Institute for Applied Computer Science22 25.01.17
Application to a real world use case
Moritz Schmid - Probabilistic Energy Forecasting
Data from the European Centre for medium range weather forecasts
Input variables to the model selected via forward feature selection:
Institute for Applied Computer Science23 25.01.17
Deterministic forecasting results(1)
Moritz Schmid - Probabilistic Energy Forecasting
Evaluation measure for the point forecast:
pi: observed power outputp*i : predicted power output
Evaluation results of point forecast:
Institute for Applied Computer Science24 25.01.17
Deterministic forecasting results(2)
Point forecasting of solar power output from April 1st to April 7th 2013
Moritz Schmid - Probabilistic Energy Forecasting
[Zhang14]
Institute for Applied Computer Science25 25.01.17
Probabilistic forecasting results(1)
Moritz Schmid - Probabilistic Energy Forecasting
Evaluation measure for probabilistic prediction:
Evaluation results of probabilistic prediction:
Institute for Applied Computer Science26 25.01.17
Probabilistic forecasting results(2)
Moritz Schmid - Probabilistic Energy Forecasting
Probabilistic forecasting of solar power output on April 1st 2013
[Zhang14]
Institute for Applied Computer Science27 25.01.17
Recap and outlook
Benefits of accurate forecasts
Benefits of probabilistic forecasting
Forecasting techniques and input variables
Probabilstic forecasting is a hot topic but is still in its infancy
Especially for probabilistic solar energy forecasting there is room for improvements
Moritz Schmid - Probabilistic Energy Forecasting
Institute for Applied Computer Science28 25.01.17
Literature (1)
Moritz Schmid - Probabilistic Energy Forecasting
[Hong16]
[Hong16a]
[Antonanzas16]
[Tax16]
[Zhang14]
T. Hong, S. Fan: Probabilistic electric load forecasting: A tutorial review, International Journal of Forecasting 32 (2016) 914–938
T. Hong, P. Pinson, S. Fan, H. Zareipour,A.Troccoli, R. Hyndman, Probabilistic energy forecasting: Global Energy Forecasting Competition 2014 and beyond, International Journal of Forecasting 32 (2016) 896–913
J. Antonanzas, N. Osorio, R. Escobar, R. Urraca, F.J. Martinez-de-Pison, F. Antonanzas-Torres: Review of photovoltaic power forecasting, Solar Energy 136 (2016) 78–111
https://en.wikipedia.org/wiki/Taxicab_geometry
Y. Zhang, J. Wang: GEFCom2014 Probabilistic Solar Power Forecasting based on k-Nearest Neighbor and Kernel Density Estimator
Institute for Applied Computer Science29 25.01.17
Literature (2)
Moritz Schmid - Probabilistic Energy Forecasting
[Wer14] F. Weron: Electricity price forecasting: A review of the state-of-the-artwith a look into the future, International Journal of Forecasting 30 (2014) 1030–1081
Institute for Applied Computer Science30 25.01.17
Back up: Coordinate decent algorithm
Moritz Schmid - Probabilistic Energy Forecasting
Institute for Applied Computer Science31 25.01.17
Histogram of solar power output
Moritz Schmid - Probabilistic Energy Forecasting
Institute for Applied Computer Science32 25.01.17
Commonly used kernel functions
Moritz Schmid - Probabilistic Energy Forecasting
Gaussian Kernel
Institute for Applied Computer Science33 25.01.17
Kernel density estimation of 100 normally distributed random numbers
Moritz Schmid - Probabilistic Energy Forecasting
different smoothing bandwidths are used
Institute for Applied Computer Science34 25.01.17
Kernel density estimation of 100 normally distributed random numbers
Moritz Schmid - Probabilistic Energy Forecasting
Grey: true density (standard normal)
Red: KDE with h=0.05
Black: KDE with h=0.337
Green: KDE with h=2