Hello,
Is it possible (using a C-block or other means) to implement a frequency dependent resistor in my PSIM model?
I am using the AC sweep function to model the output impedance of a switching converter. In my application, there is a large capacitor at the output with ESR that is dependent on frequency. If the frequency of each AC sweep simulation is an accessible global variable (or available to the C-block in some other way) I thought it may be possible to adjust the ESR resistor value (via C code function) for each iteration of the AC sweep.
Or maybe there is another way to achieve this...
Thanks!
Chad W.