Energy Recovery in Water Distribution Networks. Implementation of Pumps as Turbine in a Dynamic Numerical Model