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
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