Lemonergy · Studio block

Capacitive floating reference

Explicit capacitance to the voltage datum; no DC leakage or forced zero node voltage

Implementation ID
floating-reference
Reviewed
2026-10-27

Behavior

Conserving component solved simultaneously with the connected network. Explicit capacitance to the voltage datum; no DC leakage or forced zero node voltage

Interface

Capacitive floating reference interfaceInputs or arguments on the left, observed outputs on the right. Conserving terminals appear below the component. The tables give units and behavior.Capacitive floating referenceStudio blockcurrentvoltagestateVoltagep
Original Lemonergy interface view. Lines identify ports; they are not a completed simulation circuit.
Ports and observed outputs
NameDirectionUnitMeaning
pterminalV; Aelectrical conserving connection; voltage across and current through the connected branch.
currentoutputARecorded current measurement from the conserving simulation.
voltageoutputVRecorded voltage measurement from the conserving simulation.
stateVoltageoutputVRecorded stateVoltage measurement from the conserving simulation.

Parameters

Defaults are initial model values. Select values for your own model and operating conditions.

Configuration fields
ParameterUnitDefaultMeaning and limits
Reference capacitance
capacitanceF
F1e-06Capacitance between the floating node and the voltage datum.
Minimum 1e-12; Maximum 1
Initial voltage
initialVoltageV
V0Requested initial electrical voltage for the declared storage or target.
Minimum -1000000; Maximum 1000000

Equations and rules

  • I = C dV/dt to the voltage datum

Worked example

Capacitive floating reference worked example

Editable first-party network. target: initialVoltageV=3; source: voltageV=2; load: resistanceOhm=100. Checks below were verified in the native execution engine.

Open Studio example after release →
Numerical checks for the bundled synthetic example
OutputTime (s)Expected valueUnitAbsolute tolerance
current
target/current
10A1e-10
voltage
target/voltage
13V3.0000000000000005e-06
stateVoltage
target/stateVoltage
13V3e-06

Use in a workflow

Capacitive floating reference worked example

Explicit capacitance to the voltage datum; no DC leakage or forced zero node voltage

  1. Capacitive floating reference: Conserving component solved simultaneously with the connected network. Explicit capacitance to the voltage datum; no DC leakage or forced zero node voltage
    • Use the block reference for settings and connections.
    • Implementation tested locally; public release pending.
Open Studio example after release

Connected concepts

Limits and interpretation

  • Explicit capacitance to the voltage datum; no DC leakage or forced zero node voltage
  • Demonstration parameters are not calibrated hardware data. Singular or incompatible ideal constraints and unsupported state ranges stop the run.

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.

  1. Energy Stored in a Capacitor

    OpenStax, Rice University

    Technical reference · Underlying physical law or reduced-model basis; Lemonergy implementation choices and limits are documented separately.

  2. Kirchhoff's Rules

    OpenStax, Rice University

    Technical reference · Underlying physical law or reduced-model basis; Lemonergy implementation choices and limits are documented separately.

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)