Charging pile module energy storage function