How do I create a time varying resistor in Transient analysis?
Use the current output NonLinear Source to implement a time dependent resistor. Connect the source’s X differential input to sense voltage at the source’s output terminals. Get the polarity right or you have a negative resistor. Then the source’s formula is based on I = V/R I = X / (Rt_value * TIME + R_constant) where X is a variable that is the voltage at the source’s X differential input. TIME is a predefined variable = the elapsed simulation time in seconds during Transient analysis. Note: you do not enter the “I =” part of the formula in the source’s formula box.