I’m using a current dependent BV in a simple test circuit. The BV voltage source does not recognize the circuit element referenced in the V= expression. I get an error. Am I doing something wrong if I use L2 or V1 it works.
C:\Users\peter\Documents\QSPICE\examp_beh_1.qsch
Fatal error: B1: unknown controlling source R3
I never liked how I did resistor current monitoring in prior art. I wasn’t quite correct, reporting the current from the previous timestep and not being part of the solution of the current step.
It’s easy to get monitoring correct for components modeled as a Thévenin equivalent. So do this
- Delete R3
- Replace it with a voltage source, say V2.
- Give the voltage source a value of “0 Rser=1k”
- Change the B-source value to “V=I(V2)”
–Mike
yes I already changed to monitoring I(V1) and that works fine; it carries the same current as R3.
Thanks
J Peter