User`s guide
4
-
36 Creatin
g
and Editin
g
Models
Figure 4-9 shows how the model definition looks after having
made these changes.
Fi
g
ure 4-9
Model Editor Showing Q2N2222 with a DEV
Tolerance Set on Rb
Savin
g
the edits and updatin
g
the schematic
When you click OK, two things happen:
• The model editor writes the model definition to the library
showing in the Library text box, and closes the editing
window.
• The schematic editor updates the MODEL attribute value to
Q2N2222-MC for the Q6 part instance.
In this example, the library defaults to
my.lib (see Figure 4-9).
If
my.lib does not already exist, the model editor creates and
saves it in the current working directory. The schematic editor
then automatically configures it as a local model library for use
with the current schematic only.
Now you are ready to set up and run the Monte Carlo analysis.
If you were to verify the model
library confi
g
uration (from the
Analysis menu in the schematic
editor, select Library and Include
Files), you would see entries for
nom.lib* (
g
lobal as denoted by
the asterisk) and
my.lib (local,
no asterisk) in the model library
list.
If you wanted, you could chan
g
e
the model reference for this part
back to the ori
g
inal Q2N2222 by
followin
g
the procedure To
change model references for part
instances on your schematic on
page 4-38.