Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 535 Bytes

README.md

File metadata and controls

12 lines (11 loc) · 535 Bytes

Placement of Pressure Sensors

Data files and MATLAB code for optimal placement of pressure sensors in water networks. Please read the guide SimulatingLeaks.pdf first.

Installation

Download the files and place them in a path accessible to MATLAB. Try the following code:

>> % Simulate different leaks using the EPANET model of the network
>> Hanoi = epanet('Hanoi.inp');
>> P = simulateLeaks(Hanoi,1:31,10:10:80);
>> % Compute the best 5 locations to place pressure sensors
>> sensors = placement(P,5)