Long simulation stoppes temporarily

Hallo together,
I have a simulation which makes a simulink model run with variing parameters. As it takes about 10 hours to get through all the parameter sets, I left yesterday the simulation run automatically through the night. In the log file I've found this today:
21:4:25
Current Phi: -15, Current Error Time: 0.1493
Time left: 5:14:47
Finish time: 2:19:13
8:0:42
Current Phi: -15, Current Error Time: 0.1494
Time left: 20:5:21
Finish time: 4:6:3
That means, the simulation was stopped at 21:04 until I have come. The hibernation, stand-by and hard drive switch off were all disabled so it can be excluded.. May there be any preferences in Matlab to fix it? Or has anyone of you already faced something like this?
Thank you very much!

답변 (1개)

Andreas Goser
Andreas Goser 2014년 2월 18일

0 개 추천

It looks like this logfile is self-written? Can you break the behaviour down to standard MATLAB commands like tic, sim, toc? I am not aware of Simulink simulations stop like this. I see situations where users believe it stops when time steps get super-small sometimes.

댓글 수: 7

Andreas Goser
Andreas Goser 2014년 2월 18일
I see you contacted also Technical Support. Lets resolve it through this channel and I will feedback solution into MATLAB Answers.
Andreas Goser
Andreas Goser 2014년 2월 18일
The next steps we agreed on are removing Simulink and PLECS dependencies in order to see if it happens in pure MATLAB too. User has WinXP32 and consciously disabled energy saving settings, however we wonder if there are settings somewhere under the hood that have an effect here?
Andrey
Andrey 2014년 2월 19일
편집: Andrey 2014년 2월 19일
So, I replaced Simulink with some MATLAB code with similar execution time and the simulation has succeed at 3 a.m., as it should. Hmm.. I would like now to add a dummy Simulink/PLECS block to see if it was my specific occasion or generally Simulink or PLECS. What do you mean?
Andreas Goser
Andreas Goser 2014년 2월 19일
Right. I can think of either using the SIM command with a different and simple model like the demo 'vdp', or you may be able to replace PLECS blocks by something like "gain with factor 1" blocks. I do not know enough of PLECS to make a more specific suggestion.
Andrey
Andrey 2014년 2월 20일
Now it has worked with a simple Simulink and PLECS model without problems. Remarkable is that the simulation steps with the parameter sets where my first simulation stopped are running good when tested separately. I'll try now to run it one more time, but clearing every step all variables except for those with test results..
Andrey
Andrey 2014년 2월 21일
Ok, now it works. Maybe I'll try in the next days/weeks to approve the couse of the trouble that time with some more experiments. Anyway, many thanks for your support!
Andreas Goser
Andreas Goser 2014년 2월 21일
My pleasure - I will close the "official" support request too.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기

질문:

2014년 2월 18일

댓글:

2014년 2월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by