Revert "Revert "Update EpanetAlgorithm.py""

This reverts commit fa46701fd327d994c569fa6e088d2839e506bf64.
Revert "Revert "Revert "Update EpanetAlgorithm.py"""

This reverts commit 6d5928e7ba4a2db01584ef5391d00164797a605a.