Asked by yasir
on 24 May 2012

i'm make a model of photovoltaic with constant power load but when i try to simulate it, it shows that one of the blocks in my simulation which is the divide block is in error.. the message states that "Algebraic state in algebraic loop containing 'RL/Divide' computed at time 0.0 is Inf or NaN. There may be a singularity in the solution" .i try to reduce the step size and change the solver but it still the same..

Answer by Siva Malla
on 31 May 2012

Accepted answer

I think use limiter or saturation at dividing part and make lover limit as less value, like 0.0001, and upper limit as inf. then may be your problem will solve. other wise, I uploaded a PV model, you can download this.

Anup Anurag
on 24 Oct 2012

Siva Malla.. I couldnt get your uploaded file..can you please mail it to anup.rana123@gmail.com

Answer by K E
on 24 May 2012

It sounds like you are dividing by zero at the first time step, so make sure the initial condition of the signal that is being divided is set to a finite value. [I am sure someone more experienced than me can give you more insight.] There is information on workarounds for 'divide by zero' errors here and on detecting them here.

yasir
on 31 May 2012

monaliza most
on 17 Jan 2013

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn moreOpportunities for recent engineering grads.

Apply Today
## 0 Comments