Supercapacitor
Double-layer capacitor with series resistance.
- electrical
- Modelica Standard Library
- 2 ports
- 4 parameters
supercapLibraryElectricalDescription
A supercapacitor modeled as an ideal capacitor C behind a series resistance Rs, starting at voltage V0.
Example
Battery, supercapacitor, and a heating load A battery cell heats a temperature-dependent resistor while a power sensor measures it, and a supercapacitor charges at 1 A.
Also in this example:Voltage sensorGroundHeat capacitorTemperature sensorResistor (thermal)DC currentBatteryPower sensor
Ports
Conserving terminals 2
-
+
pPositive terminal. Current into p charges the capacitor.
-
−
nNegative terminal.
Parameters
-
Capacitance
C100 F≥ 0
Capacitance, in farads.
-
Series resistance
Rs0.01 Ω≥ 0
Equivalent series resistance, in ohms.
-
Nominal voltage
Vnom2.7 V≥ 0
Nominal voltage, in volts. Only sets the self-discharge path, which is disabled here, so it does not affect the result.
-
Initial voltage
V00 V≥ 0
Initial voltage of the internal capacitance, in volts.
Equations
i = p.i, p.i + n.i = 0 C · dvC/dt = i, vC(0) = V0 p.v − n.v = vC + Rs · i
Implementation
Modelica.Electrical.Batteries.BatteryStacks.SuperCapAssumptions and limitations
- Linear capacitance; no self-discharge, voltage dependence, or temperature effects.
- The voltage is not limited to Vnom: charging beyond it is allowed.
See also
Select a block in Gradara and press F1 to open its page offline.