CellData

Parameters of a transient battery cell

Diagram

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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 rcData for 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 (16)

Qnom

Value:

Type: ElectricCharge (C)

Description: Nominal (maximum) charge

useLinearSOCDependency

Value: true

Type: Boolean

Description: Use a linear SOC dependent OCV, otherwise table based

OCVmax

Value:

Type: Voltage (V)

Description: OCV at SOC = SOCmax

OCVmin

Value:

Type: Voltage (V)

Description: OCV at SOC = SOCmin

SOCmax

Value: 1

Type: Real

Description: Maximum state of charge

SOCmin

Value: 0

Type: Real

Description: Minimum state of charge

OCV_SOC

Value: [SOCmin, OCVmin / OCVmax; SOCmax, 1]

Type: Real[:,2]

Description: OCV/OCVmax versus SOC table

smoothness

Value: Modelica.Blocks.Types.Smoothness.LinearSegments

Type: Smoothness

Description: Smoothness of table interpolation

OCV_SOC_internal

Value: if useLinearSOCDependency then [SOCmin, OCVmin / OCVmax; SOCmax, 1] else OCV_SOC

Type: Real[:,2]

Description: OCV/OCVmax versus SOC used internal

Ri

Value:

Type: Resistance (Ω)

Description: Total inner resistance (= OCVmax/Isc)

T_ref

Value: 293.15

Type: Temperature (K)

Description: Reference temperature

alpha

Value: 0

Type: LinearTemperatureCoefficient (¹/K)

Description: Temperature coefficient of resistance at T_ref

Idis

Value: 0

Type: Current (A)

Description: Self-discharge current at SOC = SOCmax

R0

Value: Ri - sum(rcData.R)

Type: Resistance (Ω)

Description: Inner resistance without parallel C

nRC

Value: 1

Type: Integer

Description: Number of RC-elements

rcData

Value: {Modelica.Electrical.Batteries.ParameterRecords.TransientData.RCData(R = 0, C = 0)}

Type: RCData[nRC]

Description: Parameters of RC-elements

Components (1)

rcData

Type: RCData[nRC]

Description: Parameters of RC-elements

Used in Components (1)

Impedance

Modelica.Electrical.Batteries.Utilities

Calculate complex impedance

Extended by (1)

ExampleData

Modelica.Electrical.Batteries.ParameterRecords.TransientData

Example parameters of a transient battery cell