Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Warning
titleImportant

Before simulating FMU files, you must make sure the following conditions are met:

  • The FMU files and the project must be in the same directory.
  • The FMU files must be OS-platform supported, e.g., Win64, Win32, linux64, linux32, etc. (Cross-platform execution of FMU files is not supported.). You can see all supported platforms in the Binaries folders of the FMU files. If the platform you are using is not in the Binaries folder, it will not be supported.
  • An FMU Block requires a SimulationConfig with endTime (optional) to provide the reference time in the simulation (shown in Step 3 below). Please see also the WaterTankFMI build-in sample of Simulation.


To co-simulate FMU blocksBlocks

...

  1. Drag FMU files into a Block Definition diagram of the SysML project. The FMU files will be presented as «block» and «fmu» stereotypes along with ports. You may create associations (aggregations) with the main system block to make the FMU files become part properties.
  2. If there is only one FMU file to simulate, proceed to Step 3. Otherwise, you will have to create an Internal Block diagram for the main system block to automatically include part properties in the diagram. Select the Flow Port context menu to show flow ports of those properties and create connections as needed.

...