# neelabhsinha/leakage-detection-in-smart-water-distribution-systems architecture

> Architecture diagram of the GitHub repository neelabhsinha/leakage-detection-in-smart-water-distribution-systems, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/neelabhsinha/leakage-detection-in-smart-water-distribution-systems
- Repository: https://github.com/neelabhsinha/leakage-detection-in-smart-water-distribution-systems

## Overview

This research project uses experiments on an IoT smart-water-grid testbed to collect data, analyze leak-related measurements, select features, and train and test an ANN classifier. The README documents the workflow and reports evaluation metrics; the notebook is the only listed implementation file. The collected data is not publicly shared, and no notebook source was available to verify finer-grained code wiring.

Main entry points: [`Analysis_and_Model.ipynb`](https://github.com/neelabhsinha/leakage-detection-in-smart-water-distribution-systems/blob/master/Analysis_and_Model.ipynb) (Analysis notebook), [`Visualizations`](https://github.com/neelabhsinha/leakage-detection-in-smart-water-distribution-systems/tree/master/Visualizations) (Analysis visualizations)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_acquisition["Data acquisition"]
  node_testbed["Water-grid testbed"]
  node_plc_scada["PLC and SCADA"]
  node_measurements["Sensor measurements"]
end

subgraph group_modeling["Analysis and modeling"]
  node_notebook["Analysis notebook"]
  node_data_analysis["Data analysis"]
  node_feature_extraction["Feature extraction"]
  node_ann_model["ANN classifier"]
end

subgraph group_evaluation["Evaluation"]
  node_results["Model results"]
  node_visualizations["Analysis visualizations"]
end

node_researcher(("Research team"))

node_researcher -->|"runs experiments"| node_testbed
node_testbed -->|"supports control and collection"| node_plc_scada
node_testbed -->|"produces data"| node_measurements
node_plc_scada -->|"collects data"| node_measurements
node_measurements -->|"provides input"| node_notebook
node_notebook -->|"analyzes data"| node_data_analysis
node_data_analysis -->|"informs selection"| node_feature_extraction
node_feature_extraction -->|"provides features"| node_ann_model
node_notebook -->|"trains and tests"| node_ann_model
node_ann_model -->|"yields metrics"| node_results
node_data_analysis -->|"documents analysis"| node_visualizations

click node_notebook "https://github.com/neelabhsinha/leakage-detection-in-smart-water-distribution-systems/blob/master/Analysis_and_Model.ipynb"
click node_data_analysis "https://github.com/neelabhsinha/leakage-detection-in-smart-water-distribution-systems/blob/master/Analysis_and_Model.ipynb"
click node_feature_extraction "https://github.com/neelabhsinha/leakage-detection-in-smart-water-distribution-systems/blob/master/Analysis_and_Model.ipynb"
click node_ann_model "https://github.com/neelabhsinha/leakage-detection-in-smart-water-distribution-systems/blob/master/Analysis_and_Model.ipynb"
click node_results "https://github.com/neelabhsinha/leakage-detection-in-smart-water-distribution-systems/blob/master/Analysis_and_Model.ipynb"
click node_visualizations "https://github.com/neelabhsinha/leakage-detection-in-smart-water-distribution-systems/tree/master/Visualizations"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_testbed,node_plc_scada,node_measurements toneBlue
class node_notebook,node_data_analysis,node_feature_extraction,node_ann_model toneAmber
class node_results,node_visualizations toneMint
class node_researcher toneIndigo
```

## Components

### Data acquisition

- **Water-grid testbed**
- **PLC and SCADA**
- **Sensor measurements**

### Analysis and modeling

- [Analysis notebook](https://github.com/neelabhsinha/leakage-detection-in-smart-water-distribution-systems/blob/master/Analysis_and_Model.ipynb): `Analysis_and_Model.ipynb`
- [Data analysis](https://github.com/neelabhsinha/leakage-detection-in-smart-water-distribution-systems/blob/master/Analysis_and_Model.ipynb): `Analysis_and_Model.ipynb`
- [Feature extraction](https://github.com/neelabhsinha/leakage-detection-in-smart-water-distribution-systems/blob/master/Analysis_and_Model.ipynb): `Analysis_and_Model.ipynb`
- [ANN classifier](https://github.com/neelabhsinha/leakage-detection-in-smart-water-distribution-systems/blob/master/Analysis_and_Model.ipynb): `Analysis_and_Model.ipynb`

### Evaluation

- [Model results](https://github.com/neelabhsinha/leakage-detection-in-smart-water-distribution-systems/blob/master/Analysis_and_Model.ipynb): `Analysis_and_Model.ipynb`
- [Analysis visualizations](https://github.com/neelabhsinha/leakage-detection-in-smart-water-distribution-systems/tree/master/Visualizations): `Visualizations`

### Other components

- **Research team**

## Connections

- Research team → Water-grid testbed: runs experiments
- Water-grid testbed → PLC and SCADA: supports control and collection
- Water-grid testbed → Sensor measurements: produces data
- PLC and SCADA → Sensor measurements: collects data
- Sensor measurements → Analysis notebook: provides input
- Analysis notebook → Data analysis: analyzes data
- Data analysis → Feature extraction: informs selection
- Feature extraction → ANN classifier: provides features
- Analysis notebook → ANN classifier: trains and tests
- ANN classifier → Model results: yields metrics
- Data analysis → Analysis visualizations: documents analysis
