Export FMU for CarMaker

30 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Create Standalone FMU 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by