Appearance
Resistor
Single-phase ideal resistor. Implements Ohm's law v = R i. The most common passive element — use for damping, sensing, and load modelling.
Category: Single-Phase / Passive
Ports
| Port | Kind | Signal | Notes |
|---|---|---|---|
N1 | Electrical terminal | — | |
N2 | Electrical terminal | — |
Parameters
Config
| Parameter | Type | Default | Units | Description | ID |
|---|---|---|---|---|---|
| R | Number | 1 | Ω (also kΩ, pu, S) | Resistance value. Pick a unit from the dropdown; pu / Siemens conversions read the bases from the Units tab. | resistance |
| 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 N1 terminal, toward N2. '+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 |
Observables
| Default name | Kind | Recorded when | Description | ID |
|---|---|---|---|---|
| set by Current name | Signal | Measure current is on | Branch current through the resistor (A). Positive into the N1 terminal, toward N2 for '+ve in' (default); the other direction flips the sign. | branchCurrent |