HEC-HMS and machine learning approaches for streamflow forecasting: a comparative study
Loading...
Date
2025
Authors
Journal Title
Journal ISSN
Volume Title
Publisher
Department of Civil Engineering, University of Moratuwa
Abstract
Accurate river discharge prediction is crucial for effective water resources management, flood forecasting, and disaster preparedness. While physically based hydrological models such as the Hydrologic Engineering Centre - Hydrologic Modelling System (HEC-HMS) are widely used because they explicitly represent catchment processes, they often require extensive datasets, involve complex parameterisation, and demand intensive calibration, which limits their applicability in data-scarce regions. In contrast, Machine Learning (ML) techniques provide a data-driven alternative capable of capturing complex, non-linear relationships of the rainfallrunoff process without explicit physical assumptions.
This research presents a comparative analysis of HEC-HMS and four ML algorithms (Artificial Neural Networks (ANNs), Long Short-Term Memory (LSTM) networks, Random Forest (RF), and XGBoost), for streamflow prediction in two contrasting Sri Lankan River basins: the floodprone Kelani River Basin in the wet zone and the irrigation-influenced Malwathu Oya Basin in the dry zone. Daily precipitation and discharge data (1990-2020 for Kelani; 2006-2018 for Malwathu Oya) were used for model calibration and validation. HEC-HMS was configured with the Soil Moisture Accounting, Clark Unit Hydrograph, and Muskingum routing methods, whereas ML models utilised rainfall and lagged discharge as input variables. Model performance was evaluated using multiple statistical indicators, including Nash–Sutcliffe Efficiency (NSE), Kling–Gupta Efficiency (KGE), Root Mean Square Error (RMSE), Percent Bias (PBIAS), and R². Results indicate that ML models consistently outperformed HEC-HMS in both basins. In the
Kelani basin, LSTM achieved the highest accuracy (NSE = 0.89, KGE = 0.90), effectively reproducing flood peaks, whereas HEC-HMS exhibited moderate performance (NSE = 0.81). In the Malwathu Oya basin, LSTM and XGBoost performed similarly well (NSE ≈ 0.80), successfully capturing irrigation-driven variation and low-flow conditions, while HEC-HMS showed weaker performance (NSE = 0.49, PBIAS = 15.82). The findings highlight the adaptability of ML methods, particularly LSTM, in capturing diverse hydrological regimes, while showing the value of process-based models like HEC-HMS in understanding physical mechanisms. The study recommends developing hybrid modeling frameworks that combine process-based strengths of HEC-HMS with the predictive power of ML to improve flood forecasting and water management in tropical, data-scarce regions.
Description
Citation
Manjitha, HHU., & Perera, DMCA. (2025). HEC-HMS and machine learning approaches for streamflow forecasting: a comparative study. In K. Baskaran, C. Mallikarachchi , H. Damruwan, L. Fernando, & S. Herath (Eds.), Proceedings of Civil Engineering Research Symposium 2025 (pp.15-16). Department of Civil Engineering, University of Moratuwa. https://doi.org/10.31705/CERS.2025.08
