Supercapacitor

Double-layer capacitor with series resistance.

  • electrical
  • Modelica Standard Library
  • 2 ports
  • 4 parameters
BlockSupercapacitorKindsupercapLibraryElectrical

Description

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.

Cell 4.2 VPowerHeater 4 ΩBody 100 J/KBody temperatureGroundSupercap 1 FCharger 1 Av supercapGround (supercap)
In Gradara, select a Supercapacitor block and press F1, then choose Open example. It opens as a new model in My models, ready to run.

Also in this example:Voltage sensorGroundHeat capacitorTemperature sensorResistor (thermal)DC currentBatteryPower sensor

Ports

Conserving terminals 2

  • +p

    Positive terminal. Current into p charges the capacitor.

  • −n

    Negative terminal.

Parameters

  • CapacitanceC100 F

    ≥ 0

    Capacitance, in farads.

  • Series resistanceRs0.01 Ω

    ≥ 0

    Equivalent series resistance, in ohms.

  • Nominal voltageVnom2.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 voltageV00 V

    ≥ 0

    Initial voltage of the internal capacitance, in volts.

Equations

Modelica
i = p.i, p.i + n.i = 0
C · dvC/dt = i, vC(0) = V0
p.v − n.v = vC + Rs · i

Implementation

Modelica Standard Library 4.1.0Modelica.Electrical.Batteries.BatteryStacks.SuperCap
MSL documentation

Assumptions 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.