Decomposition and Holt-Winters Enhanced by the Whale Optimization Algorithm for Forecasting the Amount of Water Inflow into the Large Dam Reservoirs in Southern Thailand
DOI:
https://doi.org/10.59796/jcst.V14N2.2024.38Keywords:
dam reservoir, decomposition, forecasting, Holt-Winters, whale optimization algorithmAbstract
This study introduces hybrid forecasting models integrating the Whale Optimization Algorithm (WOA) with Holt-Winters (HW) and decomposition methods, applied in both additive and multiplicative models, for time series forecasting. Focusing on monthly water inflow into four dam reservoirs in Southern Thailand, the study compares these hybrid models against classical statistical models, Grid Search for Holt-Winters (Grid-HW) and Classical Decomposition (Classic-D). The analysis comprises two phases: the training dataset phase and the testing dataset phase. In the training phase, WOA demonstrates superior parameter optimization, enhancing both HW and decomposition methods, resulting in lower Mean Absolute Error (MAE) values compared to classical models. In the testing phase, performance metrics such as Root Mean Square Error (RMSE), MAE, and Symmetric Mean Absolute Percentage Error (sMAPE) are employed. The findings reveal that the Whale Optimization Algorithm with Holt-Winters (WOA-HW) and Decomposition (WOA-D) models surpass classical approaches in long-term forecasting accuracy for three dam reservoirs. Over 24 data points, the WOA with Multiplicative Holt-Winters (WOA-HWx) is optimal for Pran Buri dam, the WOA with Additive Decomposition (WOA-D+) for Bang Lang dam, and the WOA with Multiplicative Decomposition (WOA-Dx) for Kaeng Krachan dam. The Box-Jenkins approach, further refined through a Box-Cox transformation employing a natural logarithm, emerged as the superior forecasting model for Rajjaprabha dam. This model satisfied all critical statistical criteria, including normality of residuals (Anderson-Darling: 0.359, p-value: 0.433), homoscedasticity (Levene's test: 1.24, p-value: 0.274), independence (Ljung-Box test: 14.10, p-value: 0.169), and zero mean (t-test: -0.39, p-value: 0.702), establishing its robustness and reliability for forecast analysis.
References
Assis, M. V. O., Carvalho, L. F., Rodrigues, J. J. P. C., & Proença, M. L. (2013, June 9-13). Holt-Winters statistical forecasting and ACO metaheuristic for traffic characterization [Conference presentation]. Proceeding of 2013 IEEE International Conference on Communications (ICC) (pp. 2524-2528), Budapest, Hungary. https://doi.org/10.1109/ICC.2013.6654913
Bas, E., Egrioglu, E., & Yolcu, U. (2021). Bootstrapped holt method with autoregressive coefficients based on harmony search algorithm. Forecasting, 3(4), 839–849. https://doi.org/10.3390/forecast3040050
Cheng, C. T., Niu, W. J., Feng, Z. K., Shen, J. J., & Chau K. W. (2015). Daily reservoir runoff forecasting method using artificial neural network based on quantum-behaved particle swarm optimization. Water, 7(8), 4232-4246. https://doi.org/10.3390/w7084232
Das, S. R., Mishra, D., & Rout, M. (2019). Stock market prediction using Firefly algorithm with evolutionary framework optimized feature reduction for OSELM method. Expert Systems with Applications: X, 4, Article 100016. https://doi.org/10.1016/j.eswax.2019.100016
Dorigo, M. (1992). Optimization, learning and natural algorithms [Doctoral dissertation]. Politecnico di Milano, Italy.
Feng, Z. K., Niu, W. J., Tang, Z. Y., Jiang, Z. Q., Xu, Y., Liu, Y., & Zhang, H. R. (2020). Monthly runoff time series prediction by variational mode decomposition and support vector machine based on quantum-behaved particle swarm optimization. Journal of Hydrology, 583, Article 124627. https://doi.org/10.1016/j.jhydrol.2020.124627
Gandomi, A. H., & Alavi, A. H. (2012). Krill herd: a new bio-inspired optimization algorithm. Communications in Nonlinear Science and Numerical Simulation, 17(12), 4831-4845. https://doi.org/10.1016/j.cnsns.2012.05.010
Geem, Z. W., Kim J. H., & Loganathan G. V. (2001). A new heuristic optimization algorithm: harmony search. Simulation, 76(2), 60-68. https://doi.org/10.1177/003754970107600201
Google Colab. (2023). Overview of colaboratory features. Retrieved October 15, 2023, form https://colab.research.google.com/notebooks/intro.ipynb
Hadavandi, E., Ghanbari, A., & Abbasian-Naghneh, S. (2010, August 13-15). Developing a time series model based on particle swarm optimization for gold price forecasting [Conference presentation]. Third International Conference on Business Intelligence and Financial Engineering, Hong Kong, China. https://doi.org/10.1109/BIFE.2010.85
Heidari, A. A., Mirjalili, S., Faris, H, Aljarah, I., Mafarja. M., & Chen, H. (2019). Harris hawks optimization: Algorithm and applications. Future Generation Computer Systems, 97, 849-872. https://doi.org/10.1016/j.future.2019.02.028
Hyndman, R. J., & Koehler, A. B., (2006). Another look at measures of forecast accuracy. International Journal of Forecasting, 22(4), 679-688. https://doi.org/10.1016/j.ijforecast.2006.03.001
Jiang, W., Wu, X., Gong, Y., Yu, W., & Zhong, X. (2020). Holt–Winters smoothing enhanced by fruit fly optimization algorithm to forecast monthly electricity consumption. Energy, 193, Article 116779. https://doi.org/10.1016/j.energy.2019.116779
Kaewpaengjuntra, S., Somhom, S., & Saenchan, L. (2010). Electricity consumption forecasting model using hybrid Holt-Winters exponential smoothing and artificial bee colony algorithm. Information Technology Journal, 6(1), 12-17. (in Thai)
Karaboga, D. (2005). An idea based on honey bee swarm for numerical optimization. Technical ReportTR06 (pp. 1-10). Erciyes University, Engineering Faculty, Computer Engineering Department. https://abc.erciyes.edu.tr/pub/tr06_2005.pdf
Kennedy, J., & Eberhart, R. C. (1995). Particle swarm optimization [Conference presentation]. Proceedings of the IEEE international conference on neural networks, Piscataway, NJ, USA. https://ieeexplore.ieee.org/document/488968
Mauricio, C. C., & Ostia C. F., (2023, April 21-23). Cuckoo search algorithm optimization of holt-winter method for distribution transformer load forecasting [Conference presentation]. 9th International Conference on Control, Automation and Robotics (ICCAR) (pp. 36-42), Beijing, China. https://doi.org/10.1109/ICCAR57134.2023.10151700
Minsan, W., & Minsan, P., (2023). Incorporating decomposition and the Holt-Winters method into the whale optimization algorithm for forecasting monthly government revenue in Thailand. Science & Technology Asia, 28(4), 38-53.
Mirjalili, S. (2016). Dragonfly algorithm: a new meta-heuristic optimization technique for solving single-objective, discrete, and multi-objective problems. Neural Computing and Applications, 27, 1053-1073. https://doi.org/10.1007/s00521-015-1920-1
Mirjalili, S., & Lewis, A. (2016). The whale optimization algorithm. Advances in Engineering Software, 95, 51-67. https://doi.org/10.1016/j.advengsoft.2016.01.008
Mirjalili, S., Mirjalili, S. M., & Lewis, A. (2014). Grey wolf optimizer. Advances in Engineering Software, 69, 46–61. https://doi.org/10.1016/j.advengsoft.2013.12.007
Montgomery, D. C., Jennings, C. L., & Kulahchi, M. R. (2007). Introduction to time series analysis and forecasting. New Jersey, US: John Wiley & Sons.
Nadimi-Shahraki, M. H., Zamani, H., Asghari Varzaneh, Z., & Mirjalili, S. (2023). A systematic review of the whale optimization algorithm: theoretical foundation, improvements, and hybridizations. Archives of Computational Methods in Engineering, 30(7), 4113-4159. https://doi.org/10.1007/s11831-023-09928-7
Niu, W. J., Feng, Z. K., Cheng, C. T., & Zhou, J. Z. (2018). Forecasting daily runoff by extreme learning machine based on quantum-behaved particle swarm optimization. Journal of Hydrologic Engineering, 23(3), Article 04018002. https://doi.org/10.1061/(ASCE)HE.1943-5584.0001625
Pan, W. T. (2011, September 16-18). A new evolutionary computation approach: fruit fly optimization algorithm [Conference presentation]. 2011 Conference of Digital Technology and Innovation Management, Taipei, Taiwan.
Pan, W. T. (2012). A new fruit fly optimization algorithm: Taking the financial distress model as an example. Knowledge-Based Systems, 26, 69-74. https://doi.org/10.1016/j.knosys.2011.07.001
Royal Irrigation Department. (2024). Ministry of agriculture and cooperatives. Retrieved January 2, 2024, form https://app.rid.go.th/reservoir/rsvmiddle
Sun, J., Feng, B., & Xu, W., (2004, June 19-23). Particle swarm optimization with particles having quantum behavior [Conference presentation]. Proceedings of the 2004 Congress on Evolutionary Computation (IEEE Cat. No.04TH8753), vol. 1 (pp. 325-331), Portland, OR, USA. https://doi: 10.1109/CEC.2004.1330875
Sun, W., Peng, T., Luo, Y., Zhang, C., Hua, L., Ji, C., & Ma, H. (2022). Hybrid short-term runoff prediction model based on optimal variational mode decomposition, improved Harris hawks algorithm and long short-term memory network. Environmental Research Communications, 4(4), Article 045001. https://doi.org/10.1088/2515-7620/ac5feb
Yang, X. S. (2009, October 26-28). Firefly Algorithms for Multimodal Optimization [Conference presentation]. 5th International Symposium, SAGA 2009 Sapporo, Japan. https://doi:10.1007/978-3-642-04944-6_14
Yang, X. S. (2010). A new metaheuristic bat-inspired algorithm [Conference presentation]. Nature inspired cooperative strategies for optimization (NICSO 2010). Berlin, Heidelberg: Springer Berlin Heidelberg. https://doi.org/10.1007/978-3-642-12538-6_6
Yang, X. S. (2012, September 3-7). Flower pollination algorithm for global optimization [Conference presentation]. 11th International Conference, UCNC 2012, Orléans, France. https://doi.org/10.1007/978-3-642-32894-7_27
Yang, X. S., & Deb, S. (2009, December 9-11). Cuckoo search via Lévy flights [Conference presentation]. 2009 World Congress on Nature & Biologically Inspired Computing (NaBIC). Coimbatore, India. https://doi.org/10.1109/NABIC.2009.5393690
Zhang, J., Teng, Y. F., & Chen, W. (2019). Support vector regression with modified firefly algorithm for stock price forecasting. Applied Intelligence, 49, 1658-1674. https://doi.org/10.1007/s10489-018-1351-7
Downloads
Published
How to Cite
License
Copyright (c) 2024 Journal of Current Science and Technology
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.