parent
e7144d70ae
commit
a09d642080
|
|
@ -7,7 +7,7 @@ function createfigure(xvector1, yvector1, xvector2, yvector2, xvector3, yvector3
|
|||
% XVECTOR3: bar xvector
|
||||
% YVECTOR3: bar yvector
|
||||
|
||||
% Auto-generated by MATLAB on 11-Feb-2015 17:24:27
|
||||
% Auto-generated by MATLAB on 12-Feb-2015 13:48:54
|
||||
|
||||
% Create figure
|
||||
figure1 = figure('Name','相角直方图','Color',[1 1 1]);
|
||||
|
|
@ -27,7 +27,7 @@ hold(axes1,'all');
|
|||
bar(xvector1,yvector1,'FaceColor',[0 0 0],'Parent',axes1);
|
||||
|
||||
% Create xlabel
|
||||
xlabel('昫船/說僅','FontSize',13);
|
||||
xlabel('Æ«²î/rad','FontSize',13);
|
||||
|
||||
% Create ylabel
|
||||
ylabel('数量','FontSize',13);
|
||||
|
|
@ -50,7 +50,7 @@ hold(axes2,'all');
|
|||
bar(xvector2,yvector2,'FaceColor',[0 0 0],'Parent',axes2);
|
||||
|
||||
% Create xlabel
|
||||
xlabel('昫船/說僅','FontSize',13);
|
||||
xlabel('Æ«²î/rad','FontSize',13);
|
||||
|
||||
% Create title
|
||||
title('情形B','FontSize',13);
|
||||
|
|
@ -73,7 +73,7 @@ hold(axes3,'all');
|
|||
bar(xvector3,yvector3,'FaceColor',[0 0 0],'Parent',axes3);
|
||||
|
||||
% Create xlabel
|
||||
xlabel('昫船/說僅','FontSize',13);
|
||||
xlabel('Æ«²î/rad','FontSize',13);
|
||||
|
||||
% Create ylabel
|
||||
ylabel('数量','FontSize',13);
|
||||
|
|
|
|||
6
OPF.m
6
OPF.m
|
|
@ -36,7 +36,7 @@ for badDataNode=1:1
|
|||
mVolt=load('mVolt');
|
||||
mVolt=mVolt.mVolt;
|
||||
|
||||
% mVolt(badDataNode)=rVolt(badDataNode)*(1-sigma*6);
|
||||
% mVolt(3)=rVolt(3)*(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([],PD0,QD0,mVolt,sigma);%ČŤ˛żÓĐ
|
||||
|
|
@ -399,8 +399,8 @@ bar(calTime,'stacked');
|
|||
% DeviationFigure(1:33,[CaseAREV;CaseBREV;CaseCREV],[CaseAREA;CaseBREA;CaseCREA],[CaseAREP,CaseBREP,CaseCREP],[CaseAREQ,CaseBREQ,CaseCREQ]);%,[CaseAREA;CaseBREA;CaseCREA],[CaseAREV;CaseBREV;CaseCREV],[CaseAREV;CaseBREV;CaseCREV]);
|
||||
% VoltBar(voltBarCaseAX,voltBarCaseAY,voltBarCaseBX,voltBarCaseBY,voltBarCaseCX,voltBarCaseCY);
|
||||
% AngelBar(angelBarCaseAX,angelBarCaseBY,angelBarCaseCX,angelBarCaseAY,angelBarCaseBX,angelBarCaseCY);
|
||||
% AngelBar(PDBarCaseAX,PDBarCaseAY,PDBarCaseBX,PDBarCaseBY,PDBarCaseCX,PDBarCaseCY);
|
||||
% PDBar(PDBarCaseAX,PDBarCaseAY,PDBarCaseBX,PDBarCaseBY,PDBarCaseCX,PDBarCaseCY);
|
||||
% QDBar(QDBarCaseAX,QDBarCaseAY,QDBarCaseBX,QDBarCaseBY,QDBarCaseCX,QDBarCaseCY);
|
||||
% MaxErrorFigure()
|
||||
% MaxBoundErrorFigure();
|
||||
DrawLoadProfile();
|
||||
% DrawLoadProfile();
|
||||
Loading…
Reference in New Issue