public interface DepContingency extends BaseContingency, DepIEquivOutageBranch, DepIOutageIslanding
The following features are supported:
| Modifier and Type | Method and Description |
|---|---|
boolean |
addIslandBus(BaseAclfBus<?,?> bus)
add island bus to the contingency
|
boolean |
addOutageBranch(OutageBranch branch)
add the outage branch to the contingency
|
org.eclipse.emf.common.util.EList<OutageBranch> |
getEquivOutageBranches()
Returns the value of the 'Equiv Outage Branches' reference list.
|
org.eclipse.emf.common.util.EList<BaseAclfBus<?,?>> |
getIslandBuses()
Returns the value of the 'Island Buses' reference list.
|
double |
getMaxShiftedFlow()
Returns the value of the 'Max Shifted Flow' attribute.
|
java.lang.String |
getMaxShiftFlowBranchId()
Returns the value of the 'Max Shift Flow Branch Id' attribute.
|
OutageBranch |
getOutageBranch(Branch branch)
get outage branch associated with the branch object
|
org.eclipse.emf.common.util.EList<OutageBranch> |
getOutageBranches()
Returns the value of the 'Outage Branches' containment reference list.
|
int |
getTotalIslands()
Returns the value of the 'Total Islands' attribute.
|
boolean |
isOutageBranch(Branch branch)
check if the branch is an outage branch contained in the contingency
|
int |
nOpenActiveOutages()
return number of open, active outages
|
void |
reset()
clear the outageBranches, monitoringBranches, islandBuses list
|
void |
setMaxShiftedFlow(double value)
Sets the value of the '
Max Shifted Flow' attribute. |
void |
setMaxShiftFlowBranchId(java.lang.String value)
Sets the value of the '
Max Shift Flow Branch Id' attribute. |
void |
setTotalIslands(int value)
Sets the value of the '
Total Islands' attribute. |
addMonitoringBranch, getMonitoringBranchescheckData, checkData, 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, eSetDeliverreadData, writeDatacomputeEquivOutageBranch, findEquivOutageBranch, getActiveEquivOutageBranch, getAnyEquivOutageBranch, nEquivOutageBranches, nEquivOutageBranchInIslandgetTotalIslandGen, getTotalIslandLoad, isIslandBranch, isIslandBus, searchIslandBusint getTotalIslands()
setTotalIslands(int),
DepContingencyPackage.getDepContingency_TotalIslands()void setTotalIslands(int value)
Total Islands' attribute.
value - the new value of the 'Total Islands' attribute.getTotalIslands()double getMaxShiftedFlow()
setMaxShiftedFlow(double),
DepContingencyPackage.getDepContingency_MaxShiftedFlow()void setMaxShiftedFlow(double value)
Max Shifted Flow' attribute.
value - the new value of the 'Max Shifted Flow' attribute.getMaxShiftedFlow()java.lang.String getMaxShiftFlowBranchId()
setMaxShiftFlowBranchId(String),
DepContingencyPackage.getDepContingency_MaxShiftFlowBranchId()void setMaxShiftFlowBranchId(java.lang.String value)
Max Shift Flow Branch Id' attribute.
value - the new value of the 'Max Shift Flow Branch Id' attribute.getMaxShiftFlowBranchId()org.eclipse.emf.common.util.EList<OutageBranch> getOutageBranches()
OutageBranch.
contingency outage branches
DepContingencyPackage.getDepContingency_OutageBranches()org.eclipse.emf.common.util.EList<BaseAclfBus<?,?>> getIslandBuses()
BaseAclfBus<?, ?>.
island buses
DepContingencyPackage.getDepContingency_IslandBuses()org.eclipse.emf.common.util.EList<OutageBranch> getEquivOutageBranches()
OutageBranch.
contingency outage branches
DepContingencyPackage.getDepContingency_EquivOutageBranches()boolean addOutageBranch(OutageBranch branch)
branch - the outage branch object
boolean addIslandBus(BaseAclfBus<?,?> bus)
bus - the island bus
void reset()
boolean isOutageBranch(Branch branch)
branch - the branch object
OutageBranch getOutageBranch(Branch branch)
branch - the branch object
int nOpenActiveOutages()