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 ​

PortKindSignalNotes
pElectrical terminal—
nElectrical terminal—

Parameters ​

Config ​

ParameterTypeDefaultUnitsDescriptionID
CNumber0.01F (also μ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.capacitance
Measure currentChoice: Off / OnOff—Emit branch current as a simulator observable.measure_current
Positive directionChoice: +ve in / +ve out+ve in—Sign convention for this current. '+ve in' (default) is positive when current flows into the p terminal, toward n. '+ve out' flips the sign.current_dir

Current Monitoring ​

ParameterTypeDefaultUnitsDescriptionID
Current nameTextI—Signal name for the measured branch current. Change the default `I` when you have multiple measured components — duplicate ids collide.current_name

Units ​

ParameterTypeDefaultUnitsDescriptionID
S_base (MVA)Number100—System base apparent power in MVA. Used by `pu` impedance / admittance conversions in this component's `computations` block.S_base
V_base (kV)Number230—Base RMS line-to-line voltage in kV. Used by `pu` impedance / admittance conversions in this component's `computations` block.V_base
Frequency (Hz)Number60—Frequency in Hz. Used by `B` (susceptance) / `X` (reactance) conversions in this component's `computations` block.Freq

Observables ​

Default nameKindRecorded whenDescriptionID
set by Current nameSignalMeasure current is onBranch current through the capacitor (A). Positive into the p terminal, toward n for '+ve in' (default); the other direction flips the sign.branchCurrent

Used in samples ​