Solving an algebraic loop with state port

6 Ansichten (letzte 30 Tage)
Christoph Klingspor
Christoph Klingspor am 12 Jan. 2016
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?

Antworten (1)

Pavithra Ashok Kumar
Pavithra Ashok Kumar am 22 Jan. 2016
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

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by