It should be noted that the above discussion is based on the ideal vapor-compression refrigeration cycle which does not take into account real world items like frictional pressure drop in the system, slight internal irreversibility during the compression of the refrigerant vapor, or non-ideal gas behavior (if any).