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
| Port | Kind | Signal | Notes |
|---|---|---|---|
p | Electrical terminal | — | |
n | Electrical terminal | — |
Parameters
Config
| Parameter | Type | Default | Units | Description | ID |
|---|---|---|---|---|---|
| C | Number | 0.01 | F (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 current | Choice: Off / On | Off | — | Emit branch current as a simulator observable. | measure_current |
| Positive direction | Choice: +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
| Parameter | Type | Default | Units | Description | ID |
|---|---|---|---|---|---|
| Current name | Text | I | — | Signal name for the measured branch current. Change the default `I` when you have multiple measured components — duplicate ids collide. | current_name |
Units
| Parameter | Type | Default | Units | Description | ID |
|---|---|---|---|---|---|
| S_base (MVA) | Number | 100 | — | System base apparent power in MVA. Used by `pu` impedance / admittance conversions in this component's `computations` block. | S_base |
| V_base (kV) | Number | 230 | — | Base RMS line-to-line voltage in kV. Used by `pu` impedance / admittance conversions in this component's `computations` block. | V_base |
| Frequency (Hz) | Number | 60 | — | Frequency in Hz. Used by `B` (susceptance) / `X` (reactance) conversions in this component's `computations` block. | Freq |
Observables
| Default name | Kind | Recorded when | Description | ID |
|---|---|---|---|---|
| set by Current name | Signal | Measure current is on | Branch current through the capacitor (A). Positive into the p terminal, toward n for '+ve in' (default); the other direction flips the sign. | branchCurrent |