distributionnetwork-power2c.../FormLz.m

5 lines
147 B
Matlab

function Lz=FormLz(Loadi,Mat_G,Init_L,I1measurement)
lower=abs(I1measurement).^2.*0.9.*sparse(ones(length(Loadi)*1,1));
Lz=Mat_G-Init_L-lower;
end