PSPICE Error when trying to run simulation

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
7 replies · 5K views
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   Reactions: berkeman