Skip to content

Capacitor

Single-phase ideal capacitor. The current-voltage relation is i = C dv/dt; the simulator integrates it with a trapezoidal companion model. Use C in farads.

Category: Single-Phase / Passive

Ports

NameDirectionValue typeNotes
pelectricaldouble
nelectricaldouble

Parameters

Config

NameLabelTypeDefaultUnitsDescription
capacitanceCdouble0.01F (F, μF, pu, S, B.pu)Capacitance value. Pick a unit from the dropdown; pu / B (Siemens susceptance) / B.pu conversions read the bases from the Units tab.
measure_currentMeasure currentenum (Off / On)0Emit branch current as a simulator observable.

Current Monitoring

NameLabelTypeDefaultUnitsDescription
current_nameCurrent namestringISignal name for the measured branch current. Change the default `I` when you have multiple measured components — duplicate ids collide.

Units

NameLabelTypeDefaultUnitsDescription
S_baseS_base (MVA)double100System base apparent power in MVA. Used by `pu` impedance / admittance conversions in this component's `computations` block.
V_baseV_base (kV)double230Base RMS line-to-line voltage in kV. Used by `pu` impedance / admittance conversions in this component's `computations` block.
FreqFrequency (Hz)double60Frequency in Hz. Used by `B` (susceptance) / `X` (reactance) conversions in this component's `computations` block.

Observables

SignalTypeDefault nameEnableDescription
branchCurrentsignalfrom current_namemeasure_currentBranch current through the capacitor (A).

Used in samples