Schematic diagram of automatic discharge of energy storage charging pile