matlab - How to optimize simulation time in Simulink -


i working on simulation model in simulink, using "nn predictive controller" module. trying display output of nn controller in scope 2.

as can see in picture have 2 signals workspace. both discrete signals (sampling frequency 360 hz) - both vectors of 3600 rows.

in nn predictive controller have trained neural network signals of same size , set sampling interval 0.1.

when run simulation runs approximately 10 hours. there way minimize simulation time without increasing sampling interval in nn controller? second question: why takes long?

if need additional inforation model please let me know.

thank you

picture: simulink simulation model

use accelerator mode or rapid accelerator mode in sl. can switch mode in drop-down list normal selected.

in accelerator mode part of modell compiled. in rapid accelerator mode additionally scopes deactivated. data evaluation need store workspace and/or file , analyse later.

see: http://de.mathworks.com/help/simulink/ug/how-the-acceleration-modes-work.html

and: http://de.mathworks.com/company/newsletters/articles/improving-simulation-performance-in-simulink.html


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -