WOLFRAM SYSTEM MODELER

CellRCStack

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

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica.Electrical.Batteries.BatteryStacks.CellRCStack"]
Out[1]:=

Information

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

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 in parameter 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 (6)

useHeatPort

Value: false

Type: Boolean

Description: =true, if HeatPort is enabled

T

Value: 293.15

Type: Temperature (K)

Description: Fixed device temperature if useHeatPort = false

Ns

Value: 1

Type: Integer

Description: Number of serial connected cells

Np

Value: 1

Type: Integer

Description: Number of parallel connected cells

cellData

Value:

Type: CellData

Description: Cell parameters

SOCtolerance

Value: 1e-9

Type: Real

Description: Tolerance to detect depleted of overcharged battery

Inputs (1)

displaySOC

Default Value: SOC

Type: Real

Description: SOC for display

Outputs (1)

SOC

Default Value: limIntegrator.y

Type: Real

Description: State of charge

Connectors (4)

p

Type: PositivePin

Description: Positive electrical pin

n

Type: NegativePin

Description: Negative electrical pin

heatPort

Type: HeatPort_a

Description: Optional port to which dissipated losses are transported in form of heat

internalHeatPort

Type: HeatPort_a

Description: Thermal port for 1-dim. heat transfer (filled rectangular icon)

Components (11)

fixedTemperature

Type: FixedTemperature

Description: Fixed temperature boundary condition in Kelvin

cellData

Type: CellData

Description: Cell parameters

currentSensor

Type: CurrentSensor

Description: Sensor to measure the current in a branch

limIntegrator

Type: LimIntegrator

Description: Integrator with limited value of the output and optional reset

ocv_soc

Type: CombiTable1Ds

Description: Table look-up in one dimension (matrix/file) with one input and n outputs

gainV

Type: Gain

Description: Output the product of a gain value with the input signal

ocv

Type: SignalVoltage

Description: Generic voltage source using the input signal as source voltage

selfDischarge

Type: Conductor

Description: Ideal linear electrical conductor

r0

Type: Resistor

Description: Ideal linear electrical resistor

resistor

Type: Resistor[cellData.nRC]

Description: Ideal linear electrical resistor

capacitor

Type: Capacitor[cellData.nRC]

Description: Ideal linear electrical capacitor

Used in Examples (2)

BatteryDischargeCharge

Modelica.Electrical.Batteries.Examples

Discharge and charge idealized battery

CCCVcharging

Modelica.Electrical.Batteries.Examples

Charge a battery with constant current - constant voltage characteristic