I am using TclSpice-0.2.17 and I need to use the deriv
function. 
So, I use
"set Ld = deriv(v(LX1))",
but then I cannot print the result because the print
command says that Ld vector does not exist.
My complete file is:


* Test Circuit
.INCLUDE ~/test.cir

R1 CX 0 1G
C2 CX 0 1
I60 0 CX DC 0V AC 1V
X1 LX1 0 0 test
I31 0 LX1 DC 0V AC 1V


.control
ac dec 10 0.1G 10.1G
let Q = tan(((3.141593 / 180) * ph(V(LX1))))
let L = mag(V(LX1)) * mag(V(CX)) * sin(((3.141593 /
180) * ph(V(LX1))))
set Lff = L(1.584893e+08)
set Ld = deriv(V(LX1))
print col all > test.out
.endc
.END


Does anyone have an idea of what I should do to make
this work?

Thank you all!!
Kelly


                
__________________________________ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 

Reply via email to