A Machine Learning Framework for Dynamic Water Supply Regulation Based on Sensor Inputs and Meteorological Forecasts
Keywords:
Smart water supply, machine learning, Random Forest, LSTM, sensor dataAbstract
Urban water distribution systems often suffer from inefficiencies such as over-distribution, leakages, and poor demand-supply alignment due to the absence of real-time responsiveness and predictive control. This study presents a machine learning (ML) framework for dynamic water supply regulation, integrating real-time sensor data with meteorological forecasts. The system was implemented and validated in Indore, Madhya Pradesh during March 2025, using data from smart flow meters, tank level sensors, and pressure gauges, along with temperature, humidity, and rainfall predictions. Two models—Random Forest (RF) and Long Short-Term Memory (LSTM) networks—were developed to forecast water demand over short-term and medium-term horizons, respectively. Predictions from these models were linked to an automated control system that dynamically managed valve operations, pump schedules, and leakage detection. The proposed ML framework achieved an 18% reduction in water loss, 14% energy savings in pumping operations, and a 20% improvement in demand-supply matching compared to traditional rule-based systems. Visualization dashboards and alert systems enabled proactive decision-making, while model performance metrics (R² and RMSE) confirmed the robustness of the predictive engine. This study demonstrates the viability of using ML-integrated control for municipal water supply, especially in rapidly urbanizing Indian cities, and lays the foundation for scalable smart water infrastructure.
Downloads
Metrics
References
M. Y. Shamsudin et al., “Review of water distribution system monitoring and control,” Water, vol. 12, no. 7, pp. 1–18, 2020.
T. R. Hwang, M. Kang, and H. Y. Jung, “Application of IoT and big data analytics to smart water systems,” Sensors, vol. 21, no. 6, pp. 1–20, 2021.
R. Kumar et al., “Smart water management using machine learning and IoT,” Journal of Water Resources Planning and Management, vol. 146, no. 6, 2020.
A. Ghaffarianhoseini et al., “Intelligent urban water management system using artificial intelligence,” Smart Cities, vol. 3, no. 3, pp. 982–1002, 2020.
A. Jain et al., “Machine learning approaches for urban water demand forecasting: a review,” Environmental Modelling & Software, vol. 134, 2020.
Y. Liu et al., “Smart water management: an overview,” Journal of Cleaner Production, vol. 289, 2021.
J. A. Pulido-Calvo and M. Gutierrez-Estrada, “Improved ARIMA models for water demand forecasting,” Journal of Hydrology, vol. 414–415, pp. 290–300, 2012.
M. Herrera et al., “Predictive models for forecasting hourly urban water demand,” Journal of Hydrology, vol. 387, no. 1–2, pp. 141–150, 2010.
J. Adamowski and C. Karapataki, “Comparison of multivariate regression and machine learning methods for urban water demand forecasting,” Environmental Modelling & Software, vol. 36, pp. 141–151, 2012.
Y. Gong, Q. Xu, and Z. Liu, “Optimization of pump operation using Random Forests and water demand prediction,” Water Resources Management, vol. 33, pp. 1789–1802, 2019.
W. Duan et al., “Hybrid LSTM model for multi-step water demand prediction,” Water Supply, vol. 20, no. 8, pp. 2964–2975, 2020.
N. Tao et al., “Water demand forecasting using LSTM neural network based on climatic and consumption data,” Journal of Hydroinformatics, vol. 23, no. 2, pp. 234–248, 2021.
A. Singh et al., “Urban water demand prediction incorporating weather data and consumer behavior,” Applied Water Science, vol. 10, no. 9, pp. 1–13, 2020.
H. Ghazal et al., “Forecasting urban water consumption using machine learning models and climate data,” Sustainable Cities and Society, vol. 60, 2020.
H. Fang, L. Li, and Y. Liu, “Smart city water distribution system using sensor analytics,” Sensors, vol. 20, no. 9, 2020.
K. Lee et al., “A review of anomaly detection in smart water grids using data-driven techniques,” Smart Water, vol. 5, no. 2, 2020.
D. Kim et al., “An intelligent water distribution management system integrating ML with SCADA,” Environmental Engineering Science, vol. 38, no. 1, 2021.
M. Wu and M. W. Hoffman, “Application of deep learning in water demand prediction,” IEEE Trans. Industrial Informatics, vol. 17, no. 8, pp. 5640–5649, 2021.
F. Zhang et al., “Time series forecasting of water consumption using deep learning and meteorological data,” Water, vol. 13, no. 5, 2021.
A. Singh and R. Sharma, “A reinforcement learning model for adaptive water distribution,” Applied Soft Computing, vol. 110, 2021.
M. Azari et al., “Big data analytics in water distribution networks: a systematic review,” Water, vol. 12, no. 10, 2020.
Downloads
Published
How to Cite
Issue
Section
License

This work is licensed under a Creative Commons Attribution 4.0 International License.
You are free to:
- Share — copy and redistribute the material in any medium or format
- Adapt — remix, transform, and build upon the material for any purpose, even commercially.
Terms:
- Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.