Submitted:
18 September 2023
Posted:
19 September 2023
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Related works
2.1. Prophet model
2.2. GRU model
2.2.1. Update gate
2.2.2. Reset gate
2.2.3. Hidden state
3. Basic prophet model’s problem and solution
3.1. Basic prophet model’s problem
3.2. Prophet model’s solution
4. Proposed methods
4.1. Data collection
4.2. Data pre-processing
4.3. Data partition for training and test data
4.4. Proposed prophet model
4.5. Proposed GRU model
5. Test environment and simulation results
5.1. Test environment and software
5.2. Evaluation metrics
5.3. Simulation results
6. Conclusion
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- International Renewable Energy Agency. Renewable Capacity Statistics; International Renewable Energy Agency: Masdar City, United Arab Emirates, 2020. [Google Scholar]
- Rethink energy site. Available online: https://www.letsrethinkenergy.com/ (accessed on 1 August 2023).
- Grazioli, G.; Chlela, G.; Selosse, S.; Maïzi, N. The Multi-Facets of Increasing the Renewable Energy Integration in Power Systems. Energies 2022, 15, 6795. [Google Scholar] [CrossRef]
- Xue, B.; Keng, J. Dynamic transverse correction method of middle and long term energy forecasting based on statistic of forecasting errors. In Proceedings of the Conference on Power and Energy IPEC, Ho Chi Minh City, Vietnam; 2012; pp. 253–256. [Google Scholar]
- Enea, M. A review of machine learning algorithms used for load forecasting at micro-grid level. In Sinteza 2019-International Scientific Conference on Information Technology and Data Related Research; Singidunum University: Belgrade, Serbia, 2019; pp. 452–458. [Google Scholar]
- Brown, R.G. Smoothing Forecasting and Prediction of Discrete Time Series; Prentice-Hall: Englewood Cliffs, NJ, USA, 1963. [Google Scholar]
- Ohtsuka, Y.; Oga, T.; Kakamu, K. Forecasting electricity demand in Japan: A Bayesian spatial autoregressive ARMA approach. Comp. Stat. Data Anal. 2010, 54, 2721–2735. [Google Scholar] [CrossRef]
- Holt, C.E. Forecasting Seasonal and Trends by Exponentially Weighted Average; Carnegie Institute of Technology: Pittsburgh, PA, USA, 1957. [Google Scholar]
- Kalogirou, S.A.; Neocleous, C.C.; Schizas, C.C. Building heating load estimation using artificial neural networks. In Proceedings of the 17th International Conference on Parallel Architectures and Compilation Techniques, San Francisco, CA, USA, 10–14 November 1997. [Google Scholar]
- Bagnasco, A.; Fresi, F.; Saviozzi, M.; Silvestro, F.; Vinci, A. Electrical consumption forecasting in hospital facilities: An application case. Energy Build 2015, 103, 261–270. [Google Scholar] [CrossRef]
- Gers, F.; Schmidhuber, J.; Cummins, F. Learning to Forget: Continual Prediction with LSTM. In Proceedings of the 9th International Conference on Artificial Neural Networks, Edinburgh, UK; 1999; pp. 850–855. [Google Scholar]
- Valenzuela, P.; Gorricho, J.; de la Iglesia. Automatic model and feature selection for time series forecasting: Achieving good performance and interpretability. Information Sciences 2018, 423, 157–174. [Google Scholar]
- Sanguansat, P.; Klomjit, N. A comparative study of machine learning techniques for short-term load forecasting. Energies 2019, 12. [Google Scholar]
- Fung, G.; Shih, E. Evaluating the Forecasting Performance of Facebook's Prophet Model for Time Series Data. Journal of Open Source Software 2019, 4. [Google Scholar]
- Tasarruf, B.; Chen, H. Short-term electricity load forecasting using hybrid prophet-LSTM model optimized by BPNN. Energy Reports 2022, 8, 1678–1686. [Google Scholar]
- Serdar, A. A hybrid forecasting model using LSTM and Prophet for energy consumption with decomposition of time series data. PeerJ Computer Science 2022, 8. [Google Scholar]
- Pin, L.; Zhang, J.S. A New Hybrid Method for China’s Energy Supply Security Forecasting Based on ARIMA and XGBoost. Energies 2018, 11. [Google Scholar]
- Yuanhua, C.; Muhammad, S.B.; Muhammad, A.; Dingtian, X. Evaluation of Machine Learning Models for Smart Grid Parameters: Performance Analysis of ARIMA and Bi-LSTM. Sustainability 2023, 15. [Google Scholar]
- Zhang, G.P. Time Series Forecasting using a Hybrid ARIMA and neural network model. Neurocomputing 2003, 50, 159–175. [Google Scholar] [CrossRef]
- Agbessi, A.P.; Salami, A.A.; Agbosse, K.S.; Birregah, B. Peak Electrical Energy Consumption Prediction by ARIMA, LSTM, GRU, ARIMA-LSTM and ARIMA-GRU Approaches. Energies 2023, 16, 4739. [Google Scholar]
- Taylor, S.J.; Letham, B. Prophet: Forecasting at scale. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining; 2017; pp. 1389–1397. [Google Scholar]
- Cho, K.; Merriënboer, B.V.; Bahdanau, D.; Bengio, Y. On the properties of neural machine translation: Encoder-decoder approaches. Eighth Workshop on Syntax, Semantics and Structure in Statistical Translation, 2014.
- RobustScaler documentation in scikit-learn. Available online: https://www.itl.nist.gov/div898/software/dataplot/refman2/auxillar/iqrange.htm (accessed on 26 August 2023).
- Sethna, James P. Chapter 10: Correlations, response, and dissipation. In Statistical Mechanics: Entropy, Order Parameters, and Complexity; Oxford University Press, 2006; ISBN 978-0198566779. [Google Scholar]
- Son, N. Comparison of the Deep Learning Performance for Short-Term Power Load Forecasting. Sustainability 2021, 13, 12493. [Google Scholar] [CrossRef]
- Scikit-learn.org. Machine learning in Python. Available online: https://scikit-learn.org/ (accessed on 26 August 2023).
- Pandas.org. Data structure for statistical computing in Python. Available online: https://pandas.pydata.org/ (accessed on 26 August 2023).
- Numpy.org. Array programming with NumPy. Available online: https://numpy.org/ (accessed on 26 August 2023).
- Plotly.org. Interactive web-based data visualization with R, plot, and shiny. Available online: https://plotly.org/ (accessed on 26 August 2023).
- Fbprophet.org. Forecasting at scale. Available online: https://facebook.github.io/prophet/ (accessed on 26 August 2023).
- Tensorflow.org. Deep Learning Library Developed by Google. Available online: https://www.tensorflow.org/ (accessed on 26 August 2023).
- Keras.io. The Python Deep Learning Library. Available online: https://keras.io/ (accessed on 26 August 2023).
- MAPE. Available online: https://en.wikipedia.org/wiki/Mean_absolute_percentage_error (accessed on 26 August 2023).
- SMAPE. Available online: https://en.wikipedia.org/wiki/Symmetric_mean_absolute_percentage_error (accessed on 26 August 2023).














| Parameter Nature | Parameter Name | Value |
|---|---|---|
| Trend Parameters | growth | linear |
| changepoints | None | |
| n_changepoints | 25 | |
| changepoint_range | 0.8 | |
| changepoint_prior_scale | 0.01 | |
| Seasonality parameters | yearly_seasonality | 10 |
| weekly_seasonality | False | |
| daily_seasonality | False | |
| seasonality_mode | multiplicative | |
| seasonality_prior_scale | 10 | |
| Holidays parameters |
holidays Holidays_prior_scale |
df 0.25 |
| Flow parameters | flow | flow |
| flow_prior_scale | 10 | |
| Other parameters | mcmc_samples | 0 |
| interval_width | 0.8 |
| Term | Metrics | Prophet | GRU | Proposed | |
|---|---|---|---|---|---|
| Short- term |
2 days (July 1~2) |
CC | 0.88 | 0.97 | 0.97 |
| MAPE (%) | 316.56 | 25.09 | 24.57 | ||
| SMAPE (%) | 97.58 | 20.53 | 19.72 | ||
| 7 days (Aug. 1~7) |
CC | 0.51 | 0.97 | 0.98 | |
| MAPE (%) | 526.62 | 48.07 | 27.32 | ||
| SMAPE (%) | 123.01 | 59.07 | 30.09 | ||
| Medium- term |
15 days ( Sep. 1~15) |
CC | 0.70 | 0.98 | 0.98 |
| MAPE (%) | 579.80 | 42.55 | 24.61 | ||
| SMAPE (%) | 125.98 | 50.76 | 22.58 | ||
| 30 days (Oct. 1~30) |
CC | 0.67 | 0.97 | 0.98 | |
| MAPE (%) | 348.06 | 37.66 | 34.37 | ||
| SMAPE (%) | 103.92 | 42.48 | 33.28 | ||
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 (http://creativecommons.org/licenses/by/4.0/).