Skip to content

Diode ​

Single-phase semiconductor diode. Conducts when forward-biased (low on-state resistance plus a forward-voltage drop) and blocks reverse current (very high off-state resistance). Switches automatically — no control port.

Category: Single-Phase / Switching

Ports ​

NameDirectionValue typeNotes
aelectricaldouble
celectricaldouble

Parameters ​

Config ​

NameLabelTypeDefaultUnitsDescription
v_forwardVfdouble0.7—Forward conduction threshold voltage in volts
resistance_onR_ondouble0.05Ohms (Ω, kΩ, MΩ)Conducting (forward biased) resistance. Pick a unit from the dropdown.
resistance_offR_offdouble1000000Ohms (Ω, kΩ, MΩ)Blocking (reverse biased) resistance. Pick a unit from the dropdown.
measure_currentMeasure currentenum (Off / On)0—Emit branch current as a simulator observable.

Current Monitoring ​

NameLabelTypeDefaultUnitsDescription
current_nameCurrent namestringI—Signal name for the measured branch current. Change the default `I` when you have multiple measured components — duplicate ids collide.

Observables ​

SignalTypeDefault nameEnableDescription
branchCurrentsignalfrom current_namemeasure_currentBranch current through the diode (A, anode → cathode).

Used in samples ​