Monitoring the hydraulic dynamics in water distribution systems