Explainable AI-Based Water Leakage Detection and Consumption Forecasting for Smart Buildings with an Early Warning System
This paper presents an explainable AI (XAI) framework that combines water-leak detection, day-ahead consumption forecasting and a tiered early warning system for smart buildings, evaluated on a reproducible simulated dataset of six buildings with one year of hourly smart-meter readings and 68 labelled leak events. On a held-out final fifth of the year, XGBoost detects leak hours with an F1-score of 0.711 and ROC-AUC of 0.892, ahead of Random Forest, logistic regression and Isolation Forest. The early warning layer raised an alert for all 13 leak events in the test period, with a median delay of 3 hours for bursts, and 81 percent of alert episodes coincided with a real leak. For 24-hour forecasting, gradient boosting (mean absolute error 0.334 cubic metres per hour) and a stacked LSTM (0.357 cubic metres per hour) clearly outperform ARIMA and SARIMA. SHAP and LIME show that night-time minimum flow, line pressure and recent flow history drive the predictions.
Authors
- Pratik Lokhande (ORCID: https://orcid.org/0000-0002-6453-5632)
- Jayshree Aher
- Anshul Dhore
- Girija Dahiphale
- Siddharth Desai
Institutions
- MIT World Peace University (IN)
- Massachusetts Institute of Technology (US)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-01
- DOI
- https://doi.org/10.5281/zenodo.24709254
- Primary Topic
- Water Systems and Optimization
- Type
- article
- Field-Weighted Citation Impact
- 0.00