FMI

The FMI options let you customize FMI (Functional Mock-up Interface) handling within the Dymola Behavior Modeling app.

Notes:
  • You can do almost the same selections in the dialog box when you import an FMU as in these preferences. The differences are:
    • When importing an FMU, you can also select to specify exactly what variables you want to include in the FMU.
    • When importing an FMU, you can also select if to be prompted before replacing an existing Modelica model when importing the FMU.
    • The minimal number to activate stacked connectors can only be specified in this preference dialog.
  • For the preferences dialog here, and the corresponding settings in the dialog when importing an FMU, if you change any preference or setting, it will be changed in both dialogs.

For more information about this, see Dymola Behavior Modeling User's Guide: Interfacing Other Simulation Environments: Functional Mock-up Interface (FMI): Importing a Model in FMU Format.

This page discusses:

Import: Preferred Type

Select one preference to customize the type of FMU to import.

Model Exchange

By default, this check box is selected.

CoSimulation

By default, this check box is cleared.

Import: Options

Select preferences to customize the FMU to import.

Include all variables

Select this preference if you want to include all variables in the FMU. If you deselect it, only inputs, outputs, and parameters are imported (black-box import).

Tips:
  • Deselecting this preference reduces the size of the mo file. This is recommended for large models.
  • When importing an FMU, you can also select to explicitly specify what varialbles to import, see Dymola Behavior Modeling User's Guide: Interfacing Other Simulation Environments: Functional Mock-up Interface (FMI): Importing a Model in FMU Format.

By default, this preference is not selected.

Translate value reference to variable name

Select this preference if you want to include a file containing the variable names in the FMU. This is useful for debugging, but might affect the performance. With this preference selected, value references are mapped to variable names in the FMU log messages.

By default, this check box is cleared.

Structural declaration of variables

Select this preference when you want to present the variables of the imported FMU in a hierarchical structure (using records declarations). This is useful when you for example want to change parameter values in the variable browser after a simulation.

Note: To be able to use this option, the attribute variableNamingConvention in the model description file of the FMU to be imported must be set to variableNamingConvention="structured".

By default, this check box is cleared.

Minimal number to activate stacked connectors
Set the number to the minimal number to activate stacked ports when importing an FMU.

By default, this preference is set to 10.