Writing of inverter energy storage power supply scheme