PSpice Error 16407 - Missing Model

Thread Starter

Tom O'Leary

Joined Apr 9, 2014
11
Hey Eveyone,
I have been having some problems with a PSpice program that I am trying to run. Here is an excerpt from where the problem is occuring:

* heart
* inlet valve diode
Dvent_in 3 30

* variable elastance heart model
-------------$
ERROR(ORPSIM-16407): Missing model
Xvent 30 par_sin par_Emax par_Ediastole par_vent_Tsys par_HR par_sigma par_sin2 par_harmonic2 Cventricle

* outlet valve diode
Dvent_out 30 1


**** SUBCIRCUIT DEFINITION SECTION

--------------$
ERROR(ORPSIM-16407): Missing model


The error seems to be referring to the diodes Dvent_in and Dvent_out, but I don't know what "missing model" means or how to fix it. Any ideas? Or is there a place where I can look up what all the various error codes mean? Thanks.
 

Thread Starter

Tom O'Leary

Joined Apr 9, 2014
11
I actually managed to solve this one myself. Here is an example of how a diode needs to be defined in the code to work:

Dvent_in 3 2 Default
.model Default D

All diodes should be defined with a D, two nodes, and then a diode type. There are lists of diodes built into PSpice out there, but using "Default" worked for me, just know that it's a name/parameter so it can't be used more than once. The diode line has to be followed by a line that says ".model <Default> D". Hopefully this helps some someone out there like me who isn't very good at programming.
 
Top