distributionnetwork-power2c.../FormG.m

7 lines
93 B
Mathematica
Raw Normal View History

function Mat_G=FormG(Volt,PD,QD)
Mat_G=[
sparse(PD);
sparse(QD);
Volt;
];
end