フィルターのクリア

algebraic loop and Simscape ?

3 ビュー (過去 30 日間)
aft
aft 2011 年 9 月 26 日
Hi,
I am having a bad time dealing with algebraic loops in my inverted pendulum model. Leaving it to simulink to solve using its internal solvers takes a lot of time while adding an integer delay modifies my results in an undesirable way. On the following link of Mathworks,
on the work-flow chart they say in the last box that converting the model "Simscape" is also a solution. I am wondering HOW ? it looks to me all the same thing ?
anybody has an idea ?
thanx in advance
khawaja

採用された回答

Guy Rouleau
Guy Rouleau 2011 年 9 月 26 日
2D and 3D physical systems like a pendulum on cart are most easily represented by a Differential Algebraic Equations (DAE), and not only a set of Ordinary Differential Equations (ODE). In Simulink, a DAE causes an algebraic loop.
The Simscape (and SimMechanics) solver is designed to solve DAE better than the Simulink algebraic loop solver. In your case, for 2D or 3D, the solution would be SimMechanics:
To understand the differences between Simulink and SimMechanics, I recommend starting with this post Seth and I made some time ago:
Notice the sentence "if implemented as written above, you get algebraic loops". This means that many DAEs can be rewritten into a set of ODEs, but this can be a pretty complex math challenge and I am not going into details here.

その他の回答 (1 件)

Zafb
Zafb 2011 年 9 月 28 日
just the answer i was looking for :). thanx a lot

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by