public class BaseAclfBusImpl<TGen extends AclfGen,TLoad extends AclfLoad> extends BusImpl implements BaseAclfBus<TGen,TLoad>
The following features are implemented:
Gen CodeLoad CodeVoltage MagVoltage AngDesired Volt MagDesired Volt AngGen PGen QLoad PLoad QShunt YExp Load PExp Load QQGen LimitPGen LimitVLimitExternal Power Into NetContribute Gen ListContribute Load ListCompensator ListSwitched Shunt ListFunction LoadBus ControlRemote QControl Grouporg.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImplorg.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList| Modifier and Type | Field and Description |
|---|---|
protected AclfBusControl |
busControl
The cached value of the '
Bus Control' containment reference. |
protected org.eclipse.emf.common.util.EList<ShuntCompensator> |
compensatorList
The cached value of the '
Compensator List' containment reference list. |
protected org.eclipse.emf.common.util.EList<TGen> |
contributeGenList
The cached value of the '
Contribute Gen List' containment reference list. |
protected org.eclipse.emf.common.util.EList<TLoad> |
contributeLoadList
The cached value of the '
Contribute Load List' containment reference list. |
protected static double |
DESIRED_VOLT_ANG_EDEFAULT
The default value of the '
Desired Volt Ang' attribute. |
protected static double |
DESIRED_VOLT_MAG_EDEFAULT
The default value of the '
Desired Volt Mag' attribute. |
protected double |
desiredVoltAng
The cached value of the '
Desired Volt Ang' attribute. |
protected double |
desiredVoltMag
The cached value of the '
Desired Volt Mag' attribute. |
protected static double |
EXP_LOAD_P_EDEFAULT
The default value of the '
Exp Load P' attribute. |
protected static double |
EXP_LOAD_Q_EDEFAULT
The default value of the '
Exp Load Q' attribute. |
protected double |
expLoadP
The cached value of the '
Exp Load P' attribute. |
protected double |
expLoadQ
The cached value of the '
Exp Load Q' attribute. |
protected static org.apache.commons.math3.complex.Complex |
EXTERNAL_POWER_INTO_NET_EDEFAULT
The default value of the '
External Power Into Net' attribute. |
protected org.apache.commons.math3.complex.Complex |
externalPowerIntoNet
The cached value of the '
External Power Into Net' attribute. |
protected FunctionLoad |
functionLoad
The cached value of the '
Function Load' containment reference. |
protected static AclfGenCode |
GEN_CODE_EDEFAULT
The default value of the '
Gen Code' attribute. |
protected static org.apache.commons.math3.complex.Complex |
GEN_EDEFAULT
The default value of the '
Gen' attribute. |
protected static double |
GEN_P_EDEFAULT
The default value of the '
Gen P' attribute. |
protected static double |
GEN_Q_EDEFAULT
The default value of the '
Gen Q' attribute. |
protected AclfGenCode |
genCode
The cached value of the '
Gen Code' attribute. |
protected double |
genP
The cached value of the '
Gen P' attribute. |
protected double |
genQ
The cached value of the '
Gen Q' attribute. |
protected static AclfLoadCode |
LOAD_CODE_EDEFAULT
The default value of the '
Load Code' attribute. |
protected static double |
LOAD_P_EDEFAULT
The default value of the '
Load P' attribute. |
protected static double |
LOAD_Q_EDEFAULT
The default value of the '
Load Q' attribute. |
protected AclfLoadCode |
loadCode
The cached value of the '
Load Code' attribute. |
protected double |
loadP
The cached value of the '
Load P' attribute. |
protected double |
loadQ
The cached value of the '
Load Q' attribute. |
protected static LimitType |
PGEN_LIMIT_EDEFAULT
The default value of the '
PGen Limit' attribute. |
protected LimitType |
pGenLimit
The cached value of the '
PGen Limit' attribute. |
protected static LimitType |
QGEN_LIMIT_EDEFAULT
The default value of the '
QGen Limit' attribute. |
protected LimitType |
qGenLimit
The cached value of the '
QGen Limit' attribute. |
protected RemoteQControlGroup |
remoteQControlGroup
The cached value of the '
Remote QControl Group' containment reference. |
protected static org.apache.commons.math3.complex.Complex |
SHUNT_Y_EDEFAULT
The default value of the '
Shunt Y' attribute. |
protected org.apache.commons.math3.complex.Complex |
shuntY
The cached value of the '
Shunt Y' attribute. |
protected org.eclipse.emf.common.util.EList<SwitchedShunt> |
switchedShuntList
The cached value of the '
Switched Shunt List' containment reference list. |
protected LimitType |
vLimit
The cached value of the '
VLimit' attribute. |
protected static LimitType |
VLIMIT_EDEFAULT
The default value of the '
VLimit' attribute. |
protected static double |
VOLTAGE_ANG_EDEFAULT
The default value of the '
Voltage Ang' attribute. |
protected static double |
VOLTAGE_MAG_EDEFAULT
The default value of the '
Voltage Mag' attribute. |
protected double |
voltageAng
The cached value of the '
Voltage Ang' attribute. |
protected double |
voltageMag
The cached value of the '
Voltage Mag' attribute. |
BASE_VOLTAGE_EDEFAULT, baseVoltage, fromBranchList, MERGE2_BUS_ID_EDEFAULT, merge2BusId, network, SUB_AREA_FLAG_EDEFAULT, subAreaFlag, substation, SUBSTATION_ID_EDEFAULT, substationId, toBranchListEXTENSION_OBJECT_EDEFAULT, extensionObjectarea, AREA_ID_EDEFAULT, areaId, BOOLEAN_FLAG_EDEFAULT, booleanFlag, EXT_SEQ_NUMBER_EDEFAULT, extSeqNumber, INT_FLAG_EDEFAULT, intFlag, owner, OWNER_ID_EDEFAULT, ownerId, SORT_NUMBER_EDEFAULT, sortNumber, weight, WEIGHT_EDEFAULT, zone, ZONE_ID_EDEFAULT, zoneIddesc, DESC_EDEFAULT, id, ID_EDEFAULT, name, NAME_EDEFAULT, number, NUMBER_EDEFAULT, status, STATUS_CHANGE_INFO_EDEFAULT, STATUS_EDEFAULT, statusChangeInfoeAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY| Modifier | Constructor and Description |
|---|---|
protected |
BaseAclfBusImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.math3.complex.Complex |
acCurrentIntoNet() |
boolean |
allocateContributeGenQ(double tolerance) |
double |
b11ii() |
double |
b1ii() |
org.eclipse.emf.common.notify.NotificationChain |
basicSetBusControl(AclfBusControl newBusControl,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetFunctionLoad(FunctionLoad newFunctionLoad,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetRemoteQControlGroup(RemoteQControlGroup newRemoteQControlGroup,
org.eclipse.emf.common.notify.NotificationChain msgs) |
protected org.apache.commons.math3.complex.Complex |
calLoadPQ()
Calculate bus load PQ including its distributed generation.
|
double |
calLossPFactor(NetPathWalkDirectionEnum direction,
double totalLossPU) |
org.apache.commons.math3.complex.Complex |
calNetGenResults() |
org.apache.commons.math3.complex.Complex |
calNetLoadResults() |
org.apache.commons.math3.complex.Complex |
calNetPQResults()
Calculate bus P+jQ with into the network as the positive direction.
|
boolean |
checkData(DataCheckConfiguration config) |
java.lang.String |
code2String() |
protected TGen |
createGenObject() |
protected TLoad |
createLoadObject() |
void |
distributeLoad(double totalLoad) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
void |
eUnset(int featureID) |
java.util.List<BaseAclfBus<?,?>> |
findZeroZPathBuses() |
AclfBusControl |
getBusControl() |
ShuntCompensator |
getCompensator(java.lang.String id) |
org.eclipse.emf.common.util.EList<ShuntCompensator> |
getCompensatorList() |
AclfGen |
getContributeGen(java.lang.String id) |
org.eclipse.emf.common.util.EList<TGen> |
getContributeGenList() |
AclfLoad |
getContributeLoad(java.lang.String id) |
org.eclipse.emf.common.util.EList<TLoad> |
getContributeLoadList() |
double |
getDesiredVoltAng() |
double |
getDesiredVoltMag() |
double |
getExpLoadP() |
double |
getExpLoadQ() |
org.apache.commons.math3.complex.Complex |
getExternalPowerIntoNet() |
FunctionLoad |
getFunctionLoad() |
AclfGenCode |
getGenCode() |
double |
getGenP()
For Swing bus, genP used to store VoltMag
For PV bus, genP used to store genP
For PQ bus, genP used to store genP
|
double |
getGenQ()
For Swing bus, genQ used to store VoltAng
For PV bus, genQ used to store VoltMag
For PQ bus, genQ used to store genQ
|
protected org.apache.commons.math3.complex.Complex |
getGenResults_impl(boolean includeLoad) |
Matrix_xy |
getJii(JacobianMatrixType type) |
AclfLoadCode |
getLoadCode() |
double |
getLoadP() |
double |
getLoadP(java.util.function.Predicate<AclfLoad> predicate) |
double |
getLoadQ() |
double |
getLoadQ(java.util.function.Predicate<AclfLoad> predicate) |
double |
getLossCumTDPath() |
int |
getNoConnectedZbr(boolean zbrBusGroup)
get number of connected zero-Z branches.
|
LimitType |
getPGenLimit() |
PQBusLimit |
getPQBusLimit() |
PVBusLimit |
getPVBusLimit() |
LimitType |
getQGenLimit() |
RemoteQBus |
getRemoteQBus() |
RemoteQControlGroup |
getRemoteQControlGroup() |
org.apache.commons.math3.complex.Complex |
getShuntY() |
StaticVarCompensator |
getStaticVarCompensator() |
SwitchedShunt |
getSwitchedShunt() |
org.eclipse.emf.common.util.EList<SwitchedShunt> |
getSwitchedShuntList() |
LimitType |
getVLimit() |
org.apache.commons.math3.complex.Complex |
getVoltage() |
org.apache.commons.math3.complex.Complex |
getVoltage(Unit.UnitType unit) |
double |
getVoltageAng() |
double |
getVoltageAng(Unit.UnitType unit) |
double |
getVoltageMag() |
double |
getVoltageMag(Unit.UnitType unit) |
boolean |
hasZbrLoop()
check if the bus has zero-Z branch loop.
|
boolean |
initContributeGen(boolean dclfOnly) |
boolean |
initContributeLoad(boolean dclfOnly) |
boolean |
isCapacitor()
check if the bus is a Capacitor bus, which is defined as has compensatorList or a
SwitchedShunt bus or a StaticVarCompensator bus.
|
boolean |
isConnect2ZeroZBranch() |
boolean |
isConstILoad() |
boolean |
isConstPLoad() |
boolean |
isConstZLoad() |
boolean |
isFunctionLoad() |
boolean |
isGen() |
boolean |
isGenPQ() |
boolean |
isGenPV() |
boolean |
isLoad() |
boolean |
isLoadPV() |
boolean |
isNonContribute() |
boolean |
isPQBusLimit() |
boolean |
isPV() |
boolean |
isPVBusLimit() |
boolean |
isRefBus() |
boolean |
isRemoteQBus() |
boolean |
isRemoteQControlGroup() |
boolean |
isStaticVarCompensator() |
boolean |
isSwing() |
boolean |
isSwitchedShunt() |
org.apache.commons.math3.complex.Complex |
mismatch(AclfMethodType lfMethod)
Calculate bus mismatch = specified - calculated, with into network direction as the positive direction, in pu.
|
int |
noConnectedBranch(AclfBranchCode type) |
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 |
readData(com.hazelcast.nio.ObjectDataInput in) |
void |
setBusControl(AclfBusControl newBusControl) |
void |
setDesiredVoltAng(double newDesiredVoltAng) |
void |
setDesiredVoltMag(double newDesiredVoltMag) |
void |
setExpLoadP(double newExpLoadP) |
void |
setExpLoadQ(double newExpLoadQ) |
void |
setExternalPowerIntoNet(org.apache.commons.math3.complex.Complex newExternalPowerIntoNet) |
void |
setFunctionLoad(FunctionLoad newFunctionLoad) |
void |
setGenCode(AclfGenCode newGenCode) |
void |
setGenP(double newGenP) |
void |
setGenQ(double newGenQ) |
void |
setLoadCode(AclfLoadCode newLoadCode) |
void |
setLoadP(double newLoadP) |
void |
setLoadQ(double newLoadQ) |
void |
setLossCumTDPath(double loss) |
void |
setPGenLimit(LimitType newPGenLimit) |
void |
setQGenLimit(LimitType newQGenLimit) |
void |
setRemoteQControlGroup(RemoteQControlGroup newRemoteQControlGroup) |
void |
setShuntY(org.apache.commons.math3.complex.Complex newShuntY) |
void |
setVLimit(LimitType newVLimit) |
void |
setVoltage(org.apache.commons.math3.complex.Complex volt) |
void |
setVoltage(org.apache.commons.math3.complex.Complex volt,
Unit.UnitType unit) |
void |
setVoltage(double mag,
double ang) |
void |
setVoltageAng(double newVoltageAng) |
void |
setVoltageMag(double newVoltageMag) |
AclfCapacitorBusAdapter |
toCapacitorBus() |
AclfGenBusAdapter |
toGenBus() |
AclfLoadBusAdapter |
toLoadBus() |
AclfPQGenBusAdapter |
toPQBus() |
AclfPVGenBusAdapter |
toPVBus() |
java.lang.String |
toString() |
java.lang.String |
toString(double baseKVA) |
AclfSwingBusAdapter |
toSwingBus() |
void |
updateVoltage(Vector_xy dv) |
void |
updateVoltageAng(double dAng) |
void |
updateVoltageMag(double dMag) |
boolean |
voltageViolation(BusVoltageLimitType type,
double limitPU) |
void |
writeData(com.hazelcast.nio.ObjectDataOutput out) |
org.apache.commons.math3.complex.Complex |
yii() |
basicSetSubstation, getBaseVoltage, getBranchList, getConnectedBranch, getFromBranchList, getMerge2BusId, getNetwork, getSubAreaFlag, getSubstation, getSubstationId, getToBranchList, isIslandBus, nActiveBranchConnected, nBranchConnected, nBranchConnected, nNonGroundBranchConnected, setAttributes, setAttributes, setBaseVoltage, setBaseVoltage, setId, setMerge2BusId, setNetwork, setSubAreaFlag, setSubstation, setSubstationIdgetExtensionObject, setExtensionObjectgetArea, getAreaId, getExtSeqNumber, getIntFlag, getOwner, getOwnerId, getSortNumber, getWeight, getZone, getZoneId, isBooleanFlag, setArea, setAreaId, setBooleanFlag, setExtSeqNumber, setIntFlag, setOwner, setOwnerId, setSortNumber, setWeight, setZone, setZoneIdcheckData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, jsonCopy, setDesc, setName, setNumber, setStatus, setStatusChangeInfoeAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURIeAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValueseBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBaseVoltage, getBranchList, getConnectedBranch, getFromBranchList, getMerge2BusId, getNetwork, getSubAreaFlag, getSubstation, getSubstationId, getToBranchList, isIslandBus, nActiveBranchConnected, nBranchConnected, nBranchConnected, nNonGroundBranchConnected, setAttributes, setAttributes, setBaseVoltage, setBaseVoltage, setMerge2BusId, setNetwork, setSubAreaFlag, setSubstation, setSubstationIdgetExtensionObject, setExtensionObjectgetArea, getAreaId, getExtSeqNumber, getIntFlag, getOwner, getOwnerId, getSortNumber, getWeight, getZone, getZoneId, isBooleanFlag, setArea, setAreaId, setBooleanFlag, setExtSeqNumber, setIntFlag, setOwner, setOwnerId, setSortNumber, setWeight, setZone, setZoneIdcheckData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, jsonCopy, setDesc, setId, setName, setNumber, setStatus, setStatusChangeInfoeAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetprotected static final AclfGenCode GEN_CODE_EDEFAULT
Gen Code' attribute.
getGenCode()protected AclfGenCode genCode
Gen Code' attribute.
getGenCode()protected static final AclfLoadCode LOAD_CODE_EDEFAULT
Load Code' attribute.
getLoadCode()protected AclfLoadCode loadCode
Load Code' attribute.
getLoadCode()protected static final double VOLTAGE_MAG_EDEFAULT
Voltage Mag' attribute.
getVoltageMag(),
Constant Field Valuesprotected double voltageMag
Voltage Mag' attribute.
getVoltageMag()protected static final double VOLTAGE_ANG_EDEFAULT
Voltage Ang' attribute.
getVoltageAng(),
Constant Field Valuesprotected double voltageAng
Voltage Ang' attribute.
getVoltageAng()protected static final double DESIRED_VOLT_MAG_EDEFAULT
Desired Volt Mag' attribute.
getDesiredVoltMag(),
Constant Field Valuesprotected double desiredVoltMag
Desired Volt Mag' attribute.
getDesiredVoltMag()protected static final double DESIRED_VOLT_ANG_EDEFAULT
Desired Volt Ang' attribute.
getDesiredVoltAng(),
Constant Field Valuesprotected double desiredVoltAng
Desired Volt Ang' attribute.
getDesiredVoltAng()protected static final double GEN_P_EDEFAULT
Gen P' attribute.
getGenP(),
Constant Field Valuesprotected static final double GEN_Q_EDEFAULT
Gen Q' attribute.
getGenQ(),
Constant Field Valuesprotected static final double LOAD_P_EDEFAULT
Load P' attribute.
getLoadP(),
Constant Field Valuesprotected double loadP
Load P' attribute.
getLoadP()protected static final double LOAD_Q_EDEFAULT
Load Q' attribute.
getLoadQ(),
Constant Field Valuesprotected double loadQ
Load Q' attribute.
getLoadQ()protected static final org.apache.commons.math3.complex.Complex GEN_EDEFAULT
Gen' attribute.
getGenPQ()protected static final org.apache.commons.math3.complex.Complex SHUNT_Y_EDEFAULT
Shunt Y' attribute.
getShuntY()protected org.apache.commons.math3.complex.Complex shuntY
Shunt Y' attribute.
getShuntY()protected static final double EXP_LOAD_P_EDEFAULT
Exp Load P' attribute.
getExpLoadP(),
Constant Field Valuesprotected double expLoadP
Exp Load P' attribute.
getExpLoadP()protected static final double EXP_LOAD_Q_EDEFAULT
Exp Load Q' attribute.
getExpLoadQ(),
Constant Field Valuesprotected double expLoadQ
Exp Load Q' attribute.
getExpLoadQ()protected static final LimitType QGEN_LIMIT_EDEFAULT
QGen Limit' attribute.
getQGenLimit()protected LimitType qGenLimit
QGen Limit' attribute.
getQGenLimit()protected static final LimitType PGEN_LIMIT_EDEFAULT
PGen Limit' attribute.
getPGenLimit()protected LimitType pGenLimit
PGen Limit' attribute.
getPGenLimit()protected static final LimitType VLIMIT_EDEFAULT
VLimit' attribute.
getVLimit()protected LimitType vLimit
VLimit' attribute.
getVLimit()protected static final org.apache.commons.math3.complex.Complex EXTERNAL_POWER_INTO_NET_EDEFAULT
External Power Into Net' attribute.
getExternalPowerIntoNet()protected org.apache.commons.math3.complex.Complex externalPowerIntoNet
External Power Into Net' attribute.
getExternalPowerIntoNet()protected org.eclipse.emf.common.util.EList<TGen extends AclfGen> contributeGenList
Contribute Gen List' containment reference list.
getContributeGenList()protected org.eclipse.emf.common.util.EList<TLoad extends AclfLoad> contributeLoadList
Contribute Load List' containment reference list.
getContributeLoadList()protected org.eclipse.emf.common.util.EList<ShuntCompensator> compensatorList
Compensator List' containment reference list.
getCompensatorList()protected org.eclipse.emf.common.util.EList<SwitchedShunt> switchedShuntList
Switched Shunt List' containment reference list.
getSwitchedShuntList()protected FunctionLoad functionLoad
Function Load' containment reference.
getFunctionLoad()protected AclfBusControl busControl
Bus Control' containment reference.
getBusControl()protected RemoteQControlGroup remoteQControlGroup
Remote QControl Group' containment reference.
getRemoteQControlGroup()public AclfGenCode getGenCode()
getGenCode in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>AclfGenCode,
BaseAclfBus.setGenCode(AclfGenCode),
AclfPackage.getBaseAclfBus_GenCode()public void setGenCode(AclfGenCode newGenCode)
setGenCode in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>newGenCode - the new value of the 'Gen Code' attribute.AclfGenCode,
BaseAclfBus.getGenCode()public AclfLoadCode getLoadCode()
getLoadCode in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>AclfLoadCode,
BaseAclfBus.setLoadCode(AclfLoadCode),
AclfPackage.getBaseAclfBus_LoadCode()public void setLoadCode(AclfLoadCode newLoadCode)
setLoadCode in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>newLoadCode - the new value of the 'Load Code' attribute.AclfLoadCode,
BaseAclfBus.getLoadCode()public org.eclipse.emf.common.util.EList<TGen> getContributeGenList()
getContributeGenList in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>AclfPackage.getBaseAclfBus_ContributeGenList(),
AclfGen.getParentBus()public AclfGen getContributeGen(java.lang.String id)
getContributeGen in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>public org.eclipse.emf.common.util.EList<TLoad> getContributeLoadList()
getContributeLoadList in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>AclfPackage.getBaseAclfBus_ContributeLoadList(),
AclfLoad.getParentBus()public org.eclipse.emf.common.util.EList<ShuntCompensator> getCompensatorList()
getCompensatorList in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>AclfPackage.getBaseAclfBus_CompensatorList()public AclfLoad getContributeLoad(java.lang.String id)
getContributeLoad in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>public ShuntCompensator getCompensator(java.lang.String id)
getCompensator in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>public org.apache.commons.math3.complex.Complex getVoltage()
getVoltage in interface IAclfBuspublic void setVoltage(org.apache.commons.math3.complex.Complex volt)
setVoltage in interface IAclfBuspublic org.apache.commons.math3.complex.Complex getVoltage(Unit.UnitType unit)
getVoltage in interface IAclfBuspublic double getVoltageMag(Unit.UnitType unit)
getVoltageMag in interface IAclfBusunit - voltage mag unit
public double getVoltageAng(Unit.UnitType unit)
getVoltageAng in interface IAclfBusunit - voltage angle unit
public double getVoltageMag()
getVoltageMag in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>BaseAclfBus.setVoltageMag(double),
AclfPackage.getBaseAclfBus_VoltageMag()public void setVoltageMag(double newVoltageMag)
setVoltageMag in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>newVoltageMag - the new value of the 'Voltage Mag' attribute.BaseAclfBus.getVoltageMag()public double getVoltageAng()
getVoltageAng in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>BaseAclfBus.setVoltageAng(double),
AclfPackage.getBaseAclfBus_VoltageAng()public void setVoltageAng(double newVoltageAng)
setVoltageAng in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>newVoltageAng - the new value of the 'Voltage Ang' attribute.BaseAclfBus.getVoltageAng()public void setVoltage(org.apache.commons.math3.complex.Complex volt,
Unit.UnitType unit)
setVoltage in interface IAclfBusvolt - complex voltage valueunit - volage unit
public void setVoltage(double mag,
double ang)
setVoltage in interface IAclfBusmag - voltage magnitudeang - votlage angle
public void updateVoltage(Vector_xy dv)
updateVoltage in interface IAclfBusdv - voltage increment
public void updateVoltageAng(double dAng)
updateVoltageAng in interface IAclfBusdAng - voltage angle increment
public void updateVoltageMag(double dMag)
updateVoltageMag in interface IAclfBusdMag - voltage magnitude increment
public double getDesiredVoltMag()
getDesiredVoltMag in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>BaseAclfBus.setDesiredVoltMag(double),
AclfPackage.getBaseAclfBus_DesiredVoltMag()public void setDesiredVoltMag(double newDesiredVoltMag)
setDesiredVoltMag in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>newDesiredVoltMag - the new value of the 'Desired Volt Mag' attribute.BaseAclfBus.getDesiredVoltMag()public double getDesiredVoltAng()
getDesiredVoltAng in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>BaseAclfBus.setDesiredVoltAng(double),
AclfPackage.getBaseAclfBus_DesiredVoltAng()public void setDesiredVoltAng(double newDesiredVoltAng)
setDesiredVoltAng in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>newDesiredVoltAng - the new value of the 'Desired Volt Ang' attribute.BaseAclfBus.getDesiredVoltAng()public double getGenP()
getGenP in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>BaseAclfBus.setGenP(double),
AclfPackage.getBaseAclfBus_GenP()public void setGenP(double newGenP)
setGenP in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>newGenP - the new value of the 'Gen P' attribute.BaseAclfBus.getGenP()public double getGenQ()
getGenQ in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>BaseAclfBus.setGenQ(double),
AclfPackage.getBaseAclfBus_GenQ()public void setGenQ(double newGenQ)
setGenQ in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>newGenQ - the new value of the 'Gen Q' attribute.BaseAclfBus.getGenQ()public double getLoadP()
getLoadP in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>BaseAclfBus.setLoadP(double),
AclfPackage.getBaseAclfBus_LoadP()public double getLoadP(java.util.function.Predicate<AclfLoad> predicate)
public void setLoadP(double newLoadP)
setLoadP in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>newLoadP - the new value of the 'Load P' attribute.BaseAclfBus.getLoadP()public double getLoadQ()
getLoadQ in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>BaseAclfBus.setLoadQ(double),
AclfPackage.getBaseAclfBus_LoadQ()public double getLoadQ(java.util.function.Predicate<AclfLoad> predicate)
public void setLoadQ(double newLoadQ)
setLoadQ in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>newLoadQ - the new value of the 'Load Q' attribute.BaseAclfBus.getLoadQ()public org.apache.commons.math3.complex.Complex getShuntY()
getShuntY in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>BaseAclfBus.setShuntY(Complex),
AclfPackage.getBaseAclfBus_ShuntY()public void setShuntY(org.apache.commons.math3.complex.Complex newShuntY)
setShuntY in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>newShuntY - the new value of the 'Shunt Y' attribute.BaseAclfBus.getShuntY()public FunctionLoad getFunctionLoad()
getFunctionLoad in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>BaseAclfBus.setFunctionLoad(FunctionLoad),
AclfPackage.getBaseAclfBus_FunctionLoad(),
FunctionLoad.getParentBus()public org.eclipse.emf.common.notify.NotificationChain basicSetFunctionLoad(FunctionLoad newFunctionLoad, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setFunctionLoad(FunctionLoad newFunctionLoad)
setFunctionLoad in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>newFunctionLoad - the new value of the 'Function Load' containment reference.BaseAclfBus.getFunctionLoad()public AclfBusControl getBusControl()
getBusControl in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>BaseAclfBus.setBusControl(AclfBusControl),
AclfPackage.getBaseAclfBus_BusControl()public org.eclipse.emf.common.notify.NotificationChain basicSetBusControl(AclfBusControl newBusControl, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setBusControl(AclfBusControl newBusControl)
setBusControl in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>newBusControl - the new value of the 'Bus Control' containment reference.BaseAclfBus.getBusControl()public double getExpLoadP()
getExpLoadP in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>BaseAclfBus.setExpLoadP(double),
AclfPackage.getBaseAclfBus_ExpLoadP()public void setExpLoadP(double newExpLoadP)
setExpLoadP in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>newExpLoadP - the new value of the 'Exp Load P' attribute.BaseAclfBus.getExpLoadP()public double getExpLoadQ()
getExpLoadQ in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>BaseAclfBus.setExpLoadQ(double),
AclfPackage.getBaseAclfBus_ExpLoadQ()public void setExpLoadQ(double newExpLoadQ)
setExpLoadQ in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>newExpLoadQ - the new value of the 'Exp Load Q' attribute.BaseAclfBus.getExpLoadQ()public PVBusLimit getPVBusLimit()
getPVBusLimit in interface IAclfBusAdjustmentpublic PQBusLimit getPQBusLimit()
getPQBusLimit in interface IAclfBusAdjustmentpublic RemoteQBus getRemoteQBus()
getRemoteQBus in interface IAclfBusAdjustmentpublic StaticVarCompensator getStaticVarCompensator()
getStaticVarCompensator in interface IAclfBusAdjustmentpublic SwitchedShunt getSwitchedShunt()
getSwitchedShunt in interface IAclfBusAdjustmentpublic LimitType getQGenLimit()
getQGenLimit in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>BaseAclfBus.setQGenLimit(LimitType),
AclfPackage.getBaseAclfBus_QGenLimit()public void setQGenLimit(LimitType newQGenLimit)
setQGenLimit in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>newQGenLimit - the new value of the 'QGen Limit' attribute.BaseAclfBus.getQGenLimit()public LimitType getPGenLimit()
getPGenLimit in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>BaseAclfBus.setPGenLimit(LimitType),
AclfPackage.getBaseAclfBus_PGenLimit()public void setPGenLimit(LimitType newPGenLimit)
setPGenLimit in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>newPGenLimit - the new value of the 'PGen Limit' attribute.BaseAclfBus.getPGenLimit()public LimitType getVLimit()
getVLimit in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>BaseAclfBus.setVLimit(LimitType),
AclfPackage.getBaseAclfBus_VLimit()public void setVLimit(LimitType newVLimit)
setVLimit in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>newVLimit - the new value of the 'VLimit' attribute.BaseAclfBus.getVLimit()public org.apache.commons.math3.complex.Complex getExternalPowerIntoNet()
getExternalPowerIntoNet in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>BaseAclfBus.setExternalPowerIntoNet(Complex),
AclfPackage.getBaseAclfBus_ExternalPowerIntoNet()public void setExternalPowerIntoNet(org.apache.commons.math3.complex.Complex newExternalPowerIntoNet)
setExternalPowerIntoNet in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>newExternalPowerIntoNet - the new value of the 'External Power Into Net' attribute.BaseAclfBus.getExternalPowerIntoNet()public double getLossCumTDPath()
getLossCumTDPath in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>public void setLossCumTDPath(double loss)
setLossCumTDPath in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>loss - loss value
public boolean initContributeGen(boolean dclfOnly)
initContributeGen in interface IAclfBusFuncdclfOnly - initialization for Dclf only
public boolean initContributeLoad(boolean dclfOnly)
initContributeLoad in interface IAclfBusFuncdclfOnly - initialization for Dclf only
protected org.apache.commons.math3.complex.Complex calLoadPQ()
public boolean allocateContributeGenQ(double tolerance)
allocateContributeGenQ in interface IAclfBusFuncpublic void distributeLoad(double totalLoad)
distributeLoad in interface IAclfBusFuncpublic boolean checkData(DataCheckConfiguration config)
public org.apache.commons.math3.complex.Complex mismatch(AclfMethodType lfMethod)
public int noConnectedBranch(AclfBranchCode type)
noConnectedBranch in interface IAclfBusFunctype - aclf branch code
public org.apache.commons.math3.complex.Complex calNetGenResults()
calNetGenResults in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>protected org.apache.commons.math3.complex.Complex getGenResults_impl(boolean includeLoad)
public org.apache.commons.math3.complex.Complex calNetPQResults()
calNetPQResults in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>public org.apache.commons.math3.complex.Complex calNetLoadResults()
calNetLoadResults in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>public org.apache.commons.math3.complex.Complex acCurrentIntoNet()
acCurrentIntoNet in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>public org.apache.commons.math3.complex.Complex powerIntoNet()
powerIntoNet in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>public boolean voltageViolation(BusVoltageLimitType type, double limitPU)
voltageViolation in interface IAclfBusFunctype - bus sentivity analysis limit typelimitPU - voltage limit in pu
public double calLossPFactor(NetPathWalkDirectionEnum direction, double totalLossPU)
calLossPFactor in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>direction - network path walk directiontotalLossPU - total loss in pu
public boolean isConnect2ZeroZBranch()
isConnect2ZeroZBranch in interface IAclfBusZeroZFuncpublic boolean hasZbrLoop()
hasZbrLoop in interface IAclfBusZeroZFuncpublic int getNoConnectedZbr(boolean zbrBusGroup)
getNoConnectedZbr in interface IAclfBusZeroZFunczbrBusGroup - If true, get ht connected Zbr of the Zbr bus group
public java.util.List<BaseAclfBus<?,?>> findZeroZPathBuses()
findZeroZPathBuses in interface IAclfBusZeroZFuncpublic boolean isCapacitor()
isCapacitor in interface IAclfBuspublic boolean isConstPLoad()
isConstPLoad in interface IAclfBuspublic boolean isConstILoad()
isConstILoad in interface IAclfBuspublic boolean isConstZLoad()
isConstZLoad in interface IAclfBuspublic boolean isNonContribute()
isNonContribute in interface IAclfBuspublic boolean isFunctionLoad()
isFunctionLoad in interface IAclfBusAdjustmentpublic boolean isPVBusLimit()
isPVBusLimit in interface IAclfBusAdjustmentpublic boolean isPQBusLimit()
isPQBusLimit in interface IAclfBusAdjustmentpublic boolean isStaticVarCompensator()
isStaticVarCompensator in interface IAclfBusAdjustmentpublic boolean isRemoteQControlGroup()
isRemoteQControlGroup in interface IAclfBusAdjustmentpublic boolean isSwitchedShunt()
isSwitchedShunt in interface IAclfBusAdjustmentpublic boolean isRemoteQBus()
isRemoteQBus in interface IAclfBusAdjustmentpublic AclfSwingBusAdapter toSwingBus()
toSwingBus in interface IAclfBusAdaptationpublic AclfPVGenBusAdapter toPVBus()
toPVBus in interface IAclfBusAdaptationpublic AclfPQGenBusAdapter toPQBus()
toPQBus in interface IAclfBusAdaptationpublic AclfLoadBusAdapter toLoadBus()
toLoadBus in interface IAclfBusAdaptationpublic AclfCapacitorBusAdapter toCapacitorBus()
toCapacitorBus in interface IAclfBusAdaptationpublic AclfGenBusAdapter toGenBus()
toGenBus in interface IAclfBusAdaptationpublic double b11ii()
public double b1ii()
public Matrix_xy getJii(JacobianMatrixType type)
public org.apache.commons.math3.complex.Complex yii()
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseAdd in class BusImplpublic org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove in class BusImplpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
public void eSet(int featureID,
java.lang.Object newValue)
public void eUnset(int featureID)
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class BusImplpublic boolean eIsSet(int featureID)
public java.lang.String toString(double baseKVA)
public java.lang.String code2String()
code2String in interface IAclfBusFuncpublic void writeData(com.hazelcast.nio.ObjectDataOutput out)
throws java.io.IOException
NameTagImplpublic void readData(com.hazelcast.nio.ObjectDataInput in)
throws java.io.IOException
NameTagImplprotected TGen createGenObject()
protected TLoad createLoadObject()
public org.eclipse.emf.common.util.EList<SwitchedShunt> getSwitchedShuntList()
getSwitchedShuntList in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>AclfPackage.getBaseAclfBus_SwitchedShuntList()public RemoteQControlGroup getRemoteQControlGroup()
getRemoteQControlGroup in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>getRemoteQControlGroup in interface IAclfBusAdjustmentBaseAclfBus.setRemoteQControlGroup(RemoteQControlGroup),
AclfPackage.getBaseAclfBus_RemoteQControlGroup()public org.eclipse.emf.common.notify.NotificationChain basicSetRemoteQControlGroup(RemoteQControlGroup newRemoteQControlGroup, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setRemoteQControlGroup(RemoteQControlGroup newRemoteQControlGroup)
setRemoteQControlGroup in interface BaseAclfBus<TGen extends AclfGen,TLoad extends AclfLoad>newRemoteQControlGroup - the new value of the 'Remote QControl Group' containment reference.BaseAclfBus.getRemoteQControlGroup()