SWANP 2.0 – Smart WAter Network Partitioning and Protection

SWANP 2.0 – Smart WAter Network Partitioning and Protection


SWANP 2.0 (Smart WAter Network Partitioning and Protection) is the second release of an hydraulic software for water network modeling, analysis, partitioning and protection.

Specifically, Water Network Partitioning (WNP) concerns the implementation of the paradigm of “divide and conquer” in the water supply systems consisting into divide a water network in k smaller subsystems by gate valves and flow meters. WNP allows improving the management of water distribution systems transforming into Smart WAter Networks (SWANs) that represent key sub systems of Smart Cities. WNP is possible if water utilities start to use diffusely remote control devices as gate valves and flow meters. These instruments open new perspectives for the management of water supply systems both in terms of water save and water protection. Recently, starting from the advantages offered by computing power and network analysis tools, some techniques based on graph partitioning algorithms have been developed by the authors to improve water management and protection, implementing the paradigm of “divide and conquer”.

The second release of SWANP 2.0 (Smart WAter Network Partitioning and Protection) software integrates two different algorithms, based on multilevel and multiagent techniques, for water network partitioning and a novel algorithm, based on a multi-objective function, for water network protection from intentional contamination based on backflow attack model.

The SWANP 2.0 software, developed in Python v2.7.6 language, provides to the decision-maker different solutions comparing network layouts with some hydraulic and protection performance indices.

Main Features

– Demand Driven Analysis;

– Pressure Driven Analisys;

– Network partitioning and sectorization

– Topologic, Energy and Hydraulic performance indices;

– qGIS framwork;

– Water quality analysis;

– Water network protection from accidental and intentional contamination

Case study

– Italian network (Parete, Villaricca, Giugliano in Campania, Pozzuoli)

– Mexican network (Matamoros, Chihuahua, San_Luis_Rio_Colorado)


– Di Nardo A., Di Natale M., Santonastaso G.F., Venticinque S. (2013). An automated tool for smart water network partitioning. Water Resources Management, 27, 4493 4508.

– Di Nardo A., Di Natale M., Musmarra, D., Santonastaso G.F., Tzatchkov V.G. and Alcocer Yamanaka V.H. (2015). Dual-use value of network partitioning for water system management and protection from malicious contamination. Journal of Hydroinformatics, 17(3), 361–376.