Multipurpose Design of the Flow-Control System of a Steep Water Main