A pressure-driven approach for water distribution system modelling