But it is a LOT better to bury a ModelFile card into the symbol, itself.
PSPICE SCHEMATICS WONT OPEN HOW TO
And the first link I provided at the outset of this answer discusses how to do that, if you want. But if you do, you must either completely specify the location in the above card or else you must use the settings in LTspice to add a new directory to search. However, you can place the model file anywhere. Note that I didn't place a directory name? That's because I normally place these files in the default directory that LTspice uses to find models. It is, by convention, either ".LIB" or else ".MOD" but it doesn't have to be either of those. So you must make sure that there is a ModelFile card that names the library file holding a model. Without a model, the symbol is just a symbol and completely useless for simulation. That's how LTspice knows where to find the model for the above symbol. Again, FYI.)Īlso, please note that there is a line in the above text I just mentioned: SYMATTR ModelFile TL431.LIB So you need to re-start LTspice if you want it to recognize a new symbol you just made. Apparently, LTspice caches what it finds, at start-up. (As a side note, LTspice will not find it until you close LTspice and then re-open it. The reason you need to do this is so that LTspice can find it. In my case, this is in my Documents folder under ".\LTspiceXVII\lib\sym". So, for example, you should probably use "TL431.ASY" and place that into the LTspiceVII's sym folder. Then save the text file using the extension ".ASY" for the file. What you need to do to use it is to open up an editor and paste the above text into it. SYMATTR Description TL431A 2.5V shunt regulator But it is also detailed and the concepts may be a struggle, at first. If you are seriously interested in learning how to start using it, I did write something up a while back. LTspice has a semi-usable symbol editor, but it does take time to learn it well. But I haven't seen it forced, myself.) So you have three pins exposed by this model.Īlso, it would help a great deal if you would also design a nice symbol for the device. (Old, old versions of Spice might still want numbers. So it really doesn't matter that much, today. They are just "node numbers" that are then used inside the model. The absolute value of the numbers shown don't actually matter that much. The first is that the model is called "TL431" and that you need to make sure you use exactly that name when trying to access this model. That's the one you want to grab and place somewhere that is "convenient" to LTspice.
PSPICE SCHEMATICS WONT OPEN ZIP
Inside that ZIP file, digging into the folders, there is a TL431.LIB file. TL431 Family Unencrypted PSpice Transient and AC The one described this way on the page you linked in your question: