modelBaseStackWithSensors

Partial stack with sensors

Extends from Modelica.Electrical.Batteries.Icons.BatteryIcon (Icon for cells and stacks), Modelica.Electrical.Analog.Interfaces.TwoPin (Component with two electrical pins).

Information

This is a stack of Ns x Np cell[Np=1, Ns=1] with measurement, arranged in a matrix.

Parameters

TypeNameDefaultDescription
BaseStackDatastackData
BooleanuseAllParallelConnectionstrue= true, if all parallel connections are used
Real[stackData.Ns,stackData.Np]SOC0fill(0.1, stackData.Ns, stackData.Np)Initial SOC
BooleanuseHeatPortfalse=true, if HeatPort is enabled
SI.TemperatureT293.15Fixed device temperature if useHeatPort = false
Advanced
RealSOCtolerance1e-9SOC tolerance for detection of depleted or overcharged cell

Connectors

TypeNameDefaultDescription
PositivePinp (from TwoPin)Positive electrical pin
NegativePinn (from TwoPin)Negative electrical pin
Modelica.Electrical.Batteries.Interfaces.StackBusstackBusStack bus
Modelica.Electrical.Batteries.Interfaces.CellBusbatteryBusBattery bus (average / sum over all cells)
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a[stackData.Ns,stackData.Np]heatPortOptional port to which dissipated losses are transported in form of heat

Components

TypeNameDefaultDescription
RealdisplaySOC (from BatteryIcon)SOC for display
SI.Voltagev (from TwoPin)Voltage drop of the two pins (= p.v - n.v)
SI.Currentip.iCurrent into the stack
SI.Powerpowerv*iPower to the stack
RealSOCsocTotal.yOverall State of charge
Modelica.Electrical.Batteries.BaseClasses.BaseCellWithSensors[stackData.Ns,stackData.Np]cellMatrix of cells
Modelica.Electrical.Analog.Sensors.MultiSensormultiSensor
Modelica.Blocks.Sources.RealExpressionsocTotal
Modelica.Blocks.Sources.RealExpressionlossesTotal
Modelica.Blocks.Sources.RealExpressiontemperatureTotal