2014-05-21 15:35:43 +08:00
|
|
|
function Mat_G=FormG(Volt,PD,QD,Loadi,bigM,mVolt,rVolt,sigma,Vbi,PDbi)
|
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));
|
2014-05-21 15:35:43 +08:00
|
|
|
sparse(PD(Loadi))-0.001;
|
2012-11-04 12:42:38 +08:00
|
|
|
sparse(QD(Loadi));
|
2014-05-21 15:35:43 +08:00
|
|
|
sparse(QD(Loadi))-0.001;
|
|
|
|
|
Volt'-mVolt'-bigM*Vbi-0.03;
|
|
|
|
|
Volt'-mVolt'+bigM*Vbi+0.03;
|
2014-05-13 16:48:46 +08:00
|
|
|
Vbi;
|
2014-05-21 15:46:16 +08:00
|
|
|
PDbi;
|
2012-05-22 11:33:21 +08:00
|
|
|
];
|
|
|
|
|
end
|