Parameter records for batteries
Parameter records for batteries
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.
Extends from Modelica.Icons.RecordsPackage (Icon for package containing records).
| Name | Description |
|---|---|
| Parameter records for transient battery models | |
| Parameters of a battery cell | |
| Example parameters of a battery cell | |
| Parameters for stacks including degradation |
Modelica.Electrical.Batteries.ParameterRecords.CellDataParameters of a battery cell
Collects parameters of battery cells:
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.
Extends from Modelica.Electrical.Batteries.Icons.BaseCellRecord (Indicates base 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 |
Modelica.Electrical.Batteries.ParameterRecords.ExampleDataExample parameters of a battery cell
This is an example for an OCV versus SOC characteristic
Extends from CellData (Parameters of a 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 |
Modelica.Electrical.Batteries.ParameterRecords.StackDataParameters for stacks including degradation
Extends from Modelica.Electrical.Batteries.BaseClasses.BaseStackData (Parameters for stacks including degradation).
| Name | Description |
|---|---|
| Ns | Number of series connected cells |
| Np | Number of parallel connected cells |
| kDegraded[:, 2] | Indices of degraded cells [series index, parallel index] |