×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

ADAMS/Car FMU X Simulink Co-Simulation

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?



Replies continue below

Recommended for you

RE: ADAMS/Car FMU X Simulink Co-Simulation

Not me, I haven't got 2021 installed yet and that would be the opposite to my workflow anyway, even if I was cosimming which I'm not. I'd contact MSC, looks like a new feature is broken.

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

Hi @bmrrr,

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 youbigsmile

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login



News


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close