删掉多余的函数参数,统一了ContrlCount
Signed-off-by: facat <dmy@dmy-PC.(none)>
This commit is contained in:
14
FormG.m
14
FormG.m
@@ -1,21 +1,9 @@
|
||||
function Mat_G=FormG(Volt,PVi,PGi,PG,QG,PD,Loadi)
|
||||
%t1=PG(PVi);
|
||||
%GP=t1;%发电机P
|
||||
%GP=[4.5 4.5]';
|
||||
%%线路
|
||||
%发电机Q
|
||||
% t1=Volt'*Volt;
|
||||
% t2=real(GB).*sin(AngleIJMat)-imag(GB).*cos(AngleIJMat);
|
||||
% t3=t1.*t2;
|
||||
% t4=sum(t3,2);%发电机Q
|
||||
%GQ=t4;
|
||||
|
||||
Mat_G=[
|
||||
%GP;
|
||||
PG(PGi);
|
||||
QG(PVi);
|
||||
sparse(PD(Loadi));
|
||||
%GQ(PVi);
|
||||
%[0 1.45]';
|
||||
Volt';
|
||||
];
|
||||
end
|
||||
Reference in New Issue
Block a user