public class NetworkImpl<TBus extends Bus,TBranch extends Branch> extends NameTagImpl implements Network<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 boolean |
ALLOW_GROUND_BRANCH_EDEFAULT
The default value of the '
Allow Ground Branch ' attribute. |
protected boolean |
allowGroundBranch
The cached value of the '
Allow Ground Branch ' attribute. |
protected static java.util.Map<java.lang.String,Area> |
AREA_MAP_EDEFAULT
The default value of the '
Area Map ' attribute. |
protected java.util.Map<java.lang.String,Area> |
areaMap
The cached value of the '
Area Map ' attribute. |
protected static double |
BASE_KVA_EDEFAULT
The default value of the '
Base Kva ' attribute. |
protected double |
baseKva
The cached value of the '
Base Kva ' attribute. |
protected org.eclipse.emf.common.util.EList<TBranch> |
branchList
The cached value of the '
Branch List ' reference list. |
protected java.util.HashMap<java.lang.String,TBranch> |
branchLookupTable |
protected static boolean |
BUS_NUMBER_ARRANGED_EDEFAULT
The default value of the '
Bus Number Arranged ' attribute. |
protected org.eclipse.emf.common.util.EList<TBus> |
busList
The cached value of the '
Bus List ' reference list. |
protected java.util.HashMap<java.lang.String,TBus> |
busLookupTable |
protected boolean |
busNumberArranged
The cached value of the '
Bus Number Arranged ' attribute. |
protected static boolean |
BYPASS_DATA_CHECK_EDEFAULT
The default value of the '
Bypass Data Check ' attribute. |
protected boolean |
bypassDataCheck
The cached value of the '
Bypass Data Check ' attribute. |
protected org.eclipse.emf.common.util.EList<ChildNetworkWrapper<?,?>> |
childNetWrapperList
The cached value of the '
Child Net Wrapper List ' containment reference list. |
protected static boolean |
DATA_CHECKED_EDEFAULT
The default value of the '
Data Checked ' attribute. |
protected boolean |
dataChecked
The cached value of the '
Data Checked ' attribute. |
protected static java.util.Map<java.lang.String,java.lang.Object> |
EXTRA_INFO_EDEFAULT
The default value of the '
Extra Info ' attribute. |
protected java.util.Map<java.lang.String,java.lang.Object> |
extraInfo
The cached value of the '
Extra Info ' attribute. |
protected double |
frequency
The cached value of the '
Frequency ' attribute. |
protected static double |
FREQUENCY_EDEFAULT
The default value of the '
Frequency ' attribute. |
protected static OriginalDataFormat |
ORIGINAL_DATA_FORMAT_EDEFAULT
The default value of the '
Original Data Format ' attribute. |
protected OriginalDataFormat |
originalDataFormat
The cached value of the '
Original Data Format ' attribute. |
protected static java.util.Map<java.lang.String,Owner> |
OWNER_MAP_EDEFAULT
The default value of the '
Owner Map ' attribute. |
protected java.util.Map<java.lang.String,Owner> |
ownerMap
The cached value of the '
Owner Map ' attribute. |
protected static java.util.Set<java.lang.String> |
REF_BUS_ID_SET_EDEFAULT
The default value of the '
Ref Bus Id Set ' attribute. |
protected static RefBusType |
REF_BUS_TYPE_EDEFAULT
The default value of the '
Ref Bus Type ' attribute. |
protected java.util.Set<java.lang.String> |
refBusIdSet
The cached value of the '
Ref Bus Id Set ' attribute. |
protected RefBusType |
refBusType
The cached value of the '
Ref Bus Type ' attribute. |
protected static java.util.Map<java.lang.String,Substation> |
SUBSTATION_MAP_EDEFAULT
The default value of the '
Substation Map ' attribute. |
protected java.util.Map<java.lang.String,Substation> |
substationMap
The cached value of the '
Substation Map ' attribute. |
protected org.eclipse.emf.common.util.EList<TieLine> |
tieLineList
The cached value of the '
Tie Line List ' containment reference list. |
protected static java.time.LocalDateTime |
TIME_STAMP_EDEFAULT
The default value of the '
Time Stamp ' attribute. |
protected java.time.LocalDateTime |
timeStamp
The cached value of the '
Time Stamp ' attribute. |
protected static java.util.Map<java.lang.String,Zone> |
ZONE_MAP_EDEFAULT
The default value of the '
Zone Map ' attribute. |
protected java.util.Map<java.lang.String,Zone> |
zoneMap
The cached value of the '
Zone Map ' attribute. |
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 |
NetworkImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(INetBVisitor<?,?> visitor) |
void |
addArea(Area area) |
boolean |
addBranch(TBranch branch) |
boolean |
addBranch(TBranch branch,
java.lang.String fromBusId,
java.lang.String toBusId)
For a ground branch, toBusId = null.
|
boolean |
addBranch(TBranch branch,
java.lang.String fromBusId,
java.lang.String toBusId,
java.lang.String cirId) |
boolean |
addBranch2Cache(TBranch branch) |
boolean |
addBranch2Cache(TBranch branch,
java.lang.String fromBusId,
java.lang.String toBusId)
For a ground branch, toBusId = null.
|
boolean |
addBranch2Cache(TBranch branch,
java.lang.String fromBusId,
java.lang.String toBusId,
java.lang.String cirId) |
boolean |
addBus(TBus bus) |
boolean |
addBus2Cache(TBus bus) |
boolean |
addGroundBranch(TBranch branch,
java.lang.String busId)
For a ground branch, toBusId = null.
|
void |
addOwner(Owner owner) |
void |
addSubstation(Substation substation) |
java.util.Optional<TieLine> |
addTieLine(java.lang.String meteredBusId,
int meteredAreaNo,
java.lang.String nonMeteredBusId,
int nonMeteredAreaNo,
java.lang.String cirNo) |
void |
addZone(Zone zone) |
void |
arrangeBusNumber() |
boolean |
cachedBranches2Net() |
boolean |
cachedBuses2Net() |
boolean |
checkData(DataCheckConfiguration config) |
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) |
ISparseEqnInteger |
formAdjacencyMatrix() |
Area |
getArea(long areaNumber) |
Area |
getArea(java.lang.String areaId) |
java.util.Map<java.lang.String,Area> |
getAreaMap() |
double |
getBaseKva() |
double |
getBaseMva() |
TBranch |
getBranch(java.lang.String branchId) |
TBranch |
getBranch(java.lang.String fromBusId,
java.lang.String toBusId,
java.lang.String circuitNumber) |
TBranch |
getBranch(java.lang.String fromBusId,
java.lang.String toBusId,
java.lang.String circuitNumber,
boolean dirSensitive) |
java.util.List<Branch> |
getBranches(java.lang.String fromBusId,
java.lang.String toBusId) |
java.util.List<Branch> |
getBranches(java.lang.String fromBusId,
java.lang.String toBusId,
boolean dirSensitive) |
org.eclipse.emf.common.util.EList<TBranch> |
getBranchList() |
TBus |
getBus(int sortNumber) |
TBus |
getBus(java.lang.String aid) |
org.eclipse.emf.common.util.EList<TBus> |
getBusList() |
ChildNetworkWrapper<?,?> |
getChildNetWrapper(java.lang.String netId) |
org.eclipse.emf.common.util.EList<ChildNetworkWrapper<?,?>> |
getChildNetWrapperList() |
java.util.Map<java.lang.String,java.lang.Object> |
getExtraInfo() |
double |
getFrequency() |
int |
getNoActiveBranch() |
int |
getNoActiveBranch(boolean inclChildNet) |
int |
getNoActiveBus() |
int |
getNoActiveBus(boolean inclChildNet) |
int |
getNoBranch() |
int |
getNoBranch(boolean inclChildNet) |
int |
getNoBus() |
int |
getNoBus(boolean inclChildNet) |
OriginalDataFormat |
getOriginalDataFormat() |
Owner |
getOwner(int number) |
Owner |
getOwner(java.lang.String ownerId) |
java.util.Map<java.lang.String,Owner> |
getOwnerMap() |
java.lang.String |
getRefBusId() |
java.util.Set<java.lang.String> |
getRefBusIdSet() |
RefBusType |
getRefBusType() |
Substation |
getSubstation(java.lang.String substationName) |
java.util.Map<java.lang.String,Substation> |
getSubstationMap() |
java.util.Map<java.lang.String,Substation> |
getSubstationMap(boolean inclChildNet) |
org.eclipse.emf.common.util.EList<TieLine> |
getTieLineList() |
java.time.LocalDateTime |
getTimeStamp() |
Zone |
getZone(long zoneNo) |
Zone |
getZone(java.lang.String zoneId) |
java.util.Map<java.lang.String,Zone> |
getZoneMap() |
boolean |
hasBranch(java.lang.String fromBusId,
java.lang.String toBusId) |
boolean |
hasBranch(java.lang.String fromBusId,
java.lang.String toBusId,
java.lang.String cirId) |
boolean |
hasBus(java.lang.String busId) |
boolean |
hasChildNet() |
<T> T |
hzCopy() |
boolean |
isAllowGroundBranch() |
boolean |
isBusNumberArranged() |
boolean |
isBypassDataCheck() |
boolean |
isDataChecked() |
boolean |
isOnlineModel() |
boolean |
isRefBus(Bus bus) |
<T> T |
jsonCopy() |
java.lang.String |
net2String() |
void |
readData(com.hazelcast.nio.ObjectDataInput in) |
void |
rebuildLookupTable() |
boolean |
removeBranch(java.lang.String branchId) |
boolean |
removeBranch(java.lang.String fromBusId,
java.lang.String toBusId,
java.lang.String cirNumber) |
boolean |
removeBranch(TBus fromBus,
TBus toBus,
java.lang.String cirNumber) |
boolean |
removeBus(java.lang.String busId) |
boolean |
removeBus(TBus bus) |
boolean |
removeTieLine(java.lang.String tieLineId) |
boolean |
replaceBus(java.lang.String busId,
TBus bus) |
void |
setAllowGroundBranch(boolean newAllowGroundBranch) |
void |
setBaseKva(double newBaseKva) |
void |
setBusNumberArranged(boolean newBusNumberArranged) |
void |
setBypassDataCheck(boolean newBypassDataCheck) |
void |
setDataChecked(boolean newDataChecked) |
void |
setExtraInfo(java.util.Map<java.lang.String,java.lang.Object> newExtraInfo) |
void |
setFrequency(double newFrequency) |
void |
setOriginalDataFormat(OriginalDataFormat newOriginalDataFormat) |
void |
setRefBusId(java.lang.String busId) |
void |
setRefBusIdSet(java.util.Set<java.lang.String> newRefBusIdSet) |
void |
setRefBusType(RefBusType newRefBusType) |
void |
setTimeStamp(java.time.LocalDateTime newTimeStamp) |
void |
setToEmpty() |
void |
setVisitedStatus(boolean status) |
java.lang.String |
toString() |
void |
updateBranchId(java.lang.String branchId) |
void |
writeData(com.hazelcast.nio.ObjectDataOutput out) |
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
checkData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, setDesc, setId, setName, setNumber, setStatus, setStatusChangeInfo
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected static final java.time.LocalDateTime TIME_STAMP_EDEFAULT
Time Stamp
' attribute.
getTimeStamp()
protected java.time.LocalDateTime timeStamp
Time Stamp
' attribute.
getTimeStamp()
protected static final double BASE_KVA_EDEFAULT
Base Kva
' attribute.
getBaseKva()
,
Constant Field Valuesprotected double baseKva
Base Kva
' attribute.
getBaseKva()
protected static final double FREQUENCY_EDEFAULT
Frequency
' attribute.
getFrequency()
,
Constant Field Valuesprotected double frequency
Frequency
' attribute.
getFrequency()
protected static final boolean BUS_NUMBER_ARRANGED_EDEFAULT
Bus Number Arranged
' attribute.
isBusNumberArranged()
,
Constant Field Valuesprotected boolean busNumberArranged
Bus Number Arranged
' attribute.
isBusNumberArranged()
protected static final boolean DATA_CHECKED_EDEFAULT
Data Checked
' attribute.
isDataChecked()
,
Constant Field Valuesprotected boolean dataChecked
Data Checked
' attribute.
isDataChecked()
protected static final boolean BYPASS_DATA_CHECK_EDEFAULT
Bypass Data Check
' attribute.
isBypassDataCheck()
,
Constant Field Valuesprotected boolean bypassDataCheck
Bypass Data Check
' attribute.
isBypassDataCheck()
protected static final boolean ALLOW_GROUND_BRANCH_EDEFAULT
Allow Ground Branch
' attribute.
isAllowGroundBranch()
,
Constant Field Valuesprotected boolean allowGroundBranch
Allow Ground Branch
' attribute.
isAllowGroundBranch()
protected static final OriginalDataFormat ORIGINAL_DATA_FORMAT_EDEFAULT
Original Data Format
' attribute.
getOriginalDataFormat()
protected OriginalDataFormat originalDataFormat
Original Data Format
' attribute.
getOriginalDataFormat()
protected static final RefBusType REF_BUS_TYPE_EDEFAULT
Ref Bus Type
' attribute.
getRefBusType()
protected RefBusType refBusType
Ref Bus Type
' attribute.
getRefBusType()
protected static final java.util.Set<java.lang.String> REF_BUS_ID_SET_EDEFAULT
Ref Bus Id Set
' attribute.
getRefBusIdSet()
protected java.util.Set<java.lang.String> refBusIdSet
Ref Bus Id Set
' attribute.
getRefBusIdSet()
protected static final java.util.Map<java.lang.String,Area> AREA_MAP_EDEFAULT
Area Map
' attribute.
getAreaMap()
protected java.util.Map<java.lang.String,Area> areaMap
Area Map
' attribute.
getAreaMap()
protected static final java.util.Map<java.lang.String,Zone> ZONE_MAP_EDEFAULT
Zone Map
' attribute.
getZoneMap()
protected java.util.Map<java.lang.String,Zone> zoneMap
Zone Map
' attribute.
getZoneMap()
protected static final java.util.Map<java.lang.String,Owner> OWNER_MAP_EDEFAULT
Owner Map
' attribute.
getOwnerMap()
protected java.util.Map<java.lang.String,Owner> ownerMap
Owner Map
' attribute.
getOwnerMap()
protected static final java.util.Map<java.lang.String,Substation> SUBSTATION_MAP_EDEFAULT
Substation Map
' attribute.
getSubstationMap()
protected java.util.Map<java.lang.String,Substation> substationMap
Substation Map
' attribute.
getSubstationMap()
protected org.eclipse.emf.common.util.EList<TBranch extends Branch> branchList
Branch List
' reference list.
getBranchList()
protected org.eclipse.emf.common.util.EList<TBus extends Bus> busList
Bus List
' reference list.
getBusList()
protected org.eclipse.emf.common.util.EList<TieLine> tieLineList
Tie Line List
' containment reference list.
getTieLineList()
protected static final java.util.Map<java.lang.String,java.lang.Object> EXTRA_INFO_EDEFAULT
Extra Info
' attribute.
getExtraInfo()
protected java.util.Map<java.lang.String,java.lang.Object> extraInfo
Extra Info
' attribute.
getExtraInfo()
protected org.eclipse.emf.common.util.EList<ChildNetworkWrapper<?,?>> childNetWrapperList
Child Net Wrapper List
' containment reference list.
getChildNetWrapperList()
public double getBaseKva()
getBaseKva
in interface Network<TBus extends Bus,TBranch extends Branch>
Network.setBaseKva(double)
,
NetPackage.getNetwork_BaseKva()
public void setBaseKva(double newBaseKva)
setBaseKva
in interface Network<TBus extends Bus,TBranch extends Branch>
newBaseKva
- the new value of the 'Base Kva' attribute.Network.getBaseKva()
public double getFrequency()
getFrequency
in interface Network<TBus extends Bus,TBranch extends Branch>
Network.setFrequency(double)
,
NetPackage.getNetwork_Frequency()
public void setFrequency(double newFrequency)
setFrequency
in interface Network<TBus extends Bus,TBranch extends Branch>
newFrequency
- the new value of the 'Frequency' attribute.Network.getFrequency()
public boolean isBusNumberArranged()
isBusNumberArranged
in interface Network<TBus extends Bus,TBranch extends Branch>
Network.setBusNumberArranged(boolean)
,
NetPackage.getNetwork_BusNumberArranged()
public void setBusNumberArranged(boolean newBusNumberArranged)
setBusNumberArranged
in interface Network<TBus extends Bus,TBranch extends Branch>
newBusNumberArranged
- the new value of the 'Bus Number Arranged' attribute.Network.isBusNumberArranged()
public boolean isDataChecked()
isDataChecked
in interface Network<TBus extends Bus,TBranch extends Branch>
Network.setDataChecked(boolean)
,
NetPackage.getNetwork_DataChecked()
public void setDataChecked(boolean newDataChecked)
setDataChecked
in interface Network<TBus extends Bus,TBranch extends Branch>
newDataChecked
- the new value of the 'Data Checked' attribute.Network.isDataChecked()
public boolean isBypassDataCheck()
isBypassDataCheck
in interface Network<TBus extends Bus,TBranch extends Branch>
Network.setBypassDataCheck(boolean)
,
NetPackage.getNetwork_BypassDataCheck()
public void setBypassDataCheck(boolean newBypassDataCheck)
setBypassDataCheck
in interface Network<TBus extends Bus,TBranch extends Branch>
newBypassDataCheck
- the new value of the 'Bypass Data Check' attribute.Network.isBypassDataCheck()
public boolean isAllowGroundBranch()
isAllowGroundBranch
in interface Network<TBus extends Bus,TBranch extends Branch>
Network.setAllowGroundBranch(boolean)
,
NetPackage.getNetwork_AllowGroundBranch()
public void setAllowGroundBranch(boolean newAllowGroundBranch)
setAllowGroundBranch
in interface Network<TBus extends Bus,TBranch extends Branch>
newAllowGroundBranch
- the new value of the 'Allow Ground Branch' attribute.Network.isAllowGroundBranch()
public OriginalDataFormat getOriginalDataFormat()
getOriginalDataFormat
in interface Network<TBus extends Bus,TBranch extends Branch>
OriginalDataFormat
,
Network.setOriginalDataFormat(OriginalDataFormat)
,
NetPackage.getNetwork_OriginalDataFormat()
public void setOriginalDataFormat(OriginalDataFormat newOriginalDataFormat)
setOriginalDataFormat
in interface Network<TBus extends Bus,TBranch extends Branch>
newOriginalDataFormat
- the new value of the 'Original Data Format' attribute.OriginalDataFormat
,
Network.getOriginalDataFormat()
public RefBusType getRefBusType()
getRefBusType
in interface Network<TBus extends Bus,TBranch extends Branch>
RefBusType
,
Network.setRefBusType(RefBusType)
,
NetPackage.getNetwork_RefBusType()
public void setRefBusType(RefBusType newRefBusType)
setRefBusType
in interface Network<TBus extends Bus,TBranch extends Branch>
newRefBusType
- the new value of the 'Ref Bus Type' attribute.RefBusType
,
Network.getRefBusType()
public java.util.Set<java.lang.String> getRefBusIdSet()
getRefBusIdSet
in interface Network<TBus extends Bus,TBranch extends Branch>
Network.setRefBusIdSet(Set)
,
NetPackage.getNetwork_RefBusIdSet()
public void setRefBusIdSet(java.util.Set<java.lang.String> newRefBusIdSet)
setRefBusIdSet
in interface Network<TBus extends Bus,TBranch extends Branch>
newRefBusIdSet
- the new value of the 'Ref Bus Id Set' attribute.Network.getRefBusIdSet()
public java.util.Map<java.lang.String,Area> getAreaMap()
getAreaMap
in interface Network<TBus extends Bus,TBranch extends Branch>
NetPackage.getNetwork_AreaMap()
public java.util.Map<java.lang.String,Zone> getZoneMap()
getZoneMap
in interface Network<TBus extends Bus,TBranch extends Branch>
NetPackage.getNetwork_ZoneMap()
public java.util.Map<java.lang.String,Owner> getOwnerMap()
getOwnerMap
in interface Network<TBus extends Bus,TBranch extends Branch>
NetPackage.getNetwork_OwnerMap()
public java.util.Map<java.lang.String,Substation> getSubstationMap(boolean inclChildNet)
public java.util.Map<java.lang.String,Substation> getSubstationMap()
getSubstationMap
in interface Network<TBus extends Bus,TBranch extends Branch>
NetPackage.getNetwork_SubstationMap()
public org.eclipse.emf.common.util.EList<TBranch> getBranchList()
getBranchList
in interface Network<TBus extends Bus,TBranch extends Branch>
NetPackage.getNetwork_BranchList()
public org.eclipse.emf.common.util.EList<TBus> getBusList()
getBusList
in interface Network<TBus extends Bus,TBranch extends Branch>
NetPackage.getNetwork_BusList()
public void addArea(Area area)
public void addZone(Zone zone)
public void addSubstation(Substation substation)
public void addOwner(Owner owner)
public org.eclipse.emf.common.util.EList<TieLine> getTieLineList()
getTieLineList
in interface Network<TBus extends Bus,TBranch extends Branch>
NetPackage.getNetwork_TieLineList()
,
TieLine.getNetwork()
public java.util.Map<java.lang.String,java.lang.Object> getExtraInfo()
getExtraInfo
in interface Network<TBus extends Bus,TBranch extends Branch>
Network.setExtraInfo(Map)
,
NetPackage.getNetwork_ExtraInfo()
public void setExtraInfo(java.util.Map<java.lang.String,java.lang.Object> newExtraInfo)
setExtraInfo
in interface Network<TBus extends Bus,TBranch extends Branch>
newExtraInfo
- the new value of the 'Extra Info' attribute.Network.getExtraInfo()
public org.eclipse.emf.common.util.EList<ChildNetworkWrapper<?,?>> getChildNetWrapperList()
getChildNetWrapperList
in interface Network<TBus extends Bus,TBranch extends Branch>
NetPackage.getNetwork_ChildNetWrapperList()
,
ChildNetworkWrapper.getParentNetwork()
public boolean isOnlineModel()
public boolean accept(INetBVisitor<?,?> visitor)
public boolean isRefBus(Bus bus)
public double getBaseMva()
public boolean checkData(DataCheckConfiguration config)
checkData
in interface NameTag
checkData
in class NameTagImpl
config
- data check configuration
public void setToEmpty()
public Area getArea(long areaNumber)
public Area getArea(java.lang.String areaId)
public Zone getZone(long zoneNo)
public Zone getZone(java.lang.String zoneId)
public Substation getSubstation(java.lang.String substationName)
public Owner getOwner(java.lang.String ownerId)
public Owner getOwner(int number)
public int getNoBus()
public int getNoBus(boolean inclChildNet)
public int getNoActiveBus()
public int getNoActiveBus(boolean inclChildNet)
public boolean addBus(TBus bus)
public boolean addBus2Cache(TBus bus)
public boolean cachedBuses2Net()
public boolean hasBus(java.lang.String busId)
public java.lang.String getRefBusId()
public void setRefBusId(java.lang.String busId)
public TBus getBus(java.lang.String aid)
public TBus getBus(int sortNumber)
public boolean replaceBus(java.lang.String busId, TBus bus)
public boolean removeBus(java.lang.String busId)
public boolean removeBus(TBus bus)
public int getNoBranch()
public int getNoBranch(boolean inclChildNet)
public int getNoActiveBranch()
public int getNoActiveBranch(boolean inclChildNet)
public boolean hasBranch(java.lang.String fromBusId, java.lang.String toBusId)
public boolean hasBranch(java.lang.String fromBusId, java.lang.String toBusId, java.lang.String cirId)
public TBranch getBranch(java.lang.String branchId)
public java.util.List<Branch> getBranches(java.lang.String fromBusId, java.lang.String toBusId)
public java.util.List<Branch> getBranches(java.lang.String fromBusId, java.lang.String toBusId, boolean dirSensitive)
public TBranch getBranch(java.lang.String fromBusId, java.lang.String toBusId, java.lang.String circuitNumber)
public TBranch getBranch(java.lang.String fromBusId, java.lang.String toBusId, java.lang.String circuitNumber, boolean dirSensitive)
public boolean addBranch(TBranch branch)
public boolean addBranch2Cache(TBranch branch)
public boolean cachedBranches2Net()
public boolean addBranch(TBranch branch, java.lang.String fromBusId, java.lang.String toBusId)
public boolean addGroundBranch(TBranch branch, java.lang.String busId)
public boolean addBranch2Cache(TBranch branch, java.lang.String fromBusId, java.lang.String toBusId)
public boolean addBranch(TBranch branch, java.lang.String fromBusId, java.lang.String toBusId, java.lang.String cirId)
public boolean addBranch2Cache(TBranch branch, java.lang.String fromBusId, java.lang.String toBusId, java.lang.String cirId)
public void updateBranchId(java.lang.String branchId)
public boolean removeBranch(java.lang.String fromBusId, java.lang.String toBusId, java.lang.String cirNumber)
public boolean removeBranch(java.lang.String branchId)
public java.util.Optional<TieLine> addTieLine(java.lang.String meteredBusId, int meteredAreaNo, java.lang.String nonMeteredBusId, int nonMeteredAreaNo, java.lang.String cirNo)
public boolean removeTieLine(java.lang.String tieLineId)
public void setVisitedStatus(boolean status)
public boolean hasChildNet()
hasChildNet
in interface IChildNet
public void rebuildLookupTable()
public ISparseEqnInteger formAdjacencyMatrix()
public void arrangeBusNumber()
public ChildNetworkWrapper<?,?> getChildNetWrapper(java.lang.String netId)
getChildNetWrapper
in interface IChildNet
netId
- network id
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class NameTagImpl
public java.time.LocalDateTime getTimeStamp()
getTimeStamp
in interface Network<TBus extends Bus,TBranch extends Branch>
Network.setTimeStamp(LocalDateTime)
,
NetPackage.getNetwork_TimeStamp()
public void setTimeStamp(java.time.LocalDateTime newTimeStamp)
setTimeStamp
in interface Network<TBus extends Bus,TBranch extends Branch>
newTimeStamp
- the new value of the 'Time Stamp' attribute.Network.getTimeStamp()
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 org.eclipse.emf.ecore.impl.BasicEObjectImpl
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 org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class NameTagImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class NameTagImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class NameTagImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class NameTagImpl
public java.lang.String toString()
toString
in class NameTagImpl
public java.lang.String net2String()
public <T> T hzCopy()
public <T> T jsonCopy()
jsonCopy
in interface NameTag
jsonCopy
in class NameTagImpl
public void writeData(com.hazelcast.nio.ObjectDataOutput out) throws java.io.IOException
NameTagImpl
writeData
in interface com.hazelcast.nio.serialization.DataSerializable
writeData
in class NameTagImpl
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 NameTagImpl
java.io.IOException