Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations Ron247 on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adams Matlab cosimulation instability

VojtechBrychta

Automotive
Mar 1, 2024
8
Hello,


I'm running a co-simulation between Matlab and Adams/CAR for multiple events, trying to optimize damping characteristics for the vehicle. This requires running multiple loops (100+) of Adams simulation in order for the Matlab algorithm to tune the dampers properly.

I have now encountered an issue where the simulation randomly stops and matlab crashes. There is no error message, no dump file, nothing. I have optimized the matlab code and simulink model the best I could to maintain stability, but I'm still unable to run multiple loops without crashing. When the crash occurs, I can start matlab again and run the last loop successfully, therefor I assume the issue is linked more to the communication between matlab and adams rather than the models themselves.


Do you have any suggestions on how to improve or what to check in order to gain stability?


Thanks a lot!


Sincerely,

Vojtech
 

Part and Inventory Search

Sponsor