SimModel File Generation from the Active Schematic Library
Parent article: Releasing a Simulation Model to a Vault
Altium Designer's Schematic Library editor provides the ability to generate one or more SimModel files from the active Schematic Library document.
If using an Integrated Library, simply extract the source libraries through Altium Designer (File » Open), then make the source Schematic Library the active document.
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 model link for a schematic component in the active Schematic Library. The Generate SimModel Files dialog that appears provides all the controls necessary to get the source SimModel file(s) created just as required.
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 Schematic 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 SchLib 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. Where multiple schematic components include the same simulation model implementation (same named simulation model), only a single SimModel file will be generated, using that name.