Vehicle Power System Modeling and Integration in Hardware-in-the-Loop (HIL) Simulations

: The last decade has seen a rapid increase in the development and launch of a large number of hybrid and electric vehicles on the world market, a trend that is expected to accelerate in the medium to long term. However, not all markets in the world follow this trend at the same speed, conventional vehicles based on conventional energy systems, as start–stop systems, are prevalent in emerging markets. In Brazil, a unique biofuel energy program using sugar cane ethanol as an alternative fuel for ICE (internal combustion engines) has been successful for over forty years, and it can be used together with hybrid technologies. The introduction of micro-hybrid technologies and strategies in conventional vehicles has a signiﬁcant impact on power system management, and developing and analyzing new systems and strategies can be time-consuming and expensive. Hence, the development of new HIL (hardware-in-the-loop) test systems or new methods for existing HIL systems is critical. In this paper, a modeling technique is suggested to incorporate a vehicle’s energy system into current HIL systems for studying micro-hybrid technologies and evaluating new proposals. By analyzing the impact of various strategies on fuel efﬁciency and the energy balance of the electric system, this modeling technique can assist in enhancing vehicle system efﬁciency, reducing fuel consumption, and lowering emissions.


Introduction
While sales of electric and hybrid vehicles are expanding rapidly around the world, pointing to a future of mobility likely to be electric, automakers continue to invest in technologies that improve the performance of internal combustion engines and vehicle electric systems, yielding significant gains [1]. This shows that conventional vehicles are still the most used worldwide and will still be so in the short and medium term, especially in emerging markets such as Brazil. Moreover, advanced electrified propulsion is being introduced to conventional powertrains, making them more complex but more efficient than ever before, not only with respect to full hybrid technologies but to in micro and mild hybrid technologies [1,2]. However, the speed at which combustion engines will be replaced by electric ones depends on a few factors. Government tax incentive policies associated with the requirements of regulatory agencies are the main factors that determine investments in vehicle electrification around the world. According to a survey carried out by Anfavea (Brazil National Association of Motor Vehicle Manufacturers, São Paulo, SP, Brazil) and the American consultancy BCG (Boston Consulting Group, Boston, MA, USA) [3], the USA, Europe, and China are rapidly changing the profile of their fleets. In the period between 2020 and 2035, in the US, the share of gasoline-powered cars will drop from 88% to 2%. In Europe, the mix of 42% (gasoline) and 37% (diesel) will change to 3% and 1%, respectively. In addition, in China, the variation will be from 86% to 0% of gasoline-powered vehicles. energy, less fuel is consumed by the vehicle. Alternator power demands are generally small compared to the overall vehicle, but particularly at idle, the impact on fuel cost can be measured. Despite the potential benefits of new technologies, their evaluation typically require a significant investment in building physical prototypes of parts and vehicles. However this investment can be avoided by utilizing computer simulations as a substitute. Th This energy conversion chain starts with chemical energy stored in the fuel and ends with electrical energy generated by the alternator. The energy content of one liter of diesel fuel is approximately 38 MJ, which is equivalent to 10 kilowatt-hours. Despite the typical engine efficiency of 40%, belt efficiency of 98%, and alternator efficiency of 55%, the overall energy conversion efficiency is only 22%. The reasons behind this low efficiency are the energy losses associated with all the energy conversion processes, including the alternator. These losses occur during the conversion of diesel fuel to mechanical energy, and then mechanical energy to electrical energy. As a result, more fuel is required to generate a given amount of electrical energy due to these energy losses. If the alternator becomes more efficient in the process of converting mechanical energy into electrical energy, less fuel is consumed by the vehicle. Alternator power demands are generally small compared to the overall vehicle, but particularly at idle, the impact on fuel cost can be measured.
Despite the potential benefits of new technologies, their evaluation typically requires a significant investment in building physical prototypes of parts and vehicles. However, this investment can be avoided by utilizing computer simulations as a substitute. The main goal of this study is to create a modeling technique that enables the integration of a vehicle's energy system into existing hardware-in-the-loop (HIL) systems. This technique enables researchers to study and analyze existing micro-hybrid technologies and also evaluate new proposals without the need for expensive physical prototypes.

Literature Review
HIL, software-in-the-loop (SIL), and model-in-the-loop (MIL) systems are simulation techniques used in engineering to test complex electronic and mechanical systems in real time which can be used to validate developed solutions in new projects.
The HIL technique originates in the 1950s and 1960s, with the development of the aerospace industry and flight control systems. At that time, engineers used flight simulators to test control and navigation systems, but these simulators were very expensive and difficult to maintain [12]. In the 1970s, electronic technology advancements and a need for more intricate control systems led to the creation of HIL systems. Initially, HIL systems utilized analog computers and simulation devices, such as resistors and capacitors, to emulate genuine systems [12].
HIL is currently widely used in many areas such as aerospace, automotive, electronics, energy, and other industries that require complex and highly reliable systems. In this technique, a system under development is connected to a set of simulation devices that represent the environment in which the system will operate. The system is then tested in real-time, with the simulation devices interacting with the hardware of the system under development. The utilization of simulations speeds up the design process, improves quality control, and minimizes the need for physical prototypes and physical tests [13,14]. Conventional or hybrid vehicle testing needs the creation of electromechanical systems or full-scale vehicle prototypes, whereas simulations offer a more feasible alternative that is both cost and time effective.
Although simulations can help analyze certain aspects of a complex vehicle system, they may not provide a comprehensive understanding of all the dynamics involved. To effectively utilize these techniques, it is crucial to create virtual test models of the components, electronic control units, and the vehicle system, which can be used to validate the design. These models are then used to predict the energy efficiency of a hybrid powertrain based on simulation or experimental data [15,16]. Optimization of the energy management strategy is a critical step to calibrate a new vehicle during its development.
The simulations currently used, such as HIL, include good models such as the internal combustion engine and some control units, but do not have detailed models for some of the conventional vehicle electric systems, such as the alternator, lead acid battery, starter, and electric loads. The models proposed suffer a lack of accuracy [17,18]. From accurate models of the conventional energy system, it is possible to develop strategies for its best performance and to develop micro and mild hybrid solutions. Researchers have focused their attention of improving the efficiency and reliability of the electrified powertrain system [13]. In this direction, the main focus of HIL developers is finding a solution for full hybrids or battery electric vehicles; there is a gap for good models requiring solutions for the inclusion of micro and mild hybrid vehicles in the conventional powertrain system [19,20]. The model of the complete conventional vehicle electric system can be a starting point for developing new proposals or strategies for micro and mild hybrid vehicles [21,22].
The integration of all the vehicle's electronic systems with the powertrain is an important part of the vehicle validation process, and, if carried out based only on prototypes, the time for its execution is increased as well as the reaction time for possible problems and the needed corrections [23,24].

Modeling and Simulation of the Lundell Alternator
The conventional Lundell alternator is a claw pole synchronous machine used to generate an output voltage of 14 V and is still the prevalent electrical generator used in conventional vehicles and in mild hybrid applications such as BSG (Belt Starter Generators) 12 V/48 V. It has been widely used in vehicles in recent decades and it consists of a wound rotor mounted on two bearings, a three-phase star-or delta-connected stator, a six-pulse diode rectifier, and a voltage regulator [25]. The generated AC output is rectified to a single DC voltage and then regulated to 12 V [26,27].
Over the last decades, significant effort has been made in developing good circuitbased models of standard synchronous machines that can be used to evaluate machine and system performance. Although it is reasonably accurate for standard machines, due to the claw-type rotor geometry and the use of concentrated stator windings, these equivalent circuit representations are limited in their ability to characterize the dynamics of Lundell machines, especially considering all the losses over the entire operating range [28][29][30][31][32].
Various authors have utilized the finite element method to precisely determine the dynamic properties of the Lundell-type alternator [33,34]. Additionally, an alternative approach that involves equivalent magnetic circuits [35] has been proposed, which is not typically available in commonly used simulation packages and is computationally intensive [36].
An efficient and moderately complex fourth-order coupled circuit model was introduced to represent the behavior of a claw pole alternator [36]. The model considers harmonic effects resulting from rotor salience, concentrated stator windings, corresponding slots, and magnetic saturation. Although this model is more complex than standard synchronous machine models, it provides a more precise representation of the claw pole alternator's behavior [31]. Thus, selecting a model for automotive applications involves consideration of the trade-off between accuracy and complexity.
In the upcoming section, there will be two distinct approaches that will be evaluated: the initial approach will involve the utilization of classical DQ coordinates; while the subsequent approach will involve a quasi-static methodology.

Alternator Model in qd Coordinates
Detailed models of the systems can be created with available simulation packages, but they are computationally intensive and unsuitable for system-level analysis due to discontinuity caused by rectifier switching. Thus, simplified models are required for effective system-level analysis, as they provide a more continuous representation of the system's behavior and can identify critical parameters and control strategies [36]. Figure 2 shows the power conversion chain.
To simulate the Lundell-type alternator rectifier system in an automotive application, the classical approach can be employed using dq coordinates. However, these models are already well-documented in the literature for conventional synchronous generators. The Lundell-type alternator, known for its low efficiency, requires a more accurate representation of all its losses. The conventional models must be modified to account for the specific losses in the Lundell-type alternator [37]. Therefore, when simulating this type of alternator, a comprehensive understanding of its losses is necessary for an accurate and reliable simulation. This will enable us to better evaluate the system's efficiency and identify areas for improvement. Overall, a thorough analysis of the Lundell-type alternator's losses is essential for accurate modeling and simulation of its rectifier system in automotive applications.
Machines 2023, 11, x FOR PEER REVIEW 5 of 18 system's behavior and can identify critical parameters and control strategies [36]. Figure  2 shows the power conversion chain. To simulate the Lundell-type alternator rectifier system in an automotive application, the classical approach can be employed using dq coordinates. However, these models are already well-documented in the literature for conventional synchronous generators. The Lundell-type alternator, known for its low efficiency, requires a more accurate representation of all its losses. The conventional models must be modified to account for the specific losses in the Lundell-type alternator [37]. Therefore, when simulating this type of alternator, a comprehensive understanding of its losses is necessary for an accurate and reliable simulation. This will enable us to better evaluate the system's efficiency and identify areas for improvement. Overall, a thorough analysis of the Lundell-type alternator's losses is essential for accurate modeling and simulation of its rectifier system in automotive applications.
This approach was instigated by the author of this work [38], in which it was based on the model in qd coordinates of a six-phase machine with two sets of arbitrarily displaced stator windings proposed by [31,39], without the use of damping windings. To represent all the alternator losses and to have an accurate computer simulation, the damper windings were removed, and the iron core losses can be represented as additional short-circuit three-phase windings to the stator side. [31] The new equivalent circuit can be represented as shown in Figure 3.  This approach was instigated by the author of this work [38], in which it was based on the model in qd coordinates of a six-phase machine with two sets of arbitrarily displaced stator windings proposed by [31,39], without the use of damping windings. To represent all the alternator losses and to have an accurate computer simulation, the damper windings were removed, and the iron core losses can be represented as additional short-circuit threephase windings to the stator side [31]. The new equivalent circuit can be represented as shown in Figure 3.  To simulate the Lundell-type alternator rectifier system in an automotive application, the classical approach can be employed using dq coordinates. However, these models are already well-documented in the literature for conventional synchronous generators. The Lundell-type alternator, known for its low efficiency, requires a more accurate representation of all its losses. The conventional models must be modified to account for the specific losses in the Lundell-type alternator [37]. Therefore, when simulating this type of alternator, a comprehensive understanding of its losses is necessary for an accurate and reliable simulation. This will enable us to better evaluate the system's efficiency and identify areas for improvement. Overall, a thorough analysis of the Lundell-type alternator's losses is essential for accurate modeling and simulation of its rectifier system in automotive applications.
This approach was instigated by the author of this work [38], in which it was based on the model in qd coordinates of a six-phase machine with two sets of arbitrarily displaced stator windings proposed by [31,39], without the use of damping windings. To represent all the alternator losses and to have an accurate computer simulation, the damper windings were removed, and the iron core losses can be represented as additional short-circuit three-phase windings to the stator side. [31] The new equivalent circuit can be represented as shown in Figure 3. are stator currents, ′ is the field current, is the base angular frequency, λ is the flux linkage, L is the inductance, ψ is the flux linkages per second, x is the Using the dq theory and applying Park's transformation in Equation (1), it is possible to write the equations in the rotor's reference frame as follows in Equations (2)-(15), where i qs , i ds , i q2s , i d2s are stator currents, i f d is the field current, ω b is the base angular frequency, λ is the flux linkage, L is the inductance, ψ is the flux linkages per second, x is the reactance, T e is the torque in rotor reference frame, L s is the inductance matrix, and δ is the rotor angle. (1) This approach had good results [38]; the transient response of the open loop alternator rectifier system due to the transient input of the field current and engine speed was predicted well; however, the compromise between model complexity and computational efficiency must be evaluated. The dq coordinates model requires a long computational time to run, is complicated to implement, has limited information provided by the suppliers, and is not flexible for integration into other systems such as in HIL systems.

Quasi-Static Model
The proposed model for simulating the behavior of a Lundell alternator treats the alternator as a black box and takes in its temperature, the engine's rotation, and the field current as inputs, as illustrated in Figure 4 [38]. The Simulink Lookup table function is used for interpolation, and the n-D Lookup Table block is used to map inputs to an output value by interpolating a table of values defined with block parameters.
Compared to dynamic simulations that utilize differential equations, these simulations are quicker since vehicle system models are defined as lookup tables and static equations. Using this approach presents a challenge as it necessitates knowledge of the operation and design of the component being simulated, which is frequently not disclosed by automotive manufacturers. This includes critical details such as the functioning and operation of electric vehicle/HEV technologies (including encrypted CAN protocols). Although some specifications such as motor and inverter power are typically available, they lack crucial information such as the power capacity across the entire operating range, the duration for which that power can be sustained, and the efficiency over the entire operating region. These and other essential features are required to create precise quasi-static models.
Machines 2023, 11, x FOR PEER REVIEW Compared to dynamic simulations that utilize differential equations, these tions are quicker since vehicle system models are defined as lookup tables and stat tions. Using this approach presents a challenge as it necessitates knowledge of th tion and design of the component being simulated, which is frequently not discl automotive manufacturers. This includes critical details such as the functioning eration of electric vehicle/HEV technologies (including encrypted CAN protoco hough some specifications such as motor and inverter power are typically availab lack crucial information such as the power capacity across the entire operating ra duration for which that power can be sustained, and the efficiency over the entire ing region. These and other essential features are required to create precise qua models.
To use this approach, it was necessary to build a test bench and carry out number of experimental tests to cover the entire operating region of the alternator, ing different temperatures. The test bench configuration includes an induction m regulating rotational speed, a torque transducer for measuring alternator input p resistance bank for simulating vehicle loads, and a 12 V lead-acid battery, as can in Figure 5 and schematically in Figure 6. The proposed simulation in this paper tended for an intelligent alternator, so the regulator was eliminated, and an excitat rent was directly injected into the collector to allow complete control of the electr chine.  To use this approach, it was necessary to build a test bench and carry out a large number of experimental tests to cover the entire operating region of the alternator, including different temperatures. The test bench configuration includes an induction motor for regulating rotational speed, a torque transducer for measuring alternator input power, a resistance bank for simulating vehicle loads, and a 12 V lead-acid battery, as can be seen in Figure 5 and schematically in Figure 6. The proposed simulation in this paper was intended for an intelligent alternator, so the regulator was eliminated, and an excitation current was directly injected into the collector to allow complete control of the electrical machine. Compared to dynamic simulations that utilize differential equations tions are quicker since vehicle system models are defined as lookup tables a tions. Using this approach presents a challenge as it necessitates knowledg tion and design of the component being simulated, which is frequently no automotive manufacturers. This includes critical details such as the functi eration of electric vehicle/HEV technologies (including encrypted CAN p hough some specifications such as motor and inverter power are typically lack crucial information such as the power capacity across the entire opera duration for which that power can be sustained, and the efficiency over the ing region. These and other essential features are required to create prec models.
To use this approach, it was necessary to build a test bench and car number of experimental tests to cover the entire operating region of the alte ing different temperatures. The test bench configuration includes an induc regulating rotational speed, a torque transducer for measuring alternator resistance bank for simulating vehicle loads, and a 12 V lead-acid battery, in Figure 5 and schematically in Figure 6. The proposed simulation in this tended for an intelligent alternator, so the regulator was eliminated, and an rent was directly injected into the collector to allow complete control of the chine.   Compared to dynamic simulations that utilize differential equations, tions are quicker since vehicle system models are defined as lookup tables a tions. Using this approach presents a challenge as it necessitates knowledg tion and design of the component being simulated, which is frequently no automotive manufacturers. This includes critical details such as the functi eration of electric vehicle/HEV technologies (including encrypted CAN p hough some specifications such as motor and inverter power are typically lack crucial information such as the power capacity across the entire opera duration for which that power can be sustained, and the efficiency over the ing region. These and other essential features are required to create preci models.
To use this approach, it was necessary to build a test bench and car number of experimental tests to cover the entire operating region of the alte ing different temperatures. The test bench configuration includes an induc regulating rotational speed, a torque transducer for measuring alternator i resistance bank for simulating vehicle loads, and a 12 V lead-acid battery, in Figure 5 and schematically in Figure 6. The proposed simulation in this tended for an intelligent alternator, so the regulator was eliminated, and an rent was directly injected into the collector to allow complete control of the chine.  Three tables were created for interpolation: the first provides the maximum current; the second provides the generated voltage; and the third provides the alternator input torque. All tables have as input parameters the rotation of the combustion engine, the excitation current, and the working temperature of the alternator. Figure 7 shows the simulation proposed and Figure 8 the interpolation table.
Three tables were created for interpolation: the first provides the maximum current; the second provides the generated voltage; and the third provides the alternator input torque. All tables have as input parameters the rotation of the combustion engine, the excitation current, and the working temperature of the alternator. Figure 7 shows the simulation proposed and Figure 8 the interpolation table.  The model results' accuracy was also previously validated by the author of this work [38], showing good results. In the next section, this approach will be integrated in the existing HIL component testing set up.

Experiment Setup and Results
The proposal presented in the previous section can be integrated into a currently existing internal combustion engine and gearbox HIL component testing and provides the capability of incorporating a new hybridized powertrain into the existing vehicle platform. In this approach, the voltage source will be controlled by the proposed alternator model, as can be seen in Figure 7.  Three tables were created for interpolation: the first provides the maximum current; the second provides the generated voltage; and the third provides the alternator input torque. All tables have as input parameters the rotation of the combustion engine, the excitation current, and the working temperature of the alternator. Figure 7 shows the simulation proposed and Figure 8 the interpolation table.  The model results' accuracy was also previously validated by the author of this work [38], showing good results. In the next section, this approach will be integrated in the existing HIL component testing set up.

Experiment Setup and Results
The proposal presented in the previous section can be integrated into a currently existing internal combustion engine and gearbox HIL component testing and provides the capability of incorporating a new hybridized powertrain into the existing vehicle platform. In this approach, the voltage source will be controlled by the proposed alternator model, as can be seen in Figure 7. The model results' accuracy was also previously validated by the author of this work [38], showing good results. In the next section, this approach will be integrated in the existing HIL component testing set up.

Experiment Setup and Results
The proposal presented in the previous section can be integrated into a currently existing internal combustion engine and gearbox HIL component testing and provides the capability of incorporating a new hybridized powertrain into the existing vehicle platform. In this approach, the voltage source will be controlled by the proposed alternator model, as can be seen in Figure 7.
This integration enables the addition of a new hybrid powertrain to the current vehicle platform, with the voltage source being regulated by the proposed alternator model.
As stated in the previous section, the PCM (Power Control Module) outputs the combustion engine rotation, water temperature, and voltage set point (or field current), which are used as input of the alternator model. To have the entire model of the vehicle's electrical system, it is possible to integrate the HIL system with electrical loads and a real battery or use simulated electrical loads and the lead acid battery. To properly validate the proposal, a test was performed comparing data of a real vehicle and the approach shown in Figure 9. A 1.3 l turbo engine with a 6-speed automatic transmission vehicle was instrumented to record the alternator/battery voltage, the alternator total current, the current flowing in/out of the battery, the current flowing to the load, the battery state of charge, and the vehicle's powertrain parameters. The HIL simulation involved running the vehicle along a predetermined route, which was then replicated within the HIL environment. Additionally, the HIL interface can also be simulated, which was tested in all proposed scenarios.
This integration enables the addition of a new hybrid powertrain to the current v cle platform, with the voltage source being regulated by the proposed alternator mod As stated in the previous section, the PCM (Power Control Module) outputs the c bustion engine rotation, water temperature, and voltage set point (or field current), w are used as input of the alternator model. To have the entire model of the vehicle's e trical system, it is possible to integrate the HIL system with electrical loads and a battery or use simulated electrical loads and the lead acid battery. To properly valid the proposal, a test was performed comparing data of a real vehicle and the appro shown in Figure 9. A 1.3 l turbo engine with a 6-speed automatic transmission vehicle instrumented to record the alternator/battery voltage, the alternator total current, the rent flowing in/out of the battery, the current flowing to the load, the battery stat charge, and the vehicle's powertrain parameters. The HIL simulation involved runn the vehicle along a predetermined route, which was then replicated within the HIL e ronment. Additionally, the HIL interface can also be simulated, which was tested in proposed scenarios.

Case I
The first case study involved the integration of the alternator model into an exis HIL component testing system for internal combustion engines and gearboxes. This i gration provided the PCM with the ability to regulate voltage generation. To emulate actual vehicle's route, data obtained from a real vehicle were inputted into the HIL. PCM's results provided input parameters for the alternator model, including the inte combustion engine's rotation, vehicle speed, and the alternator's excitation current. voltage source, controlled by the alternator model, supplied power to the vehicle lo and battery. In the initial test, the loads were also simulated, as well as the lead acid tery. The test configuration and input data are shown in Figure 10, and Figure 11 disp the alternator, load, and battery current. In addition, Figure 12 shows the voltage ge ated by the alternator.
The results indicated that the voltage variation, battery, and load current wer accurately predicted. Furthermore, Figure 13 illustrates the estimation of the altern efficiency and input torque, which are critical features for comparing various technolo and calibrating processes.
Overall, this first case study provided valuable insights into the integration of

Case I
The first case study involved the integration of the alternator model into an existing HIL component testing system for internal combustion engines and gearboxes. This integration provided the PCM with the ability to regulate voltage generation. To emulate the actual vehicle's route, data obtained from a real vehicle were inputted into the HIL. The PCM's results provided input parameters for the alternator model, including the internal combustion engine's rotation, vehicle speed, and the alternator's excitation current. The voltage source, controlled by the alternator model, supplied power to the vehicle loads and battery. In the initial test, the loads were also simulated, as well as the lead acid battery. The test configuration and input data are shown in Figure 10, and Figure 11 displays the alternator, load, and battery current. In addition, Figure 12 shows the voltage generated by the alternator.
The results indicated that the voltage variation, battery, and load current were all accurately predicted. Furthermore, Figure 13 illustrates the estimation of the alternator efficiency and input torque, which are critical features for comparing various technologies and calibrating processes. could accurately predict the performance of the alternator under various operating ditions. Moreover, it highlighted the importance of accurately simulating the alter vehicle loads, and battery in the system to obtain reliable results.

Case II
The second case study followed the same approach as the prev grated the alternator model into an existing HIL component testin combustion engines and gearboxes. However, instead of using simu ulated battery, it was replaced with a real battery and real vehicle lo connected to the HIL system, as can be seen in Figure 14. The alternat the voltage source, which supplied energy directly to all the physi

Case II
The second case study followed the same approach as the previ grated the alternator model into an existing HIL component testing combustion engines and gearboxes. However, instead of using simul ulated battery, it was replaced with a real battery and real vehicle loa connected to the HIL system, as can be seen in Figure 14. The alternat the voltage source, which supplied energy directly to all the physic the battery.
To simulate the same route as the real vehicle, data were collec Overall, this first case study provided valuable insights into the integration of the alternator model into a HIL component testing system. It demonstrated that this approach could accurately predict the performance of the alternator under various operating conditions. Moreover, it highlighted the importance of accurately simulating the alternator, vehicle loads, and battery in the system to obtain reliable results.

Case II
The second case study followed the same approach as the previous section and integrated the alternator model into an existing HIL component testing system for internal combustion engines and gearboxes. However, instead of using simulated loads and a simulated battery, it was replaced with a real battery and real vehicle loads that were directly connected to the HIL system, as can be seen in Figure 14. The alternator's model controlled the voltage source, which supplied energy directly to all the physical vehicle loads and the battery.   To simulate the same route as the real vehicle, data were collected from the vehicle and entered into the HIL system. The vehicle was then tested in the urban part of the FTP75 cycle. Figure 15 shows the alternator, vehicle load, and battery current during the test, while Figure 16 displays the voltage generated by the alternator. Additionally, Figure 17 shows the alternator's torque and efficiency during the cycle.

Case III
In the third case of study, the alternator model was incorporated component testing setup for internal combustion engines and gearbo

Case III
In the third case of study, the alternator model was incorporated component testing setup for internal combustion engines and gearbo the previous studies, it used a real battery and simulated loads, as w The results of this study were positive, with a good similarity between the HIL simulation proposal and the real test data. This demonstrated that the HIL system was effective in accurately simulating real-world conditions, which is a critical factor in assessing the performance of alternators in vehicles.

Case III
In the third case of study, the alternator model was incorporated into an existing HIL component testing setup for internal combustion engines and gearboxes. However, unlike the previous studies, it used a real battery and simulated loads, as well as introducing a simulation of the starter motor. This was necessary because the vehicle was tested using the start-stop function, which required the simulation of all vehicle ignitions, as shown in Figure 18.   The alternator, load, and battery current are analyzed in Figure 19, the voltage generated by the alternator in Figure 20, and the alternator torque and efficiency in Figure 21.
The study aimed to understand the system dynamics during acceleration, braking, and the ignitions required by the start-stop function.

Conclusions
Hardware-in-the-loop (HIL) simulations connect physical components to virtua vironments, enabling controlled and repeatable tests and the evaluation of vehicle p systems under various conditions. To incorporate powertrain models into HIL sim tions, a comprehensive understanding of system components and their interactions is essary. HIL simulations facilitate the evaluation of power system performance, allo for the identification of issues and optimization of system parameters. HIL-based hy ized powertrain testing was demonstrated through three case studies, accurately pre ing generated voltage variation, current, and efficiency. Future work will involve ex ing the integration of different technologies and conducting further testing to evaluat accuracy of simulated results. The successful integration of the alternator model into simulations presents a promising tool for optimizing power system designs and deci making in the automotive industry.
Virtual testing systems that connect physical components to a simulated env ment have emerged as a powerful tool for evaluating vehicle power systems under

Conclusions
Hardware-in-the-loop (HIL) simulations connect physical components to virtua vironments, enabling controlled and repeatable tests and the evaluation of vehicle p systems under various conditions. To incorporate powertrain models into HIL sim tions, a comprehensive understanding of system components and their interactions is essary. HIL simulations facilitate the evaluation of power system performance, allo for the identification of issues and optimization of system parameters. HIL-based hy ized powertrain testing was demonstrated through three case studies, accurately pre ing generated voltage variation, current, and efficiency. Future work will involve ex ing the integration of different technologies and conducting further testing to evalua accuracy of simulated results. The successful integration of the alternator model into simulations presents a promising tool for optimizing power system designs and deci making in the automotive industry.
Virtual testing systems that connect physical components to a simulated env ment have emerged as a powerful tool for evaluating vehicle power systems under istic conditions while minimizing the risks and costs associated with physical tes Despite the use of real components and simulations of some components in a more complex simulation using the start-stop system, the results showed a good similarity between the HIL simulation proposal and real test data. The study demonstrated the effectiveness of the simulation proposal, even when more complex systems were involved, providing useful insights for further research and development in this field.

Conclusions
Hardware-in-the-loop (HIL) simulations connect physical components to virtual environments, enabling controlled and repeatable tests and the evaluation of vehicle power systems under various conditions. To incorporate powertrain models into HIL simulations, a comprehensive understanding of system components and their interactions is necessary. HIL simulations facilitate the evaluation of power system performance, allowing for the identification of issues and optimization of system parameters. HIL-based hybridized powertrain testing was demonstrated through three case studies, accurately predicting generated voltage variation, current, and efficiency. Future work will involve exploring the integration of different technologies and conducting further testing to evaluate the accuracy of simulated results. The successful integration of the alternator model into HIL simulations presents a promising tool for optimizing power system designs and decision-making in the automotive industry.
Virtual testing systems that connect physical components to a simulated environment have emerged as a powerful tool for evaluating vehicle power systems under realistic conditions while minimizing the risks and costs associated with physical testing. These simulations enable the testing and evaluation of complex systems and subsystems in a controlled and repeatable environment, with no requirement of physical component's presence.
To integrate vehicle power system models into these simulations, a comprehensive understanding of the system components, their interactions, and their impact on the overall performance is required. This requires the development of detailed models of various powertrain components, including engines, transmission, batteries, and electric motors, as well as the control systems that regulate their operation.
By incorporating these models into virtual simulations, engineers can evaluate the performance of the vehicle power system under a wide range of operating conditions and scenarios. These simulations can be used to identify potential issues, optimize system parameters, and assess the impact of various design choices on the overall performance and efficiency of the system.
In a recent study, an existing component testing system was utilized to evaluate the performance of powertrain systems, with a focus on incorporating new hybridized powertrains into existing vehicle platforms. Three case studies were carried out, using both real and simulated loads and batteries. The results of the simulations accurately predicted generated voltage variation, battery, and alternator currents, as well as alternator efficiency and input torque.
This approach can be applied to the controller design and simulation analysis of vehicle electrical systems, such as electrical balance, voltage regulation, and calibration, since all vehicle loads are represented, and it can be utilized to improve the performance of vehicle power systems and advance the development of hybridized powertrains.
Future work will involve exploring how various technologies can be integrated into virtual component testing systems, such as 12 V and 48 V Belt Starter Generators and other components designed for hybrid electric vehicles.