User Guide
Chapter 5 Creating parts for models
138
Attaching models to parts
If you create parts and want to simulate them, you need to
attach model implementations to them. If you created
your parts using any of the methods discussed in this
chapter, then your part will have a model implementation
already attached to it.
MODEL
The Implementation property defines the name of the
model that PSpice must use for simulation. When
attaching this implementation, this rule applies:
• The Implementation name should match the name of
the .MODEL or .SUBCKT definition of the simulation
model as it appears in the model library (*.LIB).
Example: If your design includes a 2N2222 bipolar
transistor with a .MODEL name of Q2N2222, then the
Implementation name for that part should be Q2N2222.
Note
Make sure that the model library containing the definition for the
attached model is configured in the list of libraries for your project.
See
Configuring model libraries on page 4-120
for more
information.
To attach a model implementation
1 In the schematic page editor, double-click a part to
display the Parts spreadsheet of the Property Editor.
2 From the Implementation list, select PSpice Model.
3 In the Implementation column, type the name of the
model to attach to the part.
4 Click Apply to update the design, then close the Parts
spreadsheet.
For more in
f
ormation on mo
d
e
l
e
d
iting in
general, see Chapter 4,
Creating
and editing models
. For specific
information on changing model references,
see Changing the model reference
to an existing model definition
on page 4-117
.
You
d
o not nee
d
to enter an
Implementation Path because PSpice
searches for the model in the list of model
libraries you configure for this project.
Pspug.book Page 138 Wednesday, November 11, 1998 1:14 PM