2013-04-14 21:58:12 +08:00
|
|
|
function [ this ] = init(this,Busnum, mVolt,sigma,newwordParameter,zerosInjectionIndex,cmpY,onlyPG,onlyQG,mPG,mQG,Balance,mBranchI,mBranchP,mBranchQ,Y,Yangle,r,c )
|
2013-04-14 19:40:35 +08:00
|
|
|
%INIT Summary of this function goes here
|
|
|
|
|
% Detailed explanation goes here
|
|
|
|
|
this.mVolt=mVolt;
|
|
|
|
|
this.sigma=sigma;
|
|
|
|
|
this.Busnum=Busnum;
|
|
|
|
|
this.lineI=newwordParameter.line.lineI;
|
|
|
|
|
this.lineJ=newwordParameter.line.lineJ;
|
|
|
|
|
this.lineR=newwordParameter.line.lineR;
|
|
|
|
|
this.lineX=newwordParameter.line.lineX;
|
|
|
|
|
this.lineB2=newwordParameter.line;
|
|
|
|
|
this.zerosInjectionIndex=zerosInjectionIndex;
|
|
|
|
|
this.cmpY=cmpY;
|
|
|
|
|
this.onlyPG=onlyPG;
|
|
|
|
|
this.onlyQG=onlyQG;
|
2013-04-14 21:58:12 +08:00
|
|
|
this.mPG=mPG;
|
|
|
|
|
this.mQG=mQG;
|
2013-04-14 19:40:35 +08:00
|
|
|
this.Balance=Balance;
|
2013-04-14 20:33:17 +08:00
|
|
|
this.mBranchI=mBranchI;
|
|
|
|
|
this.mBranchP=mBranchP;
|
|
|
|
|
this.mBranchQ=mBranchQ;
|
2013-04-14 21:58:12 +08:00
|
|
|
this.Y=Y;
|
|
|
|
|
this.Yangle=Yangle;
|
|
|
|
|
this.r=r;
|
|
|
|
|
this.c=c;
|
2013-04-14 19:40:35 +08:00
|
|
|
end
|
|
|
|
|
|