Abstract
The thermal management system is one of the important assemblies that ensure the secure operation of electric vehicles (EVs). Using intelligent algorithms to optimize the control strategy of the thermal management system can reduce energy consumption under the premise of effective heat dissipation of EVs. This paper attempts to construct the control strategy of EV thermal management system by coupling the modified genetic algorithm (MGA) and support vector regression (SVR). Firstly, the double-population adaptive mutation method and a novel optimization process are adopted to obtain MGA. Afterward, the performance of MGA is verified by four benchmark functions compared with three typical algorithms, which are genetic algorithm (GA), double-population genetic algorithm (DPGA), and quantum genetic algorithm (QGA). The results demonstrate that the accuracy and stability of MGA are obviously better than the other three algorithms. Secondly, MGA is applied to modify parameters of SVR kernel function, and the accuracy of MGA-SVR algorithm is verified by the Auto-MPG and Computer Hardware data sets. The mean square deviations of the SVR algorithm test set are 0.0186 and 0.0806, respectively, and the mean square deviations of the MGA-SVR algorithm test set are 0.0099 and 0.0054, respectively, which fully shows that MGA-SVR have more accurate forecasting capabilities. Finally, the thermal management system model of EV is built by the one-dimensional simulation software KULI. Under the Chinese working condition, fan speed which meets the cooling requirements of the motor and controller is obtained from the KULI model, and the database is constructed. Then, MGA-SVR is trained by database and employed to predict fan speed under the Chinese working condition and obtain control strategy of the thermal management system. Compared with traditional control strategy, the thermal management system based on MGA-SVR control strategy can not only meet the radiating requirements, but also effectively reduce the power consumption of fans.
Keywords
Introduction
Environmental pollution and energy crisis have been becoming increasingly serious in recent years. EV has become the automobile enterprises’ competitive products owing to its high efficiency and low pollution. 1 However, the normal operation of key components such as motor is the basis to ensure the safety of the operation of the vehicles. If the heat generated by the EV motor system cannot be taken away in time, it will affect the working efficiency, and even cause it to burn out. Therefore, a thermal management system is of great significance to EVs. 2
For a complete thermal management system, the effective control strategy ensures that the motor and other key components work in the appropriate temperature range even if the compressor, fan and other power consuming parts work in the low speed range. However, the control strategy of automobile thermal management system based on threshold control and fuzzy control is difficult to meet the requirements. 3 With the development of the automobile industry technology, it is difficult for the traditional control method to fulfill the requirements of many aspects due to the increasingly precise requirements of the vehicle control system. Complex intelligent algorithms, such as SVM, 4 ANN, 5 GA, 6 and Combined artificial intelligence method 7 are emerging and developing in the Industrial field. Then researchers have begun to study the application of intelligent algorithms to the control strategy of vehicle thermal management system.8,9 Wang et al. 10 used GA to optimize the fuzzy membership function with the goal of minimizing energy loss, and obtains the energy management strategy of hybrid energy storage system. Hannan et al. 11 adopts particle swarm optimization algorithm based on fuzzy logic control to improve the performance of battery thermal management system.
As a typical intelligent algorithm, GA is extensively used in mathematical programing, combinatorial optimization, and other fields. 12 Nevertheless, the optimization ability of GA is still facing challenges, and it is worthwhile devoting effort to improve the parameter setting, mutation method and convergence rules. 13 To improve the global search ability, Kumar et al. 14 adopt queuing theory and non-dominated sorting genetic algorithm II to make a planning framework of electric vehicles fast charging station assisted by solar and battery. Bhattacharjee et al. 15 used the improved Non-dominated Sorting Genetic Algorithm and other evolutionary optimization algorithm to optimize powertrain for improving fuel economy and performance. Yang et al. 16 combined GA with a distributed parameter MCGC model to predict the performance of micro-channel gas-cooler of automobile air conditioning system. Saadaoui 17 adopt non-uniform mutation to improve the performance of GA, and optimize the parameters of solar PV cell/module. Support vector regression (SVR) was proposed by Vapnik, 18 which is used to solve the fitting problem of nonlinear data in engineering, such as the prediction of vehicle air conditioning performance, 19 battery remaining useful life prediction 20 and so on. To improve the prediction accuracy of SVR, researchers propose to use various optimization algorithms, such as artificial fish swarm algorithm (AFSA), 21 GA, 22 firefly algorithm (FA), 23 to search for the optimal combination of parameters.
In this paper, the double-population adaptive mutation method is used to improve the GA, and get the MGA. The four typical benchmark functions are selected to compare the performance of MGA with GA, multiple-population genetic algorithm (MPGA) and quantum genetic algorithm (QGA).24–26 It is proved that MGA shows much better performance in both accuracy and computational stability.
There are three main contributions of this paper:
The double population adaptive mutation operator and novel optimization process are introduced into the GA to obtain MGA algorithm.
MGA is applied to modify the penalty factor and variance of radial basis function of SVR kernel function and the accuracy of SVR is improved.
MGA-SVR is used to study the control strategy of the thermal management system of an EV, which effectively saves energy on the premise of satisfying the vehicle thermal load.
MGA-SVR algorithm
Standard GA
The basic concept of GA is to simulate the genetic mechanism of natural biological population, and select the optimal individual after the stages of selection, crossover and mutation. Based on this concept, the biological population which represents the feasible solution space is composed of several individuals, while the individual is composed of several genes. The value of fitness indicates the quality of individuals. The better individuals and their genes are more possibly inherited by the offspring and become the optimal feasible solution. However, GA is easy to sink into premature convergence. 27 In order to improve the optimization ability of GA, it is usually modified by combining genetic variation or crossover, controlling population size, introducing adaptive control parameters or combining with other intelligent algorithms.
2.2. Double-population adaptive mutation strategy
According to the reference Liu et al., 28 a double-population adaptive mutation operator is proposed. The population is divided into two subpopulations, and Gauss mutation and Cauchy mutation 29 are performed respectively. The probability density functions of Gaussian distribution function and standard Cauchy distribution function are shown in formula (1) and formula (2), respectively.
x is a random variable and the range of it is infinite, −∞ < x < +∞.
It can be seen from Figure 1 that most of the random numbers

Curves of Gauss distribution and Cauchy distribution.
Where,
Optimization mutation strategy
To further enhance the optimization ability of the population, the two subpopulations are merged after the mutation operation, and then the whole population is further optimized as the following steps. Above all, the location of the individual with the highest fitness is calculated. After that, each individual updates to the optimal individual according to formula (4). If the fitness of the updated individual is better than the original, the position of the individual is replaced. Otherwise, a pseudo-random number, namely rand, is generated randomly. If
To find the minimum value of the function as the optimal value of fitness function, the operation flow of optimization mutation operator is shown in Figure 2. In this case,

Optimization mutation operator flow chart.
Construct MGA algorithm
Based on double-population adaptive mutation strategy and the optimization mutation strategy, MGA is obtained in this section. To seek the minimum value of continuous space, the detailed steps of MGA are as following steps. The flow chart of MGA is shown in Figure 3.
Step1: In the definition domain,
Step2:
Step3: The process of population evolution is performed. According to the probability of selection
Step4: The process of population crossover is performed. According to the probability of crossover

Flow chart of MGA.
In formula (6),
Step5: The process of population mutation is performed. According to the fitness, individuals in the merged population are divided into two subpopulations on the basis of the relationship between the value of the ratio function obtained by formula (7) and 0.5. Gauss mutation and Cauchy mutation are carried out for the two subpopulations according to formula (3), and then the fitness values of each individual are calculated.
In the formula above,
Step6: The populations before and after mutation are recombined. And the first n individuals with better fitness are selected to form the new population, on which the operation of optimizing mutation operator is performed. Each individual steps forward to the optimal individual according to formula (4). If the fitness of the updated individual is better, the position of the individual is replaced. Otherwise, the position is updated randomly. If the fitness values after random updating are better, the original individuals will be replaced; Otherwise, the individuals will remain unchanged. After the optimization mutation operator is calculated, all individuals form the next generation population. And the individuals with the best fitness are recorded as
Step7: Comparing the value of optimal solution of the new generation with that of the previous generation, if
Step8: When
Step9: The iteration stops and the optimal solution is output.
Performance verification of MGA
Compared with standard GA, DPGA and QGA, the effectiveness of MGA is verified by finding the optimal value of four benchmark functions. The formulas of the functions are shown in formulas (8) to (11).
where x and y are limited within the range of [−2,2].
where x and y are limited within the range of [−100,100].
where x and y are limited within the range of [−10,10].
where x is limited within the range of [−3.0, 12.1] and y is limited within the range of [4.1, 5.8].
For ensuring the consistency of the test environment, all algorithms run on a computer with 3.2 GHz quad core processor and 16 GB computer memory, and are tested in MATLAB2019 coding environment. The maximum number of iterations of each algorithm is set to 200 and the population size is set to 100. Parameters of GA are set as follows:
Under the same test environment and parameter settings, each algorithm runs 20 times independently for each function. The best function value, the worst function value, the average function value and the standard deviation of each algorithm are shown in Table 1. It can be observed that the accuracy and stability of MGA is superior to that of the other four algorithms. To further prove the optimization performance of MGA, Figure 4(a) to (d) show the average iteration process of each algorithm for 20 runs. For the calculation of
Comparison of optimization results of four test functions.

The average iterative process of each algorithm: (a) F1, (b) F2, (c) F3, and (d) F4.
Optimizing SVR algorithm with MGA
When using the traditional SVR, penalty factor (c) and variance of radial basis function (g) are selected by cross validation method. Nevertheless, the large step size results in missing the best combination of c and g, which will reduce the accuracy of performance prediction; the small step size results in the complexity of calculations increasing. The MGA algorithm enhances the prediction performance of the SVR algorithm by improving the selection of parameters c and g. Figure 5 is a flowchart of the process. The prediction error of the SVR model is used as the optimization target, and the parameter combination of c and g that minimizes the error is found for the subsequent forecasting process.

Flow chart of MGA-SVR.
To demonstrate the effectiveness of MGA-SVR, two datasets, Auto_MPG and Computer Hardware, in the UCI standard database 30 are chosen to compare the performance of MGA-SVR with SVR, respectively. To ensure that the training environment is consistent, the two algorithms are run on a computer with a 3.2 GHz quad-core processor and 16 GB of running memory, and tested in the running environment of MATLAB 2019.For each data set, 80% of the data is the training set, and the remaining 20% is the test set. During the operation, the same training set and test set are used in both algorithms to avoid errors caused by different data. Table 2 shows the comparison of the average relative error and mean square error of the training set and the test set using the SVR and MGA_SVR algorithms for prediction, respectively. For the parameter prediction of the training set and test set, MGA-SVR is apparently more accurate than the traditional SVR, and can be applied to the analysis and establishment of the control strategy of the vehicle thermal management system.
Comparison of prediction results of each dataset.
Establishment of control strategy for thermal management system
Building simulation model of thermal management system
Compared with bench tests of thermal management system, it is more convenient to find the influence of these parameters by computer simulation. Therefore, the simulation model of electric vehicle thermal management system is established based on KULI, as shown in Figure 6. KULI software is a professional software for the research of automotive thermal management system, providing a complete set of automotive thermal simulation tools. At a certain vehicle speed and ambient temperature, the cold air driven by the fan exchanges heat with the radiator to take away the heat from the motor, controller and DC/DC converter. The performance curves of fan built in KULI are shown in Figure 7, which shows the relationship between the power/pressure difference of the fan and the flow rate of air by wind tunnel test.

KULI simulation of thermal management system. (a) Layout of vehicle thermal management system (close to the liquid) and (b) Layout of vehicle thermal management system (close to the wind).

Performance curves of electronic fan.
Calibration of thermal management system simulation model
Referring to the existing experimental data, the model of vehicle thermal management system built in last section is calibrated by calculating the heat dissipation capacity. The working conditions are set as follows. In case 1, the ambient temperature is 40°C, and the vehicle speed is 40 km/h, and the climbing degree is 10%; In case 2, the ambient temperature is 40°C, the vehicle speed is 120 km/h, and the climbing degree is 0%. Table 3 presents information about the equipment used in the experiment. The parameter setting and calibration results of the steady-state model are shown in Table 4. The inlet and outlet temperature of the coolant is calculated based on the calibration model, and the comparison with the test value is shown in Table 5. The difference between the simulation and test value of the inlet and outlet coolant temperature is within 2.2°C). The difference between the simulation and test value of the motor inlet and outlet water temperature is within 2.2°C. In both cases, the error is within 5%, and the model is accurate enough to be used in the following analysis.
Main equipment of the experiments.
Parameter settings and calibration results of the steady-state model with experimental data.
Comparison of experimental data and simulation results.
To verify the accuracy of the model, environment warehouse experiment is carried out to test the transient performance of the thermal management system. The ambient temperature is 40°C. The vehicle speed is 40 km/h, and the climbing degree is 10%. The coolant outlet temperature of motor is controlled by the controller outside the environment warehouse. After setting the light intensity and windward speed, the experiment can be started. The simulation parameters are consistent with the experimental settings: the ambient temperature is set at 40°C, the vehicle speed is set at 40 km/h, the simulation time is set as 600 s, and the initial temperature of motor is set as 65°C. Both the simulated and experimental results are shown in Figure 8, and the trends are consistent. The simulation value of the coolant temperature of motor is finally stable at 66.52°C with an error of 0.27%, and the maximum error is 3.61%. The above analysis also illustrates relatively high accuracy of the simulation model of vehicle thermal management system based on KULI software.

Coolant outlet temperature of motor.
Strategy of the thermal management system based on MGA-SVR
Based on the simulation model of the vehicle thermal management system, the database is established, which is used to construct the control strategy. In order to make the outlet coolant temperature of motor in the range of 60 ± 0.5°C, the most appropriate speed of the electronic fan under different working conditions were obtained by changing the motor torque, motor speed, ambient temperature, coolant pump speed, and considering the last second motor refrigerant outlet temperature, and other input parameters. By setting the motor torque range of 4–140 Nm, the motor speed range of 0–5000 r/min, the ambient temperature range of 30°C–40°C, the coolant pump speed range of 2000–3000 rpm, the motor coolant outlet temperature in the last second of 40°C–65°C, 486 sets of sample data of electronic fan speed under different working conditions are calculated, which are served to establish the control strategy of vehicle thermal management system. Table 6 shows samples of fan speed and motor speed prediction.
Fan speed prediction samples.
MGA-SVR is applied to predict the speed of fan under different working conditions. Figure 9 shows the comparison between the predicted and simulated speeds of the fan. It can be seen that the predicted results are in good agreement with the simulation data. The correlation test

Predicted and simulation values of fan speed.
In order to verify the effect of the intelligent control strategy of the thermal management system based on the prediction of MGA-SVR, the fan speed prediction model trained by MATLAB. The heat dissipation of the motor is calculated according to the Chinese working conditions, and the condenser power is set at 6 kW. The vehicle thermal management system model built by KULI is transient simulated on the Chinese working condition. The temperature changes of motor outlet coolant are calculated and compared with that under the threshold control. For threshold control, when the coolant outlet temperature of the motor is lower than 59°C, the fan is set to the low gear (speed is 1800 rpm). When the coolant outlet temperature of the motor is higher than 61°C, the fan is set to the high gear (2800 rpm). When the coolant outlet temperature of the motor is higher than 59°C and lower than 61°C, and the outlet water temperature of the motor continues to increase, the fan is set to the low gear. If the outlet water temperature of the motor continues to decrease, the fan is set to the high gear.
Figure 10 shows the coolant inlet temperature of motor under the Chinese working condition. Because MGA-SVR control strategy is trained based on the sample database obtained under steady-state operation conditions and the coolant has high specific heat capacity, the coolant outlet temperature of the motor slightly fluctuates, but the change trend of the coolant temperature is relatively stable. However, when the threshold control strategy is used for transient simulation, the coolant outlet temperature of the motor changes greatly. Figure 11 shows speeds of the fan under the Chinese working condition. In this working condition, the MGA-SVR control strategy can adjust the speeds of the fan more flexibly than that under threshold control, which effectively utilizes the ability of the thermal management system. Compared with the threshold control method, the fan power consumption of the intelligent control strategy is reduced by 11.59%, which effectively reduces the power consumption of the fan and saves vehicle energy.

The coolant inlet temperature of motor under Chinese condition.

Speed of the fan under Chinese condition.
Conclusion
Based on the modified genetic algorithm and support vector regression, this paper studies the thermal management system and control strategy of electric vehicle. The main work and conclusions are as follows:
To improve the traditional GA, the Gauss and Cauchy mutation operators are adopted, and the population optimization mutation operator is introduced to it in the meantime. Afterward, MGA is used to improve SVR algorithm, which establishes foundation for constructing the control strategy of vehicle thermal management system.
Based on the prediction model trained by MGA-SVR, the control strategy of the fan speed is obtained. The control strategy file is coupled with KULI software, and the transient simulation is carried out under the Chinese working condition. The temperature changes of motor outlet coolant is calculated and compared with that under the traditional threshold control. The results show that the thermal management system based on MGA-SVR control can not only meet the requirements of heat dissipation, but also reduce the energy consumption of electronic fans, which is conducive to increase the mileage of electric vehicles.
Relative to the advantages of computational accuracy and stability, the MGA algorithm relatively increases the computation time, further research is needed to optimize computation time while preserving optimization capabilities. MGA can be further applied in other fields, such as the heat pump air conditioning control of the electric vehicles in the future.
Footnotes
Author contributions
Conceptualization, methodology, and data curation, WEI YAN, LI-PING LIU, and MEI-JING LI; Formal analysis, MEI-JING LI; Validation, WEI YAN and MEI-JING LI; Resources, YUAN WANG; Funding acquisition. WEI YAN; Writing—original draft preparation, MEI-JING LI and NA MEI; Writing—review and editing, WEI YAN, CHUN-YAN QU and NA MEI; All authors have read and agreed to the published version of the manuscript.
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was financially supported by the China Shandong province Key Research and Development Program of Grant No. 2020CXGC011005
