run the system for 24 hours in short period
古いコメントを表示
hello,
so i have model in simulink, it runs for Total time=2 seconds, and sampling time for microgrid=1e-6, sampling time for model predictive controller=0.1; the thing is when i run the simulation, it takes about 3 to 4 minutes to finish because of the sampling time, when in fact the Total time is 2 seconds, and i want the axe "X" to show results for 24 hours, so what can i do?
obiously i cannot run it for 24 hours, it will take few days to finish,
thanks in advance
2 件のコメント
Umar
2024 年 7 月 1 日
Hi Mounira,
My suggestion would be increase the simulation step size while maintaining accuracy by changing the solver settings in Simulink. Also, consider reducing the data logging frequency or using virtual scopes to visualize results without storing all data points. By strategically selecting what data to log and visualize, you can reduce the computational load and speed up the simulation process significantly.
Hope these suggestions will help resolve your issues.
Mounira
2024 年 7 月 1 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Configure and View Diagnostics についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!