Working principle of energy storage power generation