FMU

Purpose

Include a Functional Mockup Unit in a model

Library

Control / Functions & Tables

Description

../../_images/fmu.svg

The FMU block imports existing Functional Mockup Units (FMUs) into a PLECS model. Supported FMU types are FMI Model Exchange and Co-Simulation in version 2.0 and 3.0.

To open the Functional Mockup Unit dialog, select the FMU block and choose Edit FMU file… from the Edit menu or from the block’s context menu. If no FMU file has been specified yet, you can also just double-click on the block. Click on the button next to the FMU file field to choose an existing FMU file. By default, the FMU file is specified with a path relative to the model file. You can change this to an absolute path using the FMU file reference selector.

When you click OK, PLECS creates a folder filename.fmu.expanded next to the FMU file and updates the input and output terminals of the block according to the FMU description.

Once the FMU file has been specified, a double-click on the FMU block will open a dialog that allows you to view and edit the parameters that are defined by the FMU file. If the FMU file contains documentation, you can view this by clicking on the Help button of the parameter dialog.