batteryCellModelBlock
Description
Use the batteryCellModelBlock
function to construct the
CellModelOptions
property of a Cell
object. This
property contains the conditional parameters of the block that you specify in the
CellModelBlockPath
property. For more information about the
CellModelBlock
object and its properties, see CellModelBlock
(object)
.
By default, the CellModelBlockPath
property uses the Battery
(Table-Based) block, but you can also use the Battery Equivalent
Circuit block or specify your own custom block. For more information, see
the CellModelBlockPath property.
Note
A generated battery block always uses the default values of the parameters in the
battery cell blocks that you specify in the CellModelBlockPath
property
of your battery object, regardless of how you modified them. The only parameters of the cell
block that you can modify are the conditional parameters listed in the
BlockParameters
property.
cellModelOpt = batteryCellModelBlock
sets default model options for
the Cell
object. To modify these options for your application, use dot
notation. For a full list of options, see the Properties
of
the cellModelBlock
object.
cellModelOpt = batteryCellModelBlock(
sets the library path of the component model block of the CellModelBlockPath
)Cell
object to a
Simscape battery cell block. By default, the CellModelBlockPath
property uses the Battery
(Table-Based) block, but you can also use the Battery Equivalent
Circuit block or specify your own custom block.
Examples
Input Arguments
Version History
Introduced in R2024a