How to adapt the capacity of energy storage charging pile