Abstract
The ongoing reshape of electricity markets has significantly stimulated electricity trading. Limitations in storing electricity as well as on-the-fly changes in demand and supply dynamics, have led price forecasts to be a fundamental aspect of traders’ economic stability and growth. In this perspective, there is a broad literature that focuses on developing methods and techniques to forecast electricity prices. In this paper, we develop a new hybrid method, called ARHNN, for electricity price forecasting (EPF) in day-ahead markets. A well performing autoregressive model, with exogenous variables, is the main forecasting instrument in our method. Contrarily to the traditional statistical approaches, in which the calibration sample consists of the most recent and successive observations, we employ the k-nearest neighbors (k-NN) instance-based learning algorithm and we select the calibration sample based on a similarity (distance) measure over a subset of the autoregressive model’s variables. The optimal levels of the k-NN parameter are identified during the validation period in a way that the forecasting error is minimized. We apply our method in the EPEX SPOT market in Germany. The results reveal a significant improvement in accuracy compared to commonly used approaches.
The authors’ names are ordered alphabetically.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Aggarwal, S.K., Saini, L.M., Kumar, A.: Electricity price forecasting in deregulated markets: a review and evaluation. Int. J. Electr. Power Energy Syst. 31(1), 13–22 (2009)
Ashfaq, T., Javaid, N.: Short-term electricity load and price forecasting using enhanced KNN. In: 2019 International Conference on Frontiers of Information Technology (FIT), pp. 266–2665 (2019)
Chaudhury, P., Tyagi, A., Shanmugam, P.K.: Comparison of various machine learning algorithms for predicting energy price in open electricity market. In: 2020 International Conference and Utility Exhibition on Energy, Environment and Climate Change (ICUE), pp. 1–7 (2020)
Chow, G.C.: Tests of equality between sets of coefficients in two linear regressions. Econometrica 28(3), 591–605 (1960)
Diebold, F.X., Mariano, R.S.: Comparing predictive accuracy. J. Bus. Econ. Stat. 20(1), 134–144 (2002)
Dudani, S.A.: The distance-weighted k-nearest-neighbor rule. IEEE Trans. Syst. Man Cybern. SMC–6(4), 325–327 (1976)
Hubicka, K., Marcjasz, G., Weron, R.: A note on averaging day-ahead electricity price forecasts across calibration windows. IEEE Trans. Sustain. Energy 10(1), 321–323 (2019)
Jawad, M., et al.: Machine learning based cost effective electricity load forecasting model using correlated meteorological parameters. IEEE Access 8, 146847–146864 (2020)
Kath, C., Nitka, W., Serafin, T., Weron, T., Zaleski, P., Weron, R.: Balancing generation from renewable energy sources: profitability of an energy trader. Energies 13(1), 205 (2020)
Kiesel, R., Paraschiv, F.: Econometric analysis of 15-minute intraday electricity prices. Energy Econ. 64, 77–90 (2017)
Killick, R., Fearnhead, P., Eckley, I.A.: Optimal detection of changepoints with a linear computational cost. J. Am. Stat. Assoc. 107(500), 1590–1598 (2012)
Lavielle, M.: Using penalized contrasts for the change-point problem. Signal Process. 85(8), 1501–1510 (2005)
Li, W., Kong, D., Wu, J.: A novel hybrid model based on extreme learning machine, k-nearest neighbor regression and wavelet denoising applied to short-term electric load forecasting. Energies 10(5), 694 (2017)
Maciejowska, K., Nitka, W., Weron, T.: Day-ahead vs. intraday-forecasting the price spread to maximize economic benefits. Energies 12(4), 631 (2019)
Maciejowska, K., Uniejewski, B., Serafin, T.: PCA forecast averaging—predicting day-ahead and intraday electricity prices. Energies 13(14), 3530 (2020)
Marcjasz, G., Serafin, T., Weron, R.: Selection of calibration windows for day-ahead electricity price forecasting. Energies 11(9), 2364 (2018)
de Marcos, R.A., Bunn, D.W., Bello, A., Reneses, J.: Short-term electricity price forecasting with recurrent regimes and structural breaks. Energies 13(20), 5452 (2020)
Natividad, F., Folk, R.Y., Yeoh, W., Cao, H.: On the use of off-the-shelf machine learning techniques to predict energy demands of power TAC consumers. In: Ceppi, S., David, E., Hajaj, C., Robu, V., Vetsikas, I.A. (eds.) AMEC/TADA 2015-2016. LNBIP, vol. 271, pp. 112–126. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-54229-4_8
Nawaz, M., et al.: An approximate forecasting of electricity load and price of a smart home using nearest neighbor. In: Barolli, L., Hussain, F.K., Ikeda, M. (eds.) CISIS 2019. AISC, vol. 993, pp. 521–533. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-22354-0_46
Nowotarski, J., Raviv, E., Trück, S., Weron, R.: An empirical comparison of alternative schemes for combining electricity spot price forecasts. Energy Econ. 46, 395–412 (2014)
Nowotarski, J., Weron, R.: Recent advances in electricity price forecasting: a review of probabilistic forecasting. Renew. Sustain. Energy Rev. 81, 1548–1568 (2018)
Rocha, H.R.O., Honorato, I.H., Fiorotti, R., Celeste, W.C., Silvestre, L.J., Silva, J.A.L.: An Artificial Intelligence based scheduling algorithm for demand-side energy management in Smart Homes. Appl. Energy 282 (2021)
Weron, R.: Electricity price forecasting: a review of the state-of-the-art with a look into the future. Int. J. Forecast. 30(4), 1030–1081 (2014)
Yamin, H.Y., Shahidehpour, S.M., Li, Z.: Adaptive short-term electricity price forecasting using artificial neural networks in the restructured power markets. Int. J. Electr. Power Energy Syst. 26(8), 571–581 (2004)
Yesilbudak, M., Sagiroglu, S., Colak, I.: A novel implementation of kNN classifier based on multi-tupled meteorological input data for wind power prediction. Energy Convers. Manage. 135, 434–444 (2017)
Zhang, R., Xu, Y., Dong, Z.Y., Kong, W., Wong, K.P.: A composite k-nearest neighbor model for day-ahead load forecasting with limited temperature forecasts. In: 2016 IEEE Power and Energy Society General Meeting (PESGM), pp. 1–5 (2016)
Zhao, J.H., Dong, Z.Y., Xu, Z., Wong, K.P.: A statistical approach for interval forecasting of the electricity price. IEEE Trans. Power Syst. 23(2), 267–276 (2008)
Ziel, F., Weron, R.: Day-ahead electricity price forecasting with high-dimensional structures: Univariate vs. multivariate modeling frameworks. Energy Econ. 70, 396–420 (2018)
Acknowledgments
This work is partially supported by the National Science Center (NCN, Poland) through MAESTRO grant no. 2018/30/A/HS4/00444 (D.S.). Also, it is partially supported by the Ministry of Science and Higher Education (MNiSW, Poland) through Diamond Grant no. 0027/DIA/2020/49 (W.N.) and Diamond Grant no. 0009/DIA/2020/49 (T.S.).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this paper
Cite this paper
Nitka, W., Serafin, T., Sotiros, D. (2021). Forecasting Electricity Prices: Autoregressive Hybrid Nearest Neighbors (ARHNN) Method. In: Paszynski, M., Kranzlmüller, D., Krzhizhanovskaya, V.V., Dongarra, J.J., Sloot, P.M. (eds) Computational Science – ICCS 2021. ICCS 2021. Lecture Notes in Computer Science(), vol 12745. Springer, Cham. https://doi.org/10.1007/978-3-030-77970-2_24
Download citation
DOI: https://doi.org/10.1007/978-3-030-77970-2_24
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-77969-6
Online ISBN: 978-3-030-77970-2
eBook Packages: Computer ScienceComputer Science (R0)