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

W<name> <node1(+)> <node2(-)> <Vsource name> <model name> [ON|OFF] 

Parameters

name

Is the name of the component and the initial letter W identifies the Current-controlled Switch.

node1(+), node2(-)

Are the nodes between which the switch terminals are connected.

Vsource name

The resistance between the node1(+) and node2(-) depends on the current through the Vsource.

model name

Is the model name.

ON/OFF

The (optional) initial condition specification.

Examples

W1 1 2 VCTRL WMOD

See also

Current-controlled Switch Model
Current-controlled Switch Instance Parameters