public class DepContingencyImpl extends BaseContingencyImpl implements DepContingency
The following features are implemented:
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| Modifier and Type | Method and Description |
|---|---|
boolean |
addIslandBus(AclfBus bus) |
boolean |
addIslandBus(BaseAclfBus<?,?> bus) |
boolean |
addMonitoringBranch(MonitoringBranch branch) |
boolean |
addOutageBranch(OutageBranch branch) |
boolean |
checkData()
Give out warning messages, if
- Outage branch connects to the same parent bus after network
consolidation
|
void |
computeEquivOutageBranch(AclfNetwork net) |
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) |
void |
eUnset(int featureID) |
OutageBranch |
findEquivOutageBranch(Branch equivAclfBranch)
find the equivalent outage branch associated with the equivAclfBranch
|
OutageBranch |
getActiveEquivOutageBranch() |
OutageBranch |
getAnyEquivOutageBranch(int islandNumber) |
org.eclipse.emf.common.util.EList<OutageBranch> |
getEquivOutageBranches() |
org.eclipse.emf.common.util.EList<BaseAclfBus<?,?>> |
getIslandBuses() |
double |
getMaxShiftedFlow() |
java.lang.String |
getMaxShiftFlowBranchId() |
OutageBranch |
getOutageBranch(Branch branch) |
org.eclipse.emf.common.util.EList<OutageBranch> |
getOutageBranches() |
double |
getTotalIslandGen() |
double |
getTotalIslandLoad() |
int |
getTotalIslands() |
boolean |
isIslandBranch(Branch branch) |
boolean |
isIslandBus(Bus bus) |
boolean |
isOutageBranch(Branch branch) |
int |
nEquivOutageBranches() |
int |
nEquivOutageBranchInIsland(int islandNumber) |
int |
nOpenActiveOutages() |
void |
reset() |
void |
searchIslandBus(AclfNetwork net)
search island buses in the network
|
void |
setMaxShiftedFlow(double newMaxShiftedFlow) |
void |
setMaxShiftFlowBranchId(java.lang.String newMaxShiftFlowBranchId) |
void |
setTotalIslands(int newTotalIslands) |
java.lang.String |
toString() |
getMonitoringBranchescheckData, copy, copyRef, getDesc, getId, getName, getNumber, isActive, isStatus, readData, setDesc, setId, setName, setNumber, setStatus, writeDataeAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURIeAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnseteNotificationRequired, eNotifyequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetMonitoringBranchescheckData, copy, copyRef, getDesc, getId, getName, getNumber, isActive, isStatus, setDesc, setId, setName, setNumber, setStatuseAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDeliverpublic int getTotalIslands()
getTotalIslands in interface DepContingencyDepContingency.setTotalIslands(int),
DepContingencyPackage.getDepContingency_TotalIslands()public void setTotalIslands(int newTotalIslands)
setTotalIslands in interface DepContingencynewTotalIslands - the new value of the 'Total Islands' attribute.DepContingency.getTotalIslands()public double getMaxShiftedFlow()
getMaxShiftedFlow in interface DepContingencyDepContingency.setMaxShiftedFlow(double),
DepContingencyPackage.getDepContingency_MaxShiftedFlow()public void setMaxShiftedFlow(double newMaxShiftedFlow)
setMaxShiftedFlow in interface DepContingencynewMaxShiftedFlow - the new value of the 'Max Shifted Flow' attribute.DepContingency.getMaxShiftedFlow()public java.lang.String getMaxShiftFlowBranchId()
getMaxShiftFlowBranchId in interface DepContingencyDepContingency.setMaxShiftFlowBranchId(String),
DepContingencyPackage.getDepContingency_MaxShiftFlowBranchId()public void setMaxShiftFlowBranchId(java.lang.String newMaxShiftFlowBranchId)
setMaxShiftFlowBranchId in interface DepContingencynewMaxShiftFlowBranchId - the new value of the 'Max Shift Flow Branch Id' attribute.DepContingency.getMaxShiftFlowBranchId()public org.eclipse.emf.common.util.EList<OutageBranch> getOutageBranches()
getOutageBranches in interface DepContingencyDepContingencyPackage.getDepContingency_OutageBranches()public org.eclipse.emf.common.util.EList<BaseAclfBus<?,?>> getIslandBuses()
getIslandBuses in interface DepContingencyDepContingencyPackage.getDepContingency_IslandBuses()public org.eclipse.emf.common.util.EList<OutageBranch> getEquivOutageBranches()
getEquivOutageBranches in interface DepContingencyDepContingencyPackage.getDepContingency_EquivOutageBranches()public double getTotalIslandGen()
getTotalIslandGen in interface DepIOutageIslandingpublic double getTotalIslandLoad()
getTotalIslandLoad in interface DepIOutageIslandingpublic boolean addOutageBranch(OutageBranch branch)
addOutageBranch in interface DepContingencybranch - the outage branch object
public boolean addMonitoringBranch(MonitoringBranch branch)
addMonitoringBranch in interface BaseContingencyaddMonitoringBranch in class BaseContingencyImplbranch - the monitoring branch
public boolean addIslandBus(BaseAclfBus<?,?> bus)
addIslandBus in interface DepContingencybus - the island bus
public boolean addIslandBus(AclfBus bus)
public void reset()
reset in interface DepContingencypublic void computeEquivOutageBranch(AclfNetwork net) throws InterpssException
computeEquivOutageBranch in interface DepIEquivOutageBranchnet - AclfNetwork object
InterpssExceptionpublic int nEquivOutageBranches()
nEquivOutageBranches in interface DepIEquivOutageBranchpublic OutageBranch getActiveEquivOutageBranch() throws InterpssException
getActiveEquivOutageBranch in interface DepIEquivOutageBranchInterpssExceptionpublic OutageBranch findEquivOutageBranch(Branch equivAclfBranch)
findEquivOutageBranch in interface DepIEquivOutageBranchequivAclfBranch - the associated branch object
public void searchIslandBus(AclfNetwork net) throws InterpssException
DepIOutageIslandingsearchIslandBus in interface DepIOutageIslandingInterpssExceptionpublic OutageBranch getOutageBranch(Branch branch)
getOutageBranch in interface DepContingencybranch - the branch object
public int nOpenActiveOutages()
nOpenActiveOutages in interface DepContingencypublic boolean isOutageBranch(Branch branch)
isOutageBranch in interface DepContingencybranch - the branch object
public boolean isIslandBus(Bus bus)
isIslandBus in interface DepIOutageIslandingpublic boolean isIslandBranch(Branch branch)
isIslandBranch in interface DepIOutageIslandingbranch - the branch object
public int nEquivOutageBranchInIsland(int islandNumber)
nEquivOutageBranchInIsland in interface DepIEquivOutageBranchislandNumber - island number
public OutageBranch getAnyEquivOutageBranch(int islandNumber)
getAnyEquivOutageBranch in interface DepIEquivOutageBranchpublic 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.BasicEObjectImplpublic boolean checkData()
checkData in interface NameTagcheckData in class NameTagImplpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class BaseContingencyImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class BaseContingencyImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class BaseContingencyImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class BaseContingencyImplpublic java.lang.String toString()
toString in class NameTagImpl