How to solve algebric loop in a simulink model?

2 ビュー (過去 30 日間)
Beriah samia
Beriah samia 2014 年 2 月 2 日
編集済み: Seyma Biskin 2018 年 4 月 28 日
I built up a full vehicle simulink model. After running the simulation i am getting the error as Algebraic state in algebraic loop containing '...../Product33' computed at time 0 is Inf or NaN. There may be a singularity in the solution. If the model is correct, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances).Ireduced the fixed step size but the message error appear again.please is there some one help me to remove this error.thanks in advance.

回答 (1 件)

Paul
Paul 2014 年 2 月 2 日
編集済み: Paul 2014 年 2 月 2 日
Put a delay or memory block in the signal of the variable which gives the algebraic loop. The problem is that you probably use a signal which is the output of a block and at the same time also an input of it (or at least used for calculation of the input). By using a delay/memory block you delay the output 1 step, thus the input is known.
  1 件のコメント
Seyma Biskin
Seyma Biskin 2018 年 4 月 28 日
編集済み: Seyma Biskin 2018 年 4 月 28 日
Hello, I have also same problem, here is the error: Algebraic state in algebraic loop containing 'micro_grid_last/PV Array/Diode Rsh/Product5' computed at time 0.0 is Inf or NaN. There may be a singularity in the solution. If the model is correct, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)
And pv array is not editable and we cannot insert unit delay or memory. Do you know how to solve this?

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

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by