FMI Model Compatibility Library (MCL)

Synposis

FMI Model Compatibility Library

Simulation Setup

Structure

Example Simulation

FMI MCL Setup

DOC: Provide description of FMI MCL Taskfile workflows.

FMI MCL Operation

Measurement

The FMI MCL can be configured to produce an MDF measurement file for scalar signals of the FMUs interface, including FMI Variables with ’local’ causality.

Note: the path of the measurement file is relative to the simulation path (i.e. /sim/…).

# Using Simer; enable measurement on the FMU represented by 'fmu_inst'.
$ simer path/to/simulation \
    -env fmu_inst:MEASUREMENT_FILE=/sim/fmu_measurement.mf4 \
    -stepsize 0.0005 -endtime 0.005
$ ls path/to/simulation/fmu_measurement.mf4
path/to/simulation/fmu_measurement.mf4