ADAMS/Car FMU X Simulink Co-Simulation
ADAMS/Car FMU X Simulink Co-Simulation
(OP)
Hello Guys.
I have been trying super hard to solve this problem, really appreciate if you all can help me or give me a hint.
I am conducting Co-simulation using FMU model generated by Adams/Car in Simulink as parent.
When I run the simulation, simulink (matlab) got crash due to unknown issue.
to be specific, this crash only happen with encrypted [.adm] FMU model
(*encrypted feature available from adams version 2021).
just to make sure,I run the simulation with normal/non-encrypted [.adm] FMU model generated from the same vehicle model, the simulation flows with no problem. so I can confirm that there is no issue with the vehicle model.
Adams 2021.4
Simulink R2019a
based on adams 2021 release note, it supports simulink 2019a, so no problem with the version as well
has anyone experienced the same issue?
I have been trying super hard to solve this problem, really appreciate if you all can help me or give me a hint.
I am conducting Co-simulation using FMU model generated by Adams/Car in Simulink as parent.
When I run the simulation, simulink (matlab) got crash due to unknown issue.
to be specific, this crash only happen with encrypted [.adm] FMU model
(*encrypted feature available from adams version 2021).
just to make sure,I run the simulation with normal/non-encrypted [.adm] FMU model generated from the same vehicle model, the simulation flows with no problem. so I can confirm that there is no issue with the vehicle model.
Adams 2021.4
Simulink R2019a
based on adams 2021 release note, it supports simulink 2019a, so no problem with the version as well
has anyone experienced the same issue?
RE: ADAMS/Car FMU X Simulink Co-Simulation
Cheers
Greg Locock
New here? Try reading these, they might help FAQ731-376: Eng-Tips.com Forum Policies http://eng-tips.com/market.cfm?
RE: ADAMS/Car FMU X Simulink Co-Simulation
It's quite a late reply!
Adams solver needs to locate the encrypt_wrapper.dll which would unwrap the fmu. This .dll file is present in "C:\MSC.Software\Adams\2021_3_841263\win64" in my case. You can find the the path in which your ADAMS 2021 is installed. Hence you would need to create a Path environment variable with the value as C:\MSC.Software\Adams\2021_3_841263\win64 (in your case your path where the encrypt_wrapper.dll is located).
This will solve the SIMULINK crash issue if it isn't already solved by you