Optimal Operation Of Water And Power Distribution Networks