distributionnetwork-power2c.../FormLw.m

5 lines
109 B
Matlab

function Lw=FormLw(Loadi,Mat_G,Init_U)
upper=0.1*sparse(ones(length(Loadi)*1,1));
Lw=Mat_G+Init_U-upper;
end