modelStack

Stack with sensors

Extends from Modelica.Electrical.Batteries.BaseClasses.BaseStackWithSensors (Partial stack with sensors).

Information

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

Parameters

TypeNameDefaultDescription
BaseStackDatastackData (from BaseStackWithSensors)
BooleanuseAllParallelConnections (from BaseStackWithSensors)true= true, if all parallel connections are used
Real[stackData.Ns,stackData.Np]SOC0 (from BaseStackWithSensors)fill(0.1, stackData.Ns, stackData.Np)Initial SOC
BooleanuseHeatPort (from BaseStackWithSensors)false=true, if HeatPort is enabled
SI.TemperatureT (from BaseStackWithSensors)293.15Fixed device temperature if useHeatPort = false
Advanced
RealSOCtolerance (from BaseStackWithSensors)1e-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.StackBusstackBus (from BaseStackWithSensors)Stack bus
Modelica.Electrical.Batteries.Interfaces.CellBusbatteryBus (from BaseStackWithSensors)Battery bus (average / sum over all cells)
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a[stackData.Ns,stackData.Np]heatPort (from BaseStackWithSensors)Optional 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.Currenti (from BaseStackWithSensors)p.iCurrent into the stack
SI.Powerpower (from BaseStackWithSensors)v*iPower to the stack
RealSOC (from BaseStackWithSensors)socTotal.yOverall State of charge
Modelica.Electrical.Batteries.BaseClasses.BaseCellWithSensors[stackData.Ns,stackData.Np]cell (from BaseStackWithSensors)Matrix of cells
Modelica.Electrical.Analog.Sensors.MultiSensormultiSensor (from BaseStackWithSensors)
Modelica.Blocks.Sources.RealExpressionsocTotal (from BaseStackWithSensors)
Modelica.Blocks.Sources.RealExpressionlossesTotal (from BaseStackWithSensors)
Modelica.Blocks.Sources.RealExpressiontemperatureTotal (from BaseStackWithSensors)