Charging pile energy storage device model