From 5cb2c5701889f3f246895563ba19a5885909d6e3 Mon Sep 17 00:00:00 2001 From: "dmy@lab" Date: Sat, 21 Mar 2015 22:37:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=86=E5=A4=87=E5=8A=A0=E6=9B=B4=E5=A4=9A?= =?UTF-8?q?=E7=9A=84=E9=87=8F=E6=B5=8B=E9=87=8F=EF=BC=8C=E4=BE=8B=E5=A6=82?= =?UTF-8?q?=E8=B4=9F=E8=8D=B7=E9=87=8F=E6=B5=8B=EF=BC=8C=E6=94=AF=E8=B7=AF?= =?UTF-8?q?=E7=94=B5=E6=B5=81=E9=87=8F=E6=B5=8B=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: dmy@lab --- run.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run.m b/run.m index 089c2ba..6031b1f 100644 --- a/run.m +++ b/run.m @@ -2,7 +2,7 @@ clear clc % yalmip('clear') addpath('.\Powerflow') -[~, ~, ~, ~,Volt,Vangle,Y,Yangle,r,c,newwordParameter,PG,QG,PD,QD,Balance]=pf('ieee301.dat', '0'); +[~, ~, ~, ~,Volt,Vangle,Y,Yangle,r,c,newwordParameter,PG,QG,PD,QD,Balance]=pf('ieee118.dat', '0'); %% 开始生成量测量 sigma=0.03;% 标准差 %% 电压 @@ -100,7 +100,7 @@ fprintf(' % 初始化一些值 SEVolt=sparse(ones(length(mVolt),1)); SEVolt(Balance)=rVolt(Balance); -SEVAngle=sparse(zeros(length(mVolt),1)); +SEVAngle=sparse(-0.02*ones(length(mVolt),1)); maxD=1000; Iteration=0; optimalCondition=100;