This invention relates generally to predicting future values of a time series from past values of time series that have seasonal patterns and nonlinear relationships between past values and future values, and more particularly to predicting short term power demand based on seasonal variations.
A time series is a sequence of values, for example the sequence of average daily temperatures, or the sequence of maximum daily electrical loads for a geographic region. A seasonal pattern is some characteristic approximately repeating pattern that has a known period. For example, the daily temperature time series has a repeating pattern with a period of one year, with warmer temperatures in the summer and colder temperatures in the winter. The daily electrical load time series has a seasonal pattern with a period of one week that is due to the weekly pattern of human activity. The daily electrical load time series also has a seasonal pattern with a period of one year that occurs primarily because power demand changes with the weather conditions. It is also possible for one time series to have multiple seasonal patterns with different periods. For example, the task of time series prediction is to predict the daily average temperature tomorrow, or a week in the future, based on past values of the time series.
A conventional method for predicting seasonal time series Xt uses Holt-Winters smoothing:
L
t=α(Xt/It-p)+(1−α)(Lt−1+Tt−1) (1)
T
t=γ(Lt−Lt−1)+(1−γ)Tt−1 (2)
I
t=δ(Xt/Lt)+(1−δ)It−p (3)
where Lt, Tt, and It denote the local mean level, trend, and seasonal index at time t, respectively. Parameters α, γ, δ denote smoothing parameters for updating the mean level, trend, and seasonal index, respectively, and p denotes the duration of the seasonal pattern.
The prediction {circumflex over (X)} made at time t of the value k in the future is
{circumflex over (X)}
t(k)=(Lt+kTt)It−p+k (4)
By updating Lt, Tt, and It at each time step t, and by using the prediction Equation (4), future values of the time series can be predicted.
By using a level and a trend term, Holt-Winters smoothing assumes a simple linear model of the non-seasonal component of the time series. This linear assumption is appropriate for some, but not all time series.
The embodiments of the invention provide a method for prediction for nonlinear seasonal time series data. More particularly, the method predicts short term power demand. The method is an improvement on the conventional exponential smoothing technique of Holt-Winters by modeling dynamic seasonal time series data with kernels. The kernels are used to predict future values of the time series using support vector regression.
The embodiments of our invention provide a method for predicting future values of a time series from past values of time series that have seasonal patterns and nonlinear relationships between past values and future values. More particularly the method predicts short term power demand based on seasonal variations.
In our method, we replace the linear assumption in Holt-Winters smoothing with a more general non-linear relationship between past values and future values. Our method uses the following update equations
L
t=α(Xt/It−p)+(1−α)({circumflex over (X)}t−1 (1)/It−p) (5)
I
t=δ(Xt/Lt)+(1−δ)It−p (6)
{circumflex over (X)}
t(1)=It−pFt(Lt) (7)
where Lt and It denote the local mean level and the seasonal index at time t, respectively. The two auxiliary parameters α and δ denote the smoothing parameters for updating the mean level and seasonal index, respectively, and p denotes the duration of the seasonal pattern. The estimate {circumflex over (X)} (1) is the prediction made at time t one time step in the future. Note, our method does not use the trend as in the conventional method.
The vector Lt stores past level values, i.e., Lt=[Lt, Lt−1, . . . , Lt−m]T for some value of m, and T is a transpose operator.
A nonlinear function Ft (L) is used to estimate the current level Lt based on past level values. The function Ft (Lt) can be estimated for each time step t.
Select 110 parameters α and δ, and initial values for L, I, and F, and for each next observation Lt 131 perform the following steps.
Determine 120 {circumflex over (X)}t (1)=It-pFt(Lt) as in Equation 7.
Acquire an observation Lt 131 for the next time step t, and update 130 Lt and It according to Equations 5 and 6.
Estimate 140 a next Ft (L) 141 from past values of L.
The estimation of the function Ft(L) can be done using any nonlinear estimation technique, for example, a least-squares radial basis function (RBF) regression or support vector regression using a Gaussian kernel.
For example, we can estimate Ft(L) using the RBF regression with the last N values of the vector L, i.e., {Lt, Lt−1, . . . , Lt−M+1} as training data.
In one application, the method predicts power demand, although the invention can be used to predict any nonlinear time series.
Although the invention has been described by way of examples of preferred embodiments, it is to be understood that various other adaptations and modifications can be made within the spirit and scope of the invention. Therefore, it is the object of the appended claims to cover all such variations and modifications as come within the true spirit and scope of the invention.