Multiple sampling rates in Simulink - to speed up simulation

조회 수: 1 (최근 30일)
want2know
want2know 2014년 4월 14일
편집: want2know 2014년 4월 14일
Hi,
I have a system developed in Simulink where simulation of 60 seconds took around two hours to complete, at the end I would need to run the simulation for 3 hours (as it involves battery where battery's parameters would need longer time to see noticeable change for example the change in state of charge etc), so it means more than 300 hours might be needed to run this simulation which sounds so bad.
That comes the idea to implement multiple sampling rates in my system.
I have done some readings to find out that there are few options to do so:
1. Rate transition block
2. set the specified sample time at the "Function block parameter" of each block
I would like to know what is the difference between the two?
If I want to use method 2, do I still have to use Rate transition block?
It appears to be quite messy in using either of the above methods, is there a more elegant way to implement multiple sampling rates in a single Simulink file?
Appreciate any inputs, thanks!!!

답변 (0개)

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by