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

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.

Authors

Institutions

Publication Details

Journal
Hydrology
Published
2026-06-24
DOI
https://doi.org/10.3390/hydrology13070166
Primary Topic
Hydrological Forecasting Using AI
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

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

Abdelkader Larabi, Mohamed Faouzi, Omar Chafik, Adil Zerouali et al.
Hydrology
Hydrological Forecasting Using AI
article

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

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

Abstract

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.

HydrologyVol. 13(7)
Mohammed V University (MA), Ecole Mohammadia d'Ingénieurs (MA), Agence du Bassin Hydraulique de Sebou (MA)
Center for Neuroscience and Regenerative Medicine
Climate action
Openalex Percentile: Top 11%
Hydrological Forecasting Using AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.