Electric Vehicle Thermal Management With CO2
This example models the thermal management system of a battery electric vehicle (BEV) that uses a transcritical CO2 (R-744) refrigeration cycle for cooling and heating. The system consists of two liquid coolant loops, a CO2 refrigerant loop, and a cabin air HVAC loop. The thermal loads are the batteries, the power electronics, and the cabin.
Model

You can join the two coolant loops together in serial mode or keep them separate in parallel mode using the two parallel-serial mode directional valves. The figure below highlights the joined coolant loop in serial mode in green:

The figure below highlights the separate coolant loops in parallel mode in green and red:

In cold temperatures, the coolant loops operate in serial mode so that heat from the motor warms the batteries. If necessary, a heater can provide additional heat. In moderate temperatures, the coolant loops remain in serial mode and the radiator cools both the batteries and the power electronics. If the environment temperature or coolant temperature rises above 35 degC, the coolant loops switch to parallel mode and separate. One loop cools the power electronics using the radiator. The other loop cools the batteries by using the chiller in the refrigerant loop.
The refrigerant loop provides cooling to the cabin and batteries in cold loop mode or heating to the cabin in heat pump mode. It consists of a compressor, an inner condenser, a condenser evaporator, a chiller, an evaporator, an internal heat exchanger, and three expansion valves. This refrigeration cycle uses CO2 (R-744) as the refrigerant. To have the right temperatures for heat transfer using CO2, the high-pressure line needs to be above the critical pressure of CO2, while the low-pressure line remains subcritical, which makes the cycle a transcritical refrigeration cycle.
Because the refrigerant is supercritical in the condenser (either the inner condenser or the condenser evaporator), heat transfer does not occur over a uniform saturation temperature. As a result, there is no one-to-one correspondence between temperature and pressure, which makes controlling the expansion valves more challenging. In this model, the condenser outlet temperature is measured and mapped to a desired target pressure for the high-pressure line. A PI controller adjusts the evaporator and heat pump expansion valves to maintain the target pressure.
The figure below highlights the refrigerant loop in cold loop mode. The condenser evaporator acts as a condenser to reject heat to the environment. The chiller expansion valve meters refrigerant to the chiller to cool the coolant. The evaporator expansion valve meters refrigerant to the evaporator to cool and dehumidify the cabin air.

The figure below highlights the refrigerant loop in heat pump mode. The inner condenser heats the cabin air. The heat pump expansion valve meters refrigerant to the condenser evaporator, which acts as an evaporator to absorb heat from the environment. The chiller evaporator bypass valve directs the refrigerant to return to the accumulator and compressor.

The figure below highlights the refrigerant loop in heat pump mode with heat recovery. While in heat pump mode, if the coolant temperature is above 20 degC, the chiller evaporator bypass valve directs refrigerant to the chiller to absorb heat from coolant before returning to the accumulator and compressor. This flow path allows the system to reuse some of the waste heat from the batteries and powertrain, which improves the heat pump mode cycle efficiency by reducing the pressure difference that the compressor needs to maintain.

The cabin air HVAC loop consists of a blower, an evaporator, an inner condenser, two blend doors, and the vehicle cabin. The evaporator provides air conditioning in hot weather and the inner condenser provides heat in cold weather. The blend doors direct air flow to either the evaporator in cold loop mode or to the inner condenser in heat pump mode. The blower maintains the cabin temperature at a controlled setpoint.
The model has four possible scenarios:
The drive cycle scenario simulates driving conditions in 30 degC weather with the refrigerant loop in cold loop mode. The vehicle speed is based on the New European Drive Cycle (NEDC) followed by 30 min of high speed to increase the battery heat load. The coolant loop starts off in serial mode but switches to parallel mode when the battery is generating a lot of heat.
The cool down scenario simulates a stationary vehicle in 40 degC weather with the refrigerant loop in cold loop mode.
The cold weather scenario simulates driving conditions in -10 degC weather with the refrigerant loop in heat pump mode. Heat recovery begins at around 1700 s.
The mid season scenario simulates driving conditions in 25 degC followed by 5 degC weather. The refrigerant loop starts off in cold loop mode and then switches to heat pump mode.
The total refrigerant charge is the same for each scenario despite the different initial conditions because the model uses the function refrigerantChargeProperties to calculate the initial refrigerant pressure and vapor quality corresponding to the desired charge and environment temperature.
For more information on electric vehicle thermal management with a subcritical R-134a refrigerant, see Electric Vehicle Thermal Management with Heat Pump.
For more information on electric vehicle thermal management without a heat pump, see Electric Vehicle Thermal Management.
Scenario Subsystem
This subsystem sets up the environment conditions and inputs to the system for the selected scenario. The battery current demand and power electronics heat load are a function of the vehicle speed based on tabulated data.

Controls Subsystem
This subsystem consists of all of the controllers for the pumps, compressor, fan, blower, and valves in the thermal management system.

Parallel-Serial Mode Valve 1 Subsystem
There are two identical parallel-serial mode valves that act in unison to control whether the coolant loop operates in parallel mode or serial mode. One of the two valves is shown below. When ports A and C are connected, it is in parallel mode. The two coolant loops are separated with their own coolant tanks and pumps. When ports A and B are connected, it is in serial mode. The two coolant loops are joined together and the two pumps are synchronized to provide the same flow rate.

Motor and Battery Pump Subsystems
The motor pump and battery pump subsystems are the same. The motor pump is shown below. The motor pump drives the coolant loop that cools the charger, motor, and inverter. The battery pump drives the coolant loop that cools the batteries and DC-DC converter.

Motor, Charger, Inverter, and DCDC Subsystems
The motor, charger, inverter, and DCDC subsystems are the same. The motor is shown below. Each of the four subsystems models a coolant jacket around the motor, charger, inverter, or DC-DC converter, represented by a heat flow rate source and a thermal mass.

Battery Subsystem
The batteries are modeled as four separate packs surrounded by a coolant jacket. The battery packs generate voltage and heat based on the current demand. The model assumes that the coolant flows in narrow channels around the battery packs.

Pack 1 Subsystem
Each battery pack model contains a stack of lithium-ion cells coupled with a thermal model. The power losses in the cells correspond to the generated heat.

Radiator Subsystem
The radiator is a rectangular tube-and-fin type heat exchanger that dissipates coolant heat to the environment air. The air flow passes through the condenser evaporator before the radiator. The vehicle speed and the fan located behind the radiator drives the air flow.

Radiator Bypass Valve Subsystem
In cold loop mode, this 3-way valve always directs coolant to the radiator to reject heat. In heat pump mode, the refrigerant may recover heat from the coolant via the chiller to improve efficiency. Therefore, the 3-way valve directs coolant to the radiator only when the coolant is too warm.

Heater Subsystem
The battery heater model contains a heat flow rate source and a thermal mass. The battery heater turns on in cold weather to bring the battery temperature above 5 degC.

Compressor Subsystem
The compressor drives the flow in the refrigerant loop. It is controlled to maintain a cabin air vent temperature setpoint. The compressor turns off when transitioning between cold loop mode and heat pump mode to allow the system to ramp down before starting the new mode. The accumulator provides storage for the refrigerant and permits only superheated vapor to flow into the compressor.

Inner Condenser Subsystem
The inner condenser is a rectangular tube-and-fin type heat exchanger that transfers heat from the refrigerant to the cabin air in heat pump mode. In cold loop mode, the inner condenser bypass valve directs the refrigerant to bypass the inner condenser so that no heat transfer occurs.

Heat Pump Expansion Valve Subsystem
The heat pump expansion valve provides the pressure drop needed to vaporize the refrigerant entering the condenser evaporator in heat pump mode. A PI controller controls the expansion valve to maintain a target compressor outlet pressure so that the refrigerant in the high-pressure line is sufficiently hot to provide heat to the cabin. The valve is closed in cold loop mode.

Condenser Evaporator Subsystem
The condenser evaporator is a rectangular tube-and-fin type heat exchanger that either transfers heat from the refrigerant to environment air in cold loop mode or transfers heat from environment air to the refrigerant in heat pump mode. The vehicle speed and the fan located behind the radiator drives the air flow.

Chiller Evaporator Bypass Valve Subsystem
Two orifices operating in the opposite manner model the 3-way valve. In cold loop mode, the valve directs refrigerant to the chiller and expansion valve to cool the batteries and cabin. In heat pump mode, the valve normally directs the refrigerant to bypass the chiller and evaporator and return to the compressor. However, if the coolant is sufficiently warm, the valve directs the refrigerant back to the chiller to recover some heat from the coolant before returning to the compressor. This rerouting improves the heat pump mode cycle efficiency by reducing the pressure difference that the compressor needs to maintain.

Chiller Expansion Valve Subsystem
The chiller expansion valve provides the pressure drop needed to vaporize the refrigerant entering the chiller in cold loop mode. The temperature of the coolant flowing through the battery packs control the expansion valve. It remains open in heat pump mode because the chiller evaporator bypass valve may direct refrigerant to the chiller to recover heat from the coolant.

Chiller Subsystem
The chiller is a shell-and-tube type heat exchanger that transfers heat from the coolant to the refrigerant.

Evaporator Expansion Valve Subsystem
The evaporator expansion valve provides the pressure drop needed to vaporize the refrigerant entering the evaporator in cold loop mode. A PI controller controls the expansion valve to maintain a target compressor outlet pressure so that the refrigerant in the high-pressure line is sufficiently hot to reject heat to the environment via the condenser evaporator. The valve is closed in heat pump mode.

Evaporator Subsystem
The evaporator is a rectangular tube-and-fin type heat exchanger that transfers heat from the cabin air to the refrigerant. It also dehumidifies the air when the air is humid.

Internal Heat Exchanger Subsystem
The internal refrigerant-to-refrigerant heat exchanger transfers heat from the high-pressure line to the low-pressure line to ensure that there is sufficient superheat in the low-pressure line. It also reduces the temperature in the high-pressure line to improve the inlet conditions for the chiller and evaporator expansion valves. This temperature reduction is analogous to ensuring sufficient subcooling, though it cannot be called subcooling as the high-pressure line is supercritical. In a transcritical refrigeration cycle without an internal heat exchanger, the high-pressure line outlet temperature cannot be colder than the low-pressure line outlet temperature, which results in a very narrow PH-diagram. Therefore, the internal heat exchanger is necessary make the transcritical refrigeration cycle function effectively.

Blower Subsystem
The blower drives the air flow in the cabin HVAC loop. It is controlled to maintain the cabin temperature setpoint. The source of air can come from the environment or from recirculated cabin air.

Blend Door 1 and 2 Subsystems
The blend door is modeled as two restrictions operating in the opposite manner. In cold loop mode, the two blend doors direct cabin air to pass through the evaporator and bypass the inner condenser. In heat pump mode, the two blend doors direct cabin air to pass through the inner condenser and bypass the evaporator.

Cabin Subsystem
The vehicle cabin is modeled as a large volume of moist air. Each occupant in the vehicle is a source of heat, moisture, and CO2.

Cabin Heat Transfer Subsystem
This subsystem models the thermal resistances between the cabin interior and the external environment.

Simulation Results from Scopes
The following scope shows the vehicle speed, heat dissipation, cabin temperature, component temperatures, and control commands for the drive cycle scenario. For the Thermal Mode valve command:
0 = system off
1 = cold loop mode
2 = heat pump mode
For the Parallel Serial Mode valve command:
0 = parallel mode
1 = serial mode
At the beginning, the coolant loop is in serial mode. After about 1000 s, it switches to parallel mode and the chiller is used to keep the batteries below 35 degC. As the chiller expansion valve opens and closes to send refrigerant to the chiller, the compressor ramps up and down, respectively, to adjust to the thermal load of the batteries.

Simulation Results from Simscape Logging
This plot shows the power consumed by the thermal management system to cool the vehicle components and cabin. The largest power consumption occurs in the refrigerant compressor when the chiller expansion valve opens to allow the chiller to cool the batteries.
