CellStack
Battery with open-circuit voltage dependent on state of charge, self-discharge and inner resistance
Library
Modelica/Electrical/Batteries/BatteryStacks
Description
The battery is modeled by open-circuit voltage (OCV) dependent on state of charge (SOC), self-discharge and inner resistance,as implemented in partial BaseCellStack.
This model can be used for a single cell Ns = Np = 1
as well as a stack built from identical cells.
For details, see concept and parameterization.
Note
Parameter record array rcData contained inparameter record cellData is neglected.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_SOC | SOC | SOC | Structure | |
mo_SOC/fixed | fixed | Cell of scalars | true | |
mo_SOC/start | start | Cell of scalars | ||
mo_Ns | Ns | Number of serial connected cells | Scalar | |
mo_Np | Np | Number of parallel connected cells | Scalar | |
mo_cellData | cellData | Cell parameters | FromModelica('Modelica.Electrical.Batteries.ParameterRecords.CellData') | |
mo_useHeatPort | useHeatPort | =true, if HeatPort is enabled | Number | 0 |
mo_T | T | Fixed device temperature if useHeatPort = false | Scalar |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_SOCtolerance | SOCtolerance | Tolerance to detect depleted of overcharged battery | Scalar |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo__nmodifiers | Number of Modifiers | Specifies the number of modifiers | Number | |
mo__modifiers | Modifiers | Add new modifier | Structure | |
mo__modifiers/varname | Variable name | Cell of strings | 'displaySOC' | |
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
p | implicit | Positive electrical pin | input | 1 |
n | implicit | Negative electrical pin | output | 1 |
Port 3 | implicit | Optional port to which dissipated losses are transported in form of heat | input | mo_useHeatPort |