public interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad> extends Bus, IAclfBus, IAclfBusFunc, IAclfBusAdaptation, IAclfBusAdjustment
The following features are supported:
Gen CodeLoad CodeVoltage MagVoltage AngDesired Volt MagDesired Volt AngGen PGen QCapacitor BLoad PLoad QShunt YExp Load PExp Load QQGen LimitPGen LimitVLimitLoad Dist FactorGen Part FactorDclf Inject PContribute Gen ListContribute Load ListFunction LoadBus ControlSwitched Shunt DeviceAclfPackage.getBaseAclfBus()| Modifier and Type | Method and Description |
|---|---|
double |
b11ii()
Calculate bus B11ii, in pu.
|
double |
b1ii()
Calculate bus B1ii, in pu
1) shunt susceptance not represented 2) off-nominal taps not represented 3) 'I', 'Z' load not represented 4) grounded branch not represented 5) shunt Y not represented |
org.apache.commons.math3.complex.Complex |
currentIntoNet()
Calculate bus current into the network as the positive direction, in pu.
|
AclfControlBus |
getBusControl()
Returns the value of the 'Bus Control' containment reference.
|
double |
getCapacitorB()
Returns the value of the 'Capacitor B' attribute.
|
AclfGen |
getContributeGen(java.lang.String id)
Get child AclfGen generator object by ID
|
org.eclipse.emf.common.util.EList<TGen> |
getContributeGenList()
Returns the value of the 'Contribute Gen List' containment reference list.
|
AclfLoad |
getContributeLoad(java.lang.String id)
Get child AclfLoad load object by ID
|
org.eclipse.emf.common.util.EList<TLoad> |
getContributeLoadList()
Returns the value of the 'Contribute Load List' containment reference list.
|
double |
getDclfInjectP()
Returns the value of the 'Dclf Inject P' attribute.
|
double |
getDesiredVoltAng()
Returns the value of the 'Desired Volt Ang' attribute.
|
double |
getDesiredVoltMag()
Returns the value of the 'Desired Volt Mag' attribute.
|
double |
getExpLoadP()
Returns the value of the 'Exp Load P' attribute.
|
double |
getExpLoadQ()
Returns the value of the 'Exp Load Q' attribute.
|
FunctionLoad |
getFunctionLoad()
Returns the value of the 'Function Load' containment reference.
|
AclfGenCode |
getGenCode()
Returns the value of the 'Gen Code' attribute.
|
double |
getGenP()
Returns the value of the 'Gen P' attribute.
|
double |
getGenPartFactor()
Returns the value of the 'Gen Part Factor' attribute.
|
org.apache.commons.math3.complex.Complex |
getGenPQ()
Get bus gen in PU
|
double |
getGenQ()
Returns the value of the 'Gen Q' attribute.
|
Matrix_xy |
getJii(JacobianMatrixType type)
For Jaccobin matrix diagnal element.
|
AclfLoadCode |
getLoadCode()
Returns the value of the 'Load Code' attribute.
|
double |
getLoadDistFactor()
Returns the value of the 'Load Dist Factor' attribute.
|
double |
getLoadP()
Returns the value of the 'Load P' attribute.
|
org.apache.commons.math3.complex.Complex |
getLoadPQ() |
double |
getLoadQ()
Returns the value of the 'Load Q' attribute.
|
double |
getLossCumTDPath() |
double |
getLossPFactor(NetPathWalkDirectionEnum direction,
double totalLossPU)
Loss participation factor of this bus.
|
org.apache.commons.math3.complex.Complex |
getNetGenResults()
Calculate generator power for the unit PU, include Load in the calculation
|
org.apache.commons.math3.complex.Complex |
getNetLoadResults()
Get bus loadflow result - bus Load value
|
org.apache.commons.math3.complex.Complex |
getNetPQResults()
Calculate bus P+jQ with into the network as the positive direction.
|
LimitType |
getPGenLimit()
Returns the value of the 'PGen Limit' attribute.
|
LimitType |
getQGenLimit()
Returns the value of the 'QGen Limit' attribute.
|
org.apache.commons.math3.complex.Complex |
getShuntY()
Returns the value of the 'Shunt Y' attribute.
|
SwitchedShunt |
getSwitchedShuntDevice()
Returns the value of the 'Switched Shunt Device' containment reference.
|
LimitType |
getVLimit()
Returns the value of the 'VLimit' attribute.
|
org.apache.commons.math3.complex.Complex |
getVoltage()
Get bus voltage in pu in format Vre+jVim.
|
org.apache.commons.math3.complex.Complex |
getVoltage(Unit.UnitType unit)
Get bus voltage in the specified unit in format Vre+jVim.
|
double |
getVoltageAng()
Returns the value of the 'Voltage Ang' attribute.
|
double |
getVoltageAng(Unit.UnitType unit)
Get bus voltage angle in the unit specified
|
double |
getVoltageMag()
Returns the value of the 'Voltage Mag' attribute.
|
double |
getVoltageMag(Unit.UnitType unit)
Get bus voltage magnitude in the specified unit.
|
boolean |
isConstILoad()
Check if the bus is a constant current load bus
|
boolean |
isConstPLoad()
Check if the bus is a constant P Load bus
|
boolean |
isConstZLoad()
Check if the bus is a constant Z load bus
|
boolean |
isGen()
Check if the bus is a generator bus
|
org.apache.commons.math3.complex.Complex |
powerIntoNet()
Calculate bus power into the network as the positive direction, in pu.
|
void |
setBusControl(AclfControlBus value)
Sets the value of the '
Bus Control' containment reference. |
void |
setCapacitorB(double value)
Sets the value of the '
Capacitor B' attribute. |
void |
setDclfInjectP(double value)
Sets the value of the '
Dclf Inject P' attribute. |
void |
setDesiredVoltAng(double value)
Sets the value of the '
Desired Volt Ang' attribute. |
void |
setDesiredVoltMag(double value)
Sets the value of the '
Desired Volt Mag' attribute. |
void |
setExpLoadP(double value)
Sets the value of the '
Exp Load P' attribute. |
void |
setExpLoadQ(double value)
Sets the value of the '
Exp Load Q' attribute. |
void |
setFunctionLoad(FunctionLoad value)
Sets the value of the '
Function Load' containment reference. |
void |
setGenCode(AclfGenCode value)
Sets the value of the '
Gen Code' attribute. |
void |
setGenP(double value)
Sets the value of the '
Gen P' attribute. |
void |
setGenPartFactor(double value)
Sets the value of the '
Gen Part Factor' attribute. |
void |
setGenQ(double value)
Sets the value of the '
Gen Q' attribute. |
void |
setLoadCode(AclfLoadCode value)
Sets the value of the '
Load Code' attribute. |
void |
setLoadDistFactor(double value)
Sets the value of the '
Load Dist Factor' attribute. |
void |
setLoadP(double value)
Sets the value of the '
Load P' attribute. |
void |
setLoadPQ(org.apache.commons.math3.complex.Complex load)
Set bus load in pu.
|
void |
setLoadQ(double value)
Sets the value of the '
Load Q' attribute. |
void |
setLossCumTDPath(double loss)
set cumulative bus loss for loss allocation calculation
|
void |
setNetLoadResults(org.apache.commons.math3.complex.Complex newNetLoadPQ)
update or reset bus loadflow result - bus Load value
|
void |
setPGenLimit(LimitType value)
Sets the value of the '
PGen Limit' attribute. |
void |
setQGenLimit(LimitType value)
Sets the value of the '
QGen Limit' attribute. |
void |
setShuntY(org.apache.commons.math3.complex.Complex value)
Sets the value of the '
Shunt Y' attribute. |
void |
setSwitchedShuntDevice(SwitchedShunt value)
Sets the value of the '
Switched Shunt Device' containment reference. |
void |
setVLimit(LimitType value)
Sets the value of the '
VLimit' attribute. |
void |
setVoltage(org.apache.commons.math3.complex.Complex volt)
Set bus voltage in pu in Vre+jVim format.
|
void |
setVoltage(org.apache.commons.math3.complex.Complex volt,
Unit.UnitType unit)
Set bus voltage in the specified unit in Vre+jVim format.
|
void |
setVoltage(double mag,
double ang)
Set bus voltage in pu in mag/ang format.
|
void |
setVoltageAng(double value)
Sets the value of the '
Voltage Ang' attribute. |
void |
setVoltageMag(double value)
Sets the value of the '
Voltage Mag' attribute. |
void |
updateVoltage(Vector_xy dv)
Update voltage V = V + dV.
|
void |
updateVoltageAng(double dAng)
Update voltage angle V = V + dV.
|
void |
updateVoltageMag(double dMag)
Update voltage magnitude V = V + dV.
|
org.apache.commons.math3.complex.Complex |
yii()
Calculate bus yii in pu
|
getBaseVoltage, getBranchList, getBusSecList, getFromBranchList, getNetwork, getParent, getSecNo, getSubAreaFlag, getToBranchList, nActiveBranchConnected, nBranchConnected, nBranchConnected, nNonGroundBranchConnected, setAttributes, setAttributes, setBaseVoltage, setBaseVoltage, setNetwork, setParent, setSecNo, setSubAreaFlag, toStringgetExtensionObject, setExtensionObjectgetArea, getIntFlag, getOwner, getSortNumber, getWeight, getZone, isBooleanFlag, setArea, setBooleanFlag, setIntFlag, setOwner, setSortNumber, setWeight, setZonecheckData, checkData, copy, copyRef, getDesc, getId, getName, getNumber, isActive, isStatus, setDesc, setId, setName, setNumber, setStatuseAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDeliverreadData, writeDatagetAdapter, getAdapteraddSection, addSection, getConnectedPhysicalBranch, getConnectedPhysicalBranchList, getSection, isChildSection, isIslandBus, isParent, removeSectiongetExtAclfBus, isCapacitor, isGenPQ, isGenPV, isLoad, isNonContribute, isRefBus, isSwing, mismatchallocateContributeGenQ, code2String, connect2ZeroZBranch, findZeroZPathBuses, getDclfBusP, initContributeGen, initContributeLoad, noConnectedBranch, voltageViolationtoCapacitorBus, toGenBus, toLoadBus, toPQBus, toPVBus, toSwingBusgetPQBusLimit, getPVBusLimit, getRemoteQBus, getStaticVarCompensator, getSwitchedShunt, isFunctionLoad, isPQBusLimit, isPVBusLimit, isRemoteQBus, isStaticVarCompensator, isSwitchedShuntAclfGenCode getGenCode()
"NonGen".
The literals are from the enumeration AclfGenCode.
If the meaning of the 'Gen Code' attribute isn't clear, there really should be more of a description here...
Bus generation codeAclfGenCode,
setGenCode(AclfGenCode),
AclfPackage.getBaseAclfBus_GenCode()void setGenCode(AclfGenCode value)
Gen Code' attribute.
value - the new value of the 'Gen Code' attribute.AclfGenCode,
getGenCode()AclfLoadCode getLoadCode()
"NonLoad".
The literals are from the enumeration AclfLoadCode.
If the meaning of the 'Load Code' attribute isn't clear, there really should be more of a description here...
Bus load codeAclfLoadCode,
setLoadCode(AclfLoadCode),
AclfPackage.getBaseAclfBus_LoadCode()void setLoadCode(AclfLoadCode value)
Load Code' attribute.
value - the new value of the 'Load Code' attribute.AclfLoadCode,
getLoadCode()double getVoltageMag()
"1.0".
If the meaning of the 'Voltage Mag' attribute isn't clear, there really should be more of a description here...
bus voltage magnitudegetVoltageMag in interface IAclfBussetVoltageMag(double),
AclfPackage.getBaseAclfBus_VoltageMag()void setVoltageMag(double value)
Voltage Mag' attribute.
value - the new value of the 'Voltage Mag' attribute.getVoltageMag()double getVoltageAng()
"0.0".
If the meaning of the 'Voltage Ang' attribute isn't clear, there really should be more of a description here...
bus voltage anglegetVoltageAng in interface IAclfBussetVoltageAng(double),
AclfPackage.getBaseAclfBus_VoltageAng()void setVoltageAng(double value)
Voltage Ang' attribute.
value - the new value of the 'Voltage Ang' attribute.getVoltageAng()double getDesiredVoltMag()
"1.0".
desired generator voltage magnitude in pu
setDesiredVoltMag(double),
AclfPackage.getBaseAclfBus_DesiredVoltMag()void setDesiredVoltMag(double value)
Desired Volt Mag' attribute.
value - the new value of the 'Desired Volt Mag' attribute.getDesiredVoltMag()double getDesiredVoltAng()
"0.0".
desired generator voltage angle in rad
setDesiredVoltAng(double),
AclfPackage.getBaseAclfBus_DesiredVoltAng()void setDesiredVoltAng(double value)
Desired Volt Ang' attribute.
value - the new value of the 'Desired Volt Ang' attribute.getDesiredVoltAng()double getGenP()
"0.0".
For storeing bus gen active power
getGenP in interface IAclfBussetGenP(double),
AclfPackage.getBaseAclfBus_GenP()void setGenP(double value)
Gen P' attribute.
value - the new value of the 'Gen P' attribute.getGenP()double getGenQ()
"0.0".
If the meaning of the 'Gen Q' attribute isn't clear, there really should be more of a description here...
For storeing bus gen reactive power, for Capacitor bus, storing var(pu)getGenQ in interface IAclfBussetGenQ(double),
AclfPackage.getBaseAclfBus_GenQ()void setGenQ(double value)
Gen Q' attribute.
value - the new value of the 'Gen Q' attribute.getGenQ()double getCapacitorB()
"0.0".
for storing bus capacitor Q as B
setCapacitorB(double),
AclfPackage.getBaseAclfBus_CapacitorB()void setCapacitorB(double value)
Capacitor B' attribute.
value - the new value of the 'Capacitor B' attribute.getCapacitorB()double getLoadP()
"0.0".
for storing bus load p
getLoadP in interface IAclfBussetLoadP(double),
AclfPackage.getBaseAclfBus_LoadP()void setLoadP(double value)
Load P' attribute.
value - the new value of the 'Load P' attribute.getLoadP()double getLoadQ()
"0.0".
for storing bus load q
getLoadQ in interface IAclfBussetLoadQ(double),
AclfPackage.getBaseAclfBus_LoadQ()void setLoadQ(double value)
Load Q' attribute.
value - the new value of the 'Load Q' attribute.getLoadQ()org.apache.commons.math3.complex.Complex getGenPQ()
AclfGen getContributeGen(java.lang.String id)
org.apache.commons.math3.complex.Complex getNetGenResults()
org.apache.commons.math3.complex.Complex getNetPQResults()
org.apache.commons.math3.complex.Complex getLoadPQ()
If the meaning of the 'Load' attribute isn't clear, there really should be more of a description here...
Get bus load in PUvoid setLoadPQ(org.apache.commons.math3.complex.Complex load)
org.apache.commons.math3.complex.Complex getNetLoadResults()
org.apache.commons.math3.complex.Complex getShuntY()
If the meaning of the 'Shunt Y' attribute isn't clear, there really should be more of a description here...
Bus shunt Y in pu.getShuntY in interface IAclfBussetShuntY(Complex),
AclfPackage.getBaseAclfBus_ShuntY()void setShuntY(org.apache.commons.math3.complex.Complex value)
Shunt Y' attribute.
value - the new value of the 'Shunt Y' attribute.getShuntY()FunctionLoad getFunctionLoad()
Parent Bus'.
If the meaning of the 'Function Load' reference isn't clear, there really should be more of a description here...
reference to a functional load obejct.setFunctionLoad(FunctionLoad),
AclfPackage.getBaseAclfBus_FunctionLoad(),
FunctionLoad.getParentBus()void setFunctionLoad(FunctionLoad value)
Function Load' containment reference.
value - the new value of the 'Function Load' containment reference.getFunctionLoad()AclfControlBus getBusControl()
setBusControl(AclfControlBus),
AclfPackage.getBaseAclfBus_BusControl()void setBusControl(AclfControlBus value)
Bus Control' containment reference.
value - the new value of the 'Bus Control' containment reference.getBusControl()SwitchedShunt getSwitchedShuntDevice()
setSwitchedShuntDevice(SwitchedShunt),
AclfPackage.getBaseAclfBus_SwitchedShuntDevice()void setSwitchedShuntDevice(SwitchedShunt value)
Switched Shunt Device' containment reference.
value - the new value of the 'Switched Shunt Device' containment reference.getSwitchedShuntDevice()double getExpLoadP()
If the meaning of the 'Exp Load P' attribute isn't clear, there really should be more of a description here...
for Load exponential modelsetExpLoadP(double),
AclfPackage.getBaseAclfBus_ExpLoadP()void setExpLoadP(double value)
Exp Load P' attribute.
value - the new value of the 'Exp Load P' attribute.getExpLoadP()double getExpLoadQ()
If the meaning of the 'Exp Load Q' attribute isn't clear, there really should be more of a description here...
for Load exponential modelsetExpLoadQ(double),
AclfPackage.getBaseAclfBus_ExpLoadQ()void setExpLoadQ(double value)
Exp Load Q' attribute.
value - the new value of the 'Exp Load Q' attribute.getExpLoadQ()double getLoadDistFactor()
"0.0".
bus load distribution factor
setLoadDistFactor(double),
AclfPackage.getBaseAclfBus_LoadDistFactor()void setLoadDistFactor(double value)
Load Dist Factor' attribute.
value - the new value of the 'Load Dist Factor' attribute.getLoadDistFactor()double getGenPartFactor()
"0.0".
bus generation distribution factor
setGenPartFactor(double),
AclfPackage.getBaseAclfBus_GenPartFactor()void setGenPartFactor(double value)
Gen Part Factor' attribute.
value - the new value of the 'Gen Part Factor' attribute.getGenPartFactor()LimitType getQGenLimit()
If the meaning of the 'QLimit' attribute isn't clear, there really should be more of a description here...
bus reactive limitsetQGenLimit(LimitType),
AclfPackage.getBaseAclfBus_QGenLimit()void setQGenLimit(LimitType value)
QGen Limit' attribute.
value - the new value of the 'QGen Limit' attribute.getQGenLimit()LimitType getPGenLimit()
If the meaning of the 'PLimit' attribute isn't clear, there really should be more of a description here...
bus active power limitsetPGenLimit(LimitType),
AclfPackage.getBaseAclfBus_PGenLimit()void setPGenLimit(LimitType value)
PGen Limit' attribute.
value - the new value of the 'PGen Limit' attribute.getPGenLimit()LimitType getVLimit()
"".
If the meaning of the 'VLimit' attribute isn't clear, there really should be more of a description here...
bus voltage limitsetVLimit(LimitType),
AclfPackage.getBaseAclfBus_VLimit()void setVLimit(LimitType value)
VLimit' attribute.
value - the new value of the 'VLimit' attribute.getVLimit()double getDclfInjectP()
"1.0".
for cache dclf bus injection power
setDclfInjectP(double),
AclfPackage.getBaseAclfBus_DclfInjectP()void setDclfInjectP(double value)
Dclf Inject P' attribute.
value - the new value of the 'Dclf Inject P' attribute.getDclfInjectP()org.eclipse.emf.common.util.EList<TGen> getContributeGenList()
Parent Bus'.
bus multi-generator list.
AclfPackage.getBaseAclfBus_ContributeGenList(),
AclfGen.getParentBus()org.eclipse.emf.common.util.EList<TLoad> getContributeLoadList()
Parent Bus'.
multi-load list.
AclfPackage.getBaseAclfBus_ContributeLoadList(),
AclfLoad.getParentBus()double getLossCumTDPath()
If the meaning of the 'Loss Cum TD Path' attribute isn't clear, there really should be more of a description here...
get cumulative bus loss for loss allocation calculationvoid setNetLoadResults(org.apache.commons.math3.complex.Complex newNetLoadPQ)
void setLossCumTDPath(double loss)
loss - loss value
double b11ii()
double b1ii()
org.apache.commons.math3.complex.Complex yii()
org.apache.commons.math3.complex.Complex currentIntoNet()
org.apache.commons.math3.complex.Complex powerIntoNet()
double getLossPFactor(NetPathWalkDirectionEnum direction, double totalLossPU)
direction - network path walk directiontotalLossPU - total loss in pu
org.apache.commons.math3.complex.Complex getVoltage()
org.apache.commons.math3.complex.Complex getVoltage(Unit.UnitType unit)
double getVoltageMag(Unit.UnitType unit)
unit - voltage mag unit
double getVoltageAng(Unit.UnitType unit)
unit - voltage angle unit
AclfLoad getContributeLoad(java.lang.String id)
boolean isConstPLoad()
boolean isConstILoad()
boolean isConstZLoad()
void setVoltage(org.apache.commons.math3.complex.Complex volt)
void setVoltage(org.apache.commons.math3.complex.Complex volt,
Unit.UnitType unit)
volt - complex voltage valueunit - volage unit
void setVoltage(double mag,
double ang)
mag - voltage magnitudeang - votlage angle
void updateVoltage(Vector_xy dv)
dv - voltage increment
void updateVoltageAng(double dAng)
dAng - voltage angle increment
void updateVoltageMag(double dMag)
dMag - voltage magnitude increment
boolean isGen()
Matrix_xy getJii(JacobianMatrixType type)
type - J-matrix type