Predictive Water Usage Optimization with IoT and Regression Models

Authors

  • Yuyutshu Banjara Nepal Open University, Nepal
  • Dhiraj KC Nepal Open University, Nepal

DOI:

https://doi.org/10.3126/joeis.v4i1.81612

Keywords:

IoT, Polynomial Regression, Demand Forecasting, Water Management, Edge Computing

Abstract

Water scarcity and inefficient water distribution systems continue to pose significant global challenges, particularly in regions with limited infrastructure. This study proposes an IoT-enabled water management system that integrates regression-based predictive modeling to optimize consumption and reduce wastage. The system employs ultrasonic sensors to continuously monitor water tank levels and gathers real-time usage data. Using this data, multiple machine learning algorithms including Linear Regression, Polynomial Regression, and Random Forest Regression were evaluated to forecast short-term water demand. Among them, the Polynomial Regression model of degree 4 achieved the highest accuracy with an R2 score of 0.727.

One of the system’s key innovations lies in its ability to locally update the predictive model on the NodeMCU microcontroller. A weighted update mechanism is employed, where the stored model retains a cumulative weight representing the past 30 days, and each new data point is added with a weight of 1. This approach ensures the model remains responsive to recent consumption patterns while maintaining historical trends—allowing lightweight, on-device forecasting without needing constant cloud retraining.

The predicted consumption values feed into a smart refilling mechanism, automating water distribution based on anticipated demand. This scalable and cost-effective solution supports sustainable water management by embedding real-time intelligence directly into low-power devices.

Downloads

Download data is not yet available.
Abstract
165
pdf
62

Author Biographies

Yuyutshu Banjara, Nepal Open University, Nepal

Nepal Open University, Nepal

Dhiraj KC, Nepal Open University, Nepal

Nepal Open University, Nepal

Downloads

Published

2025-07-21

How to Cite

Banjara, Y., & KC, D. (2025). Predictive Water Usage Optimization with IoT and Regression Models. Journal of Engineering Issues and Solutions, 4(1), 486–493. https://doi.org/10.3126/joeis.v4i1.81612

Issue

Section

Research Articles