A vehicle comprising: at least one electric drive system ; a battery ; a passenger compartment ; an air conditioning system to air-condition the passenger compartment and provided with at least one heat exchanger configured to heat air using a hot fluid; a first thermoregulation circuit configured to have the fluid flow through the drive system ; a second thermoregulation circuit configured to have the fluid flow through the battery ; a third thermoregulation circuit configured to have the fluid flow through the heat exchanger of the air conditioning system ; an electric heater , which is arranged along the third thermoregulation circuit and can be operated in order to heat the fluid flowing in the third thermoregulation circuit ; at least one first solenoid valve movable between an isolation position, in which the fluid flowing through the first thermoregulation circuit does not flow through the third thermoregulation circuit , and a connection position, in which the fluid flowing through the first thermoregulation circuit also flows through the third thermoregulation circuit ; the vehicle is characterized in that it comprises a control unit configured, when heat needs to be supplied to the heat exchanger of the air conditioning system , to: estimate a total power consumption of the electric drive system and of the electric heater when the first solenoid valve is in the isolation position; estimate a total power consumption of the electric drive system and of the electric heater when the first solenoid valve is in the connection position; and move the first solenoid valve to the position having the smaller total power consumption of the electric drive system and of the electric heater . at least one electric drive system ; a battery ; a passenger compartment ; an air conditioning system to air-condition the passenger compartment and provided with at least one heat exchanger configured to heat air using a hot fluid; a first thermoregulation circuit configured to have the fluid flow through the drive system ; a second thermoregulation circuit configured to have the fluid flow through the battery ; a third thermoregulation circuit configured to have the fluid flow through the heat exchanger of the air conditioning system ; an electric heater , which is arranged along the third thermoregulation circuit and can be operated in order to heat the fluid flowing in the third thermoregulation circuit ; at least one first solenoid valve movable between an isolation position, in which the fluid flowing through the first thermoregulation circuit does not flow through the third thermoregulation circuit , and a connection position, in which the fluid flowing through the first thermoregulation circuit also flows through the third thermoregulation circuit ; the vehicle is characterized in that it comprises a control unit configured, when heat needs to be supplied to the heat exchanger of the air conditioning system , to: estimate a total power consumption of the electric drive system and of the electric heater when the first solenoid valve is in the isolation position; estimate a total power consumption of the electric drive system and of the electric heater when the first solenoid valve is in the connection position; and move the first solenoid valve to the position having the smaller total power consumption of the electric drive system and of the electric heater . estimate a total power consumption of the electric drive system and of the electric heater when the first solenoid valve is in the isolation position; estimate a total power consumption of the electric drive system and of the electric heater when the first solenoid valve is in the connection position; and move the first solenoid valve to the position having the smaller total power consumption of the electric drive system and of the electric heater . <EOS>