Custom HV Battery Model for hybrid endurance racing applications using "Simulink Plug-In"

Hello !

As part of my MSc Research Project, I am focused on developing and integrating an HV Battery Model with implemented controller techniques for hybrid endurance racing applications (LMDh) into IPG CarMaker environment. In order to conduct this project, I need to first generate a simplified model and validate it against the available battery models provided in CarMaker. For simplicity, I have decided to model the Chen Battery and used the Product Example as a reference point [Examples/Powertrain/ElectricAndHybrids/HybridParallelP2MountainDrive]. Once I have validated my own developed Battery Model (Simulink Plug-in) in CarMaker against the available Chen Battery model, I will add further complexity to the Battery Model.

I have developed a working, simple 2nd Order Thevenin RC Circuit as the Battery Model in Simulink - I say it is working because I have conducted isolated testing in Simulink by using the current input signal from CarMaker when simulating the system with the Chen Battery Model and compared the AOC, Energy and Power plotted results. A Simulink Plug-in model was developed using PTBattery and the subsystem of my RC Equivalent circuit can be seen below. Where I use FromCM [Current] and CfgOutFromCM [SOC_init, Capacity, Voltage, Temp, TempCool] and output this ToCM[Voltage, AOC, Energy, Pwr_max, Temp, TempCool_out].

Via the CM GUI, I selected my battery model following the instructions in the Programmers Guide. The battery model runs smoothly but I have run into the issue where when I replace the LV Battery Model with my own Simulink Plug-in, the results are similar to that of the Chen Battery but this is not the case for the HV Battery Model. When I replace the Chen model in the HVBattery [Vehicle Data Set - Powertrain - Power Supply - HV Battery], the current almost seems to flatten out to 0A which impacts the validation of the system.

I am still a new user to CarMaker and am trying to understand what the issue might be. After further reading into the provided documentation, I found that in the Reference Manual the PTBattery Simulink Plug-in model only considers the BattLV and not the BattHV signal ports (shown below which can be found in page 583). I want to ask if this is the possible cause for the Simulink Plug-in model not working correctly in the HVBattery and how to maybe resolve this issue? Should I possibly use another plug-in model such as PowerSupply or PTBatteryCU which may also introduce other certain limitations ?

I intend to only focus on the development of a HV lithium-ion battery pack for hybrid endurance racing applications and need to ensure that my simplified model can be validated to further add complexity and to verify that by the end of my MSc Thesis that my developed HV battery model is more than acceptable for the required application.

Since my focus is only on an HV battery, I would like to ask if it is reasonable to assume that I can replace the LVBattery only [Vehicle Data Set - Powertrain - Power Supply - LVBattery] but change the parameters to those of similar to the HVBattery ? However if I do this for the specific Product Example [Examples/Powertrain/ElectricAndHybrids/HybridParallelP2MountainDrive], I run into the issue of limitations due to state of charge resulting from the control unit due to strategy modes (StartStop, RegBrake, RegDrag, Coasting, ElectricDrive, LoadShift, Assist, Boost).

I would really appreciate any further guidance you are able to offer to ensure the correct integration of my Simulink Plug-in model within the CarMaker environment such that I am able to validate the model and add complexity to further enhance its performance and capabilities.

Best regards,

Sara Leal