Power consumption principle of energy storage charging pile