필터 지우기
필터 지우기

Matrix is singular to working precision

조회 수: 2 (최근 30일)
Ahmad Karnama
Ahmad Karnama 2012년 3월 4일
I was using Matlab 2010 and my code was working fine! I changed my windows and start using Matlab 2011b and I am getting this warning for the same code:
Matrix is singular to working precision.
I have absolutely no idea what could be the problem. In fact, I am running a power flow in Matlab and it used to converge with the same code before but now the load flow can not converge either.
Would be glad if somebody can give a hint :)

채택된 답변

Jan
Jan 2012년 3월 4일
Without seeing the command, which causes the problem, it is impossible to guess the reason of the problem.
Are you really sure that you are running the same code with the same data?

추가 답변 (1개)

Ahmad Karnama
Ahmad Karnama 2012년 3월 5일
Thanks Jan for your answer. This is the part of the code which generates the warning:
%%evaluate Jacobian
[dSbus_dVm, dSbus_dVa] = dSbus_dV(Ybus, V);
j11 = real(dSbus_dVa([pv; pq], [pv; pq]));
j12 = real(dSbus_dVm([pv; pq], pq));
j21 = imag(dSbus_dVa(pq, [pv; pq]));
j22 = imag(dSbus_dVm(pq, pq));
J = [ j11 j12;
j21 j22; ];
%%compute update step
dx = -(J \ F);
and I think it causes the load flow not to converge! I thank you in advance for your help :)
  댓글 수: 1
Jan
Jan 2012년 3월 5일
I suggest to check, if F is near to singular on both Matlab versions.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by