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
John D'Errico
2020년 4월 11일
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개)
Sabin
2023년 1월 29일
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에서 Semiconductors and Converters에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!