Preprint
Article

This version is not peer-reviewed.

Control Strategy of the Vehicle Thermal Management System for Battery Electric Vehicles Considering Energy Consumption Optimization

A peer-reviewed version of this preprint was published in:
Energies 2026, 19(11), 2687. https://doi.org/10.3390/en19112687

Submitted:

14 May 2026

Posted:

14 May 2026

You are already at the latest version

Abstract
The energy consumed by thermal management systems strongly affects the driving range of battery electric vehicles. This study develops an integrated control strategy that couples the Sparrow Search Algorithm (SSA) with Nonlinear Model Predictive Control (NMPC) to simultaneously reduce energy consumption and satisfy cabin comfort and battery safety requirements. A multi-loop coupled, heat pump based integrated thermal management model is constructed, including a compressor, heat exchangers, expansion valves, and an electro thermal battery sub model. Bench and vehicle level tests confirm that the model predicts refrigerant mass flow rate and heating capacity with mean relative errors of 4.76 % and 4.30 %, respectively. The SSA is used to tune the NMPC weighting parameters offline, minimizing the mean absolute errors of the cabin temperature, battery temperature, and total system energy consumption. The resulting SSA NMPC strategy is evaluated under NEDC and CLTC P driving cycles. Under the NEDC cycle, the strategy limits cabin temperature overshoot to 0.35°C and battery temperature fluctuation to 0.26°C, while achieving a 6.31 % energy saving under high speed cruising. The proposed framework focuses on cabin and battery thermal regulation and considers motor waste heat recovery. These results demonstrate that the SSA NMPC approach can improve thermal management performance under the investigated operating conditions.
Keywords: 
;  ;  ;  ;  

1. Introduction

In light of the global energy crisis and tightening environmental regulations, battery electric vehicles (BEVs) have become a major focus of the automotive industry owing to their high efficiency and zero tailpipe emissions [1]. However, range anxiety remains a primary barrier to their widespread adoption. The vehicle thermal management system is responsible for regulating the temperatures of the battery, the drive motor, and the passenger cabin, and its energy consumption directly influences the achievable driving range. Under extreme climatic conditions, the thermal management system alone can account for over 30 % of the auxiliary energy load, significantly reducing the effective range [2]. In cold climates, the simultaneous demands of battery heating and cabin heating further increase the load on the heat pump or PTC heater [3,4]. Minimizing thermal management energy consumption while ensuring battery safety and occupant comfort is therefore critical for improving BEV competitiveness.
The thermal management system of a BEV consists of three interacting subsystems: the power battery thermal loop, the drive motor thermal loop, and the cabin climate loop [5]. These subsystems are strongly coupled: motor waste heat can be recovered for cabin heating, the battery heat generation rate depends on the discharge current, and the cabin thermal load is a function of ambient temperature and vehicle speed [6]. This multi-objective, strongly coupled, and multi-time-scale nature makes the control problem particularly challenging. Improving the energy efficiency of the thermal management system is therefore essential for extending the driving range and enhancing the overall sustainability of electric transportation.
To address these challenges, this study develops an integrated SSA-NMPC control framework. Compared with previous MPC-based thermal management studies, the present work differs in three main aspects. First, the heat-pump refrigerant cycle, battery electro-thermal dynamics, and cabin thermal dynamics are integrated into a single unified nonlinear model, which is experimentally validated and serves as the controlled plant for the NMPC controller. Second, the weighting parameters of the NMPC cost function are systematically tuned offline by the Sparrow Search Algorithm (SSA), avoiding the empirical trial-and-error that is often impractical for such a strongly coupled multi-objective system. Third, the controller is evaluated under both steady-state (NEDC) and transient (CLTC-P) driving cycles as well as under extreme ambient conditions, and its performance is compared with baseline rule-based control and conventional NMPC strategies, demonstrating simultaneous improvements in temperature regulation and energy efficiency. These three aspects together constitute the novelty of the proposed framework.
Recent studies have explored model predictive control (MPC) for BEV thermal management [7,8]. While these works demonstrate improved temperature tracking and energy efficiency, most focus on a single subsystem (e.g., battery cooling) or adopt simplified linear models, and few systematically address the offline tuning of the MPC weighting parameters in a multi-objective, strongly coupled setting. The SSA has shown superior convergence speed and global search capability compared with genetic algorithms and particle swarm optimization in recent engineering optimization studies [9,10], but its application to thermal management weight tuning remains limited. Design and control optimization of thermal management systems for high-performance EVs have been further explored in [11].
The proposed SSA-NMPC framework uses the SSA exclusively for offline optimization of the NMPC weights; online control is performed by the SSA-tuned NMPC controller. A multi-loop coupled, heat-pump-based integrated thermal management model is constructed and calibrated through bench and vehicle-level tests. Although the present study focuses on vehicle-level thermal management control, reducing onboard thermal energy consumption directly extends the driving range and can consequently lower the frequency of charging stops. This connection is particularly relevant in extreme climates, where thermal management loads are largest. Quantitative evaluation of how such vehicle-level efficiency improvements translate into charging-station demand or infrastructure planning requires a separate multi-scale framework and is beyond the scope of the present work [12].
The remainder of this paper is organized as follows. Section 2 describes the integrated thermal management system architecture, multi-physics component models, and NMPC-based control strategy. Section 3 presents the model validation and control performance under NEDC and CLTC-P driving cycles. Section 4 concludes the paper.

2.1. Overview of Thermal Management System

Figure 1 summarizes the main structure of the thermal management system studied in this paper: compressor, indoor heat exchanger, outdoor heat exchanger, expansion valve, plate heat exchanger, radiator, four-way control valve, three-way valve, electromagnetic valve, etc. Table 1 summarizes the main components.
The system architecture integrates the heat-pump refrigerant cycle, the battery thermal loop, and the cabin climate loop. Heat pump control strategies for EVs have been studied in [13]. The drive motor is treated as a boundary heat source for waste-heat recovery rather than as a fully resolved thermal subsystem [14,15].
In low-temperature environments, the thermal management system must heat the passenger compartment and supply sufficient heat to the battery cooling circuit to keep the battery temperature at 25°C. Because the passenger compartment and battery have different heating needs, the thermal management system needs to manage their different temperatures in several ways. The main modes are joint heating of the passenger compartment and battery, recovery of battery waste heat and natural cooling of the battery. Figure 2 shows the flow of the refrigerant and coolant for each mode.

2.1.1. Cabin, Battery Heating Mode

Figure 2a shows the liquid flow paths of refrigerant and coolant circuits during passenger compartment and battery heating modes. The cycle starts as high-temperature high-pressure refrigerant leaves compressor and passes through four-way directional control valve to three-way valve 1. There are two paths of refrigerant. One path leads to the indoor heat exchanger where it heats passenger compartment and then through expansion valve 1 to three-way valve 2. The other path leads to plate heat exchanger, which heats the battery cooling circuit and then through expansion valve 2 and solenoid valve 1 to three-way valve 2. Once mixed, refrigerant flows through external heat exchanger, absorbs environmental heat. Finally, it passes through the four-way directional control valve and liquid storage tank before returning to compressor.
In this configuration, the coolant circulates from water pump 1 to the battery pack, passes through three-way valve 3 and the plate heat exchanger, and then returns to water pump 1, thus completing the flow cycle.

2.1.2. Battery Waste Heat Recovery Mode

Figure 2b shows liquid flow paths of the refrigerant and coolant circuits during battery waste heat recovery. High-temperature high-pressure refrigerant leaves compressor, flows through four-way control valve and three-way valve 1, and enters the indoor heat exchanger to warm the passenger compartment, passes through expansion valve 1 and three-way valve 2, where it splits into two paths. One leads to external heat exchanger for absorbing environmental heat, and the other flows through solenoid valve 2 into plate heat exchanger to recover residual heat from battery coolant circuit. After passing through solenoid valve 3 both refrigerant streams merge, travel through four-way control valve and liquid storage tank and finally back into compressor.
In this configuration, the coolant circulates from water pump 1 to the battery pack, passes through three-way valve 3 and the plate heat exchanger, and then returns to water pump 1, completing the cycle.

2.1.3. Natural Heat Dissipation Mode of Batteries

Figure 2c shows the flow of the liquid through the refrigerant and coolant circuits when the battery is running in natural heat dissipation mode. High-temperature high-pressure refrigerant exits compressor and enters four-way reversing valve and three-way valve 1. It flows to the cabin heat exchanger to warm the passenger compartment. Then it travels through expansion valve 1 and three-way valve 2, to external heat exchanger where it absorbs heat from the environment. Finally, it travels through four-way reversing valve and liquid storage tank before returning to compressor after one cycle.
At this stage, the coolant in the circuit bypasses the plate heat exchanger and instead circulates from water pump 1 to the battery pack, then through three-way valve 3, the radiator, and the expansion water tank, before returning to water pump 1 to complete the cycle.
Figure 2. Various operation modes of the thermal management system. (a) Cabin, battery heating mode; (b) Battery waste heat recovery mode; (c) Natural heat dissipation mode of the battery.
Figure 2. Various operation modes of the thermal management system. (a) Cabin, battery heating mode; (b) Battery waste heat recovery mode; (c) Natural heat dissipation mode of the battery.
Preprints 213549 g002aPreprints 213549 g002b

2.2. Multi-Physics Component Modeling

2.2.1. Compressor Model

Efficient heat pump modeling for BEVs has been addressed in [16]. In this study, we utilized a fixed-displacement scroll compressor. The compressor's mass flow rate within the model is determined using Equation (1):
m ˙ r = ρ η v V n c o m
where m ˙ r is the refrigerant mass flow rate (kg/s), ρ is the refrigerant density at the compressor inlet (kg/m³), η v is the volumetric efficiency (-), V is the compressor displacement (cm³), and n c o m is the compressor rotational speed (r/min).
The energy consumed by the compressor during its operation is determined using Equation (2):
W c o m p = m ˙ r ( h 2 h 1 ) η i s η m e
where W c o m p is the compressor power consumption (kW), h 1 and h 2 are the theoretical specific enthalpies of the refrigerant at the compressor inlet and outlet (kJ/kg), η i s is the isentropic efficiency (–), and η m e is the mechanical efficiency (–).

2.2.2. Heat Exchanger Model

The refrigerant flow and heat exchange in the heat exchanger were simplified and modeled using discrete elements, namely air/wall, wall and fin, and refrigerant/wall, as depicted in Figure 3. In this study, the heat exchanger is reduced to a one-dimensional tube section, which is evenly divided into several discrete micro-elements. Within each micro-element control body, the refrigerant and air exchange heat via the tube wall and fins. The calculation result from the outlet of one micro-element serves as the inlet parameter for the subsequent micro-element control body, facilitating iterative calculation.
Regarding the heat transfer on the refrigerant side inside the heat exchanger:
Q i n t , i = h i n t , i A r , i ( T r , i T w , i )
In this formula, Q i n t , i represents the heat exchange capacity of refrigerant in the i-th micro-segment of the heat exchanger (kW), h i n t , i i represents the convective heat transfer coefficient between refrigerant and tube wall in the i-th micro-element section (kW/m2K), A r , i measures the heat exchange area of refrigerant in the i-th micro-segment (m2), T r , i represents the temperature of refrigerant in the i-th micro-segment (°C) and T w , i is the wall temperature of the heat exchanger in the same section (°C).
For calculating heat exchange with single-phase refrigerants, the Gnielinski correlation formula is applicable, as detailed in Reference [17].
The heat exchange of refrigerant condensation in two phases can be calculated by Shah's correlation [18] and Dittus-Boelter's correlation [19]. For refrigerant evaporation in two phases Chen's correlation formula [20] can be applied. On the air side outside the heat exchanger heat exchange can be computed by Kim and Bullard experimental correlation formula [21].
The wall temperature of the heat exchanger can be solved by thermal equilibrium:
m w , i c p w , i d T w , i d t = Q i n t , i Q e x t , i
In the formula, m w , i denotes the mass of the i-th micro-element section of the heat exchanger (kg), c p w , i signifies the specific heat capacity of the i-th micro-element section of the heat exchanger (kJ/(kg·K)), t is time (s), and Q e x t , i is the heat exchange rate on the external side (air or coolant) of the i-th micro-element (kW).

2.2.3. Expansion Valve Model

The refrigerant undergoes an isenthalpic throttling process as it passes through the expansion valve. The mass flow rate of the refrigerant is determined using the following equation:
m ˙ r = C D A C 2 ρ e x p Δ p
where C D is the flow coefficient of the refrigerant passing through the expansion valve (–), A C is the flow cross-sectional area of the expansion valve (m²), ρ e x p is the density of the refrigerant at the expansion valve's inlet (kg/m³), and Δ p is the pressure difference between the expansion valve's inlet and outlet (MPa).

2.2.4. Cabin Model

Temperature fluctuations within the passenger compartment are affected by several factors, including ambient temperature, vehicle speed, solar radiation, the number of passengers, and the heat pump's heating capacity. The detailed models are presented in Equations (6) to (7):
ρ a V c a b i n c p , a d T c a b i n d t = Q c a b i n + Q h e a t p u m p
Q c a b i n = Q s o l a r + Q c o n v + Q m e t + Q m e c h + Q v e n
where ρ a is the air density (kg/m³), V c a b i n is the volume of the passenger compartment (m³), c p , a is the specific heat capacity of air at constant pressure (kJ/(kg·K)), T c a b i n is the cabin temperature (K), Q c a b i n is the net external heat load on the cabin (kW), Q h e a t p u m p is the heating or cooling capacity provided by the heat pump system (kW), Q s o l a r is the solar radiation load (kW), Q c o n v is the convective heat transfer load (kW), Q m e t is the metabolic heat produced by occupants (kW), Q m e c h is the heat dissipated by mechanical/electronic equipment in the vehicle (kW), and Q v e n is the ventilation heat load (kW).

2.2.5. Battery Electro-Thermal Coupling Model

The battery's state of charge at any given moment is determined using the ampere-hour integration method.
S O C = S O C 0 1 C N 0 t I d t
where S O C is the current state of charge (–), S O C 0 is the initial state of charge (–), C N is the nominal capacity of the battery (Ah), I is the current flowing through the battery (A).
The battery's heat generation in the model is determined using the Bernardy battery heat generation equation [22]:
Q b a t = I 2 ( R o + R p ) + I T b a t d U o c v d T b a t
where Q b a t is the heat generated by the battery (kW), R o is the ohmic internal resistance of the battery (Ω), R p is the polarization internal resistance of the battery (Ω), T b a t is the battery temperature (K), U o c v is the open-circuit voltage of the battery (V), and d U o c v d T b a t is the entropy coefficient (V/K). Equations (8) and (9) together implicitly account for the effect of charging/discharging current on both the electrical and thermal performance of the battery. Winter battery temperature control strategies have been further investigated in [23].

2.2.6. Models of Other Components

The heat transfer formulas for other heat exchangers in the system (plate heat exchangers and radiators) follow the same modeling approach as the cabin and external heat exchangers; they are not repeated here. As noted in [24], the drive motor operates at temperatures above 80°C across a fairly broad range, and its temperature effect on performance is minor. Therefore, the motor thermal behavior is treated as a boundary heat source for waste heat recovery analysis. The integrated thermal management system consequently focuses on cabin and battery thermal regulation with consideration of motor waste heat recovery, rather than on extensive motor thermal modeling.

2.3. Operational Modes and NMPC-Based Control Strategy

The thermal management system requires a control strategy that can handle the multi-objective, strongly coupled, and multi-time-scale characteristics identified in Section 2.1. Two control architectures are established in this work: a baseline rule-based controller that represents the current industrial practice, and the proposed SSA-tuned NMPC controller.

2.3.1. Baseline Rule-Based Control (FSMC)

The baseline controller adopts a finite-state-machine (FSMC) structure with fixed temperature thresholds. Within the Amesim simulation environment, sensors collect real-time temperature readings for the ambient, cabin, battery, motor controller, and coolant circuits. These readings are compared with the predefined thresholds listed in Table 2, and the corresponding operating mode is activated according to the logic diagram shown in Figure 4. Although this rule-based strategy is simple to implement and responds quickly, it suffers from two fundamental limitations. First, the thresholds are fixed and cannot adapt to changing driving conditions or ambient environments, which often leads to delayed mode switching or unnecessary mode cycling. Second, the controller reacts only to the current measured temperatures and has no ability to anticipate future thermal loads. As a result, the FSMC strategy cannot achieve global energy consumption optimization, particularly under transient driving conditions.

2.3.2. Proposed SSA-Tuned NMPC Control

To overcome the limitations of the baseline rule-based controller, this work proposes an intelligent control strategy that integrates Nonlinear Model Predictive Control (NMPC) with offline weight tuning by the Sparrow Search Algorithm (SSA). The NMPC controller replaces the threshold-based decision logic with a predictive optimization framework. The SSA is used exclusively for offline tuning of the NMPC weighting parameters and does not participate in online control.
Online NMPC problem. At each sampling instant, the NMPC controller solves a constrained optimization problem over a prediction horizon Np=12 and a control horizon Nc=4. The cost function penalizes the predicted tracking errors and the control effort:
J = i = 1 N p y ( k + i ) y r e f ( k + i ) P 2 + j = 1 N c Δ u ( k + j 1 ) Q 2
where y contains the cabin temperature, the battery average temperature, and the battery temperature uniformity indicator; u consists of the compressor speed, the electronic expansion valve opening, the coolant pump speed, and the operating mode selection. The weighting matrices P=diag( ω 1 , ω 2 , ω 3 ) and Q determine the relative importance of each control objective and actuator penalty.
The decision variable vector to be optimized online is
X i = [ N p , N c , ω 1 , ω 2 , ω 3 , ω 4 , ω 5 , ω 6 , ω 7 ]
where ω 1 , ω 2 , ω 3 are the output-error weights (cabin temperature, battery average temperature, and battery temperature uniformity, respectively) and ω 4 , ω 5 , ω 6 , ω 7 are the control-effort weights corresponding to the individual actuators.
Offline SSA weight tuning. The eight parameters in X i are difficult to determine manually because the system is strongly coupled and involves conflicting objectives. This work adopts the SSA to perform an offline global search for the optimal weight combination. The SSA fitness function is defined as:
F i t n e s s = α M A E c a b + β M A E b a t + γ E t o t a l
In the formula, M A E b a t denotes the average absolute error of the temperature in the passenger compartment, the average absolute error of the battery temperature, and the total energy consumption of the thermal management system. The terms M A E b a t , E t o t a l , α , β , γ are the normalized coefficients.
The SSA was selected for its demonstrated advantages in convergence speed and global search capability on multi-parameter, multi-objective problems. Recent studies have shown that SSA outperforms genetic algorithm (GA) and particle swarm optimization (PSO) for engineering optimization tasks with similar characteristics [9,10]. The producer–scrounger mechanism and early-warning behavior of SSA help it escape local optima more effectively than conventional metaheuristics, which is particularly beneficial for the strongly coupled, nonlinear thermal management system considered here. The optimized weighting parameters were then used in the NMPC controller for subsequent simulation comparisons.
Constraints. The NMPC controller must respect the physical limits of the actuators and the thermal safety bounds of the components. The following constraints are enforced:
Compressor speed: ≤6000
Electronic expansion valve opening: 5–95%
Battery temperature: 25–45°C
Motor controller temperature: ≤85 °C
Cabin temperature: 20–28°C
These constraints are included as hard bounds in the online optimization problem, ensuring that the controller never issues commands that would violate thermal safety or actuator limits.
Implementation simplification. To ensure practical feasibility on automotive-grade hardware, four real-time optimization measures were adopted. (i) The prediction horizon was reduced to Np=12, which was identified through sensitivity analysis as the best trade-off between accuracy and computational load. (ii) The battery thermal model was simplified from a three-dimensional distributed form to a lumped-parameter one-dimensional representation (Section 2.2.5). (iii) Refrigerant property tables and heat-transfer correlation coefficients were pre-computed as look-up tables, avoiding online solution of complex algebraic equations. (iv) An early-stopping strategy was implemented in the SSA tuning loop: the optimization terminates when the best fitness value changes by less than 0.1% over five consecutive generations.
With these measures, the simplified controller satisfied the 1-second control interval required for real-vehicle deployment in the present simulation implementation. Real-time performance on automotive-grade embedded hardware will be further verified in future work.
Table 2a. Vehicle thermal management system operating modes.
Table 2a. Vehicle thermal management system operating modes.
Operating modes Temperature Compressor or PTC Electronic expansion valve opens Globe valve open Pump open Four-way valve reversing Three-way valve reversing
1. Cabin cooling Tcab ≥ 25°C
15°C < Tbat < 35°C
Compressor 1, 2 1, 2
2. Battery cooling Tamb ≥ 25°C
Tcab < 25°C
Tbat > 35°C
Compressor 4 2
3. Parallel cooling of cabin and battery Tamb ≥ 25°C
Tcab ≥ 25°C
Tbat > 35°C
Compressor 1, 2, 4 1, 2 2
4. Heat pump air conditioning to heat the cabin Tamb > -10°C
Tcab < 25°C
Compressor 3 3 3
5. Heat pump air conditioning to heat the battery Tamb > -10°C
Tbat < 15°C
Compressor 3 3 2, 3 1
6. PTC to heat the cabin Tamb ≤ -10°C
Tcab < 25°C
PTC1, 2 3
7. PTC to heat the battery Tamb ≤ -10°C
Tbat < 15°C
PTC1, 2 2, 3 1
8. Motor waste heat 10°C ≤ Tbat < 15°C
Tmw > Tbat+5°C
Tcab > 25°C
1, 2 1
9. Heat radiator to dissipate battery heat Tamb < 25°C
Tbat > 35°C
1, 2 1 2
10. Heat radiator to dissipate motor Tm > 90°C 1 2
Table 2b. Summary of NMPC parameters.
Table 2b. Summary of NMPC parameters.
Parameter Symbol Value
Prediction horizon Np 12
Control horizon Nc 4
Sampling interval Ts 1 s
Battery temperature weight (J₁) ω1 SSA-optimized
Temperature uniformity weight (J₂) ω2 SSA-optimized
Energy consumption weight (J₃) ω3 SSA-optimized
Compressor speed constraint ≤6000rpm
EXV opening constraint 5–95 %
Battery temperature constraint 25–45 °C
Cabin temperature constraint 20–28 °C
Figure 4 presents a block diagram that illustrates the logical threshold relationships within the vehicle thermal management system. This diagram effectively describes the information presented in Table 2.

3. Comprehensive Analysis of NEDC and CLTC Driving Cycles

3.1. Comparative Analysis of Driving Cycle Characteristics

The two most important vehicle test standards are NEDC and CLTC, which differ significantly in their methods, characteristics, and results. Comparing them further helps to understand how they affect electric vehicles driving range. The combination of NEDC and CLTC-P allows the controller to be assessed under both relatively regular and highly transient driving conditions.
The NEDC cycle comprises 4 urban driving cycles and 1 suburban cycle lasting 1,180 seconds. In urban driving conditions the average speed is 18.5 km/h (maximum 50 km/h) and in suburban driving conditions the average speed is 62 km/h (maximum 120 km/h). CLTC-P conditions reflect real road driving conditions in China, consisting of three stages low speed, medium speed, high speed. It has higher idle time proportion and frequent accelerations and decelerations. Figure 5 shows car speed curves in CLTC-P and NEDC conditions.

3.2. Model Validation

To verify the accuracy and reliability of the simulation model, we developed a thermal management system of electric vehicle heat pump air conditioning consisting of compressors, condensers, evaporators, and expansion valves. We then tested it experimentally under various working conditions, in particular with variable condensing temperature, variable evaporation temperature and variable speed compressor.
Comparative verification indicates that, across various working conditions, the average errors for the refrigerant mass flow rate, heating capacity, and cooling capacity are 4.76%, 4.30%, and 10.67%, respectively, all falling within an acceptable range. This supports the applicability of the calibrated model for comparative control-strategy evaluation. The purpose of this experimental validation is to establish a calibrated simulation platform; all subsequent control strategy comparisons (Section 3.3 and Section 3.4) are conducted on this validated model rather than directly on the test vehicle.
To further validate the model's accuracy in real-world vehicle conditions, additional work was conducted, involving vehicle-level validation tests in both high-temperature summer and low-temperature winter environments.
The test vehicle is a compact battery electric passenger car equipped with a lithium iron phosphate (LFP) battery pack (system nominal voltage 345.6 V, total energy 54.3 kWh), a permanent magnet synchronous motor (peak power 60 kW), and a heat pump-based integrated thermal management system. Key vehicle parameters are summarized in Table 3.
Table 3. Key Specifications of the Test Vehicle.
Table 3. Key Specifications of the Test Vehicle.
Parameter Value Unit
Vehicle type Compact electric passenger car
Curb weight 1650 kg
Battery type Lithium iron phosphate (LFP)
Battery system nominal voltage 345.6 V
Battery system total energy 54.3 kWh
Motor type Permanent magnet synchronous
Motor peak power 60 kW
Thermal management system Heat pump-based integrated system
Refrigerant R134a
Table 4. Summary of Experimental Test Conditions.
Table 4. Summary of Experimental Test Conditions.
Parameter Summer high-temperature Winter low-temperature
Ambient temperature 40°C -17°C
Driving speed 138 km/h 72 km/h
Initial battery temperature 33.5°C 8°C
Initial SOC 75.35% 86%
Target cabin temperature 25°C 22°C
Target battery temperature ≤35°C ≥15°C
Test duration 2100s 2100s
Terminal SOC (test) 66.00% 74.55%

3.2.1. Vehicle-Level Model Validation Under Summer High-Temperature Conditions

This test was designed to validate the accuracy of the baseline physical model, not to evaluate the SSA-NMPC control strategy.
The initial conditions for the summer high-temperature test are as follows: an ambient temperature of 40 °C, a driving speed of 138 km/h, an initial battery temperature of 33.5 °C, an initial state of charge (SOC) of 75.35%, and a terminal SOC of 66.00%. The vehicle is driven for 2100 s.
As shown in Figure 6, under high temperature summer conditions, the battery temperature of the test vehicle increased from 33.5°C to 35.5°C, activating the refrigerant to cool the battery. The simulation results agree with the overall trend of the test data, with the battery temperature remaining near 35.5°C. Figure 7 compares the SOC variation between the experimental vehicle and the simulation model under summer high-temperature conditions. The simulated terminal SOC is 64.76%, compared with 66.00% in the vehicle test, corresponding to a terminal deviation of approximately 1.24 percentage points. Although localized deviations appear during transient operating stages due to compressor switching, thermal load redistribution, and battery internal resistance variation, the overall SOC trend is captured reasonably well. The simulation slightly overestimates SOC consumption in the later stage of the driving cycle, but the overall agreement remains acceptable for system-level control strategy evaluation.

3.2.2. Vehicle-Level Model Validation Under Winter Low-Temperature Conditions

This test was designed to validate the accuracy of the baseline physical model, not to evaluate the SSA-NMPC control strategy.
Winter low-temperature test begins at -17°C with a driving speed of 72 km/h. The battery starts at 8°C with an 86% SOC, which decreases to 74.55% after 2100 seconds.
In the test, the battery temperature rises from 8°C to 11°C, then drops to 10°C after 300 seconds, as depicted in Figure 8. The simulation results align with the observed trend in the test data. Figure 9 illustrates a 7% SOC consumption error in the simulation data compared to the actual vehicle test. Figure 8 presents a comparison between the temperatures of actual vehicles and simulated batteries under winter low-temperature conditions, while Figure 9 contrasts the State of Charge (SOC) of actual vehicles with simulations in similar winter conditions.

3.2.3. Bench Test Error Summary

These error magnitudes are comparable to those reported in similar experimental validation studies of heat pump-based thermal management systems [14,15], and the heat transfer correlations employed (Gnielinski [17], Shah [18], Dittus-Boelter [19], Chen [20], Kim–Bullard [21]) have been extensively validated in their original publications.
Temperature measurements were acquired using PT100 resistance temperature detectors with an accuracy of ±0.15°C, installed at the battery module surface, coolant inlet/outlet, and cabin air vents. Refrigerant mass flow rate was measured using a Coriolis mass flow meter with an accuracy of ±0.15% of the reading. All sensor signals were logged at a sampling rate of 1 Hz via a dedicated data acquisition system.
Table 5. Bench Test Verification Error Summary.
Table 5. Bench Test Verification Error Summary.
Metric MAE Max absolute error Mean relative error (%)
Refrigerant mass flow rate (g/s) 1.26 2.34 4.76
Heating capacity (kW) 0.21 0.48 4.30
Cooling capacity (kW) 0.43 0.89 10.67
Table 5 summarizes the bench test verification errors. All mean relative errors are within acceptable engineering tolerances, confirming the model's suitability for subsequent control strategy simulation.
Table 6. Vehicle-level battery temperature validation error metrics.
Table 6. Vehicle-level battery temperature validation error metrics.
Metric Value
MAE 0.20 °C
RMSE 0.29 °C
Maximum absolute error 0.50 °C
Standard deviation 0.22 °C
Although the overall prediction accuracy is satisfactory for system-level evaluation, several transient operating points exhibit relatively larger local deviations. These deviations are mainly caused by compressor switching transients, refrigerant redistribution within the heat exchanger after valve actuation, and coupled thermal inertia effects between the refrigerant loop and the coolant circuit. At moments when the compressor switches on or off, or when the electronic expansion valve undergoes a rapid opening change, the refrigerant mass flow and the heat transfer rate can deviate transiently from the quasi-steady-state assumptions used in the model. These localized discrepancies do not fundamentally affect the relative comparison of control strategies on the same calibrated platform, but they indicate directions for future model refinement.

3.3. Performance Analysis Under NEDC Driving Cycle

To assess the effectiveness of various control strategies, we compared the impacts of three representative thermal management operating modes, high-speed cruise (Mode 1), waste heat recovery (Mode 2), and natural heat dissipation (Mode 3), as defined in Table 2, under the NEDC driving cycle. The simulation conditions were pre-set to fixed working scenarios to isolate the effect of each mode. All comparisons presented in this section were obtained on the experimentally calibrated simulation platform described in Section 3.2. Because the vehicle-level SOC validation indicates a non-negligible absolute prediction error, the following discussion emphasizes relative trends rather than treating the simulated absolute energy values as direct vehicle-level measurements.

3.3.1. Cabin Temperature Control

Figure 10 shows the temperature changes in passenger compartment in three tests under the NEDC condition. In the first 40 seconds, the temperature increased rapidly in all scenarios. By the third 300 seconds, the temperature reached 20°C and was stable. The lowest temperature change occurred during the high-speed cruise mode, followed by the waste heat recovery mode, and the largest change occurred in the natural heat dissipation mode. The temperature rise overshoot in high-speed cruise mode was 0.35°C, lower than 0.51°C in waste heat recovery mode and 0.59°C in natural heat dissipation mode.
Table 7 provides a summary of the discrepancies between the passenger compartment temperature and the target temperature across three different modes. For the NMPC strategy, the mean absolute error (MAE) was 0.95, the mean square error (MSE) was 15.93, and the root mean square error (RMSE) was 3.99.
Note that MAE was used as the design objective in the SSA fitness function (Eq. 12). MSE and RMSE are reported here as supplementary diagnostic metrics: RMSE penalizes larger deviations more heavily and can reveal occasional large overshoot events that are critical for passenger comfort and battery safety even when the average error is small.

3.3.2. Battery Temperature Control

Figure 11 shows changes in battery temperature under two conditions during the NEDC cycle. At high speeds, the battery temperature is close to 25°C, but not significantly fluctuating. At most intense conditions (1000 to 1200 seconds), maximum temperature fluctuation under the NMPC strategy is 0.26°C, whereas the SSA-NMPC strategy maintained a more stable battery temperature. These results indicate that the predictive controller maintains battery thermal regulation within a narrow temperature band. The reduced overshoot is mainly attributed to predictive coordination of the compressor speed and the electronic expansion valve opening: the NMPC anticipates the battery thermal load from the upcoming driving profile and adjusts the heating or cooling capacity proactively, rather than reacting to a temperature deviation after it occurs. This avoids unnecessary compressor actuation and reduces the overshoot that typically arises from threshold-based switching.
The three curves correspond to the baseline rule-based FSMC, the unoptimized NMPC, and the SSA-NMPC strategies. Around 300s, the thermal management system enters a mode-transition stage as the cabin/battery temperature approaches the control threshold. Compared with the baseline strategy, the SSA-NMPC controller provides a smoother transition after this point, with smaller temperature fluctuation and reduced overshoot. This indicates that the predictive controller can anticipate the upcoming thermal load and coordinate the compressor, expansion valve, and coolant pump more effectively during the switching process.
Table 8 summarizes the battery-temperature tracking errors for all three strategies. The SSA-NMPC case yields the smallest MAE (0.037 °C), MSE (0.0042 °C²), and RMSE (0.076 °C), which are lower than those of both the baseline FSMC and the unoptimized NMPC, indicating that the SSA-tuned weights improve battery temperature regulation.

3.3.3. Energy Consumption Analysis

Figure 12 illustrates the selection of each driving mode and the associated energy consumption under NEDC conditions. The SSA-NMPC strategy achieves an energy saving of 6.31% under high-speed cruise compared to the baseline rule-based control strategy simulated on the same calibrated model platform. Under the mild NEDC cycle, savings are more modest and within model uncertainty; detailed analysis focuses on extreme operating scenarios where thermal management loads are greatest.
It should be noted that a non-negligible SOC prediction deviation was observed in the vehicle-level validation (Section 3.2), reflecting systematic deviations between the simulation model and the physical vehicle. However, when control strategies are compared on the same simulation platform, such systematic deviations largely cancel out in a relative comparison. Therefore, the reported relative energy savings—although derived from a model with known accuracy limitations—remain indicative of the proposed strategy’s potential. Reducing the model’s absolute error through further experimental calibration is an important direction for future work. For this reason, the 6.31% saving should be interpreted as a model-based relative improvement rather than a directly measured vehicle-level energy-saving value.

3.4. Performance Analysis Under CLTC-P Driving Cycles

Both the NEDC and CLTC-P cycles were adopted. The CLTC-P cycle better represents actual driving behavior in China, for control-strategy comparison. Under CLTC-P condition, two control strategies, baseline rule-based control and the SSA-NMPC strategy were assessed. Simulation conditions included an ambient temperature of 35°C (700W/m2) in summer and -7°C in winter. The battery control target was set according to the corresponding thermal condition: cooling was activated near 35 °C in summer, whereas the winter heating target was 15 °C.

3.4.1. Summer Cooling Conditions

Figure 13 compares passenger compartment temperatures under two control strategies during summer cooling. Under baseline rule-based control, the cabin temperature increases after 900–1000 s and again near 1200 s. In contrast, under the SSA-NMPC strategy, the cabin temperature stabilizes around 25 °C.
Figure 14 illustrates the comparison of battery temperatures under summer conditions. With the SSA-NMPC strategy, the battery temperature decreases more swiftly, achieving the target temperature of 35℃ a full 200 seconds sooner than with baseline rule-based control. This results in a 22% reduction in cooling time.
Figure 15 illustrates the SOC consumption for the two control strategies. The SSA-NMPC strategy demonstrates lower SOC consumption, achieving a 6.7% reduction in energy use compared to the baseline rule-based control.

3.4.2. Heating Operation Mode in Winter

Figure 16 compares passenger compartment temperature with two control strategies for winter heating conditions. Under baseline rule-based control (FSMC), the cabin temperature approaches a steady state after approximately 300s. In contrast, under the SSA-NMPC strategy, the cabin temperature stabilizes around 22°C. Figure 16a shows cabin temperature and Figure 16b shows air outlet temperature.
Figure 17 illustrates the system's coefficient of performance (COP) during winter conditions. The COP for the SSA-NMPC strategy is consistently higher, indicating more efficient operation of the heat-pump system. As shown in Figure 18, the SSA-NMPC strategy's SOC consumption is 19.6% lower compared to that of the baseline rule-based control under the investigated CLTC-P winter conditions.

3.5. Discussion of Limitations

Although the proposed SSA-NMPC strategy shows improved performance under demanding thermal conditions, several limitations should be noted. First, the vehicle-level validation currently includes representative summer and winter cases rather than a full repeatability campaign. Additional tests under multiple initial SOC levels, ambient temperatures, and driving profiles are needed to quantify uncertainty and robustness. Second, the motor thermal subsystem is treated as a boundary heat source for waste-heat recovery rather than as a fully resolved thermal model. Therefore, the scope of the present work should be described as cabin and battery thermal regulation with consideration of motor waste-heat utilization, rather than comprehensive three-subsystem optimization. Third, SSA is used for offline weight tuning based on its reported convergence benefits, but direct application-specific benchmarking against GA, PSO, and other optimizers would further strengthen the algorithmic justification. Finally, although the vehicle-level energy savings may contribute to range extension and reduced charging frequency, their effect on charging-station demand or infrastructure planning requires a separate multi-scale framework that couples vehicle energy consumption, routing behavior, and charging decisions. The present work does not directly solve the charging-location problem; rather, it provides a vehicle-level energy-saving module that could be coupled with future route- and infrastructure-level optimization models.

4. Conclusions

This study developed an SSA-NMPC control strategy for the integrated thermal management of battery electric vehicles. The proposed framework couples a heat-pump refrigerant cycle, cabin thermal dynamics, and a battery electro-thermal model, while the motor is considered as a boundary heat source for waste-heat recovery. The model was calibrated and validated using bench and vehicle-level tests, with mean relative errors of 4.76% for refrigerant mass flow rate, 4.30% for heating capacity, and 10.67% for cooling capacity. Vehicle-level summer and winter tests further confirmed acceptable agreement between the experimental and simulated SOC trends.
Under the NEDC-based high-load assessment, the SSA-NMPC strategy maintained cabin temperature overshoot within 0.35°C and battery temperature fluctuation within 0.26°C, while reducing thermal-management energy consumption by 6.31% under high-speed cruising compared with the baseline rule-based strategy. Under the CLTC-P cycle, the proposed controller reduced the battery cooling time by 22% in summer and lowered SOC consumption by 19.6% in winter, mainly because predictive coordination of the compressor, valves, and coolant pumps improved heat-pump operating efficiency and avoided unnecessary thermal actuation.
The results indicate the potential of predictive multi-objective control to improve cabin comfort, battery thermal regulation, and thermal-management energy efficiency under the investigated demanding operating conditions. However, the experimental validation remains limited to representative vehicle-level cases, and the motor thermal dynamics are simplified. Future work will include repeatability tests, uncertainty quantification, direct benchmarking of SSA against GA and PSO for the same control problem, and integration of the vehicle-level energy model into route- and charging-demand simulations to evaluate the broader impact on charging behavior and infrastructure utilization.

References

  1. Fan Hengbin. The Application Status and Development Trend of New Energy Power Battery Technology in the Commercial Vehicle Field. Commercial Vehicles, 2025, (05): 31–33.
  2. Moran Wang, Bin Dong, Kunfeng Liang, et al. Analysis of the Impact of Thermal Management Strategies on the Driving Range of Pure Electric Vehicles during Cold Start in Winter.
  3. Lei Zhang, Yang Yang, Jing Ma, et al. Research on Optimization of Thermal Management Control Strategy for Liquid-cooled Power Battery System.
  4. Huiming Zou, Zuohang Tang, Tianyang Yang, et al. Research Progress of Thermal Management Technology for Electric Vehicles.
  5. Xiaotian Peng. Research on Control Strategy of Thermal Management System for Extended-Range Electric Vehicles.
  6. Li W., Zhang J., Huang M., et al. Research on the optimization of the control strategy of a vehicle thermal management system for pure electric vehicles.
  7. Chunjiang Dai, Wenye Lin, Shuaiqi Li, et al. Model Predictive Control Strategy for Electric Vehicle Thermal Management System Assisted by NSGA-II Optimization.
  8. Zihao Jia. Research on Control Strategy of Electric Vehicle Battery Liquid Cooling System Based on Model Prediction.
  9. Li X, Guo L, Wang S. MSSSA: a multi-strategy enhanced sparrow search algorithm for global optimization. Swarm and Evolutionary Computation, 2023, 79: 101316.
  10. Sun J., Zhou T., Wu D. Energy-saving optimization of parallel chiller system based on multi-strategy improved sparrow search algorithm.
  11. Chongju Cheng. Research on Design and Control Optimization of Thermal Management System for High-Performance Electric Vehicles.
  12. Loaiza-Quintana C, Arbelaez A, Climent L. A Robust Optimization Framework for eBus Charging Infrastructure Planning. Journal of Heuristics, 2025.
  13. Chong Guo. Research on Control Strategy of Heat Pump Air Conditioning for Electric Vehicles.
  14. Wang W., Wang X., Xu R., et al. Development of heat pump–based integrated thermal management system for battery electric vehicles.
  15. Huang W., Liu Q. Modeling and experimental validation of a vehicle thermal management system.
  16. Pengpai Li. Modeling and Control Strategy Research on High-Efficiency Heat Pump Air Conditioning System for Pure Electric Vehicles.
  17. Gnielinski V. New equations for heat and mass transfer in the turbulent flow in pipes and channels.
  18. Shah M. M. A general correlation for heat transfer during film condensation inside pipes.
  19. Dittus F. W., Boelter L. M. K. Heat transfer in automobile radiators of the tubular type.
  20. Chen J. C. Correlation for boiling heat transfer to saturated fluids in convective flow.
  21. Kim M. H., Bullard C. W. Air-side thermal hydraulic performance of multi-louvered fin aluminum heat exchangers.
  22. Bernardi D., Pawlikowski E., Newman J. A general energy balance for battery systems.
  23. Shuang Fan. Modeling of Thermal Management System for Electric Vehicles and Research on Battery Temperature Control Strategy in Winter.
  24. Du Changqing, Sun Jiahao, Li Wenhao, et al. Integrated Design of Thermal Management System for Pure Electric Vehicles and Research on Multi-level Fuzzy Control Strategy.
Figure 1. Structure diagram of the thermal management system.
Figure 1. Structure diagram of the thermal management system.
Preprints 213549 g001
Figure 3. Schematic diagram of discrete elements for the heat exchangers.
Figure 3. Schematic diagram of discrete elements for the heat exchangers.
Preprints 213549 g003
Figure 4. Diagram of the logical relationships among the threshold values within the vehicle's comprehensive thermal management system.
Figure 4. Diagram of the logical relationships among the threshold values within the vehicle's comprehensive thermal management system.
Preprints 213549 g004
Figure 5. Vehicle speed profiles under the CLTC-P and NEDC driving cycles. (a) CLTC-P driving cycle; (b) New European Driving Cycle (NEDC).
Figure 5. Vehicle speed profiles under the CLTC-P and NEDC driving cycles. (a) CLTC-P driving cycle; (b) New European Driving Cycle (NEDC).
Preprints 213549 g005
Figure 6. Comparison of real and simulated battery temperatures in summer high-temperature working conditions.
Figure 6. Comparison of real and simulated battery temperatures in summer high-temperature working conditions.
Preprints 213549 g006
Figure 7. Comparison of the State of Charge (SOC) between an actual vehicle and a simulated battery under high-temperature conditions during the summer.
Figure 7. Comparison of the State of Charge (SOC) between an actual vehicle and a simulated battery under high-temperature conditions during the summer.
Preprints 213549 g007
Figure 8. Comparison of real and simulated battery temperatures in winter low-temperature working conditions.
Figure 8. Comparison of real and simulated battery temperatures in winter low-temperature working conditions.
Preprints 213549 g008
Figure 9. Comparison of the State of Charge (SOC) between an actual vehicle and a simulated battery under low-temperature winter conditions.
Figure 9. Comparison of the State of Charge (SOC) between an actual vehicle and a simulated battery under low-temperature winter conditions.
Preprints 213549 g009
Figure 10. Cabin temperature variation under NEDC driving condition. (a) High-speed cruise; (b) Waste heat recovery; (c) Natural heat dissipation.
Figure 10. Cabin temperature variation under NEDC driving condition. (a) High-speed cruise; (b) Waste heat recovery; (c) Natural heat dissipation.
Preprints 213549 g010
Figure 11. Battery temperature variation under NEDC driving condition.
Figure 11. Battery temperature variation under NEDC driving condition.
Preprints 213549 g011
Figure 12. Mode selection and corresponding energy consumption under NEDC driving condition.
Figure 12. Mode selection and corresponding energy consumption under NEDC driving condition.
Preprints 213549 g012
Figure 13. Comparison of passenger cabin temperatures in summer with different compressor control strategies. (a) Passenger cabin temperatures; (b) Passenger cabin air outlet temperatures.
Figure 13. Comparison of passenger cabin temperatures in summer with different compressor control strategies. (a) Passenger cabin temperatures; (b) Passenger cabin air outlet temperatures.
Preprints 213549 g013
Figure 14. Comparison of battery temperatures in summer with different compressor control strategies.
Figure 14. Comparison of battery temperatures in summer with different compressor control strategies.
Preprints 213549 g014
Figure 15. Comparison of SOC in summer with different compressor control strategies.
Figure 15. Comparison of SOC in summer with different compressor control strategies.
Preprints 213549 g015
Figure 16. Comparison of passenger cabin temperatures in winter with different compressor control strategies. (a) Passenger cabin temperatures; (b) Passenger cabin air outlet temperatures.
Figure 16. Comparison of passenger cabin temperatures in winter with different compressor control strategies. (a) Passenger cabin temperatures; (b) Passenger cabin air outlet temperatures.
Preprints 213549 g016
Figure 17. Comparison of COP in winter with different compressor control strategies.
Figure 17. Comparison of COP in winter with different compressor control strategies.
Preprints 213549 g017
Figure 18. Comparison of SOC in winter with different compressor control strategies.
Figure 18. Comparison of SOC in winter with different compressor control strategies.
Preprints 213549 g018
Table 1. Structural Parameters of the Primary Components in the Thermal Management System.
Table 1. Structural Parameters of the Primary Components in the Thermal Management System.
Components Parameters Numerical value Unit
Compressor Displacement 161 cc
Condenser Length × Width × Height 685×475×16 mm
Evaporator Length × Width × Height 295×272×38 mm
Expansion valve Cross-sectional area 2.14 mm2
Plate heat exchanger Length × Width × Height 150×76×2.5 mm
Heat sink Length × Width × Height 320×275×16 mm
Table 7. Cabin temperature error metrics under the NMPC strategy (NEDC conditions).
Table 7. Cabin temperature error metrics under the NMPC strategy (NEDC conditions).
Project MAE MSE RMSE
NMPC 0.95 15.93 3.99
Table 8. Battery Temperature Error Under Various Control Strategies in NEDC Conditions.
Table 8. Battery Temperature Error Under Various Control Strategies in NEDC Conditions.
Project MAE MSE RMSE
FSMC (Baseline rule-based) 0.21 0.089 0.298
NMPC 0.062 0.0098 0.099
SSA-NMPC 0.037 0.0042 0.076
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

© 2026 MDPI (Basel, Switzerland) unless otherwise stated

Accessibility

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings