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.EPropertiesHolderImplorg.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, withdrawBusListACC_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, dclfSolvernetworkdesc, DESC_EDEFAULT, id, ID_EDEFAULT, name, NAME_EDEFAULT, number, NUMBER_EDEFAULT, status, STATUS_CHANGE_INFO_EDEFAULT, STATUS_EDEFAULT, statusChangeInfoeAdapters, 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, setWithdrawBusListcalculateDclf, 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, writeDatagetNetworkcheckData, checkData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, jsonCopy, setDesc, setId, setName, setNumber, setStatus, setStatusChangeInfoeAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURIeAddVirtualValue, 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, eVirtualValueseBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddInjectBus, addWithdrawBus, getInjectBusList, getWithdrawBusList, setWithdrawBusListcalculateDclf, 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, transfer2AclfNetgetNetwork, setNetworkcheckData, checkData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, jsonCopy, setDesc, setId, setName, setNumber, setStatus, setStatusChangeInfoeAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDeliverreadData, writeDatagetDclfAlgoBranchIdLookupTable, getDclfAlgoBusIdLookupTable, getDclfAlgoGenNameLookupTable, getDclfAlgoLoadNameLookupTable, rebuildLookupRefRelationshipcalTotalGen, calTotalLoad, getBranchFlow, getBranchFlow, getBranchFlow, getBusAngle, getBusAngle, getBusPower, getBusPower, getBusPowerInfoNet, getBusPowerInfoNet, getMismatch, loading, loading, loss, ratingViolation, ratingViolationcalBusSensitivity, calBusSensitivitycalGenShiftFactor, genTransferDistFactorpTransferDistFactor, pTransferDistFactor, pTransferDistFactorsgetBranchClosurePTDFactor, lineOutageDFactor, lineOutageDFactorsbranchAngleShiftFactor, branchAngleShiftFactor, psXfrShiftFactor, psXfrShiftFactorprotected 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 ContingencyAnalysisAlgorithmDclfAlgorithmPackage.getContingencyAnalysisAlgorithm_OutageBranchList()public CaOutageBranch getOutageBranch(java.lang.String branchId)
getOutageBranch in interface ContingencyAnalysisAlgorithmbranchId - branch sort number
public CaOutageBranch addOutageBranch(java.lang.String branchId, CaBranchOutageType outageType)
addOutageBranch in interface ContingencyAnalysisAlgorithmbranchId - branch idoutageType - outage type
public double calPostOutageFlow(CaOutageBranch outageBranch, DclfAlgoBranch dclfBranch) throws InterpssException
calPostOutageFlow in interface ContingencyAnalysisAlgorithmoutageBranch - outage branchdclfBranch - monitoring branch
InterpssExceptionpublic double calBranchClosureFlow(CaOutageBranch outBranch) throws InterpssException
calBranchClosureFlow in interface ContingencyAnalysisAlgorithmoutBranch - the closure branch object
InterpssExceptionpublic double[] calBranchClosureFlow()
throws InterpssException
calBranchClosureFlow in interface ContingencyAnalysisAlgorithmInterpssExceptionpublic java.lang.Object calBranchClosureInvZMtx(java.lang.String contId)
throws InterpssException
calBranchClosureInvZMtx in interface ContingencyAnalysisAlgorithmcontId - Contingency id for output message identification purpose
InterpssExceptionpublic void ca(BaseContingency contingency) throws InterpssException
ca in interface ContingencyAnalysisAlgorithmcontingency - outage branch
InterpssExceptionpublic void outgageAnalysis(CaOutageBranch outageBranch) throws InterpssException
outgageAnalysis in interface ContingencyAnalysisAlgorithmoutageBranch - outage branch
InterpssExceptionpublic double[] calMultiOutageLODFs(AclfBranch monitorBranch, java.lang.Object invE_PTDFObj) throws InterpssException
calMultiOutageLODFs in interface ContingencyAnalysisAlgorithmmonitorBranch - monitoring branchinvE_PTDFObj - the inversion of the PTDF matrix
InterpssExceptionpublic double[] calMultiOutageLODFs(DclfAlgoBranch monitorBranch) throws InterpssException
calMultiOutageLODFs in interface ContingencyAnalysisAlgorithmmonitorBranch - monitoring branch
InterpssExceptionpublic void multiOpenOutgageAnalysis(CaOutageBranch[] outageBranches) throws InterpssException
multiOpenOutgageAnalysis in interface ContingencyAnalysisAlgorithmoutageBranches - outage branch
InterpssExceptionpublic void multiCloseOutgageAnalysis(CaOutageBranch[] outageBranches) throws InterpssException
multiCloseOutgageAnalysis in interface ContingencyAnalysisAlgorithmoutageBranches - outage branch
InterpssExceptionpublic java.lang.Object calMultiOutageInvE_PTDF(java.lang.String contId)
throws InterpssException
calMultiOutageInvE_PTDF in interface ContingencyAnalysisAlgorithmcontId - Contingency id for output message identification purpose
InterpssExceptionprotected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class SenAnalysisAlgorithmImplpublic boolean isCaPerformed()
isCaPerformed in interface ContingencyAnalysisAlgorithmContingencyAnalysisAlgorithm.setCaPerformed(boolean),
DclfAlgorithmPackage.getContingencyAnalysisAlgorithm_CaPerformed()public void setCaPerformed(boolean newCaPerformed)
setCaPerformed in interface ContingencyAnalysisAlgorithmnewCaPerformed - 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.InternalEObjecteGet in class SenAnalysisAlgorithmImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class SenAnalysisAlgorithmImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class SenAnalysisAlgorithmImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class SenAnalysisAlgorithmImplpublic java.lang.String toString()
toString in class DclfAlgorithmImpl