original.not modified.
This commit is contained in:
20
FormG.m
Normal file
20
FormG.m
Normal file
@@ -0,0 +1,20 @@
|
||||
function Mat_G=FormG(Volt,PVi,PGi,PG,QG)
|
||||
%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);
|
||||
%GQ(PVi);
|
||||
%[0 1.45]';
|
||||
Volt';
|
||||
];
|
||||
end
|
||||
Reference in New Issue
Block a user