FIG. 11 depicts a flowchart of an example of a cooling method according to some embodiments. In step 1102, a controller (e.g., controller 196, 252, 352, 452, 552) determines an anticipated speed of a vehicle, and an anticipated future external temperature. For example, the controller may predict the anticipated speed of the vehicle based on a type of road (e.g., highway), traffic conditions, road conditions, a navigation route selected, and/or amount of battery/gasoline remaining. The controller may also predict the anticipated future external temperature using a weather forecast at one or more destinations. Optionally, the controller may also predict an anticipated future internal enclosure (e.g., enclosure 200, 300, 400, 500) temperature, for example, based on estimated LiDAR activity levels and/or estimated activity levels of other sensors. In decision 1104, the controller determines whether the anticipated speed is higher than a current speed. In step 1106, the controller determines that the anticipated speed is higher than a current speed, and the controller increases a height of a deflector (e.g., deflector 116, 126, 136, 146, 156, 166, 176) in order to increase an efficiency or an amount of air flowing into the enclosure. In step 1108, the controller adjusts a rotation speed of a fan (e.g., fan 244, 344, 444, 544) based on the height of the deflector. In decision 1110, the controller determines that the anticipated speed is not higher than a current speed, and the controller further determines if the anticipated external temperature is higher than a current external temperature, for example, based on a weather forecast. In step 1112, the controller determines that the anticipated external temperature is higher than a current external temperature, and the controller increases the height of the deflector. In step 1114, the controller determines that the anticipated external temperature is not higher than a current external temperature, and the controller does not increase the height of the deflector. In step 1116, following step 1112, the controller adjusts a rotation speed of a fan (e.g., fan 244, 344, 444, 544) based on the height of the deflector.