A method of controlling a cooling element in order to decrease the thermal load on animals includes the step: &mdashto start the cooling element when the air temperature exceeds a predetermined threshold value and/or a parameter, dependent on the relative humidity of air, exceeds a predetermined threshold value.