这是一个不把功率因数作为不等式约束,还是在QD的不等式约束中期作用的版本。

Signed-off-by: unknown <dmy@dmy-PC.(none)>
This commit is contained in:
unknown
2012-11-16 22:10:18 +08:00
parent f895e8b96a
commit 0bc157a3ba
8 changed files with 41 additions and 26 deletions

View File

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