Importing FMU

Import FMU lets you import a model in FMU format.

  1. Browse to select your FMU file and click Open.
  2. Optional: To select another FMU, click Browse and browse for another FMU.
  3. Select Preferred type as any of:
    • Model exchange
    • Co-simulation
  4. Select what options to activate:
    1. To have a warning before replacing an existing Modelica model, activate Prompt before replacing an existing Modelica model.
    2. To include a file containing the variable names in the FMU, activate Translate value reference to variable name
    3. To present the variables of the imported FMU in a hierarchical structure using records declarations, activate Structured declaration of variables.
  5. To select the target package to import the FMU to, you can do any of the following:
    • To select any previously visited packages, click the arrow and select a package.
    • To browse for a package, click Select Package.
      Note: You have a search field in top of the dialog box that appears when you browse for a package.
    • Enter the package name in the box.
    The selected package appears in the field.
    Note: If you don´t select any package, the FMU is imported to the root level of the Package Browser.
  6. To select what variables to expose in the imported FMU, do any of the following:
    • To expose all variables in the imported FMU, select All variables, then go to to Step 8.
    • To expose only parameters, inputs, and outputs, select Black box (parameters, inputs, outputs), then go to Step 8.
    • To specify in detail what variables to expose, click These variables. See next step for selection.
  7. To specify what variables to expose when you have selected These variables in the previous step, click Select to display a dialog for selection.

    In the dialog, by default, all variables are selected to be exposed.

    1. In the left part of the dialog, select the variables to hide.

      You can:

      • Search for variables by typing in the first field.
      • Expand and collapse nodes in the tree individually, or all by clicking Expand All or Collapse All.
      • Multiselect variables individually, or all by clicking Select All or Select None.

    2. Click Hide to hide the selected variables.

      Tip: To instead work with what variables to expose, in the left part of the dialog, click Select All, and then click Hide. You can now work with what variables to expose in the same way as working with what variables to hide.

    3. When you have finalized the selection, click OK.
      The variables to expose are listed in the field under These variables in the previous dialog box.
  8. Click OK to import your .fmu file containing the corresponding resources within the Dymola Behavior Modeling app.
    A progress bar appears.
    Note: As the .fmu file is checked before import, it must be correct for a successful import.
  9. Save.