Charging method after replacing the energy storage charging pile