pes2014-wronglowervoltagebound/FormYY.m

11 lines
162 B
Matlab

function YY=FormYY(Init_L,Lul,Lz,Ly,Init_U,Luu,Lw,LxComa)
t=[
-inv(diag(Init_L))*Lul;
Lz;
-inv(diag(Init_U))*Luu;
-Lw;
LxComa;
-Ly;
];
YY=t;
end