Thermal ROM
R2026bLibraries:
Simscape /
Battery /
Thermal
Description
The Thermal ROM block implements a reduced-order model (ROM) of the thermal behavior of a battery system, using a state-space representation. The model captures the thermal dynamics of a battery cell and its interaction with external cooling or heating systems.
Accurate thermal modeling helps with analyzing the performance, safety, and lifetime of electrochemical cells. This block enables you to:
Integrate a high‑fidelity thermal model of a battery cell into your Simscape™ model.
Interface the thermal model with a Battery Equivalent Circuit or Battery Single Particle block that represents an electrical model.
Support external heat transfer mechanisms, such as heat exchange with the ambient environment or with a cooling plate.
Monitor temperatures at specific locations within the cell.
Note
The Thermal ROM block assumes heat-flow inputs in watts (W) and temperature states and outputs in kelvin (K). The block enforces these units internally, and the state‑space matrices are valid only under this convention. If a thermal ROM using different units (for example, heat‑flow in kilowatts or temperature in degrees Celsius), then to prevent incorrect temperature predictions, you must rescale the matrices and apply any required offsets before using the matrices with the Thermal ROM block.
Equations
These state-space equations describe the cell thermal dynamics:
where
x(t) is the thermal state vector, representing the reduced-order temperature states.
u(t) is the heat-flow input vector, comprising the cell heat generation and the external heat flow inputs. The block constructs the input vector u(t) by concatenating the heat‑flow rates applied at the Cell and Interface thermal conserving ports:
Each element of u(t) corresponds to the heat-flow rate applied at one thermal element of the Cell or Interface port.
y(t) is the output vector, comprising the cell temperature, probe temperatures, and external interface temperatures:
E is the thermal mass matrix that defines the thermal capacitance of the system.
A is the thermal stiffness matrix that defines the thermal conductance between thermal states.
B is the heat-flow input matrix that models the heat distribution. This matrix specifies how the heat‑flow rate at a specific thermal node influences the thermal states of the ROM.
C is the temperature output matrix that defines how the thermal states map to the temperature at a specific thermal node.
D is the direct feedthrough matrix and is internally set to zero, because direct feedthrough is typically not modeled in thermal models.
The block constructs the B matrix from parameters that represent different thermal dynamics and correspond directly to thermal conserving ports:
Cell heat-flow input matrix (B) — Volume-specific heat generation from the battery cell, Bcell.
Interface heat-flow input matrix (B) — Heat exchange at the thermal boundary conditions, Binterface.
Internally, the block assembles the full heat-flow input matrix by horizontally concatenating these matrices:
Each column of the combined B matrix corresponds to one thermal element of the associated Cell or Interface thermal port and defines how the heat flow at that thermal element influences the thermal states. The order of the columns must match the orders of the elements in the Cell and Interface port arrays.
The C matrix contains the mapping between the thermal state vector and the output vector, enabling temperature reporting at specified locations. The block constructs the C matrix from these parameters:
Cell temperature output matrix (C) — Volumetric average temperature of the battery cell, Ccell.
Probe temperature output matrix (C) — Temperature at the specified monitoring points, Cprobe.
Interface temperature output matrix (C) — Interface temperatures for the thermal boundary conditions, Cinterface.
Internally, the block assembles the full temperature output matrix by vertically concatenating these matrices:
Each row maps the thermal states to the temperature at one output location. The order of the rows of the C matrix defines the ordering of temperatures in the output vector y(t).
When generating a reduced-order thermal model, if you have only a single, combined heat-flow input matrix Bcombined and a single, combined temperature output matrix Ccombined, then you must partition each of these two matrices into separate cell, probe, and interface matrices before specifying the block parameters. To partition the matrices, follow these steps:
Determine how many thermal elements are associated with the Cell and Interface thermal ports, and how many temperature outputs are defined for the cell, probe, and interface locations.
Partition the matrices according to those element counts.
Assign the resulting submatrices to the corresponding block parameters.
Probe nodes do not apply heat flow and do not contribute columns to the heat‑flow input matrix.
Examples
Extended Examples
Ports
Conserving
Parameters
Extended Capabilities
Version History
Introduced in R2026b

