Skip to content

Switch ​

GUI-only selector switch (single-pole, multi-throw). Routes its common terminal (COM) to one of up to five outputs (OUT1..OUT5), or to nothing when Off. Selecting an output connects COM to it as an ideal wire, so the two sides share a node; Off leaves COM and every output as separate electrical islands. The simulator never models the switch itself, so there is no on/off resistance and no arc (use a Breaker for a controllable R_on / R_off). Set the number of outputs (1-5) and the default position in its properties; click the switch on the canvas to step Off -> Output 1 -> ... -> Off (only while no simulation is running).

Category: Switches

Ports ​

PortKindSignalNotes
COMElectrical terminal—
OUT1Electrical terminal—
OUT2Electrical terminal—Shown when Outputs is at least 2
OUT3Electrical terminal—Shown when Outputs is at least 3
OUT4Electrical terminal—Shown when Outputs is at least 4
OUT5Electrical terminal—Shown when Outputs is at least 5

Parameters ​

ParameterTypeDefaultUnitsDescriptionID
OutputsChoice: 1 / 2 / 3 / 4 / 51—How many output terminals the switch has (1-5). The common terminal (COM) can be connected to any one of them. With 1 output the switch is a plain on/off (Off / Output 1) switch; with more it becomes a selector that routes COM to the chosen output.num_outputs
PositionChoice: Off / Output 1 / Output 2 / Output 3 / Output 4 / Output 5Output 1—Which output the common terminal is connected to. Off disconnects COM from every output (each side is its own electrical island). Only positions up to the configured output count are selectable. Click the switch on the canvas to step through the positions (only before a run).state

Used in samples ​