Solving an algebraic loop with state port

조회 수: 6 (최근 30일)
Christoph Klingspor
Christoph Klingspor 2016년 1월 12일
답변: Pavithra Ashok Kumar 2016년 1월 22일
I do have some problems regarding an algebraic loop caused by an integrator. The following picture displays the loop.
As you can see, theres an algebraic loop containing "Funktion Sv", "DGL Gierwinkelbeschleunigung" an "Integrator 2". The initial condition of the integrator is "0". The reset port is triggered, as soon as the variable v hits zero, so after that the output of the integrator should be and remain zero. This loop doesnt seem to cause any problems now, but i want to find a solution to avoid problems later on.
Does anyone has an good idea, how to solve my problem?

답변 (1개)

Pavithra Ashok Kumar
Pavithra Ashok Kumar 2016년 1월 22일
I understand that you want to remove the algebraic loops in your model. THis can be removed either in many ways. Some of them are 1. Add a delay block depending on your model constraints. 2. Add memory blocks. For more information, refer here

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by