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
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
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.