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