| CellStackBattery with open-circuit voltage dependent on state of charge, self-discharge and inner resistance |  | 
This information is part of the Modelica Standard Library maintained by the Modelica Association.
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.
Parameter record array rcData contained in parameter record cellData is neglected.
| useHeatPort | Value: false Type: Boolean Description: =true, if HeatPort is enabled | 
|---|---|
| T | Value: 293.15 Type: Temperature (K) Description: Fixed device temperature if useHeatPort = false | 
| Ns | Value: 1 Type: Integer Description: Number of serial connected cells | 
| Np | Value: 1 Type: Integer Description: Number of parallel connected cells | 
| cellData | Value: Type: CellData Description: Cell parameters | 
| SOCtolerance | Value: 1e-9 Type: Real Description: Tolerance to detect depleted of overcharged battery | 
| displaySOC | Default Value: SOC Type: Real Description: SOC for display | 
|---|
| SOC | Default Value: limIntegrator.y Type: Real Description: State of charge | 
|---|
|  | p | Type: PositivePin Description: Positive electrical pin | 
|---|---|---|
|  | n | Type: NegativePin Description: Negative electrical pin | 
|  | heatPort | Type: HeatPort_a Description: Optional port to which dissipated losses are transported in form of heat | 
|  | fixedTemperature | Type: FixedTemperature | 
|---|---|---|
|  | cellData | Type: CellData Description: Cell parameters | 
|  | currentSensor | Type: CurrentSensor | 
|  | limIntegrator | Type: LimIntegrator | 
|  | ocv_soc | Type: CombiTable1Ds | 
|  | gainV | Type: Gain | 
|  | ocv | Type: SignalVoltage | 
|  | selfDischarge | Type: Conductor | 
|  | r0 | Type: Resistor | 
|  | Modelica.Electrical.Batteries.Examples Discharge and charge idealized battery | 
|  | Modelica.Electrical.Batteries.BaseClasses Partial cell with sensors |