Import Modelica Files by a Command
You can import a Modelica file by the home page command Import Files .
- In the Systems Simulation Design home page, click Import Files .
-
In the File Upload dialog box, do the following:
-
Browse for any of:
- A .mo file.Note: You cannot import a file with the name package.mo directly, you must import the corresponding folder. Drop the corresponding folder on the home page instead, or zip the folder before importing it.
- A .moe file.Note: You cannot import a file with the name package.moe directly, you must import the corresponding folder. Drop the corresponding folder on the home page instead, or zip the folder before importing it.
- A .mol file.Note: You cannot import a file with the name package.mol directly, you must import the corresponding folder. Drop the corresponding folder on the home page instead, or zip the folder before importing it.
- A .zip file containing any of the above file types.
- A .mo file.
- Click Open.
Notes:- You can only import one Modelica model or one Modelica library at a time.
- You cannot import libraries or models depending on external licensing. This is always the case for licensed .mol files, the license is handled by a server that is not accessible from Systems Simulation Design. You must use the Dymola Behavior Modeling app instead. For more information, see 3D Modeling | Systems Modeling and Execution | Dymola Behavior Modeling | Dymola Behavior Modeling | Working with Behavior Libraries | Working with Encrypted Libraries | About Encryption and Importing Encrypted Modelica Libraries and Models.
Important: The names of a .mo, a .moe, or a .mol file and the imported root class must be the same. As an example, to import a .mo file containing the root class MyModel, the name of the .mo file must be MyModel.mo. The result is any of the following:- The model or library is imported successfully to the database, and it also appears
in the Recent Content panel. From that panel, you can create a
study template. For more information, see Managing a Study Template.Notes:
- Sometimes the file you import contains several Modelica files, and the Recent Content panel can only display a limited number of items. If you don´t find the model or library, from the home page, click My Content to find it when creating a study template.
- The model or library is imported to the database as a Dynamic Behavior Reference Object.
- The model or library was not imported.
- A model or library with the same name is already present in the database. The Library Revision Option dialog box appears with alternatives to select from. For more information, see Handle Revisions.
-
Browse for any of: