Abstract
Cabin heating significantly affects the driving range of electric vehicles (EVs) under cold weather conditions, making energy-efficient thermal management essential. Conventional control strategies typically regulate a fixed cabin temperature setpoint, which may lead to suboptimal energy consumption and does not directly account for passenger thermal comfort. This study proposes a real-time thermal comfort-oriented nonlinear model predictive control (NMPC) framework for EV heat pump systems. To enable real-time implementation, a control-oriented model is developed by combining a data-driven model for heat pump performance with a linearized Predicted Mean Vote (PMV) model. The proposed NMPC optimizes the trade-off between passenger thermal comfort and compressor energy consumption while satisfying actuator constraints. A high-fidelity physics-based virtual plant is employed to evaluate the proposed strategy. Simulation results show that the proposed NMPC maintains thermal comfort within the recommended PMV range while reducing total energy consumption by 8.3% compared with a conventional rule-based controller. Furthermore, a parametric study involving 1210 gain-tuning cases of a rule-based controller and 100 NMPC weighting scenarios demonstrates a consistently superior comfort–energy trade-off. The average computation time remains below 0.15 s on the simulation platform, indicating that the proposed NMPC formulation can be solved within the selected sampling interval. These results highlight the potential of thermal comfort-oriented NMPC for improving both passenger comfort and energy efficiency in EV heat pump systems.
1. Introduction
The rapid electrification of the automotive industry has increased the importance of efficient thermal management systems (TMSs) in electric vehicles (EVs) [1,2]. Unlike conventional internal combustion engine vehicles, EVs cannot utilize abundant waste heat from the powertrain and therefore require dedicated heating systems to maintain passenger comfort under cold ambient conditions. Among various heating technologies, heat pump systems have emerged as a promising solution because of their superior energy efficiency compared with positive temperature coefficient (PTC) heaters [3,4]. Nevertheless, cabin heating remains one of the largest auxiliary energy loads in EVs and can significantly reduce driving range during winter operation [5]. Therefore, improving the energy efficiency of EV heat pump systems while maintaining passenger comfort has become an important research topic [1,6,7,8,9].
The thermal management of electrified vehicles has been extensively investigated from the perspectives of system architecture, thermal modeling, heating and cooling technologies, and passenger comfort. Lajunen et al. provided a comprehensive review of cabin thermal management for electrified passenger vehicles, covering cabin thermal modeling, thermal comfort, and various heating and cooling technologies [10]. Subsequent studies have investigated heat-pump-based cabin heating systems and advanced thermal management strategies under cold-weather conditions [1,3,4]. These studies demonstrate that the thermal behavior of an EV cabin is strongly coupled with the HVAC system and that appropriate thermal management strategies are essential for reducing energy consumption while maintaining passenger comfort. In addition, recent systematic research on vehicle cabin thermal modeling has emphasized the trade-off between model complexity and prediction accuracy and highlighted the increasing use of data-driven and reduced-order modeling approaches for control applications [11].
From a control perspective, conventional rule-based and feedback controllers remain widely used in automotive HVAC systems because of their simplicity and established implementation [12,13]. However, these approaches generally regulate cabin air temperature toward a predefined target and do not explicitly optimize the future evolution of thermal states and energy consumption. This limitation becomes particularly relevant for EVs because the available electrical energy must be shared between propulsion and auxiliary thermal loads. Model Predictive Control (MPC) has therefore attracted increasing attention for automotive thermal management because it can predict future system behavior and explicitly account for multiple objectives, actuator constraints, and system dynamics [7,14,15,16,17,18]. Kibalama et al. developed an MPC-based energy management strategy for automotive climate control using a nonlinear vapor-compression model and demonstrated the potential of predictive optimization for reducing HVAC energy consumption [19]. Cvok et al. subsequently formulated a multi-objective optimization-based cabin heating strategy for EVs that simultaneously considered energy consumption and passenger thermal comfort using the Predicted Mean Vote (PMV) index [20]. Their results demonstrated the potential of coordinated thermal management to improve the energy–comfort trade-off during cabin heating.
More recent studies have further extended model-based control approaches for electrified vehicle thermal systems. Karimshoushtari et al. investigated several advanced model-based control strategies, including nonlinear MPC, MPC with value-function approximation, and LQR, for an EV cabin heating system using a physics-based thermal model [13]. Their study demonstrated the potential of advanced model-based strategies to improve thermal performance and energy efficiency while considering the nonlinear characteristics of electrified vehicle thermal systems. Wang et al. proposed an integrated MPC strategy for EV thermal management using a control-oriented model constructed from physical and data-driven modeling approaches, with the objective of reducing total thermal management power while maintaining cabin and battery temperatures [21]. These studies indicate that predictive control can provide advantages over conventional feedback-based strategies; however, the development of computationally efficient control-oriented models remains important because high-fidelity thermal models can be computationally expensive for repeated optimization within an MPC framework.
In addition to energy efficiency, passenger thermal comfort has become an increasingly important control objective. Cabin air temperature alone does not fully describe human thermal sensation because thermal comfort is affected by multiple environmental and personal factors, including air temperature, mean radiant temperature, humidity, air velocity, metabolic rate, and clothing insulation. The Predicted Mean Vote (PMV) index, standardized in ISO 7730 [22], provides a quantitative representation of thermal sensation and has therefore been widely adopted in thermal comfort studies [23]. However, direct incorporation of the original PMV formulation into real-time optimization is challenging because it involves nonlinear heat-balance relationships and requires occupant-dependent variables such as metabolic rate and clothing insulation, which are generally difficult to measure reliably in production vehicles.
Several recent studies have attempted to address these limitations by incorporating thermal comfort models into predictive vehicle climate control. Cvok et al. considered PMV together with energy consumption in the optimal design of an EV cabin heating controller [20]. Kim et al. proposed a thermal comfort-conscious eco-climate control strategy based on MPC and an approximated PMV-based thermal comfort model, demonstrating improved energy efficiency while maintaining passenger thermal comfort compared with rule-based control [23]. These studies demonstrate the feasibility and benefits of integrating PMV-based comfort objectives into predictive climate control. Nevertheless, practical application of comfort-oriented MPC to EV heat-pump heating systems still requires a suitable balance among model fidelity, computational complexity, and thermal comfort representation. In particular, the use of a control-oriented heat-pump model together with a computationally tractable PMV representation is important for enabling repeated nonlinear optimization within a real-time control framework.
Furthermore, cabin ventilation is related not only to thermal comfort but also to passenger health and indoor air quality. For example, Liu et al. developed a cooperative control strategy for EV air conditioning and ventilation that considered both cabin thermal conditions and health-related ventilation requirements [16]. Such studies demonstrate that ventilation and air-quality considerations can introduce additional objectives and constraints into vehicle climate control. However, the present study focuses specifically on the energy–thermal comfort trade-off during winter heat-pump cabin heating. Fresh-air ventilation and air-quality-related states are therefore outside the scope of the present control formulation. The integration of thermal comfort, energy consumption, and cabin air quality represents an important extension for future work.
Based on the above considerations, the present study focuses on the development of a computationally efficient thermal comfort-oriented nonlinear model predictive control (NMPC) framework for an EV heat-pump heating system. Unlike approaches that directly employ high-fidelity thermodynamic models or rely only on fixed cabin-temperature targets, the proposed framework combines a reduced-order cabin thermal model, data-driven heat-pump performance maps, and a simplified PMV-based thermal comfort model. The high-fidelity physics-based model is retained as a virtual plant to evaluate the predictive accuracy and closed-loop control performance of the control-oriented model. To enable practical optimization, the occupant-dependent variables in the original PMV formulation are represented using nominal values corresponding to the investigated winter operating condition, and the resulting PMV relationship is simplified into a computationally efficient form suitable for NMPC.
The proposed NMPC is formulated to explicitly balance thermal comfort and compressor energy consumption while satisfying actuator constraints. The controller is implemented using the GRAMPC solver and evaluated using a high-fidelity physics-based virtual plant under winter heating conditions. In addition to a direct comparison with a conventional temperature-oriented rule-based controller, an extensive parametric analysis is conducted to examine the influence of controller tuning on the comfort–energy trade-off. Through this approach, the study aims to clarify the potential benefits of predictive thermal-comfort-oriented optimization beyond conventional temperature-based control while maintaining a control-oriented model structure suitable for real-time optimization.
The main contributions of this study are summarized as follows: (1) A computationally efficient control-oriented model of an EV heat pump system is developed using data-driven performance maps and reduced-order thermal dynamics. (2) A simplified PMV-based thermal comfort model, obtained by fixing occupant-dependent variables at nominal values and linearizing the PMV formulation, is integrated into the NMPC framework to enable real-time comfort optimization. (3) A real-time NMPC strategy is implemented and validated using a high-fidelity virtual plant, demonstrating improved energy efficiency and thermal comfort compared with a conventional rule-based controller. (4) Extensive parametric studies are conducted to investigate the comfort–energy trade-off and assess the robustness of the proposed control framework under various tuning conditions.
2. Control-Oriented Modeling
This section presents the control-oriented model developed for the proposed NMPC framework. The objective is to capture the dominant thermal dynamics of the EV heat pump system while maintaining a computational complexity suitable for real-time optimization. The resulting model consists of three subsystems: a cabin thermal model, a heat pump model, and a thermal comfort model. The accuracy of the proposed reduced-order model is subsequently validated against a high-fidelity physics-based virtual plant.
2.1. Target System
A high-fidelity physics-based simulation model was developed using MATLAB/Simscape version 2025b to represent the target EV heat pump system. The model captures the nonlinear thermodynamic behavior of the refrigerant cycle and serves as a virtual plant for controller validation.
As illustrated in Figure 1, the modeling boundary includes the major refrigerant loop components, including the electric compressor, electronic expansion valves, exterior condenser, evaporator, and inner condenser, together with the cabin air volume. Interactions with the coolant loop, such as waste heat recovery from electrical components, are treated as boundary conditions.
Figure 1.
Physics-based simulation model structure.
This configuration enables detailed analysis of transient refrigerant states, including pressure, enthalpy, and temperature dynamics, while significantly reducing computational complexity compared with a full-vehicle simulation model. The cabin is represented as a thermal volume in which heat transfer occurs among the cabin air, interior mass, and ambient environment through conductive and convective mechanisms.
2.2. Plant Description from a Control Perspective
From a control perspective, a system description is shown in Figure 2. The EV heat pump system can be represented by control inputs, system states, and external disturbances. The primary control inputs are the compressor speed (ucomp), and the blower fan command (ublwr), which directly regulate the refrigerant mass flow rate and the cabin air circulation rate, respectively. The thermal state of the system is characterized by the cabin air temperature (Tcab) and the interior mass temperature (Tint). The ambient temperature (Tamb) is treated as the primary external disturbance because it influences both the thermal load imposed on the cabin and the efficiency of the heat pump system. Based on these variables, the control objective is to maintain passenger thermal comfort near a thermally neutral condition while minimizing compressor energy consumption under varying operating conditions.
Figure 2.
System diagram in control perspective.
2.3. Cabin Thermal Model
The cabin thermal dynamics are formulated as a lumped model with two primary states: the cabin air temperature () and the interior mass temperature (). The cabin energy balance is expressed as
where mcab and Ccab denote the mass and specific heat capacity of the cabin air, respectively.
The total heat inflow rate () is given by
where is the heating capacity supplied by the heat pump, is the metabolic heat generated by passengers, and n is the number of passengers.
The total heat outflow rate modeled for thermal losses due to air recirculation, air leakage, and heat exchange with the interior mass is as follows:
which includes ventilation losses (), air leakage losses (), and heat exchange with the interior mass (). Each heat flow can be calculated as
where and represent the mass flow rates of ventilation and leakage, respectively, Cair is the specific heat of air, and is the convective heat transfer between the cabin air and the interior parts. is the coefficient of heat exchange between cabin air and interior mass. This heat exchange was estimated by the equation of temperature difference between cabin and interior parts.
Similarly, the dynamics of the interior mass (including doors, glass, and roof) are governed by the balance between heat inflow and outflow:
The heat inflow to the interior mass, , is equal to the heat received from the cabin air:
The heat outflow from the interior mass, , represents the conductive and convective heat loss from the vehicle body to the ambient environment. It is modeled as below:
Here, is the coefficient of heat exchange between interior mass and ambient air. Both and are modeled based on Newton’s law of cooling using equivalent heat transfer coefficients derived from the simulation data.
2.4. Heat Pump Model
The heat pump system exhibits highly nonlinear behavior due to refrigerant phase transitions and varying operating conditions. Direct use of a high-fidelity thermodynamic model within an NMPC framework is computationally impractical for real-time implementation. Therefore, a data-driven control-oriented model is adopted.
The heating capacity of the heat pump (), the power consumption of the compressor (), and the power consumption of the blower () are defined as functions of four key variables, blower command (), compressor speed (), ambient temperature (), and cabin air temperature (), as follows:
These models are constructed using data obtained from validated high-fidelity simulations in Section 2. To capture the transient behaviors, such as the thermal inertia of heat exchangers and mechanical delays, a first-order lag system is applied to the steady-state outputs. This approach allows the control-oriented model to reflect the dynamic characteristics of heating capacity and power consumption with minimal computational complexity.
These functions are implemented using differentiable polynomial curves generated from the validated virtual plant, as shown in Figure 3. To capture transient behavior arising from heat exchanger thermal inertia and actuator dynamics, first-order lag dynamics are applied to the steady-state outputs. This approach preserves the dominant system behavior while maintaining computational efficiency suitable for real-time optimization. The identified models were validated as shown in Figure 4 where the reference signals are taken from the high-fidelity simulation model in Figure 1.
Figure 3.
Visualized models of heat pump and power consumption.
Figure 4.
Model validation heat pump and power consumption.
2.5. Thermal Comfort Model
Passenger thermal comfort is incorporated into the control framework using the Predicted Mean Vote (PMV) index defined in ISO 7730. PMV predicts the average thermal sensation of a large group of occupants on a seven-point scale ranging from −3 (cold) to +3 (hot), where 0 represents thermal neutrality.
The original PMV model is derived from Fanger’s heat balance theory and depends on environmental variables, including air temperature, mean radiant temperature, humidity, and air velocity, as well as occupant-dependent variables such as metabolic rate and clothing insulation [16]. In its general form, PMV can be expressed as
where denotes the metabolic rate, and represents the thermal load on the body.
Although PMV is widely accepted as a thermal comfort metric, its direct application in real-time vehicle control is challenging. Several occupant-dependent variables, including metabolic rate and clothing insulation, are generally unavailable in production vehicle control systems and cannot be measured reliably during operation. Furthermore, the nonlinear structure of the PMV formulation increases the computational burden of online optimization.
To enable practical implementation within the NMPC framework, occupant-dependent variables were fixed at representative nominal values corresponding to typical winter driving conditions. This assumption was adopted because variables such as metabolic rate and clothing insulation are generally difficult to measure reliably in a production vehicle without additional occupant monitoring systems. In particular, the metabolic rate depends on occupant activity and cannot be directly obtained from the vehicle thermal management system. Therefore, representative nominal values were used to construct a control-oriented PMV model based on measurable or estimable vehicle states.
Under these assumptions, the PMV index can be reformulated as a function of cabin air temperature, interior mass temperature, and relative humidity, and approximated using a linear regression model. The resulting model is intended to represent thermal comfort under the investigated winter heating conditions rather than all possible occupant activities and seasonal conditions. Therefore, the fixed occupant parameters should be regarded as a modeling assumption that limits the direct applicability of the present PMV model to substantially different operating conditions, such as summer cooling or highly varying occupant activity. The resulting control-oriented PMV model is expressed as
where RH represents the cabin relative humidity, Icl denotes clothing insulation, and the coefficients (ai) are identified through least-squares regression using PMV values generated by the original ISO 7730 model over the operating range of interest.
This simplified representation eliminates the need for difficult-to-measure occupant-dependent variables while significantly reducing computational complexity. Consequently, thermal comfort can be directly incorporated into the NMPC optimization problem using only measurable or estimable vehicle states.
2.6. Model Validation
The proposed control-oriented model with cabin thermal dynamics was validated against the high-fidelity virtual plant to evaluate its suitability for NMPC implementation. The identified cabin thermal parameters are listed in Table 1.
Table 1.
Thermal Dynamics Model Parameters.
Figure 5 compares the responses of the control-oriented model and the plant under representative operating conditions. The heat pump model accurately reproduced the heating capacity dynamics, yielding a steady-state RMSE below 20 W. The cabin thermal model demonstrated excellent agreement with the virtual plant, achieving an RMSE of 0.0936 °C and an (R2) value of 0.9988.
Figure 5.
Cabin model validation.
The simplified PMV model was validated against the original nonlinear ISO 7730 formulation, as shown in Figure 6. The resulting regression achieved an (R2) value of 0.9816 and an RMSE of 0.2487 PMV units, indicating that the simplified representation preserves the dominant thermal comfort characteristics while substantially reducing computational complexity.
Figure 6.
Validation of control-oriented PMV model.
These results demonstrate that the proposed control-oriented model provides sufficient accuracy for real-time NMPC implementation while maintaining a computational cost suitable for embedded automotive applications.
The control-oriented plant model described above is used as the nonlinear prediction model for the NMPC formulation presented in Section 3.
3. Controller Design
3.1. Control Objective
Based on the control-oriented model developed in Section 2, the objective of the proposed controller is to balance passenger thermal comfort and energy efficiency. Rather than regulating a fixed cabin temperature setpoint, the controller directly considers thermal comfort through the PMV index. Specifically, the control objective is to maintain the PMV value close to thermal neutrality (range of according to ISO 7730 standards) while minimizing compressor power consumption under varying ambient conditions and actuator constraints.
3.2. Formulation of the Optimal Control Problem
The simplified PMV model developed in Section 2.5 is incorporated into the NMPC formulation to enable direct optimization of passenger thermal comfort. The optimal control problem is defined over a finite prediction horizon (Tp) with the following cost function:
The running cost (L(x, u)) consists of three terms:
where Δu denotes the deviation of u = [ublwr, ucomp]T per sample time. The first term, LPMV, is the penalty on PMV deviation from that is the target comfort index (set to 0 for neutral comfort). LPMV is designed to make PMV stay within the recommended comfort range (). The second term minimizes power consumption to improve overall energy efficiency and extend vehicle driving range. The third term penalizes rapid changes in the control inputs to avoid aggressive actuator operation and improve control smoothness. The weighting factors , , and determine the relative importance of thermal comfort, energy consumption, and control effort, respectively. The optimization is performed subject to the control-oriented system dynamics presented in Section 2 and the actuator constraints
where the blower command is normalized between 0 and 1 and the compressor speed is limited to the operating range of 0–3600 rpm.
The control-oriented plant model described in Section 2 serves as the nonlinear prediction model for the optimal control problem. The predicted system states are obtained from Equations (1)–(8) over the prediction horizon and are subsequently used to calculate the PMV and running cost defined in Equation (12). Therefore, the objective function in Equation (11) is minimized subject to the nonlinear plant dynamics and actuator constraints in Equation (13).
3.3. Nonlinear MPC Implementation
The proposed NMPC follows a standard receding-horizon implementation. At each sampling instant, the current system state is provided as the initial condition of the nonlinear prediction model described in Section 2. The future system response is predicted over the specified prediction horizon for a candidate control trajectory. The control trajectory is optimized by minimizing the objective function in Equation (11), subject to the nonlinear plant dynamics described in Section 2 and the actuator constraints in Equation (13).
The proposed NMPC was implemented using the GRAMPC solver. GRAMPC employs an augmented Lagrangian formulation combined with a projected gradient-based optimization method, which enables efficient numerical solution of nonlinear optimal control problems. Thus, the minimum value of J is obtained numerically by solving the finite-horizon nonlinear optimal control problem using GRAMPC, rather than through an analytical minimization of Equation (11).
Once the optimal control trajectory u* is obtained, only the first control action is applied to the plant. At the next sampling instant, the system state is updated based on the plant response, and the optimization problem is solved again over the shifted prediction horizon. This receding-horizon procedure is repeated throughout the control process.
The controller sampling time was set to , which was selected considering the thermal time constants of the cabin and the computational requirements of the optimization. The prediction horizon was set to = 5, corresponding to a 50 s prediction horizon. The average computation time was approximately 0.14 s per optimization step, which is substantially shorter than the 10 s sampling interval. Therefore, the optimization was completed within each sampling interval under the simulation conditions considered in this study.
However, the reported computation time was obtained from the simulation platform and therefore does not directly represent the execution performance of the controller on a production vehicle ECU. The actual computational feasibility of embedded implementation depends on the hardware resources, software architecture, and real-time constraints of the target automotive platform. Therefore, hardware-level and hardware-in-the-loop evaluations are required to verify the practical real-time implementation of the proposed NMPC.
4. Validation and Discussion
4.1. Validation Setup
The proposed thermal comfort-oriented NMPC framework was evaluated using the high-fidelity virtual plant. All simulations were conducted in the MATLAB/Simulink environment under winter operating conditions. The structure of MPC implementation is shown in Figure 7.
Figure 7.
Structure of MPC implementation.
As a baseline controller, a rule-based controller configured with various gain values was set up to regulate the cabin temperature to the target temperature, and its structure is illustrated in Figure 8.
Figure 8.
Structure of rule-based controller implementation.
The baseline scenario considered an ambient temperature of 2 °C and an initial cabin temperature of 2 °C. The control objective was to maintain thermal neutrality by regulating the PMV index toward the comfort PMV range while minimizing compressor energy consumption. To provide a fair comparison, the proposed NMPC was benchmarked against a conventional rule-based controller. Since thermal comfort rather than cabin temperature is the primary control objective of the proposed framework, the rule-based controller was tuned to track a fixed cabin temperature reference of 27 °C, which corresponds approximately to a thermally neutral PMV condition under steady-state winter conditions.
Simulation conditions are shown in Table 2. These conditions are applied to both controllers for fair comparison.
Table 2.
Simulation Conditions.
4.2. Thermal Comfort and Tracking Performance
Figure 9 presents the transient responses of cabin temperature and PMV for both controllers. Both controllers successfully maintained the cabin environment within the recommended thermal comfort zone (|PMV| ≤ 0.5). During the warm-up phase, the cabin air temperature increased rapidly from 2 °C to approximately 26 °C within 250 s for both controllers, indicating comparable heating capability.
Figure 9.
Cabin temperature and PMV responses.
However, thermal neutrality was achieved significantly later than the cabin temperature rise. The PMV settling times were approximately 563 s for the rule-based controller and 574 s for the proposed NMPC. This delay highlights the difference between temperature regulation and thermal comfort regulation. Although the cabin air temperature rises rapidly, the interior surfaces of the vehicle remain cold due to their thermal inertia. Since PMV accounts for mean radiant temperature effects, passenger thermal sensation continues to be influenced by cold interior surfaces even after the cabin air reaches a comfortable temperature.
The comparable PMV settling times indicate that the proposed NMPC achieves a thermal comfort response comparable to that of the rule-based controller without sacrificing warm-up performance. In particular, the slightly longer PMV settling time of the NMPC (574 s versus 563 s) does not result in a meaningful degradation of the overall thermal comfort response, as both controllers achieve the same target comfort range. This result also indicates that the energy-saving performance of the proposed NMPC is not obtained by simply reducing the heating effort at the expense of passenger comfort.
Therefore, Figure 9 primarily demonstrates that the proposed NMPC can maintain thermal comfort at a level comparable to the rule-based controller. The performance advantage of the proposed approach is evaluated not only from the thermal comfort response but from the trade-off between thermal comfort and energy consumption. The corresponding comparison of compressor power and cumulative energy consumption is presented in Section 4.3.
4.3. Energy Consumption Analysis
While both controllers achieved similar thermal comfort performance, their energy consumption characteristics differed significantly. Figure 10 shows the compressor power consumption during the simulation. The rule-based controller maintained relatively high power levels throughout the warm-up process in order to reactively reduce temperature tracking errors. In contrast, the proposed NMPC utilized predictive information regarding future thermal behavior and adjusted compressor operation accordingly.
Figure 10.
Power consumption and cumulative energy.
As a result, the average compressor power consumption was reduced from 567 W to 520 W, corresponding to an 8.3% reduction in compressor energy consumption over the same simulation period. Because both controllers were evaluated under the same initial conditions, ambient conditions, and simulation duration, the cumulative compressor energy provides a direct quantitative measure of the energy required by each controller to achieve the corresponding thermal response. As shown in Figure 10, the cumulative energy consumption of the proposed NMPC remains lower than that of the rule-based controller throughout the simulation, and the difference increases over time.
Importantly, this energy reduction is achieved while maintaining comparable thermal comfort performance, as demonstrated by the similar PMV settling times in Figure 9. Therefore, the 8.3% reduction should not be interpreted as an energy saving obtained by allowing slower warm-up or degraded thermal comfort. Rather, the result indicates that the proposed NMPC can achieve a comparable thermal comfort response with a lower compressor energy requirement.
These results demonstrate the primary performance advantage of the proposed NMPC in terms of the comfort–energy trade-off. While Figure 9 confirms comparable thermal comfort performance between the two controllers, Figure 10 provides the corresponding quantitative evidence that the NMPC requires less energy to achieve this level of comfort. The robustness of this performance advantage with respect to controller tuning is further examined through the parametric study presented in Section 4.5.
4.4. Control Input Analysis
Figure 11 compares the control actions generated by the two controllers. The rule-based controller initially increases the compressor and blower inputs rapidly to reduce the temperature tracking error and accelerate cabin warm-up. However, because the control inputs are generated based primarily on the current temperature error without considering the predicted future thermal response, the initial high control effort is not maintained as the cabin temperature increases. As a result, the control inputs are gradually reduced once the cabin temperature approaches the target condition. In contrast, the proposed NMPC initially applies a relatively intensive control action based on the predicted future thermal response and subsequently reduces the control effort according to the predicted evolution of cabin temperature and PMV. This behavior differs from the rule-based controller, whose control action is primarily determined by the instantaneous temperature tracking error. By explicitly considering the prediction horizon and future cost, the NMPC can allocate the heating effort according to the predicted thermal demand rather than reacting only to the current error.
Figure 11.
Compressor and blower control inputs.
The control-input trajectories in Figure 11 should therefore be interpreted primarily as an illustration of the different control strategies rather than as an independent quantitative measure of controller performance. The relatively stronger initial action of the NMPC is consistent with its faster reduction of the thermal deviation during the early warm-up phase, while the subsequent reduction in compressor and blower inputs prevents unnecessary continued actuation as the cabin approaches the target condition. The resulting energy consumption is quantitatively evaluated in Figure 10, where the proposed NMPC achieves an 8.3% reduction in compressor energy consumption while maintaining comparable thermal comfort performance.
The observed control behavior also provides insight into the mechanism underlying the energy savings. Rather than continuously maintaining a high actuator command to compensate for the instantaneous temperature error, the NMPC anticipates the future thermal response and adjusts the control inputs according to the predicted evolution of cabin temperature and thermal comfort. Thus, the advantage of the proposed controller is not simply that it generates smoother actuator trajectories, but that it allocates the heating effort according to the predicted thermal demand.
Since actuator smoothness and mechanical stress were not explicitly defined as optimization objectives or quantitatively evaluated in this study, these aspects are not used as primary performance criteria. The quantitative performance comparison is instead based on thermal comfort and compressor energy consumption, as discussed in Section 4.2 and Section 4.3. A more detailed investigation of actuator durability, switching characteristics, and hardware-level effects is left for future experimental validation.
4.5. Comfort–Energy Trade-Off Analysis
To verify that the observed performance improvement is not limited to a specific tuning condition, a comprehensive parametric study was conducted. Figure 12a compares the comfort–energy trade-offs obtained from 1210 tuning cases of the rule-based controller and 100 NMPC weighing scenarios. The horizontal axis represents PMV settling time, while the vertical axis indicates average compressor power consumption after convergence. These two metrics were selected to quantitatively evaluate the trade-off between thermal comfort convergence and energy consumption. A shorter PMV settling time indicates faster convergence toward the desired thermal comfort condition, while lower average compressor power indicates lower energy demand. Therefore, the lower-left region of the plot represents a more favorable comfort–energy trade-off.
Figure 12.
Comfort–energy trade-off comparison.
The rule-based controller exhibited a wide trade-off frontier. Faster comfort achievement required substantially higher energy consumption, whereas lower-energy configurations resulted in slower thermal comfort convergence. In contrast, the NMPC results formed a compact cluster located near the lower-left region of the performance space. This distribution indicates that the proposed NMPC can achieve a favorable combination of comfort convergence and energy consumption across the investigated weighting conditions, rather than relying on a single selected tuning condition. In particular, the NMPC solutions generally require lower average compressor power while maintaining PMV settling times comparable to those of the rule-based controller.
Figure 12b further compares the achieved thermal comfort levels after convergence. For a given power consumption level, the NMPC solutions consistently remained closer to the thermally neutral state (PMV = 0) than the rule-based solutions. This result provides additional evidence that the energy reduction observed with the NMPC is not simply achieved by accepting a poorer steady-state thermal comfort condition. Instead, the proposed controller can maintain thermal comfort close to the desired neutral condition while reducing the required compressor power.
Overall, the parametric study demonstrates that the performance advantage observed in the nominal simulation is not limited to a single set of controller parameters. The proposed NMPC provides a more favorable comfort–energy trade-off over the investigated tuning conditions by jointly considering thermal comfort and energy consumption in the predictive optimization. Unlike the rule-based controller, which relies primarily on reactive error correction, the NMPC explicitly considers the predicted future thermal response and optimizes the control inputs accordingly. Therefore, Figure 9, Figure 10, Figure 11 and Figure 12 together provide quantitative evidence for the proposed controller: Figure 9 demonstrates comparable thermal comfort performance, Figure 10 demonstrates the reduction in energy consumption, and Figure 12 confirms that the observed trade-off is maintained across a range of tuning conditions.
4.6. Computational Performance and Discussion
A primary objective of this work is to enable real-time implementation of thermal comfort-oriented optimization for EV heat pump systems. Therefore, the computational burden of the proposed NMPC framework was evaluated throughout all simulation scenarios.
The average computation time remained below 0.15 s per control update, which is substantially smaller than the selected sampling interval of 10 s. Even the maximum observed computation time remained within the available sampling window. These results demonstrate that the proposed control-oriented modeling approach substantially reduces the computational burden of the NMPC formulation while maintaining sufficient prediction accuracy for the investigated thermal comfort optimization problem.
The successful execution of the optimization within the selected sampling interval demonstrates the computational potential of the proposed framework. However, the reported computation time was obtained using a PC-based simulation platform and should not be interpreted as a direct measure of execution time on a production vehicle ECU. The actual feasibility of embedded implementation will depend on the computational resources, software architecture, and real-time constraints of the target automotive hardware. Therefore, hardware-in-the-loop and hardware-level evaluations are required to establish practical implementation feasibility.
5. Conclusions
This study proposed a real-time thermal comfort-oriented nonlinear model predictive control (NMPC) framework for electric vehicle heat pump systems. To enable practical implementation of comfort-based optimization, a computationally efficient control-oriented modeling framework was developed by combining reduced-order cabin thermal dynamics, data-driven heat pump performance maps, and a simplified PMV-based thermal comfort model. In particular, occupant-dependent variables required by the original PMV formulation were replaced with representative nominal values, allowing thermal comfort to be incorporated into the controller using measurable vehicle states while maintaining low computational complexity.
The proposed NMPC framework was implemented using the GRAMPC solver and evaluated using a high-fidelity physics-based virtual plant. Simulation results demonstrated that the controller successfully maintained passenger thermal comfort while reducing energy consumption. Compared with a conventional rule-based controller, the proposed strategy achieved a comparable warm-up performance and PMV settling behavior while reducing total compressor energy consumption by 8.3%.
This study proposed a thermal comfort-oriented nonlinear model predictive control (NMPC) framework for electric vehicle heat pump systems. To enable computationally efficient comfort-based optimization, a control-oriented modeling framework was developed by combining reduced-order cabin thermal dynamics, data-driven heat pump performance maps, and a simplified PMV-based thermal comfort model. In particular, occupant-dependent variables required by the original PMV formulation were replaced with representative nominal values, allowing thermal comfort to be incorporated into the controller using measurable vehicle states while maintaining low computational complexity.
The proposed NMPC framework was implemented using the GRAMPC solver and evaluated using a high-fidelity physics-based virtual plant. Simulation results demonstrated that the controller achieved thermal comfort performance comparable to that of a conventional rule-based controller while reducing compressor energy consumption. Under the nominal operating condition, the proposed strategy achieved comparable warm-up and PMV settling behavior while reducing compressor energy consumption by 8.3%.
A comprehensive parametric study involving 1210 tuning combinations of the rule-based controller and 100 NMPC weighting scenarios further examined the robustness of the comfort–energy trade-off with respect to controller tuning. Across the investigated tuning conditions, the NMPC solutions generally occupied a more favorable region of the comfort–energy performance space, achieving comparable thermal comfort with lower energy consumption. These results indicate that predictive optimization based on thermal comfort can improve the balance between passenger comfort and energy efficiency compared with conventional reactive control strategies.
The average computation time of the proposed NMPC remained below 0.15 s per control update on the simulation platform, which is substantially shorter than the selected 10 s sampling interval. This result demonstrates that the proposed control-oriented model and NMPC formulation can be solved within the selected sampling interval under the investigated simulation conditions, indicating its computational potential for real-time applications. However, the measured computation time does not directly represent execution performance on a production vehicle ECU. The actual embedded implementation feasibility will depend on the computational resources, software architecture, solver implementation, and real-time constraints of the target automotive hardware.
The present study is limited to a representative winter heating condition and simulation-based validation using a high-fidelity physics-based virtual plant. In addition, the simplified PMV model uses nominal values for occupant-dependent variables, and the current framework does not explicitly account for broader operating factors such as solar radiation, humidity dynamics, window frosting or fogging, and associated defrost or anti-fogging control strategies. These factors may affect both cabin thermal dynamics and thermal comfort and therefore represent important considerations for extending the proposed framework to more general vehicle operating conditions.
Future work will therefore focus on experimental and hardware-in-the-loop validation using a heat pump test bench and representative automotive computing platforms, as well as investigations under varying ambient temperatures, solar loads, humidity conditions, and occupant characteristics. Adaptive treatment of occupant-dependent PMV parameters and consideration of additional ventilation, defrost, and anti-fogging requirements will also be investigated. These extensions will further evaluate the robustness, hardware-level feasibility, and practical applicability of the proposed thermal comfort-oriented NMPC framework.
Author Contributions
Conceptualization, H.W. and C.A.; methodology, H.W. and C.A.; software, H.W. and W.C.; validation, H.W.; formal analysis, H.W.; investigation, H.W. and W.C.; resources, W.C.; data curation, H.W.; writing—original draft preparation, T.-G.K., H.W. and W.C.; writing—review and editing, T.-G.K. and C.A.; visualization, H.W.; supervision, C.A.; project administration, C.A.; funding acquisition, T.-G.K. and C.A. All authors have read and agreed to the published version of the manuscript.
Funding
This paper was supported by a Korea Institute for Advancement of Technology (KIAT) grant funded by the Korea Government (MOTIE) (RS-2026-25586006, HRD Program for Industrial Innovation).
Data Availability Statement
The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.
Conflicts of Interest
Author Tai-Gon Kim was employed by the company Hanhwa Ocean. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
References
- Peng, Q.; Du, Q. Progress in heat pump air conditioning systems for electric vehicles—A review. Energies 2016, 9, 240. [Google Scholar] [CrossRef] [Scilit]
- Murugan, M.; Elumalai, P.; Vijayakumar, K.; Babu, M.; Suresh Kumar, K.; Ganesh, M.; Kuang, L.; Prabhakar, S. A comprehensive review of thermal management methods and ideal system design for improved electric vehicle battery pack performance and safety. Energy Sci. Eng. 2025, 13, 1011–1036. [Google Scholar] [CrossRef] [Scilit]
- Schaut, S.; Sawodny, O. Thermal management for the cabin of a battery electric vehicle considering passengers’ comfort. IEEE Trans. Control Syst. Technol. 2019, 28, 1476–1492. [Google Scholar] [CrossRef] [Scilit]
- Yang, D.; Huo, Y.; Zhang, Q.; Xie, J.; Yang, Z. Recent advances on air heating system of cabin for pure electric vehicles: A review. Heliyon 2022, 8, e11032. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Al-Wreikat, Y.; Serrano, C.; Sodré, J.R. Effects of ambient temperature and trip characteristics on the energy consumption of an electric vehicle. Energy 2022, 238, 122028. [Google Scholar] [CrossRef] [Scilit]
- Sajadi-Alamdari, S.A.; Voos, H.; Darouach, M. Ecological advanced driver assistance system for optimal energy management in electric vehicles. IEEE Intell. Transp. Syst. Mag. 2018, 12, 92–109. [Google Scholar] [CrossRef] [Scilit]
- Karimian, A.; Masoumi, N. Energy Optimization in HVAC Systems Based on Model Predictive Control Using Linearized Thermal Dynamic Model. In Proceedings of the 2025 15th Smart Grid Conference (SGC), Shiraz, Iran, 2–3 December 2025; pp. 1–7. [Google Scholar]
- Lu, C.; Dong, J.; Hu, L. Energy-efficient adaptive cruise control for electric connected and autonomous vehicles. IEEE Intell. Transp. Syst. Mag. 2019, 11, 42–55. [Google Scholar] [CrossRef] [Scilit]
- Lopez-Sanz, J.; Ocampo-Martinez, C.; Alvarez-Florez, J.; Moreno-Eguilaz, M.; Ruiz-Mansilla, R.; Kalmus, J.; Gräeber, M.; Lux, G. Nonlinear model predictive control for thermal management in plug-in hybrid electric vehicles. IEEE Trans. Veh. Technol. 2016, 66, 3632–3644. [Google Scholar] [CrossRef]
- Lajunen, A.; Yang, Y.; Emadi, A. Review of cabin thermal management for electrified passenger vehicles. IEEE Trans. Veh. Technol. 2020, 69, 6025–6040. [Google Scholar] [CrossRef] [Scilit]
- Zhao, L.; Zhou, Q.; Wang, Z. A systematic review on modelling the thermal environment of vehicle cabins. Appl. Therm. Eng. 2024, 257, 124142. [Google Scholar] [CrossRef] [Scilit]
- Behrooz, F.; Mariun, N.; Marhaban, M.H.; Mohd Radzi, M.A.; Ramli, A.R. Review of control techniques for HVAC systems—Nonlinearity approaches based on Fuzzy cognitive maps. Energies 2018, 11, 495. [Google Scholar] [CrossRef] [Scilit]
- Karimshoushtari, M.; Kordestani, M.; Shojaei, S.; Dönmez, B.K.; Rashid, M.; Weslati, F.; Bouyoucef, K. On the applicability of advanced model-based strategies to control of electrified vehicle thermal systems. Energy 2023, 283, 128791. [Google Scholar] [CrossRef] [Scilit]
- Kouvaritakis, B.; Cannon, M. Model Predictive Control; Springer International Publishing: Cham, Switzerland, 2016; Volume 38, p. 7. [Google Scholar]
- Carli, R.; Cavone, G.; Ben Othman, S.; Dotoli, M. IoT based architecture for model predictive control of HVAC systems in smart buildings. Sensors 2020, 20, 781. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Liu, Z.; Xie, Y.; Hu, X.; Shi, B.; Lin, X. A control strategy for cabin temperature of electric vehicle considering health ventilation for lowering virus infection. Int. J. Therm. Sci. 2022, 172, 107371. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Nam, K.; Ahn, C. Energy-Efficient Battery Thermal Management in Electric Vehicles Using Artificial-Neural-Network-Based Model Predictive Control. World Electr. Veh. J. 2025, 16, 279. [Google Scholar] [CrossRef] [Scilit]
- Park, S.; Ahn, C. Model Predictive Control With Stochastically Approximated Cost-to-Go for Battery Cooling System of Electric Vehicles. IEEE Trans. Veh. Technol. 2021, 70, 4312–4323. [Google Scholar] [CrossRef] [Scilit]
- Kibalama, D.; Liu, Y.; Stockar, S.; Canova, M. Model predictive control for automotive climate control systems via value function approximation. IEEE Control Syst. Lett. 2021, 6, 1820–1825. [Google Scholar] [CrossRef] [Scilit]
- Cvok, I.; Ratković, I.; Deur, J. Multi-objective optimisation-based design of an electric vehicle cabin heating control system for improved thermal comfort and driving range. Energies 2021, 14, 1203. [Google Scholar] [CrossRef] [Scilit]
- Wang, W.; Ren, J.; Yin, X.; Qiao, Y.; Cao, F. Energy-efficient operation of the thermal management system in electric vehicles via integrated model predictive control. J. Power Sources 2024, 603, 234415. [Google Scholar] [CrossRef] [Scilit]
- ISO 7730:2025; Ergonomics of the Thermal Environment—Analytical Determination and Interpretation of Thermal Comfort Using Calculation of the PMV and PPD Indices and Local Thermal Comfort Criteria. ISO: Geneva, Switzerland, 2025.
- Kwak, K.H.; Chen, Y.; Kim, J.; Kim, Y.; Jung, D.D. Thermal comfort-conscious eco-climate control for electric vehicles using model predictive control. Control Eng. Pract. 2023, 136, 105527. [Google Scholar] [CrossRef] [Scilit]
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.











