DOI: 10.3390/hydrology13070166 ISSN: 2306-5338

Prediction of Groundwater-Level Fluctuations Under Climate Change Conditions in the Berrechid Plain (Morocco) Using a Hybrid Physical–Machine Learning Approach

Adil Zerouali, Mohamed Jalal El Hamidi, Abdelkader Larabi, Mohamed Faouzi, Omar Chafik

The issue of water resources in a semi-arid country such as Morocco has been present for many years and is becoming increasingly critical. The droughts experienced over recent decades have demonstrated the country’s extreme vulnerability to any water deficit. In this context, the Berrechid plain represents a relevant case study illustrating both the practical and theoretical challenges of groundwater governance. The aquifer is heavily exploited to satisfy agricultural, industrial, and domestic needs. This study develops a hybrid “grey-box” modeling approach for predicting groundwater depth (GWD) fluctuations under climate change (CC). Unlike conventional black-box machine learning models, our framework combines a deterministic physical engine with a stochastic machine learning corrector. The physical component simulates aquifer mass balance using the Hargreaves method for evapotranspiration, linear drainage, climate memory via exponential decay, and an anthropogenic trend parameter (xi). The machine learning component—XGBoost with quantile regression—is trained exclusively on physical model residuals and predicts the 5th, 50th, and 95th percentiles, providing explicit 90% confidence intervals. Hydrological states (dry, normal, wet) are identified via K-means clustering for context-aware correction. The model is calibrated using historical data (1972–2019) and validated using blocked time-series cross-validation. Climate projections under the RCP 4.5 and RCP 8.5 scenarios were used to forecast GWD up to 2100. At piezometer 3933/20, the best performance was achieved, with an RMSE of 0.347 m and a KGE of 0.742 during the validation period. The proposed approach is suitable for seasonal GWD forecasting and offers practical value for water managers and decision-makers in the Berrechid region.

More from our Archive