Export FMU for CarMaker

29 ビュー (過去 30 日間)
Albrecht
Albrecht 2019 年 5 月 7 日
回答済み: Christian Bertsch 2019 年 6 月 15 日
Hello,
How is it possible to export a "Co-Simulation Standalone"-FMU for CarMaker ?

採用された回答

Priyank Sharma
Priyank Sharma 2019 年 5 月 15 日
You can follow the below documentation to correctly export the model as a Tool-Coupling FMU in R2018b
Actually CarMaker should accept win64 DLL, as you can read in the features and functions list, since CarMaker 5.0, at the following link from IPG Automotive website:
Therefore, if the FMU passes the compliance checker and you are able to re-import the FMU in Simulink and everything works fine, this issue comes from the CarMaker side and should be checked with CarMaker.
  1 件のコメント
Albrecht
Albrecht 2019 年 5 月 15 日
Hello,
I still am in contact with IPG. IPG asks in which mode the FMU was created. I am afraid that Matlab generated the FMU in a mode not supported by IPG/CarMaker. I suspect that Matlab generated an FMU in "Co-Simulation Tool Mode", but CarMaker needs one in "Co-Simulation Standalone Mode" (see FMI standard 1.0/2.0). This can be detected, after information from IPG, on the key "needsExecutionTool=True/False" in the FMU.
1) Can you please tell me in which mode exactly the FMU was exported?
If the FMU was exported in "Tool mode", then the additional question:
2) Is it planned to also offer an export in "standalone mode"?

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

その他の回答 (1 件)

Christian Bertsch
Christian Bertsch 2019 年 6 月 15 日
Mathworks currently supports the export of a so-called "tool-wrapper" FMU with an external depoendency on a ML/SL or runtime installation.
You can use https://github.com/CATIA-Systems/FMIKit-Simulink and the Simulink coder to create a standalone FMU (ME or CS in case your model uses a fixed-step solver)

カテゴリ

Help Center および File ExchangeCreate Standalone FMU についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by