This paper presents a comparative study of seven forecasting models for daily water consumption at the Laye commune in Burkina Faso, using 1,265 days of IoT-collected data (July 2022 – January 2026). Two prediction horizons are evaluated: next-day (D+1) and seven-day ahead (D+7). Models compared include SARIMA, SARIMAX, Random Forest (RF), XGBoost, Long Short-Term Memory (LSTM), Gated Recurrent Unit (GRU), and a hybrid SARIMA+RF model (SARIMA residual correction by RF). The feature set combines weather variables from the Open-Meteo ERA5 reanalysis and historical forecast APIs with variables derived from the consumption series itself (past values at lags of 1 to 30 days, rolling means, medians, and standard deviations), temporal indicators (day of week, month, week of year), and local social context variables: market days (every 3 days), school holidays (June–September), Burkina Faso national public holidays, and holiday eves. Feature selection combines Spearman correlation, Mutual Information, and hierarchical clustering. Hyperparameter optimization is applied to all ML models via randomized search with time-series crossvalidation. Model interpretability is assessed using SHAP, and statistical equivalence between top models is tested using the Diebold-Mariano test (Harvey et al., 1997). Results show that SARIMA+RF achieves the lowest D+1 error (MAE=4,997 L, nRMSE=0.131) while SARIMA leads at D+7 (MAE=5,724 L, nRMSE=0.137). SARIMA, RF, and XGBoost are statistically equivalent (allρ > 0.18). Deep learning models underperform due to dataset size constraints. SHAP analysis reveals that the 7-day rolling median, 30-day trend, and short lags drive predictions at D+1, while the 14-day rolling standard deviation and weather forecasts (relative humidity, evapotranspiration) become the dominant features at D+7 with strong agreement between RF and XGBoost on these rankings.
Modeling and Forecasting Water Consumption Using IoT and Machine Learning: Case of Laye Commune in Burkina Faso
Research Article
DOI:
http://dx.doi.org/10.24327/ijrsr.20261710.0146
Subject:
Water
KeyWords:
Water consumption forecasting, IoT, SARIMA, Machine Learning, SHAP, Diebold-Mariano test. .
Abstract: