Warning: Matrix is singular to working precision.

Hello,
I'm working in my FYP which needs to make a study using the MATPOWER.
I was enter all Power Flow data (Generation data, Bus data and Branch data) correctly.
when I run this code
define_constants;
r=runpf(OETC_PF);
where OETC_PF is my Power Flow data.
and I get this message :
MATPOWER Version 7.0, 20-Jun-2019 -- AC Power Flow (Newton)
Warning: Matrix is singular to working precision.
> In mplinsolve (line 75)
In newtonpf (line 110)
In runpf (line 260)
In Untitled (line 2)
Warning: Matrix is singular to working precision.
> In mplinsolve (line 75)
In newtonpf (line 110)
In runpf (line 260)
In Untitled (line 2)
Warning: Matrix is singular to working precision.
> In mplinsolve (line 75)
In newtonpf (line 110)
In runpf (line 260)
In Untitled (line 2)
Warning: Matrix is singular to working precision.
> In mplinsolve (line 75)
In newtonpf (line 110)
In runpf (line 260)
In Untitled (line 2)
Warning: Matrix is singular to working precision.
> In mplinsolve (line 75)
In newtonpf (line 110)
In runpf (line 260)
In Untitled (line 2)
Warning: Matrix is singular to working precision.
> In mplinsolve (line 75)
In newtonpf (line 110)
In runpf (line 260)
In Untitled (line 2)
Warning: Matrix is singular to working precision.
> In mplinsolve (line 75)
In newtonpf (line 110)
In runpf (line 260)
In Untitled (line 2)
Warning: Matrix is singular to working precision.
> In mplinsolve (line 75)
In newtonpf (line 110)
In runpf (line 260)
In Untitled (line 2)
Warning: Matrix is singular to working precision.
> In mplinsolve (line 75)
In newtonpf (line 110)
In runpf (line 260)
In Untitled (line 2)
Warning: Matrix is singular to working precision.
> In mplinsolve (line 75)
In newtonpf (line 110)
In runpf (line 260)
In Untitled (line 2)
Newton's method power flow (power balance, polar) did not converge in 10 iterations.
How can I slove it?

1 个评论

But you have not shown us the function or script define_constants. There is no runpf function or script in MATLAB that I can find. Nor is there any function or script in MATLAB called MATPOWER. Nor is there any function called newtonpf.
So how can we possibly help you?
The crystal ball is very foggy. Usually, you should avoid creating singular matrices that are singular, at least for many computations that is true.
This likely is a problem in your objective function, which you seem to be solving using Newton's method. It might be a problem with your starting values. Who knows? We don't, because we see none of your code.

请先登录,再进行评论。

回答(1 个)

MATPOWER is not developed by MathWorks. It looks like the problem you try to solve is ill defined and end up in matrix being singular. I would double check the implemnetation to avoid this situation.

类别

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

产品

Community Treasure Hunt

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

Start Hunting!

Translated by