Adaptive control algorithm for collaborative optimization of thermal comfort and energy consumption in vehicle under driving conditions | Synapse