An intelligent and explainable IoT-Edge-Cloud architecture for real-time water quality monitoring

Sara Bouziane, Badraddine Aghoutane, Aniss Moumen, Anas El Ouali, Ali Essahlaoui, Abdellah El Hmaidi

Abstract


Continuous and reliable monitoring of water quality is critical for early detection of environmental deterioration, yet conventional monitoring approaches are often slow and lack timely data availability. This study proposes an intelligent and explainable internet of things (IoT)–Edge–Cloud architecture to monitor water quality in real time, using IoT sensing, edge based artificial intelligence (Edge AI), cloud-stream processing, and explainable artificial intelligence (XAI). The system calculates the water quality index (WQI) directly at the edge and predicts its evolution using a stacking ensemble model trained on physicochemical measurements taken from the Moulouya River Basin in Morocco. An explainability module based on Shapley additive explanations (SHAP) values gives a clearer image of the contribution of various parameters to WQI predictions, providing transparency of the features, which builds trust in the model’s output. The proposed architecture was implemented as an end-to-end prototype and validated using a simulation-based experimental that mimicked realistic sensor dynamics and connectivity interruptions. The experimental results show strong predictive performance (R² =0.945), stable system operations, and reliable interpretability highlighting the potential of the proposed approach for scalable, intelligent, and transparent environmental monitoring.

Keywords


Edge artificial intelligence; Ensemble learning; Environmental decision support; Explainable artificial intelligence; Internet of things; Real-time monitoring; Water quality index

Full Text:

PDF


DOI: http://doi.org/10.11591/ijai.v15.i2.pp1109-1120

Refbacks

  • There are currently no refbacks.


Copyright (c) 2026 Sara Bouziane, Badraddine Aghoutane, Aniss Moumen, Anas El Ouali, Ali Essahlaoui, Abdellah El Hmaidi

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

IAES International Journal of Artificial Intelligence (IJ-AI)
ISSN/e-ISSN 2089-4872/2252-8938 
This journal is published by the Institute of Advanced Engineering and Science (IAES).

View IJAI Stats