Transport Delay of Zero

2 ビュー (過去 30 日間)
Shane Cheshire
Shane Cheshire 2020 年 3 月 3 日
コメント済み: Robert U 2020 年 3 月 4 日
I have the following block diagram.
My step input is set to 1000 sec. By changing the TM value in the I'm attempting to get the following graph. One with tm=1000 and the second with tm= 0. This is the graph I'm supposed to get for the block without preditictive control.
Instead this is what I'm getting
I'm getting an error when I set the transport delay to zero, it says that there maybe an algrebraic loop. Any idea how I might fix this?
  2 件のコメント
Jade O'Connor
Jade O'Connor 2020 年 3 月 4 日
It should work if you move the time delay block into the feedback loop :)
Robert U
Robert U 2020 年 3 月 4 日
Hi Jade,
Your suggestion probably does not work, either, when setting the time delay to Zero.
Kind regards,
Robert

サインインしてコメントする。

回答 (1 件)

Robert U
Robert U 2020 年 3 月 4 日
編集済み: Robert U 2020 年 3 月 4 日
Hi Shane Cheshire,
There is plenty of hints in Matlab documentation on how to fix algebraic loops. Most conveniant is to introduce a unit-delay block that will delay the feedback signal by one time step. That usually does not have any significant impact on the simulation result.
Another option is to use very small signal delay times. But this option might increase simulation time dramatically.
Kind regards,
Robert

カテゴリ

Help Center および File ExchangeSchedule Model Components についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by