abs breaks AC sims

This commit is contained in:
Brendan Haines 2024-08-03 13:20:16 -06:00
parent d8a758ca6f
commit ecd119207f

View File

@ -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