Local indices within a mathematical framework for urban water distribution systems