CellRCStack

Battery with open-circuit voltage dependent on state of charge, self-discharge, inner resistance and a series of RC-elements

    CellRCStack

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

CellRCStack_0

NameLabelDescriptionData TypeValid Values

mo_SOC

SOC

SOC

Structure

mo_SOC/fixed

fixed

Cell of scalars

true
false

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')
FromModelica('Modelica.Electrical.Batteries.ParameterRecords.ExampleData')
FromModelica('Modelica.Electrical.Batteries.ParameterRecords.TransientData.CellData')
FromModelica('Modelica.Electrical.Batteries.ParameterRecords.TransientData.ExampleData')

mo_useHeatPort

useHeatPort

=true, if HeatPort is enabled

Number

0
1

mo_T

T

Fixed device temperature if useHeatPort = false

Scalar

CellRCStack_1

NameLabelDescriptionData TypeValid Values

mo_SOCtolerance

SOCtolerance

Tolerance to detect depleted of overcharged battery

Scalar

CellRCStack_2

NameLabelDescriptionData TypeValid 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'
'v'
'i'
'power'

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

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

See Also