CellModelBlock
Description
Use CellModelBlock
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.
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.
Creation
Description
Note
To quickly create a CellModelBlock
object, use the batteryCellModelBlock
function. By using this function, you avoid importing
the namespace, using the full class name, or dealing only with name-value arguments when
creating the object. (since R2024a)
To use this object, at the MATLAB® Command Window, run this command at least once each MATLAB session:
import simscape.battery.builder.*;
sets default
model options for the cellModelOpt
= CellModelBlockCell
object. To modify these options for your
application, use dot notation.