How can I avoid Algebraic loops In these equations

Hi,
I Have two equations of the form-
1) dy/dt = A - By - Cdx/dt + Dx, and
2) dx/dt = E - Fx - Gdy/dt + Hy.
I want to apply them in a Simulink model, Is there any way I can do it without using Algebraic loops?
Thanks

 채택된 답변

A Jenkins
A Jenkins 2014년 1월 28일

0 개 추천

If you are smart about it, you may be able to avoid a memory block. Depending on the properties of your numbers (for example, if 1+GC is invertible), you may be able to rewrite the equations:
dy/dt = A-B*y-C*(dx/dt)+D*x
dx/dt = E-F*x-G*(dy/dt)+H*y
dx/dt = E-F*x-G*(A-B*y-C*(dx/dt)+D*x)+H*y
dx/dt = (E-F*x-G*(A-B*y+D*x)+H*y)/(1+GC)

댓글 수: 1

Anuj
Anuj 2014년 1월 28일
Thanks for your suggestion, I didn't think this way.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Mischa Kim
Mischa Kim 2014년 1월 28일

0 개 추천

댓글 수: 1

Anuj
Anuj 2014년 1월 28일
That one suggests to include delay or memory, but in the above system how will i use delay/memory?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

질문:

2014년 1월 27일

댓글:

2014년 1월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by