A refrigeration system having at least a first three-phase component (306,308,310), a second three-phase component (306,308,310), and a three-phase component wiring detection apparatus, the apparatus comprising: at least one terminal configured to operatively couple to the first three-phase component and the second three-phase component; and a controller operatively coupled to the terminal, the controller configured to: determine a correct phase rotation for each of the three-phase components (402, 404, 406), said correct phase rotation resulting in optimal performance of each of said three-phase components; operate the system in a first, normal, mode if the phase rotation for each of the three-phase components is the same; operate the system in a second mode if the phase rotation for the first three-phase component is different from the second three-phase component (412, 414, 416), the second mode being less efficient than the first mode; and when operating the system in the second mode, determine a priority phase rotation for the system by determining which of the three-phase components should receive priority to operate with the correct phase rotation in order to operate the refrigeration system most efficiently, characterised in that one of the three-phase components is a condenser fan motor and the controller increases the priority of the condenser fan motor in high ambient temperatures. at least one terminal configured to operatively couple to the first three-phase component and the second three-phase component; and a controller operatively coupled to the terminal, the controller configured to: determine a correct phase rotation for each of the three-phase components (402, 404, 406), said correct phase rotation resulting in optimal performance of each of said three-phase components; operate the system in a first, normal, mode if the phase rotation for each of the three-phase components is the same; operate the system in a second mode if the phase rotation for the first three-phase component is different from the second three-phase component (412, 414, 416), the second mode being less efficient than the first mode; and when operating the system in the second mode, determine a priority phase rotation for the system by determining which of the three-phase components should receive priority to operate with the correct phase rotation in order to operate the refrigeration system most efficiently, characterised in that one of the three-phase components is a condenser fan motor and the controller increases the priority of the condenser fan motor in high ambient temperatures. determine a correct phase rotation for each of the three-phase components (402, 404, 406), said correct phase rotation resulting in optimal performance of each of said three-phase components; operate the system in a first, normal, mode if the phase rotation for each of the three-phase components is the same; operate the system in a second mode if the phase rotation for the first three-phase component is different from the second three-phase component (412, 414, 416), the second mode being less efficient than the first mode; and when operating the system in the second mode, determine a priority phase rotation for the system by determining which of the three-phase components should receive priority to operate with the correct phase rotation in order to operate the refrigeration system most efficiently, characterised in that one of the three-phase components is a condenser fan motor and the controller increases the priority of the condenser fan motor in high ambient temperatures.