Stochastic analysis of energy consumption in pool depletion systems