Electricity Market Price Prediction Based on Quadratic Hybrid Decomposition and THPO Algorithm
Abstract
:1. Introduction
2. Improved Hunter-Prey Optimization Algorithm
2.1. Hunter-Prey Optimization Algorithm
2.2. Chaotic Dyadic Learning Initializes Populations
2.3. Non-Linear Equilibrium Parameters
2.4. Adaptive -Distribution
2.5. Algorithm Performance Comparison
2.5.1. The Specific Process of the THPO Algorithm
2.5.2. Testing Functions
2.5.3. Analysis of Test Results
3. Data Processing
3.1. Data Decomposition Method
3.1.1. Wavelet Packet Decomposition
3.1.2. Ensemble Empirical Modal Decomposition
- Step 1: The white noise sequence is added to the initial time series to create a new sequence .
- Step 2: The new sequence is decomposed into several intrinsic mode function (IMF) components and one residual (Res) component.
- Step 3: Perform iterations of steps (1) and (2) m times, incorporating a white noise sequence of equivalent amplitude for each iteration.
- Step 4: The decomposition outcomes of all iterations are combined by taking the average to eliminate the influence of white noise.
3.2. A Secondary Hybrid Decomposition Method Based on EEMD-WPD
4. Deep Extreme Learning Machine Model Building
4.1. Principle of Deep Extreme Learning Machine
4.2. EEMD-WPD-THPO-DELM Model
5. Example Analysis
5.1. Data Preparation
5.2. Error Evaluation Indicators
5.3. Analysis of the Results
5.3.1. Verification of Quadratic Hybrid Decomposition
- (1)
- The EEMD-THPO-DELM and EEMD-WPD-THPO-DELM models exhibit a reduction in MAE by 61.1% and 74.9%, respectively, a reduction in MAPE by 61.4% and 75.91%, respectively, and a reduction in RMSE by 62.2% and 76.6%, respectively, as compared to the THPO-DELM model that employs raw data for prediction. The decomposition method facilitates the smoothing of feature series, thereby enhancing the prediction efficacy of the model.
- (2)
- The EEMD-WPD-THPO-DELM model demonstrates the most effective prediction performance, with a significant improvement in the coefficient of determination R2 as compared to other methods. This indicates that EEMD and WPD can render the data series smoother, and the proposed quadratic hybrid decomposition method resolves the issue of irregular components in EEMD decomposition that leads to low prediction accuracy, thereby enabling a closer match with the true value curve.
5.3.2. THPO-DELM Validation
- (1)
- The proposed EEMD-WPD-THPO-DELM model in this paper has higher prediction accuracy and better results. Compared with other prediction models, RMSE, MAE, and MAPE are lower and the value of R2 is larger, which verifies the effectiveness of the proposed model.
- (2)
- The DELM model has a 28.21% lower RMSE, 13.48% lower MAPE, and 4.28% lower MAE compared to the LSSVM model, reflecting the fact that the DELM model has better learning ability than the LSSVM model.
- (3)
- WOA-DELM and THPO-DELM represent enhancements of the DELM model, which can significantly improve the prediction accuracy by optimizing the DELM input weights through intelligent algorithms. The prediction accuracy of THPO-DELM is more significantly improved as compared to WOA-DELM, owing to the THPO algorithm’s good optimization-seeking performance. In comparison to DELM, THPO-DELM exhibits a reduction in RMSE, MAPE, and MAE by 33.47%, 39.87%, and 37.76%, respectively, and an improvement in the coefficient of determination R2 by 1.85%, which closely approximates the true curve.
6. Conclusions
- (1)
- The THPO algorithm, with the introduction of variational operators with adaptive t-distribution, exhibits superior performance and stability as compared to the conventional HPO algorithm and converges rapidly.
- (2)
- The proposed EEMD-WPD quadratic hybrid decomposition method decomposes the random and highly periodic electricity price series into a relatively smooth series, thereby significantly improving the accuracy of electricity price prediction.
- (3)
- The THPO-DELM method addresses the influence of random input weights of the DELM model and utilizes the THPO algorithm for optimization, resulting in a significant improvement in forecasting accuracy as compared to the DELM forecasting model.
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Liu, X.; Shen, J.; Li, Y. A Generalized Auto-Regressive Conditional Heteroskedasticity Model for System Marginal Price Forecasting Based on Weighted Double Gaussian Distribution. Power Syst. Technol. 2010, 34, 139–144. [Google Scholar]
- Zhang, J.; Wei, Y.-M.; Li, D.; Tan, Z.; Zhou, J. Short term electricity load forecasting using a hybrid model. Energy 2018, 158, 774–781. [Google Scholar] [CrossRef]
- Zhou, M.; Nie, Y.; Li, G.; Ni, Y. Wavelet analysis based arima hourly electricity prices forecasting approach. Power Syst. Technol. 2005, 29, 50–55. [Google Scholar]
- Liu, Y.; Jiang, C. Considering cyclical nature and change rate of load on short-term electricity price forecasting. Electr. Mach. Control 2010, 14, 21–26. [Google Scholar]
- Yildiz, C.; Acikgoz, H.; Korkmaz, D.; Budak, U. An improved residual-based convolutional neural network for very short-term wind power forecasting. Energy Convers. Manag. 2021, 228, 113731. [Google Scholar] [CrossRef]
- Zhang, S.; Zhang, N.; Zhang, Z.; Chen, Y. Electric Power Load Forecasting Method Based on a Support Vector Machine Optimized by the Improved Seagull Optimization Algorithm. Energies 2022, 15, 9197. [Google Scholar] [CrossRef]
- Yin, H.; Zeng, Y.; Meng, A.; Liu, Z. Short-term electricity price forecasting based on singular spectrum analysis. Power Syst. Prot. Control 2019, 47, 115–122. [Google Scholar]
- Dong, J.; Dou, X.; Bao, A.; Zhang, Y.; Liu, D. Day-Ahead Spot Market Price Forecast Based on a Hybrid Extreme Learning Machine Technique: A Case Study in China. Sustainability 2022, 14, 7767. [Google Scholar] [CrossRef]
- Ji, X.; Zeng, R.; Zhang, Y.; Song, F.; Sun, P.; Zhao, G. CNN-LSTM short-term electricity price prediction based on an attention mechanism. Power Syst. Prot. Control 2022, 50, 125–132. [Google Scholar]
- Zhang, J.; Tan, Z.; Wei, Y. An adaptive hybrid model for short term electricity price forecasting. Appl. Energy 2020, 258, 114087. [Google Scholar] [CrossRef]
- Meng, A.; Wang, P.; Zhai, G.; Zeng, C.; Chen, S.; Yang, X.; Yin, H. Electricity price forecasting with high penetration of renewable energy using attention-based LSTM network trained by crisscross optimization. Energy 2022, 254, 124212. [Google Scholar] [CrossRef]
- Zhang, T.; Tang, Z.; Wu, J.; Du, X.; Chen, K. Short term electricity price forecasting using a new hybrid model based on two-layer decomposition technique and ensemble learning. Electr. Power Syst. Res. 2022, 205, 107762. [Google Scholar] [CrossRef]
- Zhang, Y.; Tao, P.; Wu, X.; Yang, C.; Han, G.; Zhou, H.; Hu, Y. Hourly Electricity Price Prediction for Electricity Market with High Proportion of Wind and Solar Power. Energies 2022, 15, 1345. [Google Scholar] [CrossRef]
- Lu, Y.; Wang, G. A load forecasting model based on support vector regression with whale optimization algorithm. Multimed. Tools Appl. 2022, 82, 9939–9959. [Google Scholar] [CrossRef]
- Guo, Z.; Wang, P.; Ma, Y.; Wang, Q.; Gong, C. Whaleoptimization Algorithm Based on Adaptive Weight and Cauchy Mutation. Microelectron. Comput. 2017, 34, 20–25. [Google Scholar]
- Naruei, I.; Keynia, F.; Molahosseini, A.S. Hunter-prey optimization: Algorithm and applications. Soft Comput. 2022, 26, 1279–1314. [Google Scholar] [CrossRef]
- Duan, Y.; Liu, C. Sparrow search algorithm based on Sobol sequence and crisscross strategy. J. Comput. Appl. 2022, 42, 36–43. [Google Scholar]
- Arena, P.; Fazzino, S.; Fortuna, L.; Maniscalco, P. Game theory and non-linear dynamics: The Parrondo Paradox case study. Chaos Solitons Fractals 2003, 17, 545–555. [Google Scholar] [CrossRef]
- Zhang, M.; Long, D.; Qin, T.; Yang, J. A Chaotic Hybrid Butterfly Optimization Algorithm with Particle Swarm Optimization for High-Dimensional Optimization Problems. Symmetry 2020, 12, 1800. [Google Scholar] [CrossRef]
- Arora, S.; Anand, P. Chaotic grasshopper optimization algorithm for global optimization. Neural Comput. Appl. 2019, 31, 4385–4405. [Google Scholar] [CrossRef]
- Ning, J.; He, Q. Flower Pollination Algorithm Based on t-distribution Perturbation Strategy and Mutation Strategy. J. Chin. Comput. Syst. 2021, 42, 64–70. [Google Scholar]
- Han, F.; Liu, S. Adaptivesatin Bower Birdoptimization Algorithm Based on Tdistribution Mutation. Microelectron. Comput. 2018, 35, 117–121. [Google Scholar]
- Meng, A.; Lu, H.; Hu, H.; Guo, Z. Hybridwavelet packet-cso-enn approach for short-term wind power forecasting. Acta Energ. Sol. Sin. 2015, 36, 1645–1651. [Google Scholar]
- Zeng, L.; Lei, S.; Wang, S.; Chang, Y. Ultra-short-term Wind Power Prediction Based on OVMD-SSA-DELM-GM Model. Power Syst. Technol. 2021, 45, 4701–4710. [Google Scholar]
Test Functions | Function Name | Search Range | Dimension | Optimal Value |
---|---|---|---|---|
F1 | Sphere Model | [−100, 100] | 30 | 0 |
F2 | Schwefel 2.22 | [−10, 10] | 30 | 0 |
F3 | Schwefel 1.2 | [−100, 100] | 30 | 0 |
F4 | Schwefel 2.21 | [−100, 100] | 30 | 0 |
F5 | Quartic | [−1.28, 1.28] | 30 | 0 |
F6 | Rastrigin | [−5.12, 5.12] | 30 | 0 |
F7 | Ackley | [−32, 32] | 30 | 0 |
F8 | Griewank | [−600, 600] | 30 | 0 |
F9 | Penalized | [−50, 50] | 30 | 0 |
F10 | Kowalikl | [−5, 5] | 4 | 0.00030 |
Function | Algorithm | Optimum Value | Mean | Standard Deviation |
---|---|---|---|---|
F1 | PSO | 5.293 × 102 | 2.407 × 103 | 1.146 × 103 |
GA | 2.0534 × 104 | 3.098 × 104 | 4.647 × 103 | |
WOA | 4.325 × 10−133 | 1.337 × 10−121 | 6.943 × 10−121 | |
HPO | 2.536 × 10−189 | 8.583 × 10−170 | 0 | |
THPO | 0 | 0 | 0 | |
F2 | PSO | 1.475 × 10 | 3.169 × 10 | 1.058 × 10 |
GA | 4.607 × 10 | 5.67 × 10 | 0.443 × 10 | |
WOA | 5.224 × 10−75 | 7.795 × 10−69 | 4.020 × 10−68 | |
HPO | 1.526 × 10−98 | 1.314 × 10−91 | 6.243 × 10−91 | |
THPO | 0 | 0 | 0 | |
F3 | PSO | 1.790 × 103 | 6.369 × 103 | 2.222 × 103 |
GA | 2.677 × 104 | 4.417 × 104 | 6.781 × 103 | |
WOA | 0.379 × 103 | 1.359 × 104 | 8.621 × 103 | |
HPO | 3.790 × 10−162 | 8.269 × 10−147 | 4.382 × 10−146 | |
THPO | 0 | 0 | 0 | |
F4 | PSO | 1.327 × 10 | 2.405 × 10 | 0.465 × 10 |
GA | 5.614 × 10 | 6.848 × 10 | 0.349 × 10 | |
WOA | 5.834 × 10−7 | 0.432 × 10 | 0.889 × 10 | |
HPO | 7.844 × 10−84 | 1.836 × 10−76 | 9.555 × 10−76 | |
THPO | 0 | 0 | 0 | |
F5 | PSO | 0.418 | 2.081 | 1.459 |
GA | 9.394 | 22.184 | 5.769 | |
WOA | 1.593 × 10−5 | 1.371 × 10−3 | 1.571 × 10−3 | |
HPO | 1.621 × 10−5 | 2.829 × 10−4 | 3.097 × 10−4 | |
THPO | 9.674 × 10−7 | 6.687 × 10−5 | 8.043 × 10−5 | |
F6 | PSO | 1.006 × 102 | 1.313 × 102 | 0.221 × 102 |
GA | 2.421 × 102 | 2.922 × 102 | 0.179 × 102 | |
WOA | 0 | 2.274 × 10−15 | 1.608 × 10−14 | |
HPO | 0 | 0 | 0 | |
THPO | 0 | 0 | 0 | |
F7 | PSO | 7.831 | 11.818 | 1.621 |
GA | 18.868 | 19.448 | 0.244 | |
WOA | 8.882 × 10−16 | 4.441 × 10−15 | 2.381 × 10−15 | |
HPO | 8.882 × 10−16 | 8.882 × 10−16 | 0 | |
THPO | 8.882 × 10−16 | 8.882 × 10−16 | 0 | |
F8 | PSO | 1.906 × 10 | 5.149 × 10 | 1.753 × 10 |
GA | 2.014 × 102 | 2.871 × 102 | 0.362 × 102 | |
WOA | 0 | 1.448 × 10−2 | 1.023 × 10−1 | |
HPO | 0 | 0 | 0 | |
THPO | 0 | 0 | 0 | |
F9 | PSO | 0.807 × 10 | 0.376 × 103 | 2.274 × 103 |
GA | 1.588 × 107 | 5.708 × 107 | 2.164 × 107 | |
WOA | 4.760 × 103 | 1.219 × 102 | 5.205 × 103 | |
HPO | 2.426 × 10−11 | 2.628 × 104 | 1.295 × 103 | |
THPO | 2.989 × 10−11 | 6.421 × 10−8 | 2.530 × 10−7 | |
F10 | PSO | 3.909 × 10−4 | 4.637 × 10−3 | 7.074 × 10−3 |
GA | 6.982 × 10−4 | 1.195 × 10−3 | 4.862 × 10−4 | |
WOA | 3.119 × 10−4 | 7.413 × 10−4 | 9.458 × 10−4 | |
HPO | 3.075 × 10−4 | 4.468 × 10−3 | 8.037 × 10−3 | |
THPO | 3.075 × 10−4 | 3.269 × 10−4 | 1.294 × 10−4 |
Evaluation Indicators | RMSE | MAE | MAPE | R2 |
---|---|---|---|---|
THPO-DELM | 2.716 | 1.66 | 8.01% | 79.78% |
EEMD-THPO-DELM | 1.026 | 0.65 | 3.09% | 97.12% |
EEMD-WPD-THPO-DELM | 0.638 | 0.41 | 1.93% | 98.89% |
Evaluation Indicators | RMSE | MAE | MAPE | R2 |
---|---|---|---|---|
LSSVM | 1.336 | 0.70 | 3.71% | 95.11% |
DELM | 0.959 | 0.67 | 3.21% | 97.10% |
WOA-DELM | 0.875 | 0.61 | 2.84% | 97.89% |
THPO-DELM | 0.638 | 0.41 | 1.93% | 98.89% |
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. |
© 2023 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
Yan, L.; Yan, Z.; Li, Z.; Ma, N.; Li, R.; Qin, J. Electricity Market Price Prediction Based on Quadratic Hybrid Decomposition and THPO Algorithm. Energies 2023, 16, 5098. https://doi.org/10.3390/en16135098
Yan L, Yan Z, Li Z, Ma N, Li R, Qin J. Electricity Market Price Prediction Based on Quadratic Hybrid Decomposition and THPO Algorithm. Energies. 2023; 16(13):5098. https://doi.org/10.3390/en16135098
Chicago/Turabian StyleYan, Laiqing, Zutai Yan, Zhenwen Li, Ning Ma, Ran Li, and Jian Qin. 2023. "Electricity Market Price Prediction Based on Quadratic Hybrid Decomposition and THPO Algorithm" Energies 16, no. 13: 5098. https://doi.org/10.3390/en16135098
APA StyleYan, L., Yan, Z., Li, Z., Ma, N., Li, R., & Qin, J. (2023). Electricity Market Price Prediction Based on Quadratic Hybrid Decomposition and THPO Algorithm. Energies, 16(13), 5098. https://doi.org/10.3390/en16135098