Replacement policy for energy storage charging piles in communication network cabinets