Files
pes2014-wronglowervoltagebound/@ForThesis/PercentOfPass.m
facat 4944e38cbd 把PQQG作为常数加入潮流方程中。
添加了很多统计函数。
2013-01-23 21:27:33 +08:00

13 lines
253 B
Matlab

function [ output_args ] = PercentOfPass( this, PG0,QG0,PD0,QD0 )
%% 估计值合格率
PD=this.PDArray(:,end);%用最后一列
QD=this.QDArray(:,end);%用最后一列
t1=PD-PD0;
t2=QD-QD0;
t3=abs(t1)/3*0.05;
t4=abs(t2)/3*0.05;
output_args=sum(t3<=1)+sum(t4<=1);
end