Skip to content

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 ​

PortKindSignalNotes
N1Electrical terminal—
N2Electrical terminal—

Parameters ​

Config ​

ParameterTypeDefaultUnitsDescriptionID
RNumber1Ω (also kΩ, pu, S)Resistance value. Pick a unit from the dropdown; pu / Siemens conversions read the bases from the Units tab.resistance
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 N1 terminal, toward N2. '+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

Observables ​

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

Used in samples ​