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 blocks

...

3. Create a Simulation Configuration diagram and specify start time, end time, and either step size or number of steps in the properties of the Simulation Configuration. Add with a SimulationConfig to specify startTime, stepSize, and endTime (optional) in the properties. You can add a Time series chart and specify represents and specify values of FMUs value of the FMU represented as user interfaces. You can also include CSVExport to  to store the results.

4. Run the Simulation Configuration and see the results in the Time series chart and Variables pane, as well as the resulting Excel file from CSVExport.

...