In this topic:
The process of installing third party SPICE models has always been a fundamentally tricky one.
The difficulty has been associating the SPICE model - which is the electrical definition of the device - with the schematic symbol - which is the pictorial representation of it.
A model provides an electrical description of the device but not what schematic symbol to use nor what category it should be in the model library browser. SIMetrix is able to determine this for itself if the device is implemented using a .MODEL statement as all .MODELs refer to a particular type of device (NPN, NMOS, Diode etc.). Devices implemented as subcircuits however remain a problem as there is nothing in a .SUBCKT definition which tells SIMetrix what the device is. For example a three terminal regulator and a power MOSFET use identical syntax - SIMetrix can't tell the difference from the syntax alone. To resolve this SIMetrix is shipped with a database of known part numbers providing a named schematic symbol, part category and if relevant a pin mapping order. If the part is in the database, no further action is required by the user and the part will appear in the browser under the correct category and select the correct symbol.
If the model is not in the database and has 2 or 3 terminals, then SIMetrix will attempt to determine the type of device by performing some tests on the model using simulation. If this process is successful, SIMetrix will choose an appropriate schematic symbol without further action required.
If SIMetrix cannot determine what the device is then, in order to use the device on a schematic, you will need to provide the association information. You will be prompted for this information when you place a part on the schematic for the first time and this is often the most convenient method. However, there is also a method of providing the association information in bulk which is advantageous in many cases.
There are two stages to installing SPICE models.
The following is the full procedure for installing models including association if required.
Select the items you wish to install in the lower box and transfer them to the upper box by pressing the Add button. You can also change the order of the items in the upper box. This affects the search order when a simulation is run. Click Ok. You will see a message displayed in the command shell 'Model library changed. Rebuilding catalogs, please wait...'. When finished the message 'Completed' will be displayed. The electrical model or models are now installed.
Unknown file type xxx
is displayed when you drop a file, it means that no valid SPICE models were found in the file. It does not mean the file has the wrong extension. SIMetrix will accept any extension for model files with the exception of the extensions used for schematic or graph files (sch, sxsch and sxgph).
Select . A dialog box similar to that shown in Installing Electrical Model will be displayed but with the Available Libraries box empty. Select the devices you wish to remove from the Selected Libraries box.
| ◄ Using Model Library Browser | Parts Management - Configuring the Part Selector ▶ |