Planning and operation of variable-­speed pumped storage power plants