inverter with selectable power source priority