Artificial intelligence techniques in basin hydrological and material flow modelling: insights from dry and wet zone river basins in Sri Lanka
Loading...
Date
2025
Authors
Journal Title
Journal ISSN
Volume Title
Publisher
Department of Civil Engineering, University of Moratuwa
Abstract
Water resource management has become a serious global challenge due to climate change, urbanization, and climate-induced irregular rainfall patterns. Traditional hydrological models, which depend on physical laws and long-term records, often struggle in regions with limited or inconsistent data. These models also face difficulty in capturing the non-linear, complex behaviors of real-world hydrological systems. Sri Lanka, with its diverse climate and topography, is especially affected. The Kelani River Basin in the wet zone and the Malwathu Oya Basin in the dry zone face unique and different water-related problems, such as pollution, flooding, and drought. Artificial Intelligence (AI) provides a novel solution that can handle data gaps and complex relationships. This research aims to study how effective different AI techniques are in predicting streamflow, filling missing rainfall data, and modelling nutrient levels in Sri Lankan river basins. The main objective of this study is to assess the suitability of AI models for improving hydrological and material flow analysis in Sri Lankan river basins. Daily rainfall and streamflow data (1990–2019) and monthly water quality data were collected and cleaned using standard methods like single and double mass curves. Models used in this study, suggested by the literature, include Multiple Linear Regression (MLR), Random Forest (RF), XGBoost, Long Short-Term Memory (LSTM), and Time Series Transformer (TST), which was implemented using the Python programming language. Data were split into 80% for training and 20% for testing. For rainfall imputation, artificial gaps of 10% and 20% were created to test model accuracy. Nutrient modelling used monthly average rainfall, streamflow, and water quality parameters such as pH, turbidity, dissolved oxygen, and temperature. Model performance was evaluated using Nash–Sutcliffe Efficiency (NSE), Mean Absolute Error (MAE), Root Mean Square Error (RMSE), and Pearson correlation coefficient (r). For streamflow prediction, LSTM gave the best results in the Kelani Basin (test NSE = 0.71), while XGBoost overfitted the training data. In the Malwathu Oya Basin, simpler models like MLR and TST performed better, achieving test NSE above 0.80. The RF model proved to be the most reliable method for imputing missing rainfall data in both basins. While MLR showed slightly higher accuracy in some cases, RF gave more stable results across different deletion levels. However, here using complex models did not bring much improvement over simple statistical ones. Nutrient modelling was more challenging. RF showed promise for predicting chloride levels (test NSE = 0.40), but nitrate predictions were poor in all models (NSE < 0.15). And, identified a weak correlation with nutrient flow and hydrological inputs. In conclusion, AI techniques are highly useful for improving streamflow prediction and filling data gaps. However, predicting nutrient concentrations needs more input variables, such as land use and pollution data. Future research should explore hybrid models that combine AI with physical processes for more accurate and reliable water resource management.
