Export model as FMU for Cosimulation stand-alone

37 ビュー (過去 30 日間)
Kevin Kühl
Kevin Kühl 2019 年 3 月 22 日
コメント済み: Christian Bertsch 2022 年 5 月 30 日
Hello,
i need to export a Simulink model as FMU for Cosimulation stand-alone (not FMU for CoSimulation).
Is there a way to do this in MatLab 2018b?
The Tool-Coupling Co-Simulation FMU Export for Simulink seems just to support FMU for CoSimulation.
Thanks in advance
Kevin

回答 (2 件)

Guy Rouleau
Guy Rouleau 2020 年 12 月 10 日
Beginning with R2020a, you can export your Simulink model as a standalone FMU with Simulink Compiler. When a third-party tool runs the FMU, no MATLAB or Simulink license will be required.
  1 件のコメント
Christian Bertsch
Christian Bertsch 2020 年 12 月 10 日
This is great progress. It works for Simulink models with fixed-step solver, not with variable step solvers.

サインインしてコメントする。


Christian Bertsch
Christian Bertsch 2019 年 6 月 15 日
The Tool coupling Co-Simulation is a so called "tool wrapper FMU" with an external dependency to a ML/SL installation or runtime.
For Simulink Models you can create stand-alone FMUs with https://github.com/CATIA-Systems/FMIKit-Simulink using the Simulink coder.
This works for ME FMUs or CS FMUs in case your Simulink model uses a fixed step solver.
  2 件のコメント
Karthikeyan Subramani
Karthikeyan Subramani 2022 年 5 月 30 日
@Christian Bertsch Is it possible to create stand-alone FMU using Variable step solver ?
Christian Bertsch
Christian Bertsch 2022 年 5 月 30 日
Technically I see no problem, but this is a buisiness decision of MathWorks, if and when they want to release such a feature. Please ask your Mathworks contacts for more information. Only Mathworks could create a CS FMU with the original Simulink variable step solver as this is their IP.
(As a workaround, you could export a model exchange FMU (with FMI-Kit https://github.com/CATIA-Systems/FMIKit-Simulink) , import it another tool such as Dymola and re-export it as CS-FMU with a variable step solver. However, this will be a different variable step solver than the original Simulink solver. )

サインインしてコメントする。

製品


リリース

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by