CellRCStack
Battery with open-circuit voltage dependent on state of charge, self-discharge, inner resistance and a series of RC-elements
Library
Modelica/Electrical/Batteries/BatteryStacks
Description
Extends the model CellStack by a series of RC-elements, describing the transient behaviour of the battery.
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 has to be specified.
The total inner resistance is the sum of the resistance of resistor r0
and the sum of the resistances of the resistors of the RC-elements.
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 |