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

1 view (last 30 days)
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.
  2 Comments
yasir
yasir on 1 Jun 2012
thank u siva malla.. i think i want to try using your PV model, in case my current PV model doesnt work.

Sign in to comment.

More Answers (1)

K E
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.
  3 Comments
monaliza most
monaliza most on 17 Jan 2013
i ve the same error message in PV model but it is in the product block and i ve reduced the step size and change the error tolerance &change the solver but still have the message any suggestions ??

Sign in to comment.

Categories

Find more on Modeling in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!