Importing a Model in FMU Format

You can import an FMU (Functional Mock-up Unit) into the Dymola Behavior Modeling app. If you have imported a co-simulation FMU, you can specify the macro step size of the instantiated FMU.

Important: The attribute nominal for scalar variables is not supported when importing FMU models with Model Exchange.
Notes:
  • Unless otherwise stated, features are available for both FMI version 1.0 and FMI version 2.0.
  • String parameters are supported, but not string variables.
  • Online tunable parameters are supported in FMI version 2.0 (such parameters are not defined in FMI version 1.0).
  • Unit conversion is supported in FMI version 2.0. Units are automatically converted to base units, according to the FMI standard, for inputs, outputs, and parameters in imported FMUs.
Tips:
  • You can specify start values for FMI Model Exchange, to specify input start values before initialization. This can be useful when wanting to avoid, for example, division by zero when initializing.
  • When importing FMUs with many inputs or outputs, the connectors are stacked. The minimum number when stacking occurs can be changed by a preference Minimal number to activate stacking of connectors. The default is 10 connectors. You reach these preferences from Me > Preferences > App Preferences > 3D Modeling > Systems > Behavior Modeling, the FMI tab. For more information about FMI preferences, see FMI. For connection of stacked connectors, see Connecting Stacked Connectors.
  • You can instantiate the same imported FMU several times in the same model.
  • You can import FMUs of FMI version 1.0 and 2.0 to the same model.
  • When importing FMUs from other vendors, the parameter fmi_resourceLocation in the FMI tab of the parameter dialog of the FMU might be required to specify the location of external resources. (For FMI version 1.0 Co-simulation the parameter name is fmi_fmuLocation.) By default the parameter displays the location where the FMU is unpacked, which is usually the location of external resources (dlls, tables, etc.) as well.
  • When you import an FMU, the initial values of the parameters are put in a separate tab Initial in the parameter dialog of the FMU. As an example, if you only have initial values for a state, the General tab may be empty, but the initial values are listed in the Initial tab.
  • Information from the model description (modelDescription.xml) of an imported FMU is displayed in the information layer of the imported FMU.

This task shows you how to:


Before you begin: There is no need for a specific license to import an FMU, but the FMU itself might demand a license corresponding to the system used to create the FMU.
See Also
About Interfacing Other Simulation Environments