The controller 352 may further adjust a rotation speed of the fan 344, and/or an amount of air entering the AC vent 346, based on one or any combination of predicted future conditions, such as anticipated speed, anticipated external temperature, or anticipated internal temperature of the enclosure 300. For example, if the controller 352 predicts, based on a navigation route selected, or weather forecast, that the temperature at a destination is high, the controller may preemptively precool the enclosure 300 by increasing the rotation speed of the fan 344 or increasing the amount of air entering the AC vent 346. As another example, if the controller 352 predicts that the LiDAR sensor 330 or the cameras 332 will be heavily used in a near future, the controller may preemptively precool the enclosure 300 by increasing the rotation speed of the fan 344 or increasing the amount of air entering the AC vent 346. As another example, if the controller 352 predicts that the vehicle speed will increase based on a type of road (e.g., highway), traffic conditions, road conditions, and/or amount of battery/gasoline remaining, the controller may preemptively precool the enclosure 300 by increasing the rotation speed of the fan 344 or increasing the amount of air entering the AC vent 346.