abs breaks AC sims
This commit is contained in:
parent
d8a758ca6f
commit
ecd119207f
@ -4,6 +4,6 @@
|
||||
*/////////////////////////////////////////////////////////////////////
|
||||
.SUBCKT VARISTOR IN_P IN_N R_P R_N PARAMS: gain=1
|
||||
*/////////////////////////////////////////////////////
|
||||
R R_P R_N {abs(V(IN_P) - V(IN_N)) * gain + 1n}
|
||||
R R_P R_N {(V(IN_P) - V(IN_N)) * gain + 1n}
|
||||
.ENDS
|
||||
* END MODEL VARISTOR
|
||||
|
Loading…
x
Reference in New Issue
Block a user