Calibration of energy storage charging pile