What is the difference between using Data Store Blocks & Delay block to avoid algebraic loop error
古いコメントを表示
I had created a simple simulink model that results in algebraic loop error.Solved the error by following below two aprroaches
- Using delay block
- Using Data Store blocks(Data Store Read, Data Store Write & Data Memory block)
I know that delay block uses Newton iterative method to converge & Data store blocks re-route the data.
In what way(s) these two approches affect the performance of the model as a whole?
2 件のコメント
Kaustubha Govind
2013 年 7 月 12 日
When you say "performance", are you asking about how the speed of simulation is affected, or how the blocks change the results of the simulation?
venkat
2013 年 7 月 16 日
採用された回答
その他の回答 (1 件)
Kaustubha Govind
2013 年 7 月 16 日
0 投票
Are you using the continuous delay block? If so, yes, I believe it uses the Simulink Solver to perform the delay operation. From what I understand, Data Store blocks might maintain a buffer to preserve data integrity - I think the buffer has a side-effect of behaving like one or more discrete delay blocks. This side-effect is probably what is causing the algebraic loop to be resolved, although the better/direct way would be to use the discrete delay block.
カテゴリ
ヘルプ センター および File Exchange で General Applications についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!