修正原来多换了一行的错误。

Signed-off-by: facat <facat@ipso.laptop>
This commit is contained in:
facat 2014-04-22 09:29:28 +08:00
parent a1a812faa5
commit ecaed830b5
1 changed files with 1 additions and 1 deletions

2
run.m
View File

@ -59,7 +59,7 @@ while(k<=kmax && maxD> EPS)
jaco=Jacobi(Balance,busNum,QGi,Vmf1,YdotSinVolt,YdotCosVolt,diag_Volt_YdotSin,diag_Volt_YdotCos);%
[dV, dVangle]=Solv(busNum,jaco,dP,dQ);%
[Vmf1, Vaf1]=Modify(Vmf1,Vaf1,dV,dVangle,1);
fprintf(' %d %f\n\n',k,full(maxD));
fprintf(' %d %f\n',k,full(maxD));
%
VoltpABC=Tf2p*conj([ Vf0'; (Vmf1.*exp(1j*Vaf1))'; Vf2']);
VoltpA=conj(VoltpABC(1,:)');