modelStackRC
Stack with sensors
Extends from Modelica.Electrical.Batteries.BaseClasses.BaseStackWithSensors (Partial stack with sensors), Modelica.Electrical.Batteries.Icons.TransientModel (Indicates transient model).
Information
This is a stack of Ns x Np transient cellRC[Np=1, Ns=1] (with RC-elements) with measurement, arranged in a matrix.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| BaseStackData | stackData (from BaseStackWithSensors) | ||
| Boolean | useAllParallelConnections (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 |
| Boolean | useHeatPort (from BaseStackWithSensors) | false | =true, if HeatPort is enabled |
| SI.Temperature | T (from BaseStackWithSensors) | 293.15 | Fixed device temperature if useHeatPort = false |
| Advanced | |||
| Real | SOCtolerance (from BaseStackWithSensors) | 1e-9 | SOC tolerance for detection of depleted or overcharged cell |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| PositivePin | p (from TwoPin) | Positive electrical pin | |
| NegativePin | n (from TwoPin) | Negative electrical pin | |
| Modelica.Electrical.Batteries.Interfaces.StackBus | stackBus (from BaseStackWithSensors) | Stack bus | |
| Modelica.Electrical.Batteries.Interfaces.CellBus | batteryBus (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
| Type | Name | Default | Description |
|---|---|---|---|
| Real | displaySOC (from BatteryIcon) | SOC for display | |
| SI.Voltage | v (from TwoPin) | Voltage drop of the two pins (= p.v - n.v) | |
| SI.Current | i (from BaseStackWithSensors) | p.i | Current into the stack |
| SI.Power | power (from BaseStackWithSensors) | v*i | Power to the stack |
| Real | SOC (from BaseStackWithSensors) | socTotal.y | Overall State of charge |
| Modelica.Electrical.Batteries.BaseClasses.BaseCellWithSensors[stackData.Ns,stackData.Np] | cell (from BaseStackWithSensors) | Matrix of cells | |
| Modelica.Electrical.Analog.Sensors.MultiSensor | multiSensor (from BaseStackWithSensors) | ||
| Modelica.Blocks.Sources.RealExpression | socTotal (from BaseStackWithSensors) | ||
| Modelica.Blocks.Sources.RealExpression | lossesTotal (from BaseStackWithSensors) | ||
| Modelica.Blocks.Sources.RealExpression | temperatureTotal (from BaseStackWithSensors) |