I have a circuit file ADA4691 from Analog Devices and it has a different .model V SWITCH versus SW in ngspice with a VON And VOFF instead of VTH for one switching voltage.
How could I approximate the two voltage conditions around the ngspice version?
The models inside are
.MODEL SOPEN VSWITCH (VON=2.0, VOFF=0.8, RON=1e-01, ROFF=1E+09)
.MODEL SCLOSE VSWITCH (VON=-1.0, VOFF=-1.8, RON=1E-01, ROFF=1E+09)