<< FMInterface fmu_wrapper Export FMU from Xcos >>

fmu_wrapper >> fmu_wrapper > SimpleFMU

SimpleFMU

Import FMU in Xcos using Functional Mock-up Interface

Block Screenshot

Contents

Description

The block "SimpleFMU" provides a simple way to use the Functional Mock-up Interface for Model Exchange or CoSimulation(slave). Using this block, the user will be able to simulate dynamic system models provided as Functional Mock-up Units. 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, select your FMU and configure its parameters.

Compared to the FMInterface block, the user will have access to the list of parameters. The model parameters can be discovered without previous knowledge of the FMU. On the other hand, the block will keep prompting for all the parameters even if the user only modified some of them.

Dialog box

Depending on the loaded FMU, the dialog box will let the user define each parameter value.

Default properties

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

Interfacing function

  • /macros/SimpleFMU.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 wait bar will be displayed during the loading.

    See Also


    Report an issue
    << FMInterface fmu_wrapper Export FMU from Xcos >>