Problem simulating model in simulink - Strange results in high frequency
2 ビュー (過去 30 日間)
古いコメントを表示
Dear Matlab community,
I constructed two models to simulate the same dynamical system. One was done coding and was solved with ode45 in the workspace. The other version was done in simulink. The two versions perform as expected (graph results are equal) up to a certain frequency. As frequency gets higher than 29rad/s, simulink model starts to give some non-sense results, with one of the states oscilating indefinitely around its equilibrium point, whereas in the workspace, this same state under the same conditions, goes back to its equilibrium point, as expected. I verified the model configuration parameters, which happen to be exactly the same. I also tried to reduce the max step size to a very low number (0.0000001) but the same strange result is still appearing. Could someone please help me with that?
Regards,
Allan
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Verification, Validation, and Test についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!