25 lines
769 B
Plaintext
25 lines
769 B
Plaintext
|
|
function [ this ] = init(this,Busnum, mVolt,sigma,newwordParameter,zerosInjectionIndex,cmpY,onlyPG,onlyQG,PG,QG,Balance,mBranchI,mBranchP )
|
||
|
|
%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;
|
||
|
|
this.PG=PG;
|
||
|
|
this.QG=QG;
|
||
|
|
this.Balance=Balance;
|
||
|
|
this.mBranchI=mBranchI;
|
||
|
|
this.mBranchP=mBranchP;
|
||
|
|
this.mBranchQ=mBranchQ;
|
||
|
|
|
||
|
|
end
|
||
|
|
|