The resistance between the node1(+) and node2(-) depends on the voltage between the ctrl_node(+) and ctrl_node(-). The general form of the instance is the following:

S<name> <node1(+)> <node2(-)> <ctrl_node(+)> <ctrl_node(-)> <model name> [ON|OFF]

Parameters

name

Is the name of the component and the initial letter S identifies the Voltage-controlled Switch.

node1(+), node2(-)

Are the nodes between which the switch terminals are connected.

ctrl_node(+), ctrl_node(-)

Are the positive and negative controlling nodes respectively.

model name

Is the model name.

ON/OFF

The (optional) initial condition specification.

Examples

S1 1 2 3 4 SMOD

See also

Voltage-controlled Switch Model
Voltage-controlled Switch Instance Parameters