In the context of COVID-19 outbreak, Powersys ensures the continuity of its activities and services to its customers and our team remains available to answer your commercial, support or any other requests. More information here.

Perform co-simulations between Simulink® and other software

 

Benefits

  • Save your time using directly your Simulink® models into other software
  • Improve your simulation using the best of each software
  • Optimize the simulation time making parallel simulations

 

The toolbox allows to perform co-simulations with Simulink® using the standard Functional Mock-up Interface (FMI). Any software compatible with the standard FMI can be linked to your Simulink® models. The procedure to prepare your model for the co-simulation is simple, fast and user-friendly.

 

Two modules are available:

  • Export (“FMI slave for co-simulation”)
  • Import (“FMI master for co-simulation”)

 

Using the export module provided by the toolbox, add inputs and outputs to your model. These inputs/outputs will be exchanged between Simulink and the other software during the co-simulation. Then generate a “FMU” file in only one click. This file can be read by any other compatible software to get the connection with your Simulink® model as a slave. After starting the co-simulation, both software are sharing the inputs/outputs all along the simulation. This way your simulation get the benefits of each software. The FMU file created can be exported to any other system that has Simulink®. Parameters files such as “m-file” and specific devices (S-functions block) are compatible with this toolbox and exported with the model.

 

Using the import module provided by the toolbox, connect your model with a model from another software by importing its “FMU” file previously generated.  You will have access to all inputs/outputs of this model and could modify some parameters to control it from Simulink®. After starting the simulation, Simulink® will call the other software and manage the co-simulation between your both models.

 

Other usages can be considered such as the parallelization of the simulations: the system is divided into multiple subsystems and a co-simulation is performed between different instances of Simulink®.

 

No other modules are required to use this functionality, only a valid license of Simulink®.

 

A comprehensive documentation is provided with the toolbox, but we are available to support and guide the users as much as possible.

 

Since EMTP is also compatible with the standard FMI® (from EMTP), you can use your models from Simulink® with your power systems modeled in EMTP.

 

Click to view the image in full size

Figure 1: SM regulation Simulink module prepared to be used as slave in co-simulation

 

 

Click to view the image in full size

Figure 2: SM regulation Simulink module prepared to be used as master in a co-simulation. 

 

×

NEWSLETTER


Multiple choices possible