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 ExchangeSimulink についてさらに検索

質問済み:

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