<< fmu_wrapper fmu_wrapper SimpleFMU >>

fmu_wrapper >> fmu_wrapper > FMInterface

FMInterface

Import FMU in Xcos using Functional Mock-up Interface

Block Screenshot

Contents

Description

The block "FMInterface" provides an easy way to use Functional Mock-up Interface for Model Exchange or CoSimulation(slave). Using this block, the user is able to simulate the Functional Mock-up Units(dynamic system models). It is possible to use several instances of a model and to connect any models hierarchically together. Before the simulation the model should be loaded: double click on the block, then in the new window the model for loading should be chosen. It is forbidden to do copy/paste for the models that have been loaded if the FMU does not support the several instances.

Dialog box

Default properties

The default properties of the block ​​depend on a model that was loaded for simulation.

Interfacing function

  • /macros/FMInterface.sci

  • Computational functions

  • fmu_simulate_me

  • fmu_simulate_cs

  • Limitations at the current version of import FMU.

    Strings are not supported for input/output ports. Also, complex values are not supported. For big FMUs (for example, with more than 5000 variables) it may take some more time for the loading of these models in Xcos. The waitbar will be displaying during the loading. There is some important limitation for using of FMInterface block: only 30 parameters can be configured at the same time for the corresponding type (Real, Integer or Boolean). In other words it is not allowed to try writing more than 30 names of parameters at the corresponding fields (Set Real, Set Integer or Set Boolean).

    See Also


    Report an issue
    << fmu_wrapper fmu_wrapper SimpleFMU >>