Other
Use examples from a wide range of application areas to learn about modeling and simulation with System Modeler and the Modelica language.
System Integration with FMI
Smooth system integration becomes especially important when different subsystems in a model are built in different tools or hardware. Here, we will use the Functional Mock-up Interface (FMI) to export a model from System Modeler and import it in NI VeriStand to test our system in real time.
Seamless Workflow Integration
Since System Modeler supports export of Functional Mock-up Units (FMUs), you can export any model and use it in another simulation environment that supports FMU import.
Export the FMU
The model has two outputs, the tank level and output flow, and two inputs, the input flow and the actuator that controls the output flow.
Import the FMU
To control the water level in the tank, the FMU has been connected to a PID regulator native to the VeriStand environment. From the simulation interface, it is possible to interact with the simulation in real time by changing the settings for input flow and desired tank level.
This example shows how easy it is to exchange models with FMI. Using FMU export and import, we were able to easily design a model in System Modeler, and then test our system in NI VeriStand, which specializes in real-time testing.
Wolfram System Modeler
Try
Buy
System Modeler is available in English
and Japanese
on Windows, macOS & Linux »
Questions? Comments? Contact a Wolfram expert »