Export FMU for CarMaker

22 vues (au cours des 30 derniers jours)
Albrecht
Albrecht le 7 Mai 2019
Hello,
How is it possible to export a "Co-Simulation Standalone"-FMU for CarMaker ?

Réponse acceptée

Priyank Sharma
Priyank Sharma le 15 Mai 2019
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 commentaire
Albrecht
Albrecht le 15 Mai 2019
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"?

Connectez-vous pour commenter.

Plus de réponses (1)

Christian Bertsch
Christian Bertsch le 15 Juin 2019
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)

Catégories

En savoir plus sur Create Standalone FMU dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by