docs not cause excessive wear of mechanical components through continuous cycling these are often mutually exclusive criteria and a compromise must generally be made in fig1 and also fig6 there are two basic control loops the refrigeration control loop and the adaptive tuning loop the refrigeration control loop is administered by control block module 102 the adaptive loop is administered by adaptive tuning module 120 details of the adaptive tuning module 120 are shown in fig1 16 a 16 c and 17 the presently preferred adaptive tuning module uses a fuzzy logic control algorithm that will be described in connection with fig1 20 referring to fig1 the adaptive tuning module performs basically three functions first it decides whether to perform adaptive tuning this is handled by module 240 second it gathers the needed parameters for performing adaptive tuning this is handled by module 242 third it calculates the adaptive gain used by the control loop this is handled by module 244 module 240 bases the decision on whether to start tuning upon two factors the current operating state of the system and the control set point the flowchart of fig1 a shows the steps involved in this decision module 242 integrates key parameters needed for the calculations performed by module 244 essentially module 242 inputs the percent loading the temperature and pressure values and the set point.