把PQQG作为常数加入潮流方程中。

添加了很多统计函数。
This commit is contained in:
facat
2013-01-23 21:27:33 +08:00
parent e96ebb226d
commit 4944e38cbd
17 changed files with 256 additions and 176 deletions

View File

@@ -0,0 +1,12 @@
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