Warning: Matrix is singular to working precision.
Show older comments
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 Comment
John D'Errico
on 11 Apr 2020
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.
Answers (1)
Sabin
on 29 Jan 2023
1 vote
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.
Categories
Find more on Semiconductors and Converters in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!