Pump as Turbines (PAT) in intermittent distribution networks