Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Algebraic Loop in Simulink, missing datas

조회 수: 1 (최근 30일)
Tom Bernand
Tom Bernand 2019년 8월 30일
마감: MATLAB Answer Bot 2021년 8월 20일
Hello
I have a system which is strongly non-linear and can only be calculated by a loop in Simulink. The system is implemented using two "Matlab function" blocks.
The individual blocks each provide a good function flow (see Figure 1).
If I now connect the blocks together and interrupt the algebraic loop with the help of a "unit delay", then every second value is missing (see figure 2).
a schematic simulink model is attached
How can I fix this?
Greeting
Tobias

답변 (1개)

Jesús Zambrano
Jesús Zambrano 2019년 8월 30일
편집: Jesús Zambrano 2019년 8월 30일
Hi,
I see you have tried to introduce delays. Since you say it can only be solved in a loop (so it is not possible to solve the loops manually), then try to check the inital guess. Here i copy what is highlighted in the documentation:
Create Initial Guesses Using the IC and Algebraic Constraint Blocks
Your model might contain loops for which the loop solver cannot converge without a good, initial guess for the algebraic states. You can specify an initial guess for the algebraic state variables, but use this technique only when you think the loop is legitimate.
There are two ways to specify an initial guess:
  • Place an IC block in the algebraic loop.
  • Specify an initial guess for a signal in an algebraic loop using an Algebraic Constraint block.
Hope it can help you!
  댓글 수: 2
Tom Bernand
Tom Bernand 2019년 9월 3일
Hi
thank you for the answer.
The IC block was a super idee : )
Greetings
Jesús Zambrano
Jesús Zambrano 2019년 9월 6일
Great to hear it!
best,
Jesús

이 질문은 마감되었습니다.

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by