hello all, I'm trying to switch a resistance value during a transient simulation (following this comment by @Holger Vogt: https://sourceforge.net/p/ngspice/discussion/ngspice-tips/thread/496dec49c2/) with the following statement:
RL v_rl gnd = 'TIME > 25u ? 120:1.2'
however, I get an "Undefined parameter [time]" message... do I need to set anything to use the TIME macro?
h
Holger Vogt
11/09/2024, 9:40 PM
ngspice manual chapter 3.3.4 Resistors, dependent on expressions (behavioral resistor)
RL v_rl gnd R = 'TIME > 25u ? 120:1.2'