Module
Create module of battery parallel assemblies
Description
Use Module
to create a battery module object that represents a
number of battery parallel assemblies connected electrically in series. You can use this
object as an input to the ModuleAssembly
object to create larger battery models.
To define the number of parallel assemblies or cells connected in series, use the
NumSeriesAssemblies
property. To generate a Simscape™ model of your Module
object, use the buildBattery
function. This object only supports the definition of structural or design parameters. You can
modify the run-time parameters for this model block and its constituent cells after you create
the model.
The Module
object is the third stage of a battery pack system model in a
bottom-up approach. Pack models are required for architecture evaluation in early development
stages, software and hardware development, system integration and requirement evaluation,
cooling system design, control strategy development hardware-in-the-loop, and many more applications.
By default, the parallel assemblies or cells are stacked along the
y-axis of a Cartesian coordinate system and replicated a number of times
equal to the value of the NumSeriesAssemblies
property. To stack the
parallel assemblies along the x-axis, set the
StackingAxis
property to "X"
.
The recommended model resolution for a Module
object is
"Lumped"
. You can increase or decrease the local resolution for a
Module
object by using the ModelResolution
property.
If you set the ModelResolution
property to
"Grouped"
, you can define a custom model resolution by using the
SeriesGrouping
and ParallelGrouping
properties.
For example, consider a battery architecture that comprises six parallel assemblies connected
in series (NumSeriesAssemblies
= 6). Each parallel assembly comprises six
cells. This architecture requires at least 36 electrical battery models for simulation. To
improve model speed and optimize the compilation times, you can choose to use only three
electrical models by setting the SeriesGrouping
property to [1 4
1]
. The first and third submodules comprise one parallel assembly. The second
submodule comprises the remaining four parallel assemblies.
Alternatively, you can choose to have further resolution for every parallel assembly by
changing SeriesGrouping
to [1 1 2 1 1]
.
For the submodules with a single parallel assembly, you can further discretize the
electrical and thermal models to obtain the resolution for each cell by setting the
ParallelGrouping
property to [6 1 6] and [6 6 1 6 6], respectively.
For more information about model resolution and simulation strategy, see the SeriesGrouping and ParallelGrouping properties.
Creation
Syntax
Description
creates a battery module that comprises parallel assemblies with default property
values.import simscape.battery.builder.*;
batteryModule
= Module
sets Properties using one or more name-value
arguments. For example, create a module with four default parallel assemblies stacked
along the y-axis with a gap between the parallel assemblies equal to
0.05
m.import simscape.battery.builder.*;
batteryModule
= Module(Name=Value
)
module = Module(... ParallelAssembly=ParallelAssembly(), ... NumSeriesAssemblies=4, ... StackingAxis="Y",... InterParallelAssemblyGap=simscape.Value(0.05,"m"));
Properties
Examples
Version History
Introduced in R2022b
See Also
Objects
Cell
|ParallelAssembly
|ModuleAssembly
|Pack
|CylindricalGeometry
|PouchGeometry
|PrismaticGeometry
|BatteryChart