You can generate an FMU (Functional Mock-up Unit) for external co-simulation of dynamic models that enables the exchange of simulation results between different simulation tools. The generated FMU exposes the defined input and output parameters of a model, as specified in a Simulation Configuration. The generated FMU runs the server-side simulation of a particular Simulation Configuration using given inputs and returns the outputs after each time step. FMUs can be generated for two platforms: Linux 64-bit and Windows 64-bit. - You must have a simulation server certificate to co-simulate the generated FMU.
- You must use the generated FMU with tools that use the same JAVA version as the modeling tool; otherwise, you will not be able to run the generated FMU.
- You must add the JAR file to the plugin library to generate FMU. To learn more, refer to Adding JAR file to library.
|
FMU generation uses selected Simulation Configuration properties, and can contain the following defined data: - Input Parameters property value: the default values from the defined input parameters will be included in the generated FMU.
- Output Parameters property value: t
To generate an
- Open a Teamwork Cloud project.
- Right-click a Simulation Configuration and select Simulation > Generate FMU.

-
- .
In the case of an FMU file generation error, see the detailed error message in the log file. |
Adding JAR file to libraryAn external library is required to generate the FMU files. You must add the JAR file to the plugin library folder. To add the JAR file to the plugin library
- Download the fmu-builder-2.6.1 file.
- Copy the downloaded JAR file to the <modeling tool installation directory>\plugins\com.nomagic.magicdraw.simulation\lib path.
- Restart the modeling tool after copying the JAR file.
|