Electrode corrosion of energy storage charging pile