In today's electricity markets, accurate electricity price forecasting provides valuable insights for decision-making among participants, ensuring reliable operation of the power system. However, the complex characteristics of electricity price time series hinder accessibility to accurate price forecasting. This study addressed this challenge by introducing a novel approach to predicting prices in the Peruvian electricity market. This approach involved preprocessing the monthly electricity price time series by addressing missing values, stabilizing variance, normalizing data, achieving stationarity, and addressing seasonality issues. After this, six standard base models were employed to model the time series, followed by applying three ensemble models to forecast the filtered electricity price time series. Comparisons were conducted between the predicted and observed electricity prices using mean error accuracy measures, graphical evaluation, and an equal forecasting accuracy statistical test. The results showed that the proposed novel ensemble forecasting approach was an efficient and accurate tool for forecasting monthly electricity prices in the Peruvian electricity market. Moreover, the ensemble models outperformed the results of earlier studies. Finally, while numerous global studies have been conducted from various perspectives, no analysis has been undertaken using an ensemble learning approach to forecast electricity prices for the Peruvian electricity market.
Citation: Salvatore Mancha Gonzales, Hasnain Iftikhar, Javier Linkolk López-Gonzales. Analysis and forecasting of electricity prices using an improved time series ensemble approach: an application to the Peruvian electricity market[J]. AIMS Mathematics, 2024, 9(8): 21952-21971. doi: 10.3934/math.20241067
In today's electricity markets, accurate electricity price forecasting provides valuable insights for decision-making among participants, ensuring reliable operation of the power system. However, the complex characteristics of electricity price time series hinder accessibility to accurate price forecasting. This study addressed this challenge by introducing a novel approach to predicting prices in the Peruvian electricity market. This approach involved preprocessing the monthly electricity price time series by addressing missing values, stabilizing variance, normalizing data, achieving stationarity, and addressing seasonality issues. After this, six standard base models were employed to model the time series, followed by applying three ensemble models to forecast the filtered electricity price time series. Comparisons were conducted between the predicted and observed electricity prices using mean error accuracy measures, graphical evaluation, and an equal forecasting accuracy statistical test. The results showed that the proposed novel ensemble forecasting approach was an efficient and accurate tool for forecasting monthly electricity prices in the Peruvian electricity market. Moreover, the ensemble models outperformed the results of earlier studies. Finally, while numerous global studies have been conducted from various perspectives, no analysis has been undertaken using an ensemble learning approach to forecast electricity prices for the Peruvian electricity market.
[1] | World Bank Group, International experience with private sector participation in power grids: Peru case study, 2012. Available from: http://hdl.handle.net/10986/23616. |
[2] | E. V. Guevara, Competition and wholesale electricity market: the monitoring task assigned to the Peruvian electricity coordinator (COES), IUS ET Veritas, 61 (2020), 94–112. https://doi.org/10.18800/iusetveritas.202002.006 doi: 10.18800/iusetveritas.202002.006 |
[3] | M. Pinhão, M. Fonseca, R. Covas, Electricity spot price forecast by modelling supply and demand curve, Mathematics, 10 (2022), 2012. https://doi.org/10.3390/math10122012 doi: 10.3390/math10122012 |
[4] | B. Li, J. Wang, A. A. Nassani, R. H. Binsaeed, Z. Li, The future of Green energy: a panel study on the role of renewable resources in the transition to a Green economy, Energy Econ., 127 (2023), 107026. https://doi.org/10.1016/j.eneco.2023.107026 doi: 10.1016/j.eneco.2023.107026 |
[5] | K. G. Olivares, C. Challu, G. Marcjasz, R. Weron, A. Dubrawski, Neural basis expansion analysis with exogenous variables: forecasting electricity prices with NBEATSx, Int. J. Forecast., 39 (2023), 884–900. https://doi.org/10.1016/j.ijforecast.2022.03.001 doi: 10.1016/j.ijforecast.2022.03.001 |
[6] | Y. Duan, Y. Zhao, J. Hu, An initialization-free distributed algorithm for dynamic economic dispatch problems in microgrid: modeling, optimization, and analysis, Sustain. Energy Grids Networks, 34 (2023), 101004. https://doi.org/10.1016/j.segan.2023.101004 doi: 10.1016/j.segan.2023.101004 |
[7] | X. Li, Y. Jiang, X. Xin, A. A. Nassani, C. Yang, The asymmetric role of natural resources, fintech, and green innovations in the Chinese economy. Evidence from QARDL approach, Resour. Policy, 90 (2024), 104731. https://doi.org/10.1016/j.resourpol.2024.104731 doi: 10.1016/j.resourpol.2024.104731 |
[8] | M. Alrashidi, Ultra-short-term solar forecasting with reduced pre-acquired data considering optimal heuristic configurations of deep neural networks. AIMS Math., 9 (2024), 12323–12356. https://doi.org/10.3934/math.2024603 |
[9] | R. A. de Marcos, A. Bello, J. Reneses, Electricity price forecasting in the short term hybridising fundamental and econometric modelling, Electr. Power Syst. Res., 167 (2019), 240–251. https://doi.org/10.1016/j.epsr.2018.10.034 doi: 10.1016/j.epsr.2018.10.034 |
[10] | R. Wang, R. Zhang, Techno-economic analysis and optimization of hybrid energy systems based on hydrogen storage for sustainable energy utilization by a biological-inspired optimization algorithm, J. Energy Storage, 66 (2023), 107469. https://doi.org/10.1016/j.est.2023.107469 doi: 10.1016/j.est.2023.107469 |
[11] | I. Shah, H. Iftikhar, S. Ali, Modeling and forecasting electricity demand and prices: a comparison of alternative approaches, J. Math., 2022 (2022), 3581037. https://doi.org/10.1155/2022/3581037 doi: 10.1155/2022/3581037 |
[12] | P. Li, J. Hu, L. Qiu, Y. Zhao, B. K. Ghosh, A distributed economic dispatch strategy for power-water networks, IEEE Trans. Control Network Syst., 9 (2022), 356–366. https://doi.org/10.1109/TCNS.2021.3104103 doi: 10.1109/TCNS.2021.3104103 |
[13] | J. Janczura, Expectile regression averaging method for probabilistic forecasting of electricity prices, Comput. Stat., 18 (2024), 1613–9658. https://doi.org/10.1007/s00180-024-01508-y doi: 10.1007/s00180-024-01508-y |
[14] | F. Abid, M. Alam, F. S. Alamri, I. Siddique, Multi-directional gated recurrent unit and convolutional neural network for load and energy forecasting: a novel hybridization, AIMS Math., 8 (2023), 19993–20017. https://doi.org/10.3934/math.20231019 doi: 10.3934/math.20231019 |
[15] | M. Shirkhani, J. Tavoosi, S. Danyali, A. K. Sarvenoee, A. Abdali, A. Mohammadzadeh, et al., A review on microgrid decentralized energy/voltage control structures and methods, Energy Rep., 10 (2023), 368–380. https://doi.org/10.1016/j.egyr.2023.06.022 doi: 10.1016/j.egyr.2023.06.022 |
[16] | A. L. de Rojas, M. A. Jaramillo-Morán, J. E. Sandubete, EMDFormer model for time series forecasting, AIMS Math., 9 (2024), 9419–9434. https://doi.org/10.3934/math.2024459 doi: 10.3934/math.2024459 |
[17] | H. Iftikhar, J. E. Turpo-Chaparro, P. C. Rodrigues, J. L. López-Gonzales, Forecasting day-ahead electricity prices for the Italian electricity market using a new decomposition-combination technique, Energies, 16 (2023), 6669. https://doi.org/10.3390/en16186669 doi: 10.3390/en16186669 |
[18] | Mustaqeem, M. Ishaq, S. Kwon, Short-term energy forecasting framework using an ensemble deep learning approach, IEEE Access, 9 (2021), 94262–94271. https://doi.org/10.1109/ACCESS.2021.3093053 doi: 10.1109/ACCESS.2021.3093053 |
[19] | I. B. Todorov, F. S. Lasheras, Forecasting applied to the electricity, energy, gas and oil industries: a systematic review, Mathematics, 10 (2022), 3930. https://doi.org/10.3390/math10213930 doi: 10.3390/math10213930 |
[20] | J. Hu, Y. Zou, N. Soltanov, A multilevel optimization approach for daily scheduling of combined heat and power units with integrated electrical and thermal storage, Expert Syst. Appl., 250 (2024), 123729. https://doi.org/10.1016/j.eswa.2024.123729 doi: 10.1016/j.eswa.2024.123729 |
[21] | A. L. de Rojas, Data augmentation in economic time series: behavior and improvements in predictions, AIMS Math., 8 (2023), 24528–24544. https://doi.org/10.3934/math.20231251 doi: 10.3934/math.20231251 |
[22] | Z. Yang, L, Ce, L. Lian, Electricity price forecasting by a hybrid model, combining wavelet transform, ARMA and kernel-based extreme learning machine methods, Appl. Energy, 190 (2017), 291–305. https://doi.org/10.1016/j.apenergy.2016.12.130 doi: 10.1016/j.apenergy.2016.12.130 |
[23] | S. Khan, S. Aslam, I. Mustafa, Short-term electricity price forecasting by employing ensemble empirical mode decomposition and extreme learning machine, Forecasting, 3 (2021), 460–477. https://doi.org/10.3390/forecast3030028 doi: 10.3390/forecast3030028 |
[24] | M. H. D. M. Ribeiro, S. F. Stefenon, J. D. de Lima, A. Nied, V. C Mariani, L. D. S. Coelho, Electricity price forecasting based on self-adaptive decomposition and heterogeneous ensemble learning, Energies, 13 (2020), 5190. https://doi.org/10.3390/en13195190 doi: 10.3390/en13195190 |
[25] | N. Bibi, I. Shah, A. Alsubie, S. Ali, S. A. Lone, Electricity spot prices forecasting based on ensemble learning, IEEE Access, 9 (2012), 150984–15099. https://doi.org/10.1109/ACCESS.2021.3126545 doi: 10.1109/ACCESS.2021.3126545 |
[26] | P. J. Brockwell, R. A. Davis, Introduction to time series and forecasting, Springer, 2016. https://doi.org/10.1007/978-3-319-29854-2 |
[27] | R. J. Hyndman, G. Athanasopoulos, Forecasting: principles and practice, OTexts, 2018. |
[28] | H. Iftikhar, A. Zafar, J. E. Turpo-Chaparro, P. C. Rodrigues, J. L. López-Gonzales, Forecasting day-ahead Brent crude oil prices using hybrid combinations of time series models, Mathematics, 11 (2023), 3548. https://doi.org/10.3390/math11163548 doi: 10.3390/math11163548 |
[29] | L. Wasserman, All of nonparametric statistics, Springer Science & Business Media, 2006. https://doi.org/10.1007/0-387-30623-4 |
[30] | H. Iftikhar, M. Khan, J. E. Turpo-Chaparro, P. C. Rodrigues, J. L. López-Gonzales, Forecasting stock prices using a novel filtering-combination technique: application to the Pakistan stock exchange, AIMS Math., 9 (2024), 3264–3288. https://doi.org/10.3934/math.2024159 doi: 10.3934/math.2024159 |
[31] | N. Carbo-Bustinza, H. Iftikhar, M. Belmonte, R. J. Cabello-Torres, A. R. H. De La Cruz, J. L. López-Gonzales, Short-term forecasting of ozone concentration in metropolitan Lima using hybrid combinations of time series models, Appl. Sci., 13 (2023), 10514. https://doi.org/10.3390/app131810514 doi: 10.3390/app131810514 |
[32] | F. X. Diebold, R. S. Mariano, Comparing predictive accuracy, J. Bus. Econ. Stat., 20 (2012), 134–144. http://doi.org/10.1198/073500102753410444 doi: 10.1198/073500102753410444 |
[33] | L. Inglada-Pérez, S. G. Gil, A study on the nature of complexity in the Spanish electricity market using a comprehensive methodological framework, Mathematics, 12 (2024), 893. http://doi.org/10.3390/math12060893 doi: 10.3390/math12060893 |
[34] | T. Windler, J. Busse, J. Rieck, One month-ahead electricity price forecasting in the context of production planning, J. Clean. Prod., 238 (2019), 117910. https://doi.org/10.1016/j.jclepro.2019.117910 doi: 10.1016/j.jclepro.2019.117910 |
[35] | F. L. C. da Silva, K. da Costa, P. C. Rodrigues, R. Salas, J. L. López-Gonzales, Statistical and artificial neural networks models for electricity consumption forecasting in the Brazilian industrial sector, Energies, 15 (2022), 588. https://doi.org/10.3390/en15020588 doi: 10.3390/en15020588 |
[36] | S. Krstev, J. Forcan, D. Krneta, An overview of forecasting methods for monthly electricity consumption, Tehnički Vjesnik, 30 (2023), 993–1001. https://doi.org/10.17559/TV-20220430111309 doi: 10.17559/TV-20220430111309 |
[37] | I. Shah, H. Iftikhar, S. Ali, Modeling and forecasting medium-term electricity consumption using component estimation technique, Forecasting, 2 (2020), 163–179. https://doi.org/10.3390/forecast2020009 doi: 10.3390/forecast2020009 |
[38] | S. Ding, Z. Tao, R. Li, X. Qin, A novel seasonal adaptive grey model with the data-restacking technique for monthly renewable energy consumption forecasting, Expert Syst. Appl., 208 (2022), 118115. https://doi.org/10.1016/j.eswa.2022.118115 doi: 10.1016/j.eswa.2022.118115 |
[39] | X. Zhang, L. Gong, X. Zhao, R. Li, L. Yang, B. Wang, Voltage and frequency stabilization control strategy of virtual synchronous generator based on small signal model, Energy Rep., 9 (2023), 583–590. https://doi.org/10.1016/j.egyr.2023.03.071 doi: 10.1016/j.egyr.2023.03.071 |
[40] | Y. Lei, Y. Chen, H. Hai, R. Gao, W. Wu, DGNet: an adaptive lightweight defect detection model for new energy vehicle battery current collector, IEEE Sensors J., 23 (2023), 29815–29830. https://doi.org/10.1109/JSEN.2023.3324441 doi: 10.1109/JSEN.2023.3324441 |
[41] | F. Quispe, E. Salcedo, H. Iftikhar, A. Zafar, M. Khan, J. E. Turpo-Chaparro, et al., Multi-step ahead ozone level forecasting using a component-based technique: a case study in Lima, Peru, AIMS Environ. Sci., 11 (2024), 401–425. https://doi.org/10.3934/environsci.2024020 doi: 10.3934/environsci.2024020 |
[42] | X. Hu, L. Tan, T. Tang, M$^2$BIST-SPNet: RUL prediction for railway signaling electromechanical devices, J. Supercomput., 2024. https://doi.org/10.1007/s11227-024-06111-y |