Simulate a VCVS by writing this netlist on PSpice

  • Thread starter Thread starter Danfor
  • Start date Start date
  • Tags Tags
    Pspice Writing
Click For Summary
SUMMARY

The forum discussion centers on simulating a Voltage Controlled Voltage Source (VCVS) using a netlist in PSpice. The user encounters an error stating "Must be independent source (I or V)" when executing the .TF command. The netlist provided includes components such as resistors (R1, R2, R3) and a voltage source (Vin), but the error suggests that the .TF statement is misconfigured, treating a node name as an undeclared source. The solution requires correcting the .TF syntax to properly reference the voltage source.

PREREQUISITES
  • Familiarity with PSpice simulation software
  • Understanding of Voltage Controlled Voltage Sources (VCVS)
  • Knowledge of netlist syntax and structure
  • Basic circuit analysis concepts
NEXT STEPS
  • Review PSpice documentation on .TF command usage
  • Learn about configuring VCVS in PSpice simulations
  • Explore common errors in PSpice netlists and their resolutions
  • Study examples of successful VCVS implementations in PSpice
USEFUL FOR

Electrical engineers, circuit designers, and students learning about circuit simulation and PSpice software.

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.
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
17K
  • · Replies 12 ·
Replies
12
Views
5K
  • · Replies 39 ·
2
Replies
39
Views
7K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 13 ·
Replies
13
Views
8K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
10
Views
10K