public interface ContingencyAnalysisAlgorithm extends SenAnalysisAlgorithm
The following features are supported:
Modifier and Type | Method and Description |
---|---|
CaOutageBranch |
addOutageBranch(java.lang.String branchId,
CaBranchOutageType outageType)
add an outage ranch
|
void |
ca(BaseContingency contingency)
perform contigency analysis and store the result in the monitoring branches
|
double[] |
calBranchClosureFlow()
internal method for closure branch outage analysis
|
double |
calBranchClosureFlow(CaOutageBranch branch)
for a closure branch outage analysis (internal method)
|
java.lang.Object |
calBranchClosureInvZMtx(java.lang.String contId)
calculate the branch closure inverse Z matrix (internal method)
|
java.lang.Object |
calMultiOutageInvE_PTDF(java.lang.String contId)
(internal method) calculate the lineOutage distribution factors using the outageBranchList for
all branches.
|
double[] |
calMultiOutageLODFs(AclfBranch monitorBranch,
java.lang.Object invE_PTDF)
(internal method) get LODFs after calling the calMultiOutageInvE_PTDF() for multi outage (open) branches case.
|
double[] |
calMultiOutageLODFs(DclfAlgoBranch monitorBranch)
(internal method) calculate LODFs for multi outage (open) branches case.
|
double |
calPostOutageFlow(CaOutageBranch outageBranch,
DclfAlgoBranch dclfBranch)
calculate and return the post outage flow for the outageBranch and the monitoring branch.
|
CaOutageBranch |
getOutageBranch(java.lang.String branchId)
get an outage ranch by its sort number
|
org.eclipse.emf.common.util.EList<CaOutageBranch> |
getOutageBranchList()
Returns the value of the 'Outage Branch List' reference list.
|
boolean |
isCaPerformed()
Returns the value of the 'Ca Performed' attribute.
|
void |
multiCloseOutgageAnalysis(CaOutageBranch[] outageBranches)
perform the multiclose outages (stored in the outageBranchList) analysis and store the result in the dclfAlgoBranches
|
void |
multiOpenOutgageAnalysis(CaOutageBranch[] outageBranches)
perform the multi open outages (stored in the outageBranchList) analysis and store the result in the dclfAlgoBranches
|
void |
outgageAnalysis(CaOutageBranch outageBranch)
perform single outage (open/close) analysis and store the result in dclfAlgoBranches
|
void |
setCaPerformed(boolean value)
Sets the value of the '
Ca Performed ' attribute. |
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
boolean isCaPerformed()
setCaPerformed(boolean)
,
DclfAlgorithmPackage.getContingencyAnalysisAlgorithm_CaPerformed()
void setCaPerformed(boolean value)
Ca Performed
' attribute.
value
- the new value of the 'Ca Performed' attribute.isCaPerformed()
double calPostOutageFlow(CaOutageBranch outageBranch, DclfAlgoBranch dclfBranch) throws InterpssException
outageBranch
- outage branchdclfBranch
- monitoring branch
InterpssException
double calBranchClosureFlow(CaOutageBranch branch) throws InterpssException
branch
- the closure branch object
InterpssException
double[] calBranchClosureFlow() throws InterpssException
InterpssException
java.lang.Object calBranchClosureInvZMtx(java.lang.String contId) throws InterpssException
contId
- Contingency id for output message identification purpose
InterpssException
void ca(BaseContingency contingency) throws InterpssException
contingency
- outage branch
InterpssException
void outgageAnalysis(CaOutageBranch outageBranch) throws InterpssException
outageBranch
- outage branch
InterpssException
void multiOpenOutgageAnalysis(CaOutageBranch[] outageBranches) throws InterpssException
outageBranches
- outage branch
InterpssException
void multiCloseOutgageAnalysis(CaOutageBranch[] outageBranches) throws InterpssException
outageBranches
- outage branch
InterpssException
java.lang.Object calMultiOutageInvE_PTDF(java.lang.String contId) throws InterpssException
contId
- Contingency id for output message identification purpose
InterpssException
double[] calMultiOutageLODFs(AclfBranch monitorBranch, java.lang.Object invE_PTDF) throws InterpssException
monitorBranch
- monitoring branchinvE_PTDF
- the inversion of the PTDF matrix
InterpssException
double[] calMultiOutageLODFs(DclfAlgoBranch monitorBranch) throws InterpssException
monitorBranch
- monitoring branch
InterpssException
CaOutageBranch getOutageBranch(java.lang.String branchId)
branchId
- branch sort number
CaOutageBranch addOutageBranch(java.lang.String branchId, CaBranchOutageType outageType)
branchId
- branch idoutageType
- outage type
org.eclipse.emf.common.util.EList<CaOutageBranch> getOutageBranchList()
CaOutageBranch
.
outage branch list
DclfAlgorithmPackage.getContingencyAnalysisAlgorithm_OutageBranchList()