Optimization tips for energy storage charging piles