Forecasting Rainfall in the Ping, Wang, Yom, and Nan River Basins of Thailand using Decomposition and Holt-Winters Methods Enhanced by GRG Nonlinear Optimization
Main Article Content
Abstract
The Ping, Wang, Yom, and Nan rivers in Northern Thailand are vital for national sustainability, serving as key sources of energy and public utilities. This study utilizes secondary data from monitoring stations operated by the Upper Northern Region Irrigation Hydrology Center under the Royal Irrigation Department (RID), Thailand. The primary objective is to develop optimal parameter estimation methods for rainfall forecasting in the upper Ping, Wang, Yom, and Nan river basins. Time series forecasting techniques examined include decomposition with the Whale Optimization Algorithm (WOA-D), Holt-Winters smoothing enhanced by WOA (WOA-HW), and Generalized Reduced Gradient (GRG) nonlinear optimization methods (GRG-D and GRG-HW). These are compared with traditional decomposition and Holt-Winters models developed using Minitab (Minitab-D) and Excel (ForecastSheet-HW). The secondary objective is to forecast rainfall over a 24-month horizon to support trend analysis and improve water resource management. Seasonal ARIMA (SARIMA) is also employed for comparative analysis. Results show that traditional tools like Minitab-D and ForecastSheet-HW are accessible and effective in minimizing forecasting errors. Metaheuristic models such as WOA offer improved accuracy but require programming expertise. GRG solvers provide a practical balance, offering near-comparable accuracy without the need for coding. GRG-D and GRG-HW produced forecasts closely matching actual rainfall across all basins. GRG-HW and WOA-HW achieved the lowest sMAPE values for the Yom and Nan Rivers, GRG-D outperformed Minitab-D for the Wang River, and ForecastSheet-HW remained most effective for the Ping River.
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
References
Limsakul, A.; Singhruck, P. Long-term trends and variability of total and extreme precipitation in Thailand. Atmospheric Research 2016, 169, 301–317. https://doi.org/10.1016/j.atmosres.2015.10.015
Mishra, A. K.; Desai, V. R. Drought forecasting using stochastic models. Stoch Environ Res Risk Assess 2005, 19, 326–339. https://doi.org/10.1007/s00477-005-0238-4
Wang, W. C.; Chau, K. W.; Xu, D. M.; Chen, X. Y. Improving forecasting accuracy of annual runoff time series using ARIMA based on EEMD decomposition. Water Resour Manage 2015, 29(8), 2655–2675. https://doi.org/10.1007/s11269-015-0962-6
Saeying, J.; Minsan, W.; Taninpong, P. Forecasting model for the amount of water flowing into the reservoirs of the electricity generating authority of Thailand (EGAT). Recent Science and Technology 2023, 15(2), 494–510. (In Thai)
Jiang, W.; Wu, X.; Gong, Y.; Yu, W.; Zhong, X. Holt–Winters smoothing enhanced by fruit fly optimization algorithm to forecast monthly electricity consumption. Energy 2020, 193, 116779. https://doi.org/10.1016/j.energy.2019.116779
Minsan, W.; Minsan, P. 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. Journal of Current Science and Technology 2024, 14(2), article 38.
Minsan, P.; Minsan, W. Monthly volumes of water inflow into the large dam reservoirs in eastern Thailand forecasting by the cuckoo search optimization enhanced decomposition and Holt-Winters techniques. Thai Journal of Operations Research 2024a, 12(2), 69–89. (In Thai)
Minsan, P.; Minsan, W. Decomposition and Holt-Winters techniques enhanced by whale optimization algorithm: Case study of pm2.5 forecasting in 8 northern provinces of Thailand. Thai Science and Technology Journal 2024b, 32(6), 12–34. (In Thai)
Minsan, W.; Minsan, P. Incorporating decomposition and the Holt-Winters method into the whale optimization algorithm for forecasting monthly government revenue in Thailand. Science & Technology Asia 2023, 28(4), 38–53.
Minsan, W.; Minsan, P.; Panichkitkosolkul, W. Enhancing decomposition and Holt-Winters weekly forecasting of pm2.5 concentrations in Thailand’s eight northern provinces using the cuckoo search algorithm. Thailand Statistician 2024, 22(4), 963–985.
The upper northern region irrigation hydrology center, the Royal Irrigation Department (RID), Thailand. https://www.hydro-1.net/ (accessed 2025-01-16).
Mirjalili, S.; Lewis, A. The whale optimization algorithm. Advances in Engineering Software 2016, 95, 51–67. https://doi.org/10.1016/j.advengsoft.2016.01.008
Minsan, P. Comparing methods of optimization in solver of Microsoft excel 2007 and 2019: A case study of statistical models. The Journal of King Mongkut’s University of Technology North Bangkok 2021, 31(3), 496–511. https://doi.org/10.14416/j.kmutnb.2021.05.013
Minsan, W.; Minsan, P. GRG-HW and GRG-D optimization models for rainfall forecasting in the Yom river basin. Figshare 2025. https://doi.org/10.6084/m9.figshare.28953389
Flores, B. E. A pragmatic view of accuracy measurement in forecasting. Omega 1986, 14(2), 93–98.
Jackson, E. K.; Roberts, W.; Nelsen, B.; Williams, G. P.; Nelson, E. J.; Ames, D. P. Introductory overview: Error metrics for hydrologic modelling – A review of common practices and an open source library to facilitate use and adoption. Environmental Modelling & Software 2019, 119, 32–48. https://doi.org/10.1016/j.envsoft.2019.05.001.