Energy storage charging pile charging resistor