trying to incorporate some of the stepwise solution functionality into the regular epanet toolkit functions.