K-Nearest Neighbors for Anomaly Detection and Predictive Maintenance in Water Pumping Systems.
João Pablo Santos da Silva1, André Laurindo Maitelli1
1Computer Engineering and Automation Department, Federal University of Rio Grande do Norte, 3000 Senador Salgado Filho Avenue, Natal 59078-970, RN, Brazil.
Sensors (Basel, Switzerland)
|September 19, 2025
Summary
This study identifies hydraulic anomalies in water pumping systems using sensor data. The k-nearest neighbors algorithm accurately predicts pump shutdowns, improving water supply maintenance.
Area of Science:
- Engineering
- Data Science
- Environmental Science
Background:
- Maintenance is crucial for water source quality and supply reliability.
- Water pipe corrosion leads to leaks and reduced water quality.
- Identifying hydraulic anomalies in pumping systems is essential.
Purpose of the Study:
- To identify hydraulic anomalies in water pumping systems.
- To develop a predictive model for pump status using sensor data.
- To determine the most important sensor parameters for accurate prediction.
Main Methods:
- Collected data from a water supply network with varied pipe characteristics.
- Installed sensor meters at diverse locations within the hydraulic system.
- Utilized the k-nearest neighbors (KNN) machine learning algorithm for prediction.
Main Results:
- Developed a model correlating sensor parameters with pump status.
- Identified key sensor parameters for predicting pump shutdowns.
- Achieved accurate prediction of pump shutdowns using the KNN algorithm.
Conclusions:
- The KNN algorithm effectively predicts pump status in water supply systems.
- Sensor data analysis can identify hydraulic anomalies and aid maintenance.
- Optimized models with minimal parameters provide accurate predictions.
Related Concept Videos
Fast Decoupled and DC Powerflow
728
The fast decoupled power flow method addresses contingencies in power system operations, such as generator outages or transmission line failures. This method provides quick power flow solutions, essential for real-time system adjustments. Fast decoupled power flow algorithms simplify the Jacobian matrix by neglecting certain elements, leading to two sets of decoupled equations:
728
Node Analysis for AC Circuits
642
Consider an angioplasty system featuring a catheter equipped with a turbine, a critical tool for removing plaque deposits from coronary arteries. This intricate medical device operates using a circuit model reminiscent of a dual-node RLC circuit powered by a current-controlled voltage source.
To unravel the complexities of this system, nodal analysis is employed, a powerful technique founded on Kirchhoff's current law (KCL), which remains valid for phasors. AC circuits can effectively be...
To unravel the complexities of this system, nodal analysis is employed, a powerful technique founded on Kirchhoff's current law (KCL), which remains valid for phasors. AC circuits can effectively be...
642
Multimachine Stability
548
Multimachine stability analysis is crucial for understanding the dynamics and stability of power systems with multiple synchronous machines. The objective is to solve the swing equations for a network of M machines connected to an N-bus power system.
In analyzing the system, the nodal equations represent the relationship between bus voltages, machine voltages, and machine currents. The nodal equation is given by:
In analyzing the system, the nodal equations represent the relationship between bus voltages, machine voltages, and machine currents. The nodal equation is given by:
548
Multiple Pipe Systems
1.2K
Multipipe systems consist of complex configurations of interconnected pipes designed to transport fluids efficiently across intricate networks. They are essential in engineering applications requiring precise control over flow distribution, pressure, and head loss. They are categorized into series, parallel, loop, and network configurations, each distinguished by unique flow characteristics and applications.
Series Configuration
In a series configuration, fluid flows sequentially from one pipe...
Series Configuration
In a series configuration, fluid flows sequentially from one pipe...
1.2K
Typical Model Studies
620
Fluid mechanics model studies often utilize scaled-down systems to predict fluid behavior in full-scale environments, such as river flows, dam spillways, and structures interacting with open surfaces. Maintaining Froude number similarity in river models is crucial, as it replicates surface flow features like wave patterns and velocities.
620
Plotting and Calibrating the Root Locus
434
Root loci often diverge as system poles shift from the real axis to the complex plane. Key points in this transition are the breakaway and break-in points, indicating where the root locus leaves and reenters the real axis. The branches of the root locus form an angle of 180/n degrees with the real axis, where n is the number of branches at a breakaway or break-in point.
The maximum gain occurs at the breakaway points between open-loop poles on the real axis, while the minimum gain is...
The maximum gain occurs at the breakaway points between open-loop poles on the real axis, while the minimum gain is...
434


