pes2014-wronglowervoltagebound/@ForThesis/AddPDQDPGQG.m

15 lines
384 B
Matlab

function this=AddPDQDPGQG( this, PD,QD,PG,QG)
%ADDPD Summary of this function goes here
% Detailed explanation goes here
if this.currentPos>this.sampleNum
error('出入的数太多了');
return;
end
this.currentPos=this.currentPos+1;
this.PDArray(:,this.currentPos)=PD;
this.QDArray(:,this.currentPos)=QD;
this.PGArray(this.currentPos)=PG;
% this.QGArray(this.currentPos)=QG;
end