Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[MOVED] Command line simulation with Pspice

Status
Not open for further replies.

+satyr

Newbie level 3
Joined
Apr 16, 2010
Messages
3
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Activity points
1,304
I'd like to use OrCAD Pspice's "psp_cmd" to do three simulations using only one .cir file.

The problem is that execution of

psp_cmd mycircuit.cir

creates only one data file named mycircuit.dat containg the data alltogether.

I'd like psp_cmd to export to three different data files. Is this possible?

Note that each job in the mycircuit.cir file is separated from the others with an .end. The mycircuit.cir file is actually implemented by copy-pasting the three separate .cir files in mycircuit.cir, one after the other.
 
Last edited:

Note that each job in the mycircuit.cir file is separated from the others with an .end. The mycircuit.cir file is actually implemented by copy-pasting the three separate .cir files in mycircuit.cir, one after the other.

.end denotes end of circuit description for reading by pspice.
so no way of having three .end for three circuits in one file.
 

You are right, it actually doesn't work. I've removed the third simulation for simplicity.

The second simulation does work but not the first (complains about undefined models). Here is the file

.LIB "./test-pspicefiles/test.lib"
.lib "nom.lib"


.AC DEC 20 0.001 100G
.PROBE V(alias(*)) I(alias(*)) W(alias(*)) D(alias(*)) NOISE(alias(*))
.INC ".\test-pspicefiles\SCHEMATIC1\SCHEMATIC1.net"

.END

.LIB "./test-pspicefiles/test.lib"
.lib "nom.lib"

.TRAN 0 52u 0
.PROBE V(alias(*)) I(alias(*)) W(alias(*)) D(alias(*)) NOISE(alias(*))
.INC ".\test-pspicefiles\SCHEMATIC2\SCHEMATIC2.net"

.END
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top