Lifespan of green energy storage charging piles