finished draft for conversion of an epanet model