Mechanism of Pumped Energy Storage