Pack
Create pack of module assemblies
Description
Use Pack
to create a battery pack object that represents a number
of ModuleAssembly
objects connected electrically in series or in parallel.
To generate a Simscape™ model of your Pack
object, use the buildBattery
function.
The Pack
object only supports the definition of structural or design
parameters. You can modify the run-time parameters for this object and for the models of its
constituent module assemblies and modules after you create the model. The
Pack
object keeps track of its unique constituent module models and
generates properties for these models instead of doing it for every model instance. You can
generate a script that contains all the parameters of the Pack
object by
specifying the MaskParameters
argument in the
buildBattery
function. A unique pack model is characterized by having
the same properties (such as NumSeriesAssemblies
and
ModelResolution
) and the same constituent cell properties (such as
name, format, and weight).
The Pack
object is the final 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.
Creation
Syntax
Description
creates a battery pack that comprises module assemblies with default property
values.import simscape.battery.builder.*;
batteryPack
= Pack
sets Properties using one or more name-value
arguments. For example, create a pack with four default module assemblies connected in
series, stacked along the x-axis, and with a gap between the module
assemblies equal to 0.005
m.import simscape.battery.builder.*;
batteryPack
= Pack(Name=Value
)
batteryPack = Pack(... ModuleAssembly=repmat(ModuleAssembly=ModuleAssembly,1,4), ... StackingAxis="X",... InterModuleAssemblyGap=simscape.Value(0.005,"m"));
You can define the number and types of module assemblies in the
ModuleAssembly
property. If your pack comprises many module
assemblies with exactly the same property values, you can use the repmat function to
specify the ModuleAssembly
property. Otherwise, specify an array of
distinct module assemblies.
Properties
Examples
Version History
Introduced in R2022b
See Also
Objects
Cell
|ParallelAssembly
|Module
|ModuleAssembly
|CylindricalGeometry
|PouchGeometry
|PrismaticGeometry
|BatteryChart