Modelica.Electrical.Batteries.BatteryStacks

Battery stacks built from cells

Information

Battery models, either used for single cells or for stacks built from identical cells

Extends from Modelica.Icons.Package (Icon for standard packages).

Package Content

Name Description
Modelica.Electrical.Batteries.BatteryStacks.CellStack CellStack Battery with open-circuit voltage dependent on state of charge, self-discharge and inner resistance
Modelica.Electrical.Batteries.BatteryStacks.CellRCStack CellRCStack Battery with open-circuit voltage dependent on state of charge, self-discharge, inner resistance and a series of RC-elements
Modelica.Electrical.Batteries.BatteryStacks.SuperCap SuperCap Simple model of a supercapacitor

Modelica.Electrical.Batteries.BatteryStacks.CellStack Modelica.Electrical.Batteries.BatteryStacks.CellStack

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

Information

The battery is modeled by open-circuit voltage (OCV) dependent on state of charge (SOC), self-discharge and inner resistance, as implemented in partial BaseCellStack.

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 is neglected.

Extends from Modelica.Electrical.Batteries.BaseClasses.BaseCellStack (Battery with open-circuit voltage dependent on state of charge, self-discharge and inner resistance).

Parameters

NameDescription
NsNumber of serial connected cells
NpNumber of parallel connected cells
useHeatPort=true, if HeatPort is enabled
TFixed device temperature if useHeatPort = false [K]
Initialization
SOCState of charge
Advanced
SOCtoleranceTolerance to detect depleted of overcharged battery

Connectors

NameDescription
pPositive electrical pin
nNegative electrical pin
heatPortOptional port to which dissipated losses are transported in form of heat

Modelica.Electrical.Batteries.BatteryStacks.CellRCStack Modelica.Electrical.Batteries.BatteryStacks.CellRCStack

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

Information

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.

Extends from Modelica.Electrical.Batteries.BaseClasses.BaseCellStack (Battery with open-circuit voltage dependent on state of charge, self-discharge and inner resistance), Modelica.Electrical.Batteries.Icons.TransientModel (Indicates transient model).

Parameters

NameDescription
NsNumber of serial connected cells
NpNumber of parallel connected cells
useHeatPort=true, if HeatPort is enabled
TFixed device temperature if useHeatPort = false [K]
Initialization
SOCState of charge
Advanced
SOCtoleranceTolerance to detect depleted of overcharged battery

Connectors

NameDescription
pPositive electrical pin
nNegative electrical pin
heatPortOptional port to which dissipated losses are transported in form of heat

Modelica.Electrical.Batteries.BatteryStacks.SuperCap Modelica.Electrical.Batteries.BatteryStacks.SuperCap

Simple model of a supercapacitor

Information

This is a simple model of a supercapacitor, comprising:

Note

There is no limit included against too high charging and too low discharging or even charging in the opposite direction.

Extends from Modelica.Electrical.Analog.Interfaces.TwoPin (Component with two electrical pins), Modelica.Electrical.Analog.Interfaces.PartialConditionalHeatPort (Partial model to include a conditional HeatPort in order to dissipate losses, used for graphical modeling, i.e., for building models by drag-and-drop).

Parameters

NameDescription
VnomNominal voltage [V]
V0Initial voltage [V]
CCapacitance [F]
QnomNominal charge [C]
RsSeries resistance [Ohm]
T_refReference temperature [K]
alphaTemperature coefficient of resistance at T_ref [1/K]
IdisSelf-discharge current at nominal voltage [A]
useHeatPort=true, if HeatPort is enabled
TFixed device temperature if useHeatPort = false [K]

Connectors

NameDescription
pPositive electrical pin
nNegative electrical pin
heatPortOptional port to which dissipated losses are transported in form of heat
Automatically generated Thu Oct 1 16:07:40 2020.