约束QD 。

This commit is contained in:
unknown
2012-11-16 22:47:06 +08:00
parent 941ffc39f6
commit 28cb11581a
5 changed files with 11 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
function deltdeltF=func_deltdeltF(PVi,wPG,wQG,wPD,ContrlCount)
function deltdeltF=func_deltdeltF(PVi,wPG,wQG,wPD,wQD,ContrlCount)
%ContrlCount=size(PVi,1)+size(PGi,1)+size(wD,1)+Busnum*2; %P,Q,Volt theta
C=[wPG' wQG' wPD'];
C=[wPG' wQG' wPD' wQD'];
sizeC=size(C,2);
diagC=sparse(1:sizeC,1:sizeC,C,sizeC,sizeC);
deltdeltF=[