PSPICE Error when trying to run simulation

Click For Summary
The user encountered errors while attempting to run a parametric sweep of a voltage source in PSPICE, initially receiving a netlist error due to incorrect connections in the circuit schematic. Specifically, the base of the NPN transistor was improperly connected to the collector, leaving it open, and the voltage source was incorrectly oriented. After redesigning the circuit, the user still faced issues until advised to adjust the ground symbol's position. Moving the ground symbol resolved the error, allowing the simulation to run successfully. The discussion highlights the importance of correct circuit connections and grounding in PSPICE simulations.
ammarb32
Messages
26
Reaction score
9
Hi, so I built this circuit
Circuit Schematic.PNG


I'm trying to run a parametric sweep of the voltage source. I'm running it from 0V to 30V with a 0.1V interval

So I put up the simulation settings that I wanted:

Simulation Settings For Circuit.PNG
and I ended up getting this error:
Error for Simulation.PNG


I tried it on different computers as well and I still got the same error.

Thank You.EDIT: I got a new, different error after designing the circuit from scratch again:

New Circuit Schematic:
New Circuit Schematic.PNG
New Error:

New Simulation Error.PNG
 
Last edited:
Engineering news on Phys.org
ammarb32 said:
Hi, so I built this circuitView attachment 95301

I'm trying to run a parametric sweep of the voltage source. I'm running it from 0V to 30V with a 0.1V interval

So I put up the simulation settings that I wanted:

View attachment 95302and I ended up getting this error:View attachment 95303

I tried it on different computers as well and I still got the same error.

Thank You.EDIT: I got a new, different error after designing the circuit from scratch again:

New Circuit Schematic: View attachment 95306New Error:

View attachment 95305
It looks like your connection to the base of the NPN transistor missed, and connected to the collector? That leaves the base open, which would generate a netlist error. Your voltage source is also backwards -- you need a + voltage supply for the collector in this circuit. :smile:
 
berkeman said:
ted to the colle

"Connected to the collector"? What exactly does that mean?

Also, I flipped the voltage source:

Voltage Flipped 180 degrees.PNG
 
ammarb32 said:
"Connected to the collector"? What exactly does that mean?

Also, I flipped the voltage source:

View attachment 95311
In your first version that you posted in post #1, the base current source is shown connecting to the collector of the NPN transistor, and the base is open. Now that is fixed, but your flipped voltage source is not connected to the collector, and there is no ground connection to the - terminal of the voltage source. :smile:
 
I have this schematic now. I'm wondering if this would fix it.

New Schematic 3.PNG
 
ammarb32 said:
I have this schematic now. I'm wondering if this would fix it.

View attachment 95312

It didn't work. I still get this error.
New Simulation Error 4.PNG
 
ammarb32 said:
It didn't work. I still get this error.View attachment 95313
Looks closer. Move the ground symbol down a couple grid points below the wires that connect to it, and run a wire down from that T point to the ground symbol.

Also, can you output the netlist from this circuit? That will help to figure out what the SPICE compiler doesn't like.
 
Hey, sorry I couldn't reply earlier. It worked when I moved the ground symbol down a couple grid points. Thank You! :)
 
  • Like
Likes berkeman

Similar threads

Replies
3
Views
2K
  • · Replies 18 ·
Replies
18
Views
36K
Replies
9
Views
7K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
8
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
7
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
93
Views
8K
  • · Replies 12 ·
Replies
12
Views
3K