Importing an FMU File

You can import an FMU file to a function or logical component. The result is the creation of an FMI behavior in the function or logical component.

Important: The presently supported FMI version do not support structured inputs and outputs, so the interfaces of the imported FMU must not be structured.

This task shows you how to:

Add an FMU

You can add an FMU file to a function or logical component by importing it. A corresponding behavior representation is created when importing the file.

  1. In the tree, select the function or logical component where the FMI behavior containing the FMU should be located.
  2. From the Behaviors section of the action bar, click Import FMU .
  3. From this dialog box, browse and select the convenient FMU file.
  4. Click Open.

Replace an Existing FMU

You can replace an existing FMU.

Replace an Existing FMU Selected in the Tree

  1. In the tree, select the FMU you want to replace.
  2. From the Behaviors section of the action bar, click Import FMU .
  3. From this dialog box, browse and select the convenient FMU file.
  4. Click Open.

Replace an Existing FMU Using the Context Menu of the Behavior in the 2D Graph

You can replace an existing FMU using the context menu of the name of the FMI behavior in the behavior symbol in the 2D graph.

  1. In the 2D graph, on a function or logical component having at least one FMI behavior, click the behavior list icon in the lower right to display the behaviors.
  2. Right-click the name of the FMI behavior to replace, and select Import FMU .
  3. From this dialog box, browse and select the convenient FMU file.
  4. Click Open.