How to solve algebric loop in a simulink model?

조회 수: 4 (최근 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 CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by