Energy storage charging pile component replacement