how to make my simulation of photovoltaic with constant power load work..

2 views (last 30 days)
yasir on 24 May 2012
Commented: Sofia Carvalho on 12 Apr 2017
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..

Accepted Answer

Dr. Siva Malla
Dr. Siva Malla on 31 May 2012
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.

Sign in to comment.

More Answers (1)

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.

Sign in to comment.



Community Treasure Hunt

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

Start Hunting!