public class ContingencyAnalysisAlgorithmImpl extends SenAnalysisAlgorithmImpl implements ContingencyAnalysisAlgorithm
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 |
CA_PERFORMED_EDEFAULT
The default value of the '
Ca Performed ' attribute. |
protected boolean |
caPerformed
The cached value of the '
Ca Performed ' attribute. |
protected org.eclipse.emf.common.util.EList<CaOutageBranch> |
outageBranchList
The cached value of the '
Outage Branch List ' reference list. |
injectBusList, withdrawBusList
ACC_FACTOR_EDEFAULT, accFactor, ADJ_MAX_ITERATIONS_EDEFAULT, ADJ_TOLERANCE_EDEFAULT, adjMaxIterations, adjTolerance, APPLY_ADJUSTMENT_EDEFAULT, applyAdjustment, DCLF_CALCULATED_EDEFAULT, DCLF_SOLVER_EDEFAULT, dclfAlgoBranchList, dclfAlgoBusList, dclfCalculated, dclfSolver
network
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 |
ContingencyAnalysisAlgorithmImpl() |
Modifier and Type | Method and Description |
---|---|
CaOutageBranch |
addOutageBranch(java.lang.String branchId,
CaBranchOutageType outageType) |
void |
ca(BaseContingency contingency) |
double[] |
calBranchClosureFlow() |
double |
calBranchClosureFlow(CaOutageBranch outBranch) |
java.lang.Object |
calBranchClosureInvZMtx(java.lang.String contId)
calculate the branch closure inverse Z matrix.
|
java.lang.Object |
calMultiOutageInvE_PTDF(java.lang.String contId)
calculate inv[E - PTDF] per the IEEE paper.
|
double[] |
calMultiOutageLODFs(AclfBranch monitorBranch,
java.lang.Object invE_PTDFObj)
It applies to multi-outage branches
|
double[] |
calMultiOutageLODFs(DclfAlgoBranch monitorBranch)
It applies to multi-outage branches
|
double |
calPostOutageFlow(CaOutageBranch outageBranch,
DclfAlgoBranch dclfBranch) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
void |
eUnset(int featureID) |
CaOutageBranch |
getOutageBranch(java.lang.String branchId) |
org.eclipse.emf.common.util.EList<CaOutageBranch> |
getOutageBranchList() |
boolean |
isCaPerformed() |
void |
multiCloseOutgageAnalysis(CaOutageBranch[] outageBranches) |
void |
multiOpenOutgageAnalysis(CaOutageBranch[] outageBranches) |
void |
outgageAnalysis(CaOutageBranch outageBranch) |
void |
setCaPerformed(boolean newCaPerformed) |
java.lang.String |
toString() |
addInjectBus, addWithdrawBus, branchAngleShiftFactor, branchAngleShiftFactor, calBranchClosureZ, calBusSensitivity, calBusSensitivity, calculateDclf, calGenShiftFactor, genTransferDistFactor, getBranchClosurePTDFactor, getInjectBusList, getWithdrawBusList, lineOutageDFactor, lineOutageDFactors, psXfrShiftFactor, psXfrShiftFactor, pTransferDistFactor, pTransferDistFactor, pTransferDistFactors, setWithdrawBusList
calculateDclf, calculateDclf, calculateDclf, calTotalGen, calTotalLoad, checkCondition, deepCopy, distributeLoad, eInverseRemove, getAccFactor, getAclfNet, getAdjMaxIterations, getAdjTolerance, getB11Matrix, getB1Matrix, getBranchFlow, getBranchFlow, getBranchFlow, getBusAngle, getBusAngle, getBusPower, getBusPower, getBusPowerInfoNet, getBusPowerInfoNet, getDclfAlgoBranch, getDclfAlgoBranchIdLookupTable, getDclfAlgoBranchList, getDclfAlgoBus, getDclfAlgoBusIdLookupTable, getDclfAlgoBusList, getDclfAlgoGenNameLookupTable, getDclfAlgoLoadNameLookupTable, getDclfSolver, getMismatch, isApplyAdjustment, isDclfCalculated, loading, loading, loss, ratingViolation, ratingViolation, readData, rebuildLookupRefRelationship, removeDclfAlgoBranch, removeDclfAlgoBus, setAccFactor, setAdjMaxIterations, setAdjTolerance, setApplyAdjustment, setDclfCalculated, setDclfSolver, setNetwork, setRefBus, setRefBus, transfer2AclfNet, writeData
getNetwork
checkData, checkData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, jsonCopy, 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, 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
addInjectBus, addWithdrawBus, getInjectBusList, getWithdrawBusList, setWithdrawBusList
calculateDclf, calculateDclf, calculateDclf, calculateDclf, checkCondition, deepCopy, distributeLoad, getAccFactor, getAclfNet, getAdjMaxIterations, getAdjTolerance, getB11Matrix, getB1Matrix, getDclfAlgoBranch, getDclfAlgoBranchList, getDclfAlgoBus, getDclfAlgoBusList, getDclfSolver, isApplyAdjustment, isDclfCalculated, removeDclfAlgoBranch, removeDclfAlgoBus, setAccFactor, setAdjMaxIterations, setAdjTolerance, setApplyAdjustment, setDclfCalculated, setDclfSolver, setRefBus, setRefBus, transfer2AclfNet
getNetwork, setNetwork
checkData, checkData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, jsonCopy, setDesc, setId, setName, setNumber, setStatus, setStatusChangeInfo
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
readData, writeData
getDclfAlgoBranchIdLookupTable, getDclfAlgoBusIdLookupTable, getDclfAlgoGenNameLookupTable, getDclfAlgoLoadNameLookupTable, rebuildLookupRefRelationship
calTotalGen, calTotalLoad, getBranchFlow, getBranchFlow, getBranchFlow, getBusAngle, getBusAngle, getBusPower, getBusPower, getBusPowerInfoNet, getBusPowerInfoNet, getMismatch, loading, loading, loss, ratingViolation, ratingViolation
calBusSensitivity, calBusSensitivity
calGenShiftFactor, genTransferDistFactor
pTransferDistFactor, pTransferDistFactor, pTransferDistFactors
getBranchClosurePTDFactor, lineOutageDFactor, lineOutageDFactors
branchAngleShiftFactor, branchAngleShiftFactor, psXfrShiftFactor, psXfrShiftFactor
protected static final boolean CA_PERFORMED_EDEFAULT
Ca Performed
' attribute.
isCaPerformed()
,
Constant Field Valuesprotected boolean caPerformed
Ca Performed
' attribute.
isCaPerformed()
protected org.eclipse.emf.common.util.EList<CaOutageBranch> outageBranchList
Outage Branch List
' reference list.
getOutageBranchList()
public org.eclipse.emf.common.util.EList<CaOutageBranch> getOutageBranchList()
getOutageBranchList
in interface ContingencyAnalysisAlgorithm
DclfAlgorithmPackage.getContingencyAnalysisAlgorithm_OutageBranchList()
public CaOutageBranch getOutageBranch(java.lang.String branchId)
getOutageBranch
in interface ContingencyAnalysisAlgorithm
branchId
- branch sort number
public CaOutageBranch addOutageBranch(java.lang.String branchId, CaBranchOutageType outageType)
addOutageBranch
in interface ContingencyAnalysisAlgorithm
branchId
- branch idoutageType
- outage type
public double calPostOutageFlow(CaOutageBranch outageBranch, DclfAlgoBranch dclfBranch) throws InterpssException
calPostOutageFlow
in interface ContingencyAnalysisAlgorithm
outageBranch
- outage branchdclfBranch
- monitoring branch
InterpssException
public double calBranchClosureFlow(CaOutageBranch outBranch) throws InterpssException
calBranchClosureFlow
in interface ContingencyAnalysisAlgorithm
outBranch
- the closure branch object
InterpssException
public double[] calBranchClosureFlow() throws InterpssException
calBranchClosureFlow
in interface ContingencyAnalysisAlgorithm
InterpssException
public java.lang.Object calBranchClosureInvZMtx(java.lang.String contId) throws InterpssException
calBranchClosureInvZMtx
in interface ContingencyAnalysisAlgorithm
contId
- Contingency id for output message identification purpose
InterpssException
public void ca(BaseContingency contingency) throws InterpssException
ca
in interface ContingencyAnalysisAlgorithm
contingency
- outage branch
InterpssException
public void outgageAnalysis(CaOutageBranch outageBranch) throws InterpssException
outgageAnalysis
in interface ContingencyAnalysisAlgorithm
outageBranch
- outage branch
InterpssException
public double[] calMultiOutageLODFs(AclfBranch monitorBranch, java.lang.Object invE_PTDFObj) throws InterpssException
calMultiOutageLODFs
in interface ContingencyAnalysisAlgorithm
monitorBranch
- monitoring branchinvE_PTDFObj
- the inversion of the PTDF matrix
InterpssException
public double[] calMultiOutageLODFs(DclfAlgoBranch monitorBranch) throws InterpssException
calMultiOutageLODFs
in interface ContingencyAnalysisAlgorithm
monitorBranch
- monitoring branch
InterpssException
public void multiOpenOutgageAnalysis(CaOutageBranch[] outageBranches) throws InterpssException
multiOpenOutgageAnalysis
in interface ContingencyAnalysisAlgorithm
outageBranches
- outage branch
InterpssException
public void multiCloseOutgageAnalysis(CaOutageBranch[] outageBranches) throws InterpssException
multiCloseOutgageAnalysis
in interface ContingencyAnalysisAlgorithm
outageBranches
- outage branch
InterpssException
public java.lang.Object calMultiOutageInvE_PTDF(java.lang.String contId) throws InterpssException
calMultiOutageInvE_PTDF
in interface ContingencyAnalysisAlgorithm
contId
- Contingency id for output message identification purpose
InterpssException
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class SenAnalysisAlgorithmImpl
public boolean isCaPerformed()
isCaPerformed
in interface ContingencyAnalysisAlgorithm
ContingencyAnalysisAlgorithm.setCaPerformed(boolean)
,
DclfAlgorithmPackage.getContingencyAnalysisAlgorithm_CaPerformed()
public void setCaPerformed(boolean newCaPerformed)
setCaPerformed
in interface ContingencyAnalysisAlgorithm
newCaPerformed
- the new value of the 'Ca Performed' attribute.ContingencyAnalysisAlgorithm.isCaPerformed()
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class SenAnalysisAlgorithmImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class SenAnalysisAlgorithmImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class SenAnalysisAlgorithmImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class SenAnalysisAlgorithmImpl
public java.lang.String toString()
toString
in class DclfAlgorithmImpl