In power market, electricity price forecasting provides significant information which can help the electricity market participants to prepare corresponding bidding strategies to maximize their profits. This paper introduces the models of autoregressive integrated moving average (ARIMA) and artificial neural network (ANN) which are applied to the price forecasts for up to 3 steps 8 weeks ahead in the UK electricity market. The half hourly data of historical prices are obtained from UK Reference Price Data from March 22nd to July 14th 2010 and the predictions are derived from a sliding training window with a length of 8 weeks. The ARIMA with various AR and MA orders and the ANN with different numbers of delays and neurons have been established and compared in terms of the root mean square errors (RMSEs) of price forecasts. The experimental results illustrate that the ARIMA (4,1,2) model gives greater improvement over persistence than the ANN (20 neurons, 4 delays) model.
The global reform of power industry transferred electricity producers and purchasers from not be able to select their suppliers to full free choice in the last decades. Price forecasting is becoming increasingly relevant to all participants in the new competitive electric power markets [
In the past decades, a large number of forecasting models and methods have been tried. These methods can be divided into two categories: classical approaches such as auto regressive integrated moving average (ARIMA) models and artificial intelligence (AI) based techniques [
UK electricity market is a competitive modern power market with relatively independent generation, transmission, distribution and retail companies. It has been completely open to competition since the sub-100 kW market was deregulated in September 1998, which means all customers in this market can choose their suppliers freely. The New Electricity Trading Arrangements (NETA) has put into use since 27 March 2010 [
Box and Jenkins developed the autoregressive integrated moving average ARIMA (p,d,q) class of processes in the early 1970, and since then they have been applied to a wide variety of time series prediction applications. The orders p and q represent the numbers of autoregressiveterms and moving average terms separately and is the level of differencing which ensures the stationarity of the time series [
An ARIMA model can be expressed by the following formula:
where
Electricity prices is a highly non-stationary time series with strong volatility and periodicity. Therefore, it is necessary to use differencing to alter the electricity price to a stationary time series. The first order difference can be expressed as:
If
Autocorrelation function (ACF) and partial autocorrelation function (PACF) are used to select proper p and q. In the ARIMA model, the moving average order q is decided by ACF, while PACF can determine the autoregressive order p [
After identifying the model’s parameters, diagnostic checking must be done. If the residuals inferred from the fitted model are normally distributed and uncorrelated, the model structure and all coefficients can then be used to estimate the predictions [
Artificial neural network (ANN) has been widely used in many different areas including transient detection, pattern recognition, approximation and time-se- ries prediction. The term ANN is used to describe various constructions of highly interconnected simple processing units that deliver an alternative to conventional computing techniques. The difference from the traditional methods is that ANN represents the related objects through learning from sample data rather than modelling calculation processes [
In general, a three-layer, feed-forward neural network shown in
An artificial neural network is composed of many neurons which are interconnected with identical simple processing units. Every neuron in the network sums its weighted inputs to produce an internal activity level vi:
where wij is the weight of the connection from input j to neuron i, xij is the input signal number j to neuron i, and wi0 is the threshold associated with unit i. The
output of neuron yi is
where φ(vi) is the defined function that is one form of its expressions. In training, the network learns through adjusting both the weights connecting the input and hidden layer and the weights connecting the hidden layer and output, by the gradient multiplied by the learning rate parameter [
The major advantage of ANN is the offline training. However, this exercise is the most time-consuming.
The experimental data are half-hourly updated UK Reference Price Data (RPD) over 16 weeks from March 22nd to July 14th 2010, which are obtained from Power Spot Exchange (www.apxgroup.com). A sliding training window consisting of the historic price data in the most recent 8 weeks is used to determine the parameters of the ARIMA and ANN models from which the price predictions for one step (half hour), two steps (an hour) and three steps (1.5 hours) ahead are estimated respectively.
In order to compare the prediction accuracy of each forecasting model, the rootmeansquare error (RMSE) [
For ARIMA models, the historical data turns to stationary after the first difference. The parameter d of ARIMA model is therefore set to be 1. The orders p and q are dependence on the plots of ACF and PACF. In this study, a number of ARIMA models with p varying from 0 to 4 and q varying from 0 to 2 are applied to price predictions. It is found that the ARIMA (4,1,2) model has the best performance in terms of the RMSE of 1-step-ahead forecasts. For ANN models, the numbers of hidden neurons and delays are required to be adjusted and the training processes are carried out over several times until a satisfactory accuracy is achieved in the validation process. Here, when hidden neuronsreach 20 and the number of delays is 4 the autocorrelations of error indicates it is the best. The ANN models for one-step-ahead, two-step-ahead and three-step-ahead for- ecasts with the minimum RMSEs are chosen after training more than 50 times separately.
The electricity price forecasts for three steps ahead from 1:00 am 17th May to 00:30 am 14th July 2010 produced by the ARIMA (4,1,2) and the ANN (20 neurons, 4 delays) are compared with the actual electricity prices as shown in
It can be seen from these two figures that the dashed curves representing the forecasts and the solid curves representing the actual values are all highly
coincident, which means the prediction are very accurate. In addition, the ARIMA (4,1,2) forecasts are shown to be closer to the actual electricity price values. In order to compare the accuracies of these two prediction methods, the RMSEs of price predictions for up to 3 steps ahead of the ARIMA (4,1,2) and ANN (20 neurons, 4 delays) models are tabulated in
Models | ARIMA | ANN | ||||
---|---|---|---|---|---|---|
Forecast Steps | One-step | Two-step | Three-step | One-step | Two-step | Three-step |
Minimum RMSE | 2.6443 | 3.9751 | 5.1263 | 2.7144 | 4.1038 | 5.3986 |
RMSE of PF | 2.7357 | 4.1937 | 5.4622 | 2.7357 | 4.1937 | 5.4622 |
form of short-term forecasting which assumes the forecast value
The unit of RMSE is £/MWh. It can be observed from
This paper has described and assessed the ARIMA and ANN models for electricity price prediction for up to three steps (1.5 hours) ahead based on the Reference Price Data (RPD) in UK electricity market. According to the forecast accuracy in terms of RMSE, the ARIMA (4,1,2) model is shown to outperform the ANN model in this study. Furthermore, the predictions from both ARIMA and ANN models become less accurate with the forecast horizon increasing. Both forecasting models rely on the historical data within the sliding training window. Therefore, the smaller forecast horizon is the stronger relationship between the historical values and prediction.
Comparing ARIMA and ANN models and selecting the optimal model for electricity price forecasting have been performed in this paper. In the future, the work tends to combine electricity price forecasts with new energy. Furthermore, the study can build on observing the relationship between electricity prices and other energy prices, and then based on the fluctuations of other energy prices to forecast electricity prices.
Gao, G., Lo, K. and Fan, F.L. (2017) Comparison of ARIMA and ANN Models Used in Electricity Price Forecasting for Power Market. Energy and Power Engineering, 9, 120-126. https://doi.org/10.4236/epe.2017.94B015