what is the difference between a heat engine and a refrigerator?
Heat pumps compress cold ambient air and, in so doing, heat it to room temperature without violation of conservation principles. To calculate the heat pump's coefficient of performance, use the equation COPhp=QhW COP hp = Q h W . A refrigerator is a heat pump; it takes warm ambient air and expands it to chill it.