Flow regulation in complex water distribution networks: Towards a complete description of the hydraulic characteristics of regulating devices.