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

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..

 采纳的回答

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 个评论

thank u siva malla.. i think i want to try using your PV model, in case my current PV model doesnt work.
Siva Malla.. I couldnt get your uploaded file..can you please mail it to anup.rana123@gmail.com

请先登录,再进行评论。

更多回答(1 个)

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 个评论

thnk u K E..i try to follow your instructions but the problem is still the same. the error message tells me to reduced the step size which the fixed step size or by tightening the error tolerance. i try to reduce the fixed step size as little as "e-12" and try to change the solver method but it didn't work at all. is there any solution to this because i didn't know what else to do
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 ??

请先登录,再进行评论。

类别

在 帮助中心 和 File Exchange 中查找有关 Specialized Power Systems 的更多信息

产品

标签

Community Treasure Hunt

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

Start Hunting!

Translated by