2014-05-13 16:48:46 +08:00
|
|
|
function Mat_G=FormG(Volt,PVi,PGi,PG,QG,PD,QD,Loadi,Vbi)
|
2012-05-25 17:16:59 +08:00
|
|
|
|
2012-05-22 11:33:21 +08:00
|
|
|
Mat_G=[
|
2012-05-25 15:38:31 +08:00
|
|
|
sparse(PD(Loadi));
|
2012-11-04 12:42:38 +08:00
|
|
|
sparse(QD(Loadi));
|
2012-05-22 11:33:21 +08:00
|
|
|
Volt';
|
2014-05-13 16:48:46 +08:00
|
|
|
Volt';
|
|
|
|
|
Vbi;
|
2012-05-22 11:33:21 +08:00
|
|
|
];
|
|
|
|
|
end
|