Inverter controller for VRF applications