Battery Thermal Simulation with Ansys Digital Twin
Introduction
Welcome to this video on battery thermal simulation using reduced order models with Ansys Digital Twin. In this session, we will explore the simulation of a battery module consisting of 12 cells, a cold plate, and a liquid coolant system.
Simulation Steps
Initial Setup
- Run a cold flow simulation with the following conditions:
- Flow of the liquid coolant is established.
- Heat release of the cells is set to zero.
- Tab currents are set to zero.
- Activate the energy equation using solution equations.
Battery Model Configuration
- Enable CH decoupling, Joule heat, and passive zones.
- Configure cells as conductive and tabs as passive.
- Set heat source per battery cell and tab electric current to zero.
Activating Reduced Order Models (ROMs)
- Access the battery ROM toolkit under advanced options and activate ROMs.
- Set the volume heat for the cells:
- Use a filter to select cells.
- Set the combined heat value to 120 watts.
- Configure tab current to 200 amps.
- Adjust the initial time step size to 0.5 seconds and set the maximum time to 36,000 seconds.
- Run the training simulation.
Ansys TwinBuilder Configuration
Accessing ROMs
- Navigate to the TwinBuilder menu and select the thermal model identification toolkit.
- Configure for single input, multiple output:
- Set two inputs and 12 outputs.
- Switch file format to Fluent.
- Select the LTI folder generated during training.
- Generate and integrate the component into the project.
Setting Up Inputs and Outputs
- Add two constant inputs and a squared term for current.
- Connect inputs to dual heat and cell load.
- Set constants:
- Heat load: 120
- Current: 200
- Generate outputs using a standard rectangular plot report.
- Configure transient analysis with final time of 36,000 seconds, minimum time step of 0.1 seconds, and maximum of 5 seconds.
- Run the analysis.
Multiple Input, Multiple Output ROM
Process Overview
- Repeat initial setup and battery model configuration.
- Set volume heat per cell to 10 watts individually.
- Run training simulation.
TwinBuilder Configuration
- Set up thermal model identification with 13 inputs and 12 outputs.
- Select Fluent file format and LTI folder.
- Integrate thermal ROM into the schematic.
- Configure inputs and outputs similarly to the single input model.
- Run the analysis and plot results.
Conclusion
For more information, please contact us at Ozen Engineering, Inc.
Hello and welcome to this video on battery thermal simulation with reduced order models using Ansys Digital Twin. We have here a battery module with 12 cells, a cold plate with liquid coolant going in and out.
The first step would be to run a cold flow simulation with just the flow turned on to establish the flow of the liquid coolant, and that would be done with the heat release of the cells set to zero and the tab currents also set to zero.
After that's done, we'll turn the energy equation back on using solution equations so the energy is on. And then we'll go to our battery model. We can see here that we're using CH decoupling. We have enabled Joule heat and passive zones. Our cells are conductive, our tabs and conductors are passive.
We have a negative and a positive terminal. And the heat source per battery cell is set to zero as well as the tab electric current. Activating the ROMs is done within the battery ROM toolkit under the advanced options. We'll turn that on.
This is going to be an LTI, which stands for Linear Time Invariant. Set the volume heat for the cells, so using the filter, grab the cells like that. The next step is to set the value, so this would be 120 watts for all the cells combined, and we'll add that as a group. Do OK.
Use a tab current of 200 amps, and then the cell zone average; we pick on the cells again, click them, and I'll add them individually this time.
We'll increase the initial time step size to half a second and we'll use a max time of 36, 000. And then the next step would be to apply and then to click on run training.
In Ansys TwinBuilder, we access the ROMs for LTI by going to the TwinBuilder menu, down to the toolkit, thermal model identification, and we have for single input, multiple output, we'll have two inputs and 12 outputs.
Leave the name ThermoROM, keep the methods; instead of the file format default, we'll switch to Fluent, and then for the file location, we'll go look at the file menu here, file folder, so there's the LTI that was generated, that generated these files, and so we're going to pick on this LTI folder.
Click on generate. Press on the key. Hit OK. We'll close that. So now in the project components, we'll drag and drop this component and escape. And then we'll add two constant inputs. Here, one there, escape. So for current, we need to have a squared term. So add the squared component.
Then use connections to connect these. This one up to the dual heat and this to the cell load. We'll set the constant here to 120. And set the current constant to 200. In terms of generating outputs, we would generate a standard report rectangular plot.
Fortunately, our outputs aren't here, so we have to go up to TwinBuilder to output dialog and add these by checking the boxes. Check all 12 of them. Once they're all there, we can click on close. And we can try again with the results, standard plot, rectangular plot.
Now they're all here, so we can highlight them, create the new report. Close that and we'll set up transient analysis, do an edit on that, we'll change the final time to 36,000 seconds, a minimum time step of 0.1 seconds, and a maximum of 5 seconds. And then we'll run the analysis.
And as you can see, that only took a couple of seconds to run. For the multiple input, multiple output ROM, there's a very similar process.
The first step is to turn on the cold flow and then turn on the energy equation and go into the battery model and then in the advanced options, so battery ROM toolkit, at this time for volume heat, click on the cells, select all. Here we'll just put a heat input value per cell, so only 10 this time.
This time we'll add individually instead of as a group. Do OK. And turn on the tab current. That for cell zone will be the same as before. Call add individually and OK. And then do an apply and run training. When it comes to the TwinBuilder, I already have the model set up.
I'll walk through some of the steps again. Toolkit, Thermal Model Identification, this time the number of inputs would be 13. So 13 inputs for the heat load and then one for the Joule heat and then the number of outputs would be 12. And again, let's pick Fluent.
And then for the file location, it would be the LTI folder that was generated in the training. This time the training took about three hours to do. With the schematic again, we would drag the thermal ROM into the window, dragged into the two constants, and also dragged in the square function.
So this time the constant value is going to be 10 for the heat load, and we'll still use the 200 for the current. The connectors for the heat load went through all the input nodes for the input volume heat. The next step would be to set up the outputs. So I set up an XY plot again.
And then also set up the inputs for the transient run. And the last step is to do the run. It appears to have finished, so I'll plot the results so you can see that it only took a couple of seconds to run. That's it for this recording.
Please contact us at https://ozeninc.com/contact for more information.

