Long simulation stoppes temporarily
Afficher commentaires plus anciens
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!
Réponses (1)
Andreas Goser
le 18 Fév 2014
0 votes
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 commentaires
Andreas Goser
le 18 Fév 2014
I see you contacted also Technical Support. Lets resolve it through this channel and I will feedback solution into MATLAB Answers.
Andreas Goser
le 18 Fév 2014
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?
Andreas Goser
le 19 Fév 2014
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
le 20 Fév 2014
Andrey
le 21 Fév 2014
Andreas Goser
le 21 Fév 2014
My pleasure - I will close the "official" support request too.
Catégories
En savoir plus sur Programmatic Model Editing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!