Appearance
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
| Name | Direction | Value type | Notes |
|---|---|---|---|
p | electrical | double | |
n | electrical | double |
Parameters
Config
| Name | Label | Type | Default | Units | Description |
|---|---|---|---|---|---|
capacitance | C | double | 0.01 | F (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_current | Measure current | enum (Off / On) | 0 | — | Emit branch current as a simulator observable. |
Current Monitoring
| Name | Label | Type | Default | Units | Description |
|---|---|---|---|---|---|
current_name | Current name | string | I | — | Signal name for the measured branch current. Change the default `I` when you have multiple measured components — duplicate ids collide. |
Units
| Name | Label | Type | Default | Units | Description |
|---|---|---|---|---|---|
S_base | S_base (MVA) | double | 100 | — | System base apparent power in MVA. Used by `pu` impedance / admittance conversions in this component's `computations` block. |
V_base | V_base (kV) | double | 230 | — | Base RMS line-to-line voltage in kV. Used by `pu` impedance / admittance conversions in this component's `computations` block. |
Freq | Frequency (Hz) | double | 60 | — | Frequency in Hz. Used by `B` (susceptance) / `X` (reactance) conversions in this component's `computations` block. |
Observables
| Signal | Type | Default name | Enable | Description |
|---|---|---|---|---|
branchCurrent | signal | from current_name | measure_current | Branch current through the capacitor (A). |
