Lemonergy · Studio block
Supercapacitor cell
Causal capacitor state with series loss, leakage and stored energy.
- Implementation ID
battery-supercapacitor- Reviewed
- 2026-10-27
Behavior
Integrates the internal capacitor voltage from discharge current and leakage. A series resistance produces terminal voltage drop and heat. Stored energy uses the internal capacitor voltage.
Interface
Parameters
Defaults are initial model values. Select values for your own model and operating conditions.
| Parameter | Unit | Default | Meaning and limits |
|---|---|---|---|
Capacitance (F)capacitanceF | F | 100 | Capacitance (F). This is an editable model input; the default belongs to the synthetic worked example. |
Series resistance (Ω)resistanceOhm | Ω | 0.05 | Series resistance (Ω). This is an editable model input; the default belongs to the synthetic worked example. |
Leakage conductance (S)leakageSiemens | S | 0 | Leakage conductance (S). This is an editable model input; the default belongs to the synthetic worked example. |
Initial capacitor voltage (V)initialVoltageV | V | 2.5 | Initial capacitor voltage (V). This is an editable model input; the default belongs to the synthetic worked example. |
Equations and rules
C*dVcap/dt = -I - Gleak*VcapVterminal = Vcap - I*RseriesE = 0.5*C*Vcap^2Ploss = I^2*Rseries + Gleak*Vcap^2
Worked example
Supercapacitor cell worked example
Use the defaults below with Signed discharge current = 1 A. At 0 s, Terminal voltage is 2.45 V. Additional checks are listed below.
Open Studio example after release →| Output | Time (s) | Expected value | Unit | Absolute tolerance |
|---|---|---|---|---|
Terminal voltagevoltage | 0 | 2.45 | V | 1e-08 |
Stored energyenergy | 0 | 312.5 | J | 1e-08 |
Stored energyenergy | 10 | 288 | J | 1e-06 |
Explore the recorded outputs
Supercapacitor cell recorded example
Supercapacitor cell / Terminal voltage103 actual recorded samples. Lines are visual guides between samples. Synthetic example, not measured cell data.
Read the selected signal as a table
| Time (s) | Value |
|---|
Download the recorded samples (JSON) · Open this Studio example after release
Use in a workflow
Supercapacitor cell worked example
Causal capacitor state with series loss, leakage and stored energy.
- Supercapacitor cell: Integrates the internal capacitor voltage from discharge current and leakage. A series resistance produces terminal voltage drop and heat. Stored energy uses the internal capacitor voltage.
- Use the parameter values in the block reference.
- Implementation tested locally; public release pending.
Connected concepts
Limits and interpretation
- Constant capacitance, series resistance and leakage. The external interface is causal; voltage- or temperature-dependent parameters are not included.
- The example verifies numerical behavior for synthetic parameters. Cell characterization and validation for an intended use are separate tasks.
Scientific and mathematical references
These sources explain the scientific and mathematical background. The behavior, interface and limits above define the Lemonergy implementation; a citation does not imply every model option in the source is implemented.
- The International System of Units (SI), 9th edition
Bureau International des Poids et Mesures · 2026
Technical reference · Definitions of SI units and coherent derived units; 2026 revision.
Implementation sources
This reference follows the public interface and locally verified numerical checks for an upcoming release.
Contract: Lemonergy Studio public contract · Verification record: verification-2026-10-27
docs/glossary/native-block-verification.json
This implementation and its workflow uses (JSON) · Knowledge graph (JSON-LD)