SimModel File Generation from the Active Database Library
Parent article: Releasing a Simulation Model to a Vault
Altium Designer's Database Library editor provides the ability to generate one or more SimModel files from the active Database Library document. This feature is only available for standard Database Libraries (DbLibs). SimModel files cannot be generated from SVN Database Libraries (SVNDbLibs).
To create the SimModel files, use the Tools » Generate SimModel Files command. Each file (and constituent simulation model definition) is created based on the simulation information for a component record in the active Database Library. The Generate SimModel Files dialog that appears provides all the controls necessary to get the source SimModel file(s) created just as required.
Only components in currently enabled tables will be considered when generating SimModel files.
Use the Options region of the dialog to determine file generation. Firstly, specify where the generated files are to be stored – either in a sub-folder of the location in which the source Database Library resides, or in a specified folder elsewhere.
By default, a sub-folder named Sim Models
will be created. Change this naming to something more suitable as required. If the nominated folder exists, it will be used. If not, it will be created.
Optionally choose to:
- Overwrite existing files – have existing SimModel files with the same name overwritten when new files are generated.
- Create folder for each library file – use this option to store generated SimModel files in a sub-folder, named using the source DbLib name. This is beneficial if releasing to a target directory already containing previously released SimModel files.
- Explore generated SimModel files – open an instance of Windows Explorer, showing the folder containing the generated SimModel files.
After defining options as required, click OK. Generation will proceed and a confirmation dialog will appear when the process is complete, stating how many SimModel files were generated. Any referenced .mdl
, .ckt
, or .scb
files will also be stored alongside the SimModel files.
Each SimModel file is named using the name of the simulation model, as specified in the Sim Model Name field for a component record. Where multiple component records (across enabled tables) include the same simulation model implementation – same entry in the Sim Model Name field – only a single SimModel file will be generated, using that name.