Parameter records for transient battery models
Parameter records for transient battery models
The user can easily build up a collection of different battery types by creating individual parameter records extending from the base record CellData
.
Do not forget to add the annotation(defaultComponentPrefixes="parameter");
in each individual parameter record.
Record RCData is used in record CellData.
Extends from Modelica.Electrical.Batteries.Icons.TransientRecordsPackage (Icon for package containing records with transient data).
Name | Description |
---|---|
RCData | Parameters of RC-elements |
CellData | Parameters of a transient battery cell |
ExampleData | Example parameters of a transient battery cell |
StackData | Parameters for transient stacks including degradation |
Parameters of RC-elements
Parameters for RC-elements of battery models
Capacitance C can be calculated from time constant T by C = T/R.
Extends from Modelica.Electrical.Batteries.Icons.TransientCellRecord (Indicates transient cell data).
Name | Description |
---|---|
R | Resistance of RC-element [Ohm] |
T_ref | Reference temperature [K] |
alpha | Temperature coefficient of resistance at T_ref [1/K] |
C | Capacitance of RC-element (=T/R) [F] |
Parameters of a transient battery cell
Collects parameters of battery cells:
rcData
for battery models comprising RC-elements
If useLinearSOCDependency=true
, the OCV versus SOC table is built up internally from OCVmax, OCVmin, SOCmax, SOCmin
.
Otherwise, the OCV versus SOC table has to be specified: 1st column = SOC values in ascending order, 2nd column = corresponding OCV values with respect to OCVmax.
The size of the array rcData has to be defined as parameter nRC
.
The sum of the resistances rcData.R
must not exceed the total inner resistance Ri
.
Extends from Modelica.Electrical.Batteries.ParameterRecords.CellData (Parameters of a battery cell), Modelica.Electrical.Batteries.Icons.TransientCellRecord (Indicates transient cell data).
Name | Description |
---|---|
Qnom | Nominal (maximum) charge [C] |
Ri | Total inner resistance (= OCVmax/Isc) [Ohm] |
T_ref | Reference temperature [K] |
alpha | Temperature coefficient of resistance at T_ref [1/K] |
Idis | Self-discharge current at SOC = SOCmax [A] |
R0 | Inner resistance without parallel C [Ohm] |
OCV versus SOC | |
useLinearSOCDependency | Use a linear SOC dependent OCV, otherwise table based |
OCVmax | OCV at SOC = SOCmax [V] |
OCVmin | OCV at SOC = SOCmin [V] |
SOCmax | Maximum state of charge |
SOCmin | Minimum state of charge |
OCV_SOC[:, 2] | OCV/OCVmax versus SOC table |
smoothness | Smoothness of table interpolation |
RC-elements | |
nRC | Number of RC-elements |
rcData[nRC] | Parameters of RC-elements |
Example parameters of a transient battery cell
This is an example for an OCV versus SOC characteristic
Extends from Modelica.Electrical.Batteries.ParameterRecords.TransientData.CellData (Parameters of a transient battery cell).
Name | Description |
---|---|
Qnom | Nominal (maximum) charge [C] |
Ri | Total inner resistance (= OCVmax/Isc) [Ohm] |
T_ref | Reference temperature [K] |
alpha | Temperature coefficient of resistance at T_ref [1/K] |
Idis | Self-discharge current at SOC = SOCmax [A] |
R0 | Inner resistance without parallel C [Ohm] |
OCV versus SOC | |
useLinearSOCDependency | Use a linear SOC dependent OCV, otherwise table based |
OCVmax | OCV at SOC = SOCmax [V] |
OCVmin | OCV at SOC = SOCmin [V] |
SOCmax | Maximum state of charge |
SOCmin | Minimum state of charge |
OCV_SOC[:, 2] | OCV/OCVmax versus SOC table |
smoothness | Smoothness of table interpolation |
RC-elements | |
nRC | Number of RC-elements |
rcData[nRC] | Parameters of RC-elements |
Parameters for transient stacks including degradation
Extends from Modelica.Electrical.Batteries.BaseClasses.BaseStackData (Parameters for stacks including degradation), Modelica.Electrical.Batteries.Icons.TransientStackRecord (Indicates transient stack data).
Name | Description |
---|---|
Ns | Number of series connected cells |
Np | Number of parallel connected cells |
kDegraded[:, 2] | Indices of degraded cells [series index, parallel index] |