public class BaseAclfNetworkImpl<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch> extends NetworkImpl<TBus,TBranch> implements BaseAclfNetwork<TBus,TBranch>
The following features are implemented:
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
org.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 static AclfNetModelType |
ACLF_NET_MODEL_TYPE_EDEFAULT
The default value of the '
Aclf Net Model Type ' attribute. |
protected AclfNetAdjustment |
aclfNetAdjust
The cached value of the '
Aclf Net Adjust ' containment reference. |
protected AclfNetModelType |
aclfNetModelType
The cached value of the '
Aclf Net Model Type ' attribute. |
protected static boolean |
CONTRIBUTE_GEN_LOAD_MODEL_EDEFAULT
The default value of the '
Contribute Gen Load Model ' attribute. |
protected boolean |
contributeGenLoadModel
The cached value of the '
Contribute Gen Load Model ' attribute. |
protected static LimitType |
DEFAULT_VOLTAGE_LIMIT_EDEFAULT
The default value of the '
Default Voltage Limit ' attribute. |
protected LimitType |
defaultVoltageLimit
The cached value of the '
Default Voltage Limit ' attribute. |
protected static boolean |
LF_CONVERGED_EDEFAULT
The default value of the '
Lf Converged ' attribute. |
protected static boolean |
LF_DATA_LOADED_EDEFAULT
The default value of the '
Lf Data Loaded ' attribute. |
protected boolean |
lfConverged
The cached value of the '
Lf Converged ' attribute. |
protected boolean |
lfDataLoaded
The cached value of the '
Lf Data Loaded ' attribute. |
protected static NetworkType |
NETWORK_TYPE_EDEFAULT
The default value of the '
Network Type ' attribute. |
protected NetworkType |
networkType
The cached value of the '
Network Type ' attribute. |
protected static boolean |
SENSITIVITY_CALCULATED_EDEFAULT
The default value of the '
Sensitivity Calculated ' attribute. |
protected boolean |
sensitivityCalculated
The cached value of the '
Sensitivity Calculated ' attribute. |
protected org.eclipse.emf.common.util.EList<Branch> |
specialBranchList
The cached value of the '
Special Branch List ' reference list. |
protected static BranchBusSide |
XFR_ZADJUST_SIDE_EDEFAULT
The default value of the '
Xfr ZAdjust Side ' attribute. |
protected BranchBusSide |
xfrZAdjustSide
The cached value of the '
Xfr ZAdjust Side ' attribute. |
protected org.eclipse.emf.common.util.EList<XfrZTableEntry> |
xfrZTable
The cached value of the '
Xfr ZTable ' containment reference list. |
protected static double |
ZERO_ZBRANCH_THRESHOLD_EDEFAULT
The default value of the '
Zero ZBranch Threshold ' attribute. |
protected double |
zeroZBranchThreshold
The cached value of the '
Zero ZBranch Threshold ' attribute. |
ALLOW_GROUND_BRANCH_EDEFAULT, allowGroundBranch, AREA_MAP_EDEFAULT, areaMap, BASE_KVA_EDEFAULT, baseKva, branchList, branchLookupTable, BUS_NUMBER_ARRANGED_EDEFAULT, busList, busLookupTable, busNumberArranged, BYPASS_DATA_CHECK_EDEFAULT, bypassDataCheck, childNetWrapperList, DATA_CHECKED_EDEFAULT, dataChecked, EXTRA_INFO_EDEFAULT, extraInfo, frequency, FREQUENCY_EDEFAULT, ORIGINAL_DATA_FORMAT_EDEFAULT, originalDataFormat, OWNER_MAP_EDEFAULT, ownerMap, REF_BUS_ID_SET_EDEFAULT, REF_BUS_TYPE_EDEFAULT, refBusIdSet, refBusType, SUBSTATION_MAP_EDEFAULT, substationMap, tieLineList, TIME_STAMP_EDEFAULT, timeStamp, ZONE_MAP_EDEFAULT, zoneMap
desc, DESC_EDEFAULT, id, ID_EDEFAULT, name, NAME_EDEFAULT, number, NUMBER_EDEFAULT, status, STATUS_CHANGE_INFO_EDEFAULT, STATUS_EDEFAULT, statusChangeInfo
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
Modifier | Constructor and Description |
---|---|
protected |
BaseAclfNetworkImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
add3WXfr(Aclf3WBranch branch,
java.lang.String fromBusId,
java.lang.String toBusId,
java.lang.String tertBusId) |
boolean |
add3WXfr(Aclf3WBranch branch,
java.lang.String fromBusId,
java.lang.String toBusId,
java.lang.String tertBusId,
java.lang.String cirId) |
boolean |
addGroundBranch(TBranch branch,
java.lang.String busId)
For a ground branch, toBusId = null.
|
HvdcLine2T<BaseAclfBus<?,?>> |
addHvdcLine2T(HvdcLine2T<BaseAclfBus<?,?>> hvdcLine,
java.lang.String fromBusId,
java.lang.String toBusId,
java.lang.String dcLineNumber) |
HvdcLine2T<BaseAclfBus<?,?>> |
addHvdcLine2T(HvdcLine2T<BaseAclfBus<?,?>> hvdcLine,
java.lang.String fromBusId,
java.lang.String toBusId,
java.lang.String dcLineNumber,
java.lang.String lineId,
java.lang.String name) |
boolean |
adjustXfrZ()
Rules: If the first T in a table is less than 0.5 or the last T entered is greater than
1.5, T is assumed to be the phase shift angle and each transformer impedance dependent on the table is
treated as a function of phase shift angle.
|
boolean |
allocateContributeGenQ(double tolerance) |
double |
areaOutputPower(int number,
Unit.UnitType unit) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetAclfNetAdjust(AclfNetAdjustment newAclfNetAdjust,
org.eclipse.emf.common.notify.NotificationChain msgs) |
void |
calculateHvdc() |
void |
calExternalPowerIntoNet() |
void |
calLoadDFactor() |
void |
calLoadDFactor(java.util.function.Predicate<AclfLoad> predicate) |
boolean |
checkData(DataCheckConfiguration config) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
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) |
ISparseEqnDouble |
formB11Matrix() |
ISparseEqnDouble |
formB11Matrix(JacobianMatrixType type) |
ISparseEqnDouble |
formB1Matrix() |
ISparseEqnDouble |
formB1Matrix(JacobianMatrixType type) |
ISparseEqnMatrix2x2 |
formJMatrix() |
ISparseEqnMatrix2x2 |
formJMatrix(int n) |
ISparseEqnMatrix2x2 |
formJMatrix(JacobianMatrixType type) |
ISparseEqnComplex |
formYMatrix() |
ISparseEqnComplex |
formYMatrix(int areaFlag) |
Aclf3WBranch |
get3WXfr(java.lang.String fromBusId,
java.lang.String toBusId,
java.lang.String tertBusId) |
Aclf3WBranch |
get3WXfr(java.lang.String fromBusId,
java.lang.String toBusId,
java.lang.String tertBusId,
java.lang.String circuitNumber) |
AclfNetAdjustment |
getAclfNetAdjust() |
AclfNetModelType |
getAclfNetModelType() |
org.eclipse.emf.common.util.EList<TBranch> |
getBranchList()
This is specialized for the more specific element type known in this context.
|
org.eclipse.emf.common.util.EList<TBus> |
getBusList()
This is specialized for the more specific element type known in this context.
|
LimitType |
getDefaultVoltageLimit() |
HvdcLine2T<BaseAclfBus<?,?>> |
getHvdcLine2T(java.lang.String lineId) |
NetworkType |
getNetworkType() |
Branch |
getSpecialBranch(java.lang.String Id) |
org.eclipse.emf.common.util.EList<Branch> |
getSpecialBranchList() |
BranchBusSide |
getXfrZAdjustSide() |
org.eclipse.emf.common.util.EList<XfrZTableEntry> |
getXfrZTable() |
XfrZTableEntry |
getXfrZTableEntry(int number) |
double |
getZeroZBranchThreshold() |
boolean |
has3WXfr(java.lang.String fromBusId,
java.lang.String toBusId,
java.lang.String tertBusId) |
boolean |
has3WXfr(java.lang.String fromBusId,
java.lang.String toBusId,
java.lang.String tertBusId,
java.lang.String cirId) |
boolean |
hasBranchMavRatingViolation() |
boolean |
hasFunctionLoad() |
boolean |
hasPQBusLimit() |
boolean |
hasPSXfr() |
boolean |
hasPSXfrPControl() |
boolean |
hasPVBusLimit() |
boolean |
hasRemoteQBus() |
boolean |
hasStaticVarCompensator() |
boolean |
hasSwingBus() |
boolean |
hasSwitchedShuntAdjustment() |
boolean |
hasTapControl() |
void |
initBusVoltage() |
boolean |
initContributeGenLoad(boolean dclfOnly) |
boolean |
isContributeGenLoadModel() |
boolean |
isLfConverged() |
boolean |
isLfDataLoaded() |
boolean |
isSensitivityCalculated() |
Mismatch |
maxMismatch(AclfMethodType lfMethod) |
Mismatch |
maxMismatch(AclfMethodType lfMethod,
java.util.function.Predicate<BaseAclfBus<?,?>> predicate) |
Mismatch |
maxMismatch(AclfMethodType lfMethod,
Unit.UnitType unit) |
boolean |
needDiscreteAdjust() |
boolean |
needLimitAdjust(double tolerance) |
boolean |
needLimitBackoffAdjust() |
boolean |
needPowerAdjust(double tolerance) |
boolean |
needVoltageAdjust(double tolerance) |
java.util.List<Area> |
neighborAreas(Area area) |
java.util.List<Zone> |
neighborZones(Zone zone) |
java.lang.String |
net2String() |
protected int |
noBusInArea(int areaFlag) |
org.apache.commons.math3.complex.Complex |
powerAreaExport(Area area) |
org.apache.commons.math3.complex.Complex |
powerZoneExport(Zone zone) |
void |
readData(com.hazelcast.nio.ObjectDataInput in) |
boolean |
remove3WXfr(java.lang.String fromBusId,
java.lang.String toBusId,
java.lang.String tertBusId,
java.lang.String cirNumber) |
void |
setAclfNetAdjust(AclfNetAdjustment newAclfNetAdjust) |
void |
setAclfNetModelType(AclfNetModelType newAclfNetModelType) |
void |
setContributeGenLoadModel(boolean newContributeGenLoadModel) |
void |
setDefaultVoltageLimit(LimitType newDefaultVoltageLimit) |
void |
setLfConverged(boolean newLfConverged) |
void |
setLfDataLoaded(boolean newLfDataLoaded) |
void |
setNetworkType(NetworkType newNetworkType) |
void |
setSensitivityCalculated(boolean newSensitivityCalculated) |
void |
setXfrZAdjustSide(BranchBusSide newXfrZAdjustSide) |
void |
setZeroZBranchThreshold(double newZeroZBranchThreshold) |
double |
smallestLoad(Unit.UnitType unit) |
java.lang.String |
toString() |
org.apache.commons.math3.complex.Complex |
totalGeneration(Unit.UnitType unit) |
org.apache.commons.math3.complex.Complex |
totalLoad(java.util.function.Predicate<AclfLoad> predicate,
Unit.UnitType unit) |
org.apache.commons.math3.complex.Complex |
totalLoad(Unit.UnitType unit) |
org.apache.commons.math3.complex.Complex |
totalLoss(Unit.UnitType unit) |
void |
writeData(com.hazelcast.nio.ObjectDataOutput out) |
accept, addArea, addBranch, addBranch, addBranch, addBranch2Cache, addBranch2Cache, addBranch2Cache, addBus, addBus2Cache, addOwner, addSubstation, addTieLine, addZone, arrangeBusNumber, cachedBranches2Net, cachedBuses2Net, eInverseAdd, formAdjacencyMatrix, getArea, getArea, getAreaMap, getBaseKva, getBaseMva, getBranch, getBranch, getBranch, getBranches, getBranches, getBus, getBus, getChildNetWrapper, getChildNetWrapperList, getExtraInfo, getFrequency, getNoActiveBranch, getNoActiveBranch, getNoActiveBus, getNoActiveBus, getNoBranch, getNoBranch, getNoBus, getNoBus, getOriginalDataFormat, getOwner, getOwner, getOwnerMap, getRefBusId, getRefBusIdSet, getRefBusType, getSubstation, getSubstationMap, getSubstationMap, getTieLineList, getTimeStamp, getZone, getZone, getZoneMap, hasBranch, hasBranch, hasBus, hasChildNet, hzCopy, isAllowGroundBranch, isBusNumberArranged, isBypassDataCheck, isDataChecked, isOnlineModel, isRefBus, jsonCopy, rebuildLookupTable, removeBranch, removeBranch, removeBranch, removeBus, removeBus, removeTieLine, replaceBus, setAllowGroundBranch, setBaseKva, setBusNumberArranged, setBypassDataCheck, setDataChecked, setExtraInfo, setFrequency, setOriginalDataFormat, setRefBusId, setRefBusIdSet, setRefBusType, setTimeStamp, setToEmpty, setVisitedStatus, updateBranchId
checkData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, setDesc, setId, setName, setNumber, setStatus, setStatusChangeInfo
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
eAddVirtualValue, 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, eVirtualValues
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
accept, addArea, addBranch, addBranch, addBranch, addBranch2Cache, addBranch2Cache, addBranch2Cache, addBus, addBus2Cache, addOwner, addSubstation, addTieLine, addZone, arrangeBusNumber, cachedBranches2Net, cachedBuses2Net, formAdjacencyMatrix, getArea, getArea, getAreaMap, getBaseKva, getBaseMva, getBranch, getBranch, getBranch, getBranches, getBranches, getBus, getBus, getChildNetWrapperList, getExtraInfo, getFrequency, getNoActiveBranch, getNoActiveBranch, getNoActiveBus, getNoActiveBus, getNoBranch, getNoBranch, getNoBus, getNoBus, getOriginalDataFormat, getOwner, getOwner, getOwnerMap, getRefBusId, getRefBusIdSet, getRefBusType, getSubstation, getSubstationMap, getSubstationMap, getTieLineList, getTimeStamp, getZone, getZone, getZoneMap, hasBranch, hasBranch, hasBus, hzCopy, isAllowGroundBranch, isBusNumberArranged, isBypassDataCheck, isDataChecked, isOnlineModel, isRefBus, rebuildLookupTable, removeBranch, removeBranch, removeBranch, removeBus, removeBus, removeTieLine, replaceBus, setAllowGroundBranch, setBaseKva, setBusNumberArranged, setBypassDataCheck, setDataChecked, setExtraInfo, setFrequency, setOriginalDataFormat, setRefBusId, setRefBusIdSet, setRefBusType, setTimeStamp, setToEmpty, setVisitedStatus, updateBranchId
checkData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, jsonCopy, setDesc, setId, setName, setNumber, setStatus, setStatusChangeInfo
getChildNetWrapper, hasChildNet
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected static final NetworkType NETWORK_TYPE_EDEFAULT
Network Type
' attribute.
getNetworkType()
protected NetworkType networkType
Network Type
' attribute.
getNetworkType()
protected static final AclfNetModelType ACLF_NET_MODEL_TYPE_EDEFAULT
Aclf Net Model Type
' attribute.
getAclfNetModelType()
protected AclfNetModelType aclfNetModelType
Aclf Net Model Type
' attribute.
getAclfNetModelType()
protected static final boolean CONTRIBUTE_GEN_LOAD_MODEL_EDEFAULT
Contribute Gen Load Model
' attribute.
isContributeGenLoadModel()
,
Constant Field Valuesprotected boolean contributeGenLoadModel
Contribute Gen Load Model
' attribute.
isContributeGenLoadModel()
protected static final boolean SENSITIVITY_CALCULATED_EDEFAULT
Sensitivity Calculated
' attribute.
isSensitivityCalculated()
,
Constant Field Valuesprotected boolean sensitivityCalculated
Sensitivity Calculated
' attribute.
isSensitivityCalculated()
protected static final boolean LF_DATA_LOADED_EDEFAULT
Lf Data Loaded
' attribute.
isLfDataLoaded()
,
Constant Field Valuesprotected boolean lfDataLoaded
Lf Data Loaded
' attribute.
isLfDataLoaded()
protected static final boolean LF_CONVERGED_EDEFAULT
Lf Converged
' attribute.
isLfConverged()
,
Constant Field Valuesprotected boolean lfConverged
Lf Converged
' attribute.
isLfConverged()
protected static final double ZERO_ZBRANCH_THRESHOLD_EDEFAULT
Zero ZBranch Threshold
' attribute.
getZeroZBranchThreshold()
,
Constant Field Valuesprotected double zeroZBranchThreshold
Zero ZBranch Threshold
' attribute.
getZeroZBranchThreshold()
protected static final BranchBusSide XFR_ZADJUST_SIDE_EDEFAULT
Xfr ZAdjust Side
' attribute.
getXfrZAdjustSide()
protected BranchBusSide xfrZAdjustSide
Xfr ZAdjust Side
' attribute.
getXfrZAdjustSide()
protected static final LimitType DEFAULT_VOLTAGE_LIMIT_EDEFAULT
Default Voltage Limit
' attribute.
getDefaultVoltageLimit()
protected LimitType defaultVoltageLimit
Default Voltage Limit
' attribute.
getDefaultVoltageLimit()
protected AclfNetAdjustment aclfNetAdjust
Aclf Net Adjust
' containment reference.
getAclfNetAdjust()
protected org.eclipse.emf.common.util.EList<XfrZTableEntry> xfrZTable
Xfr ZTable
' containment reference list.
getXfrZTable()
protected org.eclipse.emf.common.util.EList<Branch> specialBranchList
Special Branch List
' reference list.
getSpecialBranchList()
public boolean addGroundBranch(TBranch branch, java.lang.String busId)
NetworkImpl
addGroundBranch
in interface Network<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
addGroundBranch
in class NetworkImpl<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
branch
- the branch object to be addedbusId
- from bus id
public org.eclipse.emf.common.util.EList<TBranch> getBranchList()
getBranchList
in interface Network<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
getBranchList
in class NetworkImpl<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
NetPackage.getNetwork_BranchList()
public org.eclipse.emf.common.util.EList<Branch> getSpecialBranchList()
getSpecialBranchList
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
AclfPackage.getBaseAclfNetwork_SpecialBranchList()
public org.eclipse.emf.common.util.EList<TBus> getBusList()
getBusList
in interface Network<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
getBusList
in class NetworkImpl<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
NetPackage.getNetwork_BusList()
public NetworkType getNetworkType()
getNetworkType
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
NetworkType
,
BaseAclfNetwork.setNetworkType(NetworkType)
,
AclfPackage.getBaseAclfNetwork_NetworkType()
public void setNetworkType(NetworkType newNetworkType)
setNetworkType
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
newNetworkType
- the new value of the 'Network Type' attribute.NetworkType
,
BaseAclfNetwork.getNetworkType()
public AclfNetModelType getAclfNetModelType()
getAclfNetModelType
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
AclfNetModelType
,
BaseAclfNetwork.setAclfNetModelType(AclfNetModelType)
,
AclfPackage.getBaseAclfNetwork_AclfNetModelType()
public void setAclfNetModelType(AclfNetModelType newAclfNetModelType)
setAclfNetModelType
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
newAclfNetModelType
- the new value of the 'Aclf Net Model Type' attribute.AclfNetModelType
,
BaseAclfNetwork.getAclfNetModelType()
public boolean isContributeGenLoadModel()
isContributeGenLoadModel
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
BaseAclfNetwork.setContributeGenLoadModel(boolean)
,
AclfPackage.getBaseAclfNetwork_ContributeGenLoadModel()
public void setContributeGenLoadModel(boolean newContributeGenLoadModel)
setContributeGenLoadModel
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
newContributeGenLoadModel
- the new value of the 'Contribute Gen Load Model' attribute.BaseAclfNetwork.isContributeGenLoadModel()
public boolean isSensitivityCalculated()
isSensitivityCalculated
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
BaseAclfNetwork.setSensitivityCalculated(boolean)
,
AclfPackage.getBaseAclfNetwork_SensitivityCalculated()
public void setSensitivityCalculated(boolean newSensitivityCalculated)
setSensitivityCalculated
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
newSensitivityCalculated
- the new value of the 'Sensitivity Calculated' attribute.BaseAclfNetwork.isSensitivityCalculated()
public boolean isLfDataLoaded()
isLfDataLoaded
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
BaseAclfNetwork.setLfDataLoaded(boolean)
,
AclfPackage.getBaseAclfNetwork_LfDataLoaded()
public void setLfDataLoaded(boolean newLfDataLoaded)
setLfDataLoaded
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
newLfDataLoaded
- the new value of the 'Lf Data Loaded' attribute.BaseAclfNetwork.isLfDataLoaded()
public boolean isLfConverged()
isLfConverged
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
BaseAclfNetwork.setLfConverged(boolean)
,
AclfPackage.getBaseAclfNetwork_LfConverged()
public void setLfConverged(boolean newLfConverged)
setLfConverged
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
newLfConverged
- the new value of the 'Lf Converged' attribute.BaseAclfNetwork.isLfConverged()
public double getZeroZBranchThreshold()
getZeroZBranchThreshold
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
BaseAclfNetwork.setZeroZBranchThreshold(double)
,
AclfPackage.getBaseAclfNetwork_ZeroZBranchThreshold()
public void setZeroZBranchThreshold(double newZeroZBranchThreshold)
setZeroZBranchThreshold
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
newZeroZBranchThreshold
- the new value of the 'Zero ZBranch Threshold' attribute.BaseAclfNetwork.getZeroZBranchThreshold()
public BranchBusSide getXfrZAdjustSide()
getXfrZAdjustSide
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
BranchBusSide
,
BaseAclfNetwork.setXfrZAdjustSide(BranchBusSide)
,
AclfPackage.getBaseAclfNetwork_XfrZAdjustSide()
public void setXfrZAdjustSide(BranchBusSide newXfrZAdjustSide)
setXfrZAdjustSide
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
newXfrZAdjustSide
- the new value of the 'Xfr ZAdjust Side' attribute.BranchBusSide
,
BaseAclfNetwork.getXfrZAdjustSide()
public LimitType getDefaultVoltageLimit()
getDefaultVoltageLimit
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
BaseAclfNetwork.setDefaultVoltageLimit(LimitType)
,
AclfPackage.getBaseAclfNetwork_DefaultVoltageLimit()
public void setDefaultVoltageLimit(LimitType newDefaultVoltageLimit)
setDefaultVoltageLimit
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
newDefaultVoltageLimit
- the new value of the 'Default Voltage Limit' attribute.BaseAclfNetwork.getDefaultVoltageLimit()
public AclfNetAdjustment getAclfNetAdjust()
getAclfNetAdjust
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
BaseAclfNetwork.setAclfNetAdjust(AclfNetAdjustment)
,
AclfPackage.getBaseAclfNetwork_AclfNetAdjust()
public org.eclipse.emf.common.notify.NotificationChain basicSetAclfNetAdjust(AclfNetAdjustment newAclfNetAdjust, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setAclfNetAdjust(AclfNetAdjustment newAclfNetAdjust)
setAclfNetAdjust
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
newAclfNetAdjust
- the new value of the 'Aclf Net Adjust' containment reference.BaseAclfNetwork.getAclfNetAdjust()
public org.eclipse.emf.common.util.EList<XfrZTableEntry> getXfrZTable()
getXfrZTable
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
AclfPackage.getBaseAclfNetwork_XfrZTable()
public XfrZTableEntry getXfrZTableEntry(int number)
getXfrZTableEntry
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
public void initBusVoltage()
initBusVoltage
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
public boolean initContributeGenLoad(boolean dclfOnly)
initContributeGenLoad
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
dclfOnly
- initialization for Dclf only
public boolean allocateContributeGenQ(double tolerance)
allocateContributeGenQ
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
public void calLoadDFactor() throws InterpssException
calLoadDFactor
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
InterpssException
public void calLoadDFactor(java.util.function.Predicate<AclfLoad> predicate) throws InterpssException
calLoadDFactor
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
predicate
- predicate to determine if an AclfLoad is included in the Load distribution factor calculation.
InterpssException
public boolean adjustXfrZ()
adjustXfrZ
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
public boolean checkData(DataCheckConfiguration config)
checkData
in interface NameTag
checkData
in class NetworkImpl<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
config
- data check configuration
public Mismatch maxMismatch(AclfMethodType lfMethod)
maxMismatch
in interface IAclfNetFunc
lfMethod
- Loadflow method
public Mismatch maxMismatch(AclfMethodType lfMethod, Unit.UnitType unit)
maxMismatch
in interface IAclfNetFunc
lfMethod
- Loadflow methodunit
- power output unit
public Mismatch maxMismatch(AclfMethodType lfMethod, java.util.function.Predicate<BaseAclfBus<?,?>> predicate)
maxMismatch
in interface IAclfNetFunc
lfMethod
- Loadflow methodpredicate
- AclfBus predicate function
public void calExternalPowerIntoNet()
calExternalPowerIntoNet
in interface IAclfNetFunc
public boolean hasSwingBus()
hasSwingBus
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
public Branch getSpecialBranch(java.lang.String Id)
getSpecialBranch
in interface BaseAclfNetwork<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
Id
- from bus id
public boolean hasPSXfr()
hasPSXfr
in interface IAclfNetElement
public double smallestLoad(Unit.UnitType unit)
smallestLoad
in interface IAclfNetFunc
public org.apache.commons.math3.complex.Complex totalLoss(Unit.UnitType unit)
totalLoss
in interface IAclfNetFunc
unit
- Loss unit
public org.apache.commons.math3.complex.Complex totalGeneration(Unit.UnitType unit)
totalGeneration
in interface IAclfNetFunc
unit
- generation unit
public org.apache.commons.math3.complex.Complex totalLoad(Unit.UnitType unit)
totalLoad
in interface IAclfNetFunc
unit
- Load unit
public org.apache.commons.math3.complex.Complex totalLoad(java.util.function.Predicate<AclfLoad> predicate, Unit.UnitType unit)
totalLoad
in interface IAclfNetFunc
predicate
- predicate to determine if an AclfLoad is included in the total Load calculation.unit
- Load unit
public double areaOutputPower(int number, Unit.UnitType unit)
areaOutputPower
in interface IAclfAreaZone
number
- area numberunit
- output unit
public org.apache.commons.math3.complex.Complex powerZoneExport(Zone zone)
powerZoneExport
in interface IAclfAreaZone
zone
- zone object
public java.util.List<Zone> neighborZones(Zone zone)
neighborZones
in interface IAclfAreaZone
zone
- zone object
public org.apache.commons.math3.complex.Complex powerAreaExport(Area area)
powerAreaExport
in interface IAclfAreaZone
area
- area object
public java.util.List<Area> neighborAreas(Area area)
neighborAreas
in interface IAclfAreaZone
area
- area object
public boolean hasBranchMavRatingViolation()
hasBranchMavRatingViolation
in interface IAclfNetFunc
public ISparseEqnComplex formYMatrix()
formYMatrix
in interface IAclfNetFormMatrix
public ISparseEqnComplex formYMatrix(int areaFlag)
formYMatrix
in interface IAclfNetFormMatrix
areaFlag
- areaFlag for identifying the sub-area.
protected int noBusInArea(int areaFlag)
public ISparseEqnMatrix2x2 formJMatrix(JacobianMatrixType type)
formJMatrix
in interface IAclfNetFormMatrix
type
- J-matrix type
public ISparseEqnMatrix2x2 formJMatrix(int n)
formJMatrix
in interface IAclfNetFormMatrix
n
- number of the extra element
public ISparseEqnMatrix2x2 formJMatrix()
formJMatrix
in interface IAclfNetFormMatrix
public ISparseEqnDouble formB1Matrix() throws InterpssException
formB1Matrix
in interface IAclfNetFormMatrix
InterpssException
public ISparseEqnDouble formB11Matrix() throws InterpssException
formB11Matrix
in interface IAclfNetFormMatrix
InterpssException
public ISparseEqnDouble formB1Matrix(JacobianMatrixType type) throws InterpssException
formB1Matrix
in interface IAclfNetFormMatrix
type
- J-matrix tpe
InterpssException
public ISparseEqnDouble formB11Matrix(JacobianMatrixType type) throws InterpssException
formB11Matrix
in interface IAclfNetFormMatrix
type
- J-matrix type
InterpssException
public boolean hasFunctionLoad()
hasFunctionLoad
in interface IAclfNetAdjustment
public boolean hasPVBusLimit()
hasPVBusLimit
in interface IAclfNetAdjustment
public boolean hasPQBusLimit()
hasPQBusLimit
in interface IAclfNetAdjustment
public boolean hasRemoteQBus()
hasRemoteQBus
in interface IAclfNetAdjustment
public boolean hasStaticVarCompensator()
hasStaticVarCompensator
in interface IAclfNetAdjustment
public boolean hasSwitchedShuntAdjustment()
hasSwitchedShuntAdjustment
in interface IAclfNetAdjustment
public boolean hasTapControl()
hasTapControl
in interface IAclfNetAdjustment
public boolean hasPSXfrPControl()
hasPSXfrPControl
in interface IAclfNetAdjustment
public boolean needLimitAdjust(double tolerance)
needLimitAdjust
in interface IAclfNetAdjustment
tolerance
- tolerance for applying the adjustment
public boolean needDiscreteAdjust() throws IpssNumericException
needDiscreteAdjust
in interface IAclfNetAdjustment
IpssNumericException
public boolean needLimitBackoffAdjust()
needLimitBackoffAdjust
in interface IAclfNetAdjustment
public boolean needVoltageAdjust(double tolerance)
needVoltageAdjust
in interface IAclfNetAdjustment
tolerance
- tolerance for checking
public boolean needPowerAdjust(double tolerance)
needPowerAdjust
in interface IAclfNetAdjustment
tolerance
- tolerance for the power adjustment
public void calculateHvdc()
calculateHvdc
in interface IAclfNetElement
public HvdcLine2T<BaseAclfBus<?,?>> addHvdcLine2T(HvdcLine2T<BaseAclfBus<?,?>> hvdcLine, java.lang.String fromBusId, java.lang.String toBusId, java.lang.String dcLineNumber)
addHvdcLine2T
in interface IAclfNetElement
fromBusId
- from bus idtoBusId
- to bus iddcLineNumber
- HVDC line number
public HvdcLine2T<BaseAclfBus<?,?>> addHvdcLine2T(HvdcLine2T<BaseAclfBus<?,?>> hvdcLine, java.lang.String fromBusId, java.lang.String toBusId, java.lang.String dcLineNumber, java.lang.String lineId, java.lang.String name)
addHvdcLine2T
in interface IAclfNetElement
fromBusId
- from bus idtoBusId
- to bus iddcLineNumber
- HVDC line numberlineId
- from bus idname
- from bus id
public HvdcLine2T<BaseAclfBus<?,?>> getHvdcLine2T(java.lang.String lineId)
getHvdcLine2T
in interface IAclfNetElement
lineId
- HVDC line id
public boolean has3WXfr(java.lang.String fromBusId, java.lang.String toBusId, java.lang.String tertBusId)
has3WXfr
in interface INet3WXfrElement
fromBusId
- from bus idtoBusId
- to bus idtertBusId
- tertiaray bus id
public boolean has3WXfr(java.lang.String fromBusId, java.lang.String toBusId, java.lang.String tertBusId, java.lang.String cirId)
has3WXfr
in interface INet3WXfrElement
fromBusId
- from bus idtoBusId
- to bus istertBusId
- tertiaray bus idcirId
- circuit id
public Aclf3WBranch get3WXfr(java.lang.String fromBusId, java.lang.String toBusId, java.lang.String tertBusId)
get3WXfr
in interface INet3WXfrElement
fromBusId
- from bus idtoBusId
- to bus idtertBusId
- tertiaray bus id
public Aclf3WBranch get3WXfr(java.lang.String fromBusId, java.lang.String toBusId, java.lang.String tertBusId, java.lang.String circuitNumber)
get3WXfr
in interface INet3WXfrElement
fromBusId
- from bus idtoBusId
- to bus idtertBusId
- tertiaray bus idcircuitNumber
- branch circuit number
public boolean add3WXfr(Aclf3WBranch branch, java.lang.String fromBusId, java.lang.String toBusId, java.lang.String tertBusId)
add3WXfr
in interface INet3WXfrElement
branch
- the branch object to be addedfromBusId
- from bus idtoBusId
- to bus idtertBusId
- tertiarary bus id
public boolean add3WXfr(Aclf3WBranch branch, java.lang.String fromBusId, java.lang.String toBusId, java.lang.String tertBusId, java.lang.String cirId)
add3WXfr
in interface INet3WXfrElement
branch
- the branch object to be addedfromBusId
- from bus idtoBusId
- to bus idtertBusId
- tertirary bus idcirId
- circuit id
public boolean remove3WXfr(java.lang.String fromBusId, java.lang.String toBusId, java.lang.String tertBusId, java.lang.String cirNumber)
remove3WXfr
in interface INet3WXfrElement
fromBusId
- from bud idtoBusId
- to bus idtertBusId
- tertiaray bus idcirNumber
- branch circuit number
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class NetworkImpl<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
public 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 NetworkImpl<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class NetworkImpl<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class NetworkImpl<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class NetworkImpl<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class NetworkImpl<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
public java.lang.String net2String()
net2String
in interface Network<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
net2String
in class NetworkImpl<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
public java.lang.String toString()
toString
in class NetworkImpl<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
public void writeData(com.hazelcast.nio.ObjectDataOutput out) throws java.io.IOException
NameTagImpl
writeData
in interface com.hazelcast.nio.serialization.DataSerializable
writeData
in class NetworkImpl<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
java.io.IOException
public void readData(com.hazelcast.nio.ObjectDataInput in) throws java.io.IOException
NameTagImpl
readData
in interface com.hazelcast.nio.serialization.DataSerializable
readData
in class NetworkImpl<TBus extends BaseAclfBus<? extends AclfGen,? extends AclfLoad>,TBranch extends AclfBranch>
java.io.IOException