From 1c1e8f4b3cedbc87e2497c35e57dfde2a60152ab Mon Sep 17 00:00:00 2001 From: "dugg@lab-desk" Date: Sat, 7 Feb 2015 15:40:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AF=E4=BB=A5=E5=81=9A=E5=88=B0=E4=BB=8E19?= =?UTF-8?q?=E8=8A=82=E7=82=B9=E5=BC=80=E5=A7=8B=E6=B2=A1=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: dugg@lab-desk --- OPF.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OPF.m b/OPF.m index e7321e4..ece53b5 100644 --- a/OPF.m +++ b/OPF.m @@ -39,7 +39,7 @@ for badDataNode=1:1 % mVolt(badDataNode)=rVolt(badDataNode)*(1-sigma*6); %% 画Case A的图 % figure('Color',[1 1 1]); - [Busnum,Loadi,Volt,PD,QD,rVolt,UAngel,RealPD,RealQD,rUAngel,Vbi,PDbi,QDbi,plotGapA,isConverge]=subOPF([22],PD0,QD0,mVolt,sigma);%全部有 + [Busnum,Loadi,Volt,PD,QD,rVolt,UAngel,RealPD,RealQD,rUAngel,Vbi,PDbi,QDbi,plotGapA,isConverge]=subOPF([19:22],PD0,QD0,mVolt,sigma);%全部有 % badDataResult(I,badDataNode)=sum(Vbi); % badDataLocation(1:33,I)=Vbi; % badDataLocation(34,I)=sum(abs((rVolt-Volt)./rVolt./length(rVolt)))+sum(abs( (UAngel(2:33)-rUAngel(2:33))./rUAngel(2:33)./length(rUAngel(2:33))));