Dealing with Anomalies in Day-Ahead Market Prediction Using Machine Learning Hybrid Model
Abstract
:1. Introduction
2. Theoretical Background
2.1. Anomalies on Electricity Market
- Weather conditions. When the share of renewable energy sources (RES) in energy production increases, the weather becomes one of the most important factors influencing the price. Temperature, cloud cover, rain, or snowfall, the occurrence of extreme weather events such as storms or heat waves have a direct impact on the demand and supply of electricity. At the same time, weather conditions affect the performance of power plants, especially those using RES such as hydroelectric, wind, or photovoltaic plants.
- Failures and disasters in both generation and transmission infrastructure. These events have a strongly destabilizing effect on the market. Any deviation from the plan in this respect causes large fluctuations in the price of energy.
- The actions of market participants who, as a result of various circumstances, fearing a shortage in the market, try to secure their energy supply at all costs.
- Price spikes for energy raw materials. Oil, natural gas and coal are still important sources of energy, and their prices have a significant impact on the price of electricity. At the same time, their prices often fluctuate rapidly in response to the international situation.
- Changes in government regulation and policy. Decisions on energy prices, subsidies for renewables, tax policy, or carbon emissions affect the cost of energy production and the price that is formed on the exchange.
- Social and political events, media reports, and rapid changes in public sentiment. Events such as armed conflicts, protests, strikes, roadblocks, or political changes also affect the energy market. Political or social instability in energy-producing regions or places of high energy consumption can lead to unexpected and sudden changes in price.
- Natural disasters like floods, earthquakes, hurricanes, etc. that affect infrastructure or generate spikes in energy demand.
- Errors made by people who make decisions about energy production, transmission, or consumption.
- Additional local factors influencing price volatility in the Polish market include:
- A large annual temperature amplitude (from −20 °C to +30 °C) over a small area;
- Large differences in day length throughout the year (from 8 to 16 h);
- A variable-transitional climate, lack of constant winds, and a relatively small number of days of sunshine (66 days—about 1600 h per year) with high variability in their timing throughout the year and frequent weather changes;
- A low share of stable RES due to unfavorable hydrological and wind conditions;
- A very high share of fossil fuels (coal and lignite) makes the entire energy system inflexible. Even when the possibility of obtaining large amounts of energy from RES arises, it is not possible to limit power production below a certain level, which is determined by the technical conditions of the coal or lignite units;
- The location and geopolitical uncertainty due to the proximity of an aggressive country and the periodically emerging problems of raw material availability in 2022–2023;
- The simultaneous influence of so many factors and unpredictable events introduces elements of chaos and unpredictability into the energy price time series.
- An abnormally high/low price;
- An abnormal jump in price, in which the difference of prices (absolute or relative) between two periods is higher than a given threshold;
- A close to zero or negative price.
2.2. Hybrid Models in Electricity Prediction
3. Data and Error Metrics
3.1. Data Description and Pre-Processing
3.2. Error Metrics
4. Preparation and the Conduct of the Experiment
4.1. Candidate Pre-Selection
- Training ANNs requires a large amount of data, whereas anomalous values in the series under study are rare enough that there is not enough data to train the network.
4.2. Random Forests Tuning
4.3. Switch Design
- The switch will activate when there is no anomaly, and we will receive worse results from model B than if we used model A.
- The switch will not activate even though an anomaly has occurred, and we will receive worse results from model A than if we had used model B.
- The switch works correctly, but model B still gives worse results than A (there is no guarantee that when anomaly occurs model B will always give better results than A).
- t + 1—day of the prediction,
- P(t)—price on day t,
- —prediction of the 8-day model for the day t,
- —prediction of the 3-day model for the day t,
- T—a threshold of the switch.
5. Experiment Results
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Beltrán, S.; Castro, A.; Irizar, I.; Naveran, G.; Yeregui, I. Framework for collaborative intelligence in forecasting day-ahead electricity price. Appl. Energy 2022, 306, 118049. [Google Scholar] [CrossRef]
- Dudek, G.; Piotrowski, P.; Baczyński, D. Intelligent Forecasting and Optimization in Electrical Power Systems: Advances in Models and Applications. Energies 2023, 16, 3024. [Google Scholar] [CrossRef]
- Ganczarek-Gamrot, A.; Krężołek, D.; Trzpiot, G. Using EVT to Assess Risk on Energy Market; Springer: Berlin/Heidelberg, Germany, 2021; pp. 57–64. [Google Scholar]
- Weron, R. Modeling and Forecasting Electricity Loads and Prices; John Wiley & Sons, Inc.: West Sussex, UK, 2006; ISBN 9780470057537. [Google Scholar]
- Kostrzewski, M.; Kostrzewska, J. Probabilistic electricity price forecasting with Bayesian stochastic volatility models. Energy Econ. 2019, 80, 610–620. [Google Scholar] [CrossRef]
- Lago, J.; Marcjasz, G.; De Schutter, B.; Weron, R. Forecasting day-ahead electricity prices: A review of state-of-the-art algorithms, best practices and an open-access benchmark. Appl. Energy 2021, 293, 116983. [Google Scholar] [CrossRef]
- Wang, Z.; Wang, Y.; Zeng, R.; Srinivasan, R.S.; Ahrentzen, S. Random Forest based hourly building energy prediction. Energy Build. 2018, 171, 11–25. [Google Scholar] [CrossRef]
- Uniejewski, B.; Maciejowska, K. LASSO principal component averaging: A fully automated approach for point forecast pooling. Int. J. Forecast. 2023, 39, 1839–1852. [Google Scholar] [CrossRef]
- Chodakowska, E.; Nazarko, J.; Nazarko, Ł. ARIMA Models in Electrical Load Forecasting and Their Robustness to Noise. Energies 2021, 14, 7952. [Google Scholar] [CrossRef]
- Koopman, S.J.; Ooms, M.; Carnero, M.A. Periodic Seasonal Reg-ARFIMA–GARCH Models for Daily Electricity Spot Prices. J. Am. Stat. Assoc. 2007, 102, 16–27. [Google Scholar] [CrossRef]
- Ganczarek-Gamrot, A. Forecast of prices and volatility on the Day Ahead Market. Econometrics 2013, 1, 111–120. [Google Scholar]
- Kostrzewski, M.; Kostrzewska, J. The Impact of Forecasting Jumps on Forecasting Electricity Prices. Energies 2021, 14, 336. [Google Scholar] [CrossRef]
- Gianfreda, A.; Ravazzolo, F.; Rossini, L. Comparing the forecasting performances of linear models for electricity prices with high RES penetration. Int. J. Forecast. 2020, 36, 974–986. [Google Scholar] [CrossRef]
- Ziel, F.; Weron, R. Day-ahead electricity price forecasting with high-dimensional structures: Univariate vs. multivariate modeling frameworks. Energy Econ. 2018, 70, 396–420. [Google Scholar] [CrossRef]
- Lago, J.; De Ridder, F.; De Schutter, B. Forecasting spot electricity prices: Deep learning approaches and empirical comparison of traditional algorithms. Appl. Energy 2018, 221, 386–405. [Google Scholar] [CrossRef]
- Olivares, K.G.; Challu, C.; Marcjasz, G.; Weron, R.; Dubrawski, A. Neural basis expansion analysis with exogenous variables: Forecasting electricity prices with NBEATSx. Int. J. Forecast. 2023, 39, 884–900. [Google Scholar] [CrossRef]
- Wang, D.; Gryshova, I.; Kyzym, M.; Salashenko, T.; Khaustova, V.; Shcherbata, M. Electricity Price Instability over Time: Time Series Analysis and Forecasting. Sustainability 2022, 14, 9081. [Google Scholar] [CrossRef]
- Chai, S.; Li, Q.; Abedin, M.Z.; Lucey, B.M. Forecasting electricity prices from the state-of-the-art modeling technology and the price determinant perspectives. Res. Int. Bus. Financ. 2024, 67, 102132. [Google Scholar] [CrossRef]
- El-Azab, H.-A.I.; Swief, R.A.; El-Amary, N.H.; Temraz, H.K. Machine and deep learning approaches for forecasting electricity price and energy load assessment on real datasets. Ain Shams Eng. J. 2024, 15, 102613. [Google Scholar] [CrossRef]
- Chen, C.; Liu, L.-M. Joint Estimation of Model Parameters and Outlier Effects in Time Series. J. Am. Stat. Assoc. 1993, 88, 284. [Google Scholar] [CrossRef]
- Meyer-Brandis, T.; Tankov, P. Multi-factor jump-diffusion models of electricity prices. Int. J. Theor. Appl. Financ. 2008, 11, 503–528. [Google Scholar] [CrossRef]
- Tsay, R.S. Testing and Modeling Threshold Autoregressive Processes. J. Am. Stat. Assoc. 1989, 84, 231–240. [Google Scholar] [CrossRef]
- Hamilton, J.D. Analysis of time series subject to changes in regime. J. Econom. 1990, 45, 39–70. [Google Scholar] [CrossRef]
- Janczura, J.; Weron, R. An empirical comparison of alternate regime-switching models for electricity spot prices. Energy Econ. 2010, 32, 1059–1073. [Google Scholar] [CrossRef]
- Misiorek, A.; Trueck, S.; Weron, R. Point and Interval Forecasting of Spot Electricity Prices: Linear vs. Non-Linear Time Series Models. Stud. Nonlinear Dyn. Econom. 2006, 10, 1362. [Google Scholar] [CrossRef]
- Fan, S.; Chen, L.; Lee, W.J. Machine learning based switching model for electricity load forecasting. Energy Convers. Manag. 2008, 49, 1331–1344. [Google Scholar] [CrossRef]
- Hawkins, D.M. Identification of Outliers; Chapman & Hall: London, UK, 1980. [Google Scholar]
- Kanamura, T.; Ōhashi, K. A structural model for electricity prices with spikes: Measurement of spike risk and optimal policies for hydropower plant operation. Energy Econ. 2007, 29, 1010–1032. [Google Scholar] [CrossRef]
- Aguinis, H.; Gottfredson, R.K.; Joo, H. Best-Practice Recommendations for Defining, Identifying, and Handling Outliers. Organ. Res. Methods 2013, 16, 270–301. [Google Scholar] [CrossRef]
- Ranga Suri, N.N.R.; Murty, M.N.; Athithan, G. Outlier Detection: Techniques and Applications; Intelligent Systems Reference Library; Springer International Publishing: Cham, Switzerland, 2019; Volume 155, ISBN 978-3-030-05125-9. [Google Scholar]
- Lee, J.; Cho, Y. National-scale electricity peak load forecasting: Traditional, machine learning, or hybrid model? Energy 2022, 239, 122366. [Google Scholar] [CrossRef]
- Amjady, N. Short-Term Electricity Price Forecasting. In Electric Power Systems: Advanced Forecasting Techniques and Optimal Generation Scheduling; Zhao, Y., Xu, J., Wu, J., Eds.; CRC Press: Boca Raton, FL, USA, 2017. [Google Scholar]
- Sun, L.; Zhou, K.; Zhang, X.; Yang, S. Outlier Data Treatment Methods Toward Smart Grid Applications. IEEE Access 2018, 6, 39849–39859. [Google Scholar] [CrossRef]
- Agnello, L.; Castro, V.; Hammoudeh, S.; Sousa, R.M. Global factors, uncertainty, weather conditions and energy prices: On the drivers of the duration of commodity price cycle phases. Energy Econ. 2020, 90, 104862. [Google Scholar] [CrossRef]
- Maciejowska, K.; Nitka, W.; Weron, T. Enhancing load, wind and solar generation for day-ahead forecasting of electricity prices. Energy Econ. 2021, 99, 105273. [Google Scholar] [CrossRef]
- Janczura, J.; Trück, S.; Weron, R.; Wolff, R.C. Identifying spikes and seasonal components in electricity spot price data: A guide to robust modeling. Energy Econ. 2013, 38, 96–110. [Google Scholar] [CrossRef]
- Nowotarski, J.; Weron, R. Recent advances in electricity price forecasting: A review of probabilistic forecasting. Renew. Sustain. Energy Rev. 2018, 81, 1548–1568. [Google Scholar] [CrossRef]
- Lu, X.; Dong, Z.Y.; Li, X. Electricity market price spike forecast with data mining techniques. Electr. Power Syst. Res. 2005, 73, 19–29. [Google Scholar] [CrossRef]
- Christensen, T.M.; Hurn, A.S.; Lindsay, K.A. Forecasting spikes in electricity prices. Int. J. Forecast. 2012, 28, 400–411. [Google Scholar] [CrossRef]
- Zhang, R.; Li, G.; Ma, Z. A Deep Learning Based Hybrid Framework for Day-Ahead Electricity Price Forecasting. IEEE Access 2020, 8, 143423–143436. [Google Scholar] [CrossRef]
- Zhao, Y.; Xu, J.; Wu, J. A New Method for Bad Data Identification of Oilfield System Based on Enhanced Gravitational Search-Fuzzy C-Means Algorithm. IEEE Trans. Ind. Inform. 2019, 15, 5963–5970. [Google Scholar] [CrossRef]
- Bibi, N.; Shah, I.; Alsubie, A.; Ali, S.; Lone, S.A. Electricity Spot Prices Forecasting Based on Ensemble Learning. IEEE Access 2021, 9, 150984–150992. [Google Scholar] [CrossRef]
- Ahmad, T.; Chen, H. Nonlinear autoregressive and random forest approaches to forecasting electricity load for utility energy management systems. Sustain. Cities Soc. 2019, 45, 460–473. [Google Scholar] [CrossRef]
- Angamuthu Chinnathambi, R.; Mukherjee, A.; Campion, M.; Salehfar, H.; Hansen, T.; Lin, J.; Ranganathan, P. A Multi-Stage Price Forecasting Model for Day-Ahead Electricity Markets. Forecasting 2018, 1, 26–46. [Google Scholar] [CrossRef]
- Filho, J.C.R.; de, M. Affonso, C.; de Oliveira, R.C.L. Energy price prediction multi-step ahead using hybrid model in the Brazilian market. Electr. Power Syst. Res. 2014, 117, 115–122. [Google Scholar] [CrossRef]
- Gulay, E.; Duru, O. Hybrid modeling in the predictive analytics of energy systems and prices. Appl. Energy 2020, 268, 114985. [Google Scholar] [CrossRef]
- Amjady, N.; Keynia, F. Day ahead price forecasting of electricity markets by a mixed data model and hybrid forecast method. Int. J. Electr. Power Energy Syst. 2008, 30, 533–546. [Google Scholar] [CrossRef]
- Zhang, J.; Tan, Z.; Wei, Y. An adaptive hybrid model for short term electricity price forecasting. Appl. Energy 2020, 258, 114087. [Google Scholar] [CrossRef]
- Wan, C.; Xu, Z.; Wang, Y.; Dong, Z.Y.; Wong, K.P. A Hybrid Approach for Probabilistic Forecasting of Electricity Price. IEEE Trans. Smart Grid 2014, 5, 463–470. [Google Scholar] [CrossRef]
- Gomez, W.; Wang, F.-K.; Lo, S.-C. A hybrid approach based machine learning models in electricity markets. Energy 2024, 289, 129988. [Google Scholar] [CrossRef]
- Krishna, G.J.; Ravi, V. Evolutionary computing applied to customer relationship management: A survey. Eng. Appl. Artif. Intell. 2016, 56, 30–59. [Google Scholar] [CrossRef]
- Bates, J.M.; Granger, C.W.J. The Combination of Forecasts. J. Oper. Res. Soc. 1969, 20, 451–468. [Google Scholar] [CrossRef]
- Xiao, Y.; Xiao, J.; Wang, S. A hybrid model for time series forecasting. Hum. Syst. Manag. 2012, 31, 133–143. [Google Scholar] [CrossRef]
- Abbasimehr, H.; Behboodi, A.; Bahrini, A. A novel hybrid model to forecast seasonal and chaotic time series. Expert Syst. Appl. 2024, 239, 122461. [Google Scholar] [CrossRef]
- Luo, Z.; Guo, W.; Liu, Q.; Zhang, Z. A hybrid model for financial time-series forecasting based on mixed methodologies. Expert Syst. 2021, 38, e12633. [Google Scholar] [CrossRef]
- Yang, Y.; Fan, C.; Xiong, H. A novel general-purpose hybrid model for time series forecasting. Appl. Intell. 2022, 52, 2212–2223. [Google Scholar] [CrossRef] [PubMed]
- Khashei, M.; Bijari, M. An artificial neural network (p, d, q) model for timeseries forecasting. Expert Syst. Appl. 2010, 37, 479–489. [Google Scholar] [CrossRef]
- Energy Price Rise Since 2021. Available online: https://www.consilium.europa.eu/en/infographics/energy-prices-2021/ (accessed on 5 May 2024).
- Pórtoles, J.; González, C.; Moguerza, J. Electricity Price Forecasting with Dynamic Trees: A Benchmark Against the Random Forest Approach. Energies 2018, 11, 1588. [Google Scholar] [CrossRef]
- vom Scheidt, F.; Medinová, H.; Ludwig, N.; Richter, B.; Staudt, P.; Weinhardt, C. Data analytics in the electricity sector—A quantitative and qualitative literature review. Energy AI 2020, 1, 100009. [Google Scholar] [CrossRef]
- Tschora, L.; Pierre, E.; Plantevit, M.; Robardet, C. Electricity price forecasting on the day-ahead market using machine learning. Appl. Energy 2022, 313, 118752. [Google Scholar] [CrossRef]
- González, C.; Mira-McWilliams, J.; Juárez, I. Important variable assessment and electricity price forecasting based on regression tree models: Classification and regression trees, Bagging and Random Forests. IET Gener. Transm. Distrib. 2015, 9, 1120–1128. [Google Scholar] [CrossRef]
- Vivas, E.; Allende-Cid, H.; Salas, R. A systematic review of statistical and machine learning methods for electrical power forecasting with reported mape score. Entropy 2020, 22, 1412. [Google Scholar] [CrossRef]
- Chen, Z.; Yang, Y. Assessing forecast accuracy measures. Prepr. Ser. 2004, 1–26. [Google Scholar]
- Hyndman, R.J.; Koehler, A.B. Another look at measures of forecast accuracy. Int. J. Forecast. 2006, 22, 679–688. [Google Scholar] [CrossRef]
- Kim, S.; Kim, H. A new metric of absolute percentage error for intermittent demand forecasts. Int. J. Forecast. 2016, 32, 669–679. [Google Scholar] [CrossRef]
- St-Aubin, P.; Agard, B. Precision and Reliability of Forecasts Performance Metrics. Forecasting 2022, 4, 882–903. [Google Scholar] [CrossRef]
- Ashfaq, T.; Javaid, N. Short-Term Electricity Load and Price Forecasting using Enhanced KNN. In Proceedings of the 2019 International Conference on Frontiers of Information Technology (FIT), Islamabad, Pakistan, 16–18 December 2019; pp. 266–2665. [Google Scholar]
- Ali, M.; Khan, Z.A.; Mujeeb, S.; Abbas, S.; Javaid, N. Short-Term Electricity Price and Load Forecasting using Enhanced Support Vector Machine and K-Nearest Neighbor. In Proceedings of the 2019 Sixth HCT Information Technology Trends (ITT), Ras Al Khaimah, United Arab Emirates, 20–21 November 2019; pp. 79–83. [Google Scholar] [CrossRef]
- Yang, C.C.; Soh, C.S.; Yap, V.V. A systematic approach in appliance disaggregation using k-nearest neighbours and naive Bayes classifiers for energy efficiency. Energy Effic. 2018, 11, 239–259. [Google Scholar] [CrossRef]
- Aimal, S.; Javaid, N.; Islam, T.; Khan, W.Z.; Aalsalem, M.Y.; Sajjad, H. An Efficient CNN and KNN Data Analytics for Electricity Load Forecasting in the Smart Grid; Springer: Cham, Switzerland, 2019; pp. 592–603. [Google Scholar]
- Fata, E.; Kadota, I.; Schneider, I. Comparison of Classical and Nonlinear Models for Short-Term Electricity Price Prediction. arXiv 2018, arXiv:1805.05431. [Google Scholar]
- Time Series Forecasting Using Tree Based Methods. J. Stat. Appl. Probab. 2021, 10, 229–244. [CrossRef]
- Dudek, G. Short-Term Load Forecasting Using Random Forests; Springer: Berlin/Heidelberg, Germany, 2015; pp. 821–828. [Google Scholar]
- Dudek, G. A Comprehensive Study of Random Forest for Short-Term Load Forecasting. Energies 2022, 15, 7547. [Google Scholar] [CrossRef]
- Lahouar, A.; Ben Hadj Slama, J. Day-ahead load forecast using random forest and expert input selection. Energy Convers. Manag. 2015, 103, 1040–1051. [Google Scholar] [CrossRef]
- Mei, J.; He, D.; Harley, R.; Habetler, T.; Qu, G. A random forest method for real-time price forecasting in New York electricity market. In Proceedings of the 2014 IEEE PES General Meeting|Conference & Exposition, National Harbor, MD, USA, 27–31 July 2014; pp. 1–5. [Google Scholar]
- Romero, Á.; Dorronsoro, J.R.; Díaz, J. Day-Ahead Price Forecasting for the Spanish Electricity Market. Int. J. Interact. Multimed. Artif. Intell. 2019, 5, 42. [Google Scholar] [CrossRef]
- Sofianos, E.; Zaganidis, E.; Papadimitriou, T.; Gogas, P. Forecasting East and West Coast Gasoline Prices with Tree-Based Machine Learning Algorithms. Energies 2024, 17, 1296. [Google Scholar] [CrossRef]
- Catalão, J.P.S.; Mariano, S.J.P.S.; Mendes, V.M.F.; Ferreira, L.A.F.M. Short-term electricity prices forecasting in a competitive market: A neural network approach. Electr. Power Syst. Res. 2007, 77, 1297–1304. [Google Scholar] [CrossRef]
- Khamis, A.; Ismail, Z.; Haron, K.; Mohamm, A.T. The Effects of Outliers Data on Neural Network Performance. J. Appl. Sci. 2005, 5, 1394–1398. [Google Scholar] [CrossRef]
- Liano, K. Robust error measure for supervised neural network learning with outliers. IEEE Trans. Neural Netw. 1996, 7, 246–250. [Google Scholar] [CrossRef] [PubMed]
- Sandbhor, S.; Chaphalkar, N.B. Impact of Outlier Detection on Neural Networks Based Property Value Prediction; Springer: Singapore, 2019; pp. 481–495. [Google Scholar]
- Mestre, G.; Portela, J.; Muñoz San Roque, A.; Alonso, E. Forecasting hourly supply curves in the Italian Day-Ahead electricity market with a double-seasonal SARMAHX model. Int. J. Electr. Power Energy Syst. 2020, 121, 106083. [Google Scholar] [CrossRef]
- Borovkova, S.; Schmeck, M.D. Electricity price modeling with stochastic time change. Energy Econ. 2017, 63, 51–65. [Google Scholar] [CrossRef]
- Foorthuis, R. On the nature and types of anomalies: A review of deviations in data. Int. J. Data Sci. Anal. 2021, 12, 297–331. [Google Scholar] [CrossRef]
- Lapuerta, C.; Harris, D. Recomendations for the Dutch Electricity Market; The Brattle Group, Ltd.: London, UK, 2001. [Google Scholar]
- Bierbrauer, M.; Truck, S.; Weron, R. Modeling Electricity Prices with Regime Switching Models Electricity Spot Prices: Markets and Models; Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 2004; Volume 3039, pp. 859–867. [Google Scholar]
- Weron, R.; Bierbrauer, M.; Trück, S. Modeling electricity prices: Jump diffusion and regime switching. Phys. A Stat. Mech. Its Appl. 2004, 336, 39–48. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions, and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions, or products referred to in the content. |
Variable | Unit |
---|---|
Day of the week | 0:6 |
Hour | 0:23 |
Month | 1:12 |
Average price from a week ago | [PLN/MWh] |
Total load | [MW] |
Total production capacity of generating units in KSE (National Electricity System) | [MW] |
Total production capacity of JGWa | [MW] |
Total production capacity of JGMa | [MW] |
Total generation of active units (JG: JGWa, JGFWa, JGMa, and JGPVa) | [MWh] |
Total generation of JGWa | [MWh] |
Total generation of JGMa | [MWh] |
Total generation unit of non-providing actively services within Balancing Market | [MWh] |
Generation of Wind Resources | [MWh] |
Generation of Photovoltaic Resources | [MWh] |
Total charging power of JGMa | [MW] |
Synchronous power exchange | [MWh] |
Total cross-border exchange with nonsynchronous zone | [MWh] |
Reserves capacity (upward) | [MW] |
Reserves capacity (downward) | [MW] |
Activity level | 0:1 |
Market price (RCEt) (forecast value) | [PLN/MWh] |
Measure | All Data | Anomalous Periods | ||||||
---|---|---|---|---|---|---|---|---|
Model A | Model B | Adaptive Model (Model A + B) for Different Switches (Threshold) | Model B for Different Switches (Threshold) (Model A) | |||||
SMPP (T = 54) | SMP (T = 560) | SPC (T = 1.5) | SMPP (T = 54) | SMP (T = 560) | SPC (T = 1.5) | |||
ME [PLN/MWh] | 1.46 | −0.64 | 0.90 | 1.9 | 1.72 | 14.49 (21.58) | −19.42 (−43.31) | −7.84 (−10.47) |
MAE [PLN/MWh] | 54.97 | 60.30 | 55.00 | 54.04 | 54.58 | 93.22 (92.78) | 158.23 (208.71) | 61.89 (65.83) |
sMAPE [%] | 9.62 | 10.69 | 9.66 | 9.55 | 9.59 | 16.29 (15.61) | 16.47 (20.36) | 11.26 (11.55) |
MAAPE [%] | 9.60 | 10.66 | 9.66 | 9.53 | 9.57 | 15.58 (14.91) | 17.02 (21.36) | 11.36 (11.69) |
NMAE [%] | 9.68 | 10.64 | 9.68 | 9.51 | 9.61 | 13.78 (13.72) | 15.49 (20.44) | 11.41 (12.14) |
rMAE | 0.3699 | 0.4455 | 0.3701 | 0.3636 | 0.3673 | 0.2938 (0.2922) | 0.2986 (0.3938) | 0.3384 (0.3599) |
Days (as %) | 85 (7.76%) | 20 (1.83%) | 109 (9.95%) |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Pilot, K.; Ganczarek-Gamrot, A.; Kania, K. Dealing with Anomalies in Day-Ahead Market Prediction Using Machine Learning Hybrid Model. Energies 2024, 17, 4436. https://doi.org/10.3390/en17174436
Pilot K, Ganczarek-Gamrot A, Kania K. Dealing with Anomalies in Day-Ahead Market Prediction Using Machine Learning Hybrid Model. Energies. 2024; 17(17):4436. https://doi.org/10.3390/en17174436
Chicago/Turabian StylePilot, Karol, Alicja Ganczarek-Gamrot, and Krzysztof Kania. 2024. "Dealing with Anomalies in Day-Ahead Market Prediction Using Machine Learning Hybrid Model" Energies 17, no. 17: 4436. https://doi.org/10.3390/en17174436
APA StylePilot, K., Ganczarek-Gamrot, A., & Kania, K. (2024). Dealing with Anomalies in Day-Ahead Market Prediction Using Machine Learning Hybrid Model. Energies, 17(17), 4436. https://doi.org/10.3390/en17174436