VSwitch

The VSwitch

S1 2 3 11 0 SW

.MODEL SW VSWITCH(VON=5V VOFF=0V RON=0.1 ROFF=100K)

may become

a1 %v(11) %gd(2 3) sw

.MODEL SW aswitch(cntl_off=0.0 cntl_on=5.0 r_off=1e5

+ r_on=0.1 log=TRUE)

The XSPICE option has to be enabled.