modelBaseCellWithSensors
Partial cell with sensors
Extends from Modelica.Electrical.Batteries.Icons.BatteryIcon (Icon for cells and stacks), 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).
Information
This is a single cell[Np=1, Ns=1] with measurement.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Electrical.Batteries.ParameterRecords.CellData | cellData | Cell parameters | |
| Real | SOC0 | 0.1 | Initial SOC |
| Boolean | useHeatPort (from PartialConditionalHeatPort) | false | =true, if HeatPort is enabled |
| SI.Temperature | T (from PartialConditionalHeatPort) | 293.15 | Fixed device temperature if useHeatPort = false |
| Advanced | |||
| Real | SOCtolerance | 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.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort (from PartialConditionalHeatPort) | Optional port to which dissipated losses are transported in form of heat | |
| Modelica.Electrical.Batteries.Interfaces.CellBus | cellBus | Cell bus |
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 | p.i | Current into the cell |
| SI.Power | power | v*i | Power to the cell |
| Real | SOC | limIntegrator.y | State of charge |
| Modelica.Thermal.HeatTransfer.Sources.FixedTemperature | fixedTemperature (from PartialConditionalHeatPort) | ||
| Modelica.Electrical.Batteries.BatteryStacks.CellStack | cell | Cell | |
| Modelica.Electrical.Analog.Sensors.MultiSensor | multiSensor | ||
| Modelica.Blocks.Continuous.LimIntegrator | limIntegrator | ||
| Modelica.Thermal.HeatTransfer.Sensors.TemperatureSensor | temperatureSensor | ||
| Modelica.Thermal.HeatTransfer.Sensors.HeatFlowSensor | heatFlowSensor |