diff --git a/run.m b/run.m index da27642..8221dd7 100644 --- a/run.m +++ b/run.m @@ -456,8 +456,8 @@ JMeasurement=sum(sum((( abs(mVoltABCV)-abs(SEVoltpABC) )./ abs(mVoltABCV)./sigma Busnum=busNum; mCount=Busnum*3+length(Loadi)*3*2; %估计量质量 -AME_Volt=sum(sum(abs( abs(mVoltABCV)-abs(SEVoltpABC)))); -AME_VAngle=sum(sum(abs( angle(mVoltABCV)-angle(SEVoltpABC)))); +AME_Volt=sum(sum(abs( abs(rVoltABCV)-abs(SEVoltpABC)))); +AME_VAngle=sum(sum(abs( angle(rVoltABCV)-angle(SEVoltpABC)))); AME_PD=sum(sum(abs(real(SEThreeLoad-rThreeLoad(:,Loadi))))); AME_QD=sum(sum(abs(imag(SEThreeLoad-rThreeLoad(:,Loadi))))); %返回收敛信息