把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,13 @@
function [ output_args ] = SqareDeviation( this, PG0,QG0,PD0,QD0)
%% 0
PD=this.PDArray(:,end);%
QD=this.QDArray(:,end);%
t1=PD-PD0;
t2=t1./0.05;
t3=QD-QD0;
t4=t3./0.05;
output_args=sqrt(sum(t2.^2)+sum(t4.^2));
end