When to replace the energy storage charging pile