public interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad> extends Bus, IAclfBus, IAclfBusFunc, IAclfBusZeroZFunc, IAclfBusAdaptation, IAclfBusAdjustment
The following features are supported:
Gen Code
Load Code
Voltage Mag
Voltage Ang
Desired Volt Mag
Desired Volt Ang
Gen P
Gen Q
Load P
Load Q
Shunt Y
Exp Load P
Exp Load Q
QGen Limit
PGen Limit
VLimit
External Power Into Net
Contribute Gen List
Contribute Load List
Compensator List
Switched Shunt List
Function Load
Bus Control
Remote QControl Group
AclfPackage.getBaseAclfBus()
Modifier and Type | Method and Description |
---|---|
org.apache.commons.math3.complex.Complex |
acCurrentIntoNet()
Calculate AC part of the bus current into the network as the positive direction, in pu.
|
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 |
double |
calLossPFactor(NetPathWalkDirectionEnum direction,
double totalLossPU)
Loss participation factor of this bus.
|
org.apache.commons.math3.complex.Complex |
calNetGenResults()
Calculate total generator power of the bus for the unit PU, including Bus capacitor Q.
|
org.apache.commons.math3.complex.Complex |
calNetLoadResults()
Calculate total laod power of the bus for the unit PU
|
org.apache.commons.math3.complex.Complex |
calNetPQResults()
Calculate bus P+jQ with into the network as the positive direction.
|
AclfBusControl |
getBusControl()
Returns the value of the 'Bus Control' containment reference.
|
ShuntCompensator |
getCompensator(java.lang.String id)
Get child shunt compensator object by ID
|
org.eclipse.emf.common.util.EList<ShuntCompensator> |
getCompensatorList()
Returns the value of the 'Compensator List' containment reference list.
|
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 |
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.
|
org.apache.commons.math3.complex.Complex |
getExternalPowerIntoNet()
Returns the value of the 'External Power Into Net' 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 |
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 |
getLoadP()
Returns the value of the 'Load P' attribute.
|
double |
getLoadP(java.util.function.Predicate<AclfLoad> predicate)
get bus load P by calculating its contribute loads.
|
double |
getLoadQ()
Returns the value of the 'Load Q' attribute.
|
double |
getLoadQ(java.util.function.Predicate<AclfLoad> predicate)
get bus load P by calculating its contribute loads.
|
double |
getLossCumTDPath() |
LimitType |
getPGenLimit()
Returns the value of the 'PGen Limit' attribute.
|
LimitType |
getQGenLimit()
Returns the value of the 'QGen Limit' attribute.
|
RemoteQControlGroup |
getRemoteQControlGroup()
Returns the value of the 'Remote QControl Group' containment reference.
|
org.apache.commons.math3.complex.Complex |
getShuntY()
Returns the value of the 'Shunt Y' attribute.
|
org.eclipse.emf.common.util.EList<SwitchedShunt> |
getSwitchedShuntList()
Returns the value of the 'Switched Shunt List' containment reference list.
|
LimitType |
getVLimit()
Returns the value of the 'VLimit' attribute.
|
double |
getVoltageAng()
Returns the value of the 'Voltage Ang' attribute.
|
double |
getVoltageMag()
Returns the value of the 'Voltage Mag' attribute.
|
org.apache.commons.math3.complex.Complex |
mismatch(AclfMethodType lfMethod)
Calculate bus mismatch = specified - calculated, with into network direction
as the positive direction, in pu.
|
org.apache.commons.math3.complex.Complex |
powerIntoNet()
Calculate the power into the network, which is the product of voltage and the conjugate of
the current into the network, plus the external power into the network.
|
void |
setBusControl(AclfBusControl value)
Sets the value of the '
Bus Control ' containment reference. |
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 |
setExternalPowerIntoNet(org.apache.commons.math3.complex.Complex value)
Sets the value of the '
External Power Into Net ' 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 |
setGenQ(double value)
Sets the value of the '
Gen Q ' attribute. |
void |
setLoadCode(AclfLoadCode value)
Sets the value of the '
Load Code ' attribute. |
void |
setLoadP(double value)
Sets the value of the '
Load P ' attribute. |
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 |
setPGenLimit(LimitType value)
Sets the value of the '
PGen Limit ' attribute. |
void |
setQGenLimit(LimitType value)
Sets the value of the '
QGen Limit ' attribute. |
void |
setRemoteQControlGroup(RemoteQControlGroup value)
Sets the value of the '
Remote QControl Group ' containment reference. |
void |
setShuntY(org.apache.commons.math3.complex.Complex value)
Sets the value of the '
Shunt Y ' attribute. |
void |
setVLimit(LimitType value)
Sets the value of the '
VLimit ' attribute. |
void |
setVoltageAng(double value)
Sets the value of the '
Voltage Ang ' attribute. |
void |
setVoltageMag(double value)
Sets the value of the '
Voltage Mag ' attribute. |
org.apache.commons.math3.complex.Complex |
yii()
Calculate bus yii in pu
|
getBaseVoltage, getBranchList, getConnectedBranch, getFromBranchList, getMerge2BusId, getNetwork, getSubAreaFlag, getSubstation, getSubstationId, getToBranchList, isIslandBus, nActiveBranchConnected, nBranchConnected, nBranchConnected, nNonGroundBranchConnected, setAttributes, setAttributes, setBaseVoltage, setBaseVoltage, setMerge2BusId, setNetwork, setSubAreaFlag, setSubstation, setSubstationId, toString
getExtensionObject, setExtensionObject
getArea, getAreaId, getExtSeqNumber, getIntFlag, getOwner, getOwnerId, getSortNumber, getWeight, getZone, getZoneId, isBooleanFlag, setArea, setAreaId, setBooleanFlag, setExtSeqNumber, setIntFlag, setOwner, setOwnerId, setSortNumber, setWeight, setZone, setZoneId
checkData, checkData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, jsonCopy, setDesc, setId, setName, setNumber, setStatus, setStatusChangeInfo
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
readData, writeData
getVoltage, getVoltage, getVoltageAng, getVoltageMag, isCapacitor, isConstILoad, isConstPLoad, isConstZLoad, isGen, isGenPQ, isGenPV, isLoad, isLoadPV, isNonContribute, isPV, isRefBus, isSwing, setVoltage, setVoltage, setVoltage, updateVoltage, updateVoltageAng, updateVoltageMag
allocateContributeGenQ, code2String, distributeLoad, initContributeGen, initContributeLoad, noConnectedBranch, voltageViolation
findZeroZPathBuses, getNoConnectedZbr, hasZbrLoop, isConnect2ZeroZBranch
toCapacitorBus, toGenBus, toLoadBus, toPQBus, toPVBus, toSwingBus
getPQBusLimit, getPVBusLimit, getRemoteQBus, getStaticVarCompensator, getSwitchedShunt, isFunctionLoad, isPQBusLimit, isPVBusLimit, isRemoteQBus, isRemoteQControlGroup, isStaticVarCompensator, isSwitchedShunt
AclfGenCode 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 magnitudesetVoltageMag(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 anglesetVoltageAng(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
setGenP(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)setGenQ(double)
,
AclfPackage.getBaseAclfBus_GenQ()
void setGenQ(double value)
Gen Q
' attribute.
value
- the new value of the 'Gen Q' attribute.getGenQ()
double getLoadP()
"0.0"
.
for storing bus load p
setLoadP(double)
,
AclfPackage.getBaseAclfBus_LoadP()
double getLoadP(java.util.function.Predicate<AclfLoad> predicate)
predicate
- predicate to determine if an AclfLoad is included in the load calculation.
void setLoadP(double value)
Load P
' attribute.
value
- the new value of the 'Load P' attribute.getLoadP()
double getLoadQ(java.util.function.Predicate<AclfLoad> predicate)
predicate
- predicate to determine if an AclfLoad is included in the load calculation.
double getLoadQ()
"0.0"
.
for storing bus load q
setLoadQ(double)
,
AclfPackage.getBaseAclfBus_LoadQ()
void setLoadQ(double value)
Load Q
' attribute.
value
- the new value of the 'Load Q' attribute.getLoadQ()
AclfGen getContributeGen(java.lang.String id)
org.apache.commons.math3.complex.Complex calNetGenResults()
org.apache.commons.math3.complex.Complex calNetPQResults()
org.apache.commons.math3.complex.Complex calNetLoadResults()
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.setShuntY(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()
AclfBusControl getBusControl()
setBusControl(AclfBusControl)
,
AclfPackage.getBaseAclfBus_BusControl()
void setBusControl(AclfBusControl value)
Bus Control
' containment reference.
value
- the new value of the 'Bus Control' containment reference.getBusControl()
RemoteQControlGroup getRemoteQControlGroup()
getRemoteQControlGroup
in interface IAclfBusAdjustment
setRemoteQControlGroup(RemoteQControlGroup)
,
AclfPackage.getBaseAclfBus_RemoteQControlGroup()
void setRemoteQControlGroup(RemoteQControlGroup value)
Remote QControl Group
' containment reference.
value
- the new value of the 'Remote QControl Group' containment reference.getRemoteQControlGroup()
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()
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()
org.apache.commons.math3.complex.Complex getExternalPowerIntoNet()
""
.
Loadflow commonly has an inter-loop and an out-loop calculation. It is used to represent the external or out-loop power at the bus, into the network as the positive direction.
setExternalPowerIntoNet(Complex)
,
AclfPackage.getBaseAclfBus_ExternalPowerIntoNet()
void setExternalPowerIntoNet(org.apache.commons.math3.complex.Complex value)
External Power Into Net
' attribute.
value
- the new value of the 'External Power Into Net' attribute.getExternalPowerIntoNet()
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()
org.eclipse.emf.common.util.EList<ShuntCompensator> getCompensatorList()
ShuntCompensator
.
for storing bus capacitor Q. Please note: a bus might have shunt Q and SwithedShunt devices at the same time.
AclfPackage.getBaseAclfBus_CompensatorList()
org.eclipse.emf.common.util.EList<SwitchedShunt> getSwitchedShuntList()
SwitchedShunt
.
SwithedShunt object list
AclfPackage.getBaseAclfBus_SwitchedShuntList()
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 calculationorg.apache.commons.math3.complex.Complex mismatch(AclfMethodType lfMethod)
lfMethod
- the loadflow method to be used for the mismatch calculation.
Valid options (NR, PQ, QA).
void setLossCumTDPath(double loss)
loss
- loss value
double b11ii()
double b1ii()
org.apache.commons.math3.complex.Complex yii()
org.apache.commons.math3.complex.Complex acCurrentIntoNet()
org.apache.commons.math3.complex.Complex powerIntoNet()
double calLossPFactor(NetPathWalkDirectionEnum direction, double totalLossPU)
direction
- network path walk directiontotalLossPU
- total loss in pu
AclfLoad getContributeLoad(java.lang.String id)
ShuntCompensator getCompensator(java.lang.String id)
Matrix_xy getJii(JacobianMatrixType type)
type
- J-matrix type