The present invention relates to a method of controlling a cooling means in order to decrease the thermal load on animate. The method comprises the step: - to start said cooling means 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.