update README.md
Browse files- README.md +62 -3
- figures/fgo-design.png +3 -0
- figures/matrix_tile_texample.png +3 -0
README.md
CHANGED
|
@@ -1,3 +1,62 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Factor Graph Optimization for Leak Localization in Water Distribution Networks
|
| 2 |
+
|
| 3 |
+

|
| 4 |
+
|
| 5 |
+
Implementation and [experimental data](network_data) for the [paper](https://arxiv.org/pdf/2509.10982)
|
| 6 |
+
|
| 7 |
+
> P. Irofti, L. Romero-Ben, F. Stoican, and V. Puig,
|
| 8 |
+
“Factor Graph Optimization for Leak Localization in Water
|
| 9 |
+
Distribution Networks,"
|
| 10 |
+
pp. 1--12, 2025.
|
| 11 |
+
|
| 12 |
+
If you use our work in your research, please cite as:
|
| 13 |
+
```
|
| 14 |
+
@article{IRSP25_fgll,
|
| 15 |
+
author = {Irofti, P. and Romero-Ben, L. and Stoican, F. and Puig, V.},
|
| 16 |
+
title = {Factor Graph Optimization for Leak Localization in Water
|
| 17 |
+
Distribution Networks},
|
| 18 |
+
year = {2025},
|
| 19 |
+
pages = {1-12},
|
| 20 |
+
eprint = {2509.10982},
|
| 21 |
+
archiveprefix = {arXiv},
|
| 22 |
+
}
|
| 23 |
+
```
|
| 24 |
+
|
| 25 |
+
## Prerequisite
|
| 26 |
+
Before running make sure you have installed the Python packages:
|
| 27 |
+
* [numpy](https://numpy.org/)
|
| 28 |
+
* [scipy](https://scipy.org/)
|
| 29 |
+
* [gtsam](https://gtsam.org/)
|
| 30 |
+
* [wntr](https://github.com/USEPA/WNTR)
|
| 31 |
+
|
| 32 |
+
## Usage
|
| 33 |
+
Run [test_FGLL.py](test_FGLL.py) and set the network parameter to `Modena`, `LTOWN` or `toy_example`. Default is `Modena`.
|
| 34 |
+
|
| 35 |
+
## Description
|
| 36 |
+
Detecting and localizing leaks in water distribution network systems is an important topic with direct environmental, economic, and social impact.
|
| 37 |
+
Our paper is the first to explore the use of factor graph optimization techniques for leak localization in water distribution networks,
|
| 38 |
+
enabling us to perform sensor fusion between pressure and demand sensor readings
|
| 39 |
+
and to estimate the network's temporal and structural state evolution across all network nodes.
|
| 40 |
+
The methodology introduces specific water network factors and proposes a new architecture composed of two factor graphs:
|
| 41 |
+
a leak-free state estimation factor graph and a leak localization factor graph.
|
| 42 |
+
When a new sensor reading is obtained,
|
| 43 |
+
unlike Kalman and other interpolation-based methods,
|
| 44 |
+
which estimate only the current network state,
|
| 45 |
+
factor graphs update both current and past states.
|
| 46 |
+
Results on Modena, L-TOWN and synthetic networks show that factor graphs are much faster than nonlinear Kalman-based alternatives such as the UKF,
|
| 47 |
+
while also providing improvements in localization compared to state-of-the-art estimation-localization approaches.
|
| 48 |
+
|
| 49 |
+
## Contents
|
| 50 |
+
1. The **Factor Graph Leak Localization** (FGLL) algorithm is in [FGLL.py](FGLL.py).
|
| 51 |
+
|
| 52 |
+
2. The custom **water factors** are in [water_factors.py](water_factors.py).
|
| 53 |
+
|
| 54 |
+
3. Specific water distribution network data are in [network_data](network_data).
|
| 55 |
+
|
| 56 |
+
## Results
|
| 57 |
+
|
| 58 |
+
In the paper we compared our results with [GHR-S](https://www.sciencedirect.com/science/article/abs/pii/S0043135423001823?via%3Dihub), [GSI](https://github.com/luisromeroben/PhD/tree/master/Chapter3) and [UKF-AW-GSI](https://github.com/luisromeroben/D-UKF-AW-GSI).
|
| 59 |
+
|
| 60 |
+

|
| 61 |
+
|
| 62 |
+
Description: Normalized leak metric for each potential leak, comparing GHR-S, GSI, UKF-AW-GSI and FGLL. Each image encodes a colour code of the normalized metric of a node (x-axis) in a leak scenario (y-axis).
|
figures/fgo-design.png
ADDED
|
Git LFS Details
|
figures/matrix_tile_texample.png
ADDED
|
Git LFS Details
|