CellData
Parameters of a transient battery cell
![]()
Library
Modelica/Electrical/Batteries/ParameterRecords/TransientData
Description
Collects parameters of battery cells:
- Nominal charge
- OCV versus SOC characteristic
- Inner resistance; can be calculated from OCVmax / short-circuit current (at OCVmax)
- Array of records
rcDatafor battery models comprising RC-elements
Note
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.
Parameters

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
mo_Qnom | Qnom | Nominal (maximum) charge | Scalar | |
mo_Ri | Ri | Total inner resistance (= OCVmax/Isc) | Scalar | |
mo_T_ref | T_ref | Reference temperature | Scalar | |
mo_alpha | alpha | Temperature coefficient of resistance at T_ref | Scalar | |
mo_Idis | Idis | Self-discharge current at SOC = SOCmax | Scalar | |
mo_R0 | R0 | Inner resistance without parallel C | Scalar | |
mo_useLinearSOCDependency | useLinearSOCDependency | Use a linear SOC dependent OCV, otherwise table based | Scalar | true |
mo_OCVmax | OCVmax | OCV at SOC = SOCmax | Scalar | |
mo_OCVmin | OCVmin | OCV at SOC = SOCmin | Scalar | |
mo_SOCmax | SOCmax | Maximum state of charge | Scalar | |
mo_SOCmin | SOCmin | Minimum state of charge | Scalar | |
mo_OCV_SOC | OCV_SOC | OCV/OCVmax versus SOC table | Matrix of size Mx2 | |
mo_smoothness | smoothness | Smoothness of table interpolation | Structure | |
mo_smoothness/choice1 | Modelica.Blocks.Types.Smoothness.LinearSegments | Number | 0 | |
mo_smoothness/choice2 | Modelica.Blocks.Types.Smoothness.ContinuousDerivative | Number | 0 | |
mo_smoothness/choice3 | Modelica.Blocks.Types.Smoothness.ConstantSegments | Number | 0 | |
mo_smoothness/choice4 | Modelica.Blocks.Types.Smoothness.MonotoneContinuousDerivative1 | Number | 0 | |
mo_smoothness/choice5 | Modelica.Blocks.Types.Smoothness.MonotoneContinuousDerivative2 | Number | 0 | |
mo_smoothness/choice6 | Modelica.Blocks.Types.Smoothness.ModifiedContinuousDerivative | Number | 0 | |
mo_OCV_SOC_internal | OCV_SOC_internal | OCV/OCVmax versus SOC used internal | Matrix of size Mx2 | |
mo_nRC | nRC | Number of RC-elements | Scalar | |
mo_rcData | rcData | Parameters of RC-elements | FromModelica('Modelica.Electrical.Batteries.ParameterRecords.TransientData.RCData') |

| 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 | ||
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |