Importing a Modelica File

Import a Modelica File lets you import a Modelica library or a Modelica model.

  1. In the Modelica File Import dialog box, browse to find the Modelica file, select it, and then click Open.
  2. If you have imported a library that is not in the database, to save this new library with its behavior content, select Share > Save.
  3. To import a library with the same name and Modelica version as a library in the database, and replace the library in the database with the imported library, do the following:
    1. In the Library Version Management dialog box, select The imported library will replace the existing library, and then click Continue.
    2. In the Revision Selector dialog box, select the corresponding library revision from the database and click OK.
    3. To save this new library with its behavior content, select Share > Save.
      The library revision in the database is overwritten by the imported library.
  4. To use the imported library to create a new revision in the database, do the following:
    1. In the Library Version Management dialog box, select Select an existing library to create a new version with the imported library, and then click Continue.
    2. In the Revision Selector dialog box, select the revision that the imported library is to be a new revision of, and click OK.
    3. To save this new library with its behavior content as a new revision, select Share > Save.
      A new revision is created in the database. The revision is created from the selected library and contains the imported library.