CellModelBlock
Set of conditional parameters for Cell
object
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.
Creation
Description
sets default model options for the import simscape.battery.builder.*;
cellModelOpt
= CellModelBlockCell
object. To modify these options
for your application, use dot notation.
Properties
CellModelBlockPath
— Library path to Simscape battery cell block
"batt_lib/Cells/Battery(Table-Based)"
(default) | string
Library path to a Simscape battery cell block, specified as a string. This object only supports the Battery (Table-Based) block.
Example:
cellModelOpt.CellModelBlockPath =
"batt_lib/Cells/Battery(Table-Based)"
BlockParameters
— Conditional compile-time parameters of cell block
structure (default)
Conditional compile-time parameters of the cell block that you specify in the
CellModelBlockPath
property.
Note
This property does not include the run-time parameters of the specified cell block.
These are the conditional parameters for the default Battery (Table-Based) block:
T_dependence
— Temperature-dependent tablesthermal_port
— Thermal portprm_age_OCV
— Storage conditionprm_age_capacity
— Capacity calendar agingprm_age_resistance
— Internal resistance calendar agingprm_age_modeling
— Modeling optionprm_dyn
— Charge dynamicsprm_dir
— Current directionalityprm_fade
— Fade characteristicprm_leak
— Self-discharge
Example:
cellModelOpt.BlockParameters.thermal_port = "model"
Examples
Set Default CellModelOptions Property
Create a default CellModelBlock
option set.
cellModelOpt = CellModelBlock
CellModelBlock with properties: CellModelBlockPath: "batt_lib/Cells/Battery↵(Table-Based)" BlockParameters: [1×1 struct]
Show the BlockParameters
property.
cellModelOpt.BlockParameters
struct with fields: T_dependence: no thermal_port: omit prm_age_OCV: OCV prm_age_capacity: disabled prm_age_resistance: disabled prm_age_modeling: equation prm_dyn: off prm_dir: noCurrentDirectionality prm_fade: disabled prm_leak: disabled
Specify options using dot notation.
cellModelOpt.BlockParameters.thermal_port = "model";
Any property values you do not specify retain their default values.
Modify BlockParameters
Property of a Cell
Object
Create a default Cell
object.
batteryCell = Cell
batteryCell = Cell with properties: Geometry: [] CellModelOptions: [1×1 simscape.battery.builder.CellModelBlock] Mass: [1×1 simscape.Value]
Show the BlockParameters
property of the
CellModelOptions
object inside the Cell
object.
batteryCell.CellModelOptions.BlockParameters
struct with fields: T_dependence: no thermal_port: model prm_age_OCV: OCV prm_age_capacity: disabled prm_age_resistance: disabled prm_age_modeling: equation prm_dyn: off prm_dir: noCurrentDirectionality prm_fade: disabled prm_leak: disabled
Specify options using dot notation.
batteryCell.CellModelOptions.BlockParameters.thermal_port = "model";
Version History
Introduced in R2022b
See Also
MATLAB 命令
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)