11.3.5. Simulation using FMI

In order to run co-simulation using FMI, you must have one of the software applications as shown in Figure 11.21: List of tools supporting FMI. Motion only supports as FMI slave. If you have an FMI master tool, build a model as described in the following table.

Figure 11.26: Steps to execute co-simulation using FMI

StepDescription
1st stepBuild model in Master tool
2nd stepImport the FMU file
3rd stepConnect each port
4th stepModified communication time step
5th step

Set the result path. This should be set if you wish to save the result of the analysis to a specific path. See Figure 11.27: How to set result path in the Twin-Builder.

6th stepExecute co-simulation

You can set the Result Path value by opening the properties window of the Motion FMU block.

Limitations are as follows:

  • Ideally, all directories should already exist.

  • At a minimum, the parent directory should already exist. In this case, the child directory is created.

Figure 11.27: How to set result path in the Twin-Builder

How to set result path in the Twin-Builder