Simulate a VCVS by writing this netlist on PSpice

  • Thread starter Thread starter Danfor
  • Start date Start date
  • Tags Tags
    Pspice Writing
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
Danfor
Messages
1
Reaction score
0
Hello,

Im trying to simulate a VCVS by writing this netlist on PSpice:

***Voltage controlled voltage sources(VCVS)***

*#destroy all
*#run
*#print all

.TF V(Vout,0) Vin

Vin Vin 0 DC 1
R1 Vb 0 3K
R2 Vt Vout 1K
R3 Vout 0 2k
E1 Vt Vb Vin 0 23

.end


But it keeps giving me an error and I am not sure why?
*#destroy all
*#run
*#print all

.TF V(Vout,0) Vin
-----------$
ERROR -- Must be independent source (I or V)

Vin Vin 0 DC 1
R1 Vb 0 3K
R2 Vt Vout 1K
R3 Vout 0 2k
E1 Vt Vb Vin 0 23

.end

Can someone point me out the error please?

Thank you!
 
Engineering news on Phys.org
It apparently thinks that something in the .TF statement is an undeclared voltage or current source, rather than just a node name.