public class SenAnalysisAlgorithmImpl extends DclfAlgorithmImpl implements SenAnalysisAlgorithm
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 org.eclipse.emf.common.util.EList<SenAnalysisBus> |
injectBusList
The cached value of the '
Inject Bus List' reference list. |
protected org.eclipse.emf.common.util.EList<SenAnalysisBus> |
withdrawBusList
The cached value of the '
Withdraw Bus List' reference list. |
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, 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 |
SenAnalysisAlgorithmImpl() |
| Modifier and Type | Method and Description |
|---|---|
SenAnalysisBus |
addInjectBus(AclfBus bus,
double df) |
SenAnalysisBus |
addWithdrawBus(AclfBus bus,
double df) |
double |
branchAngleShiftFactor(java.lang.String injectBusId,
java.lang.String withdrawBusId,
AclfBranch monitorBranch) |
double |
branchAngleShiftFactor(java.lang.String injectBusId,
java.lang.String withdrawBusId,
AclfBranch monitorBranch,
Unit.UnitType angUnit) |
protected double |
calBranchClosureZ(Branch branchIJ,
Branch branchMN) |
double |
calBusSensitivity(SenAnalysisType type,
java.lang.String injectBusId,
int busSortNumber)
get the sensitivity results (cached) after the calculation.
|
double |
calBusSensitivity(SenAnalysisType type,
java.lang.String injectBusId,
java.lang.String busId)
get the sensitivity results (cached) after the calculation.
|
boolean |
calculateDclf(DclfMethod method) |
double |
calGenShiftFactor(java.lang.String injectBusId,
AclfBranch branch)
with regarding to the slack bus, for one pu power injection at the injection bus, calculate
the portion of the power flow on the branch *
|
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) |
double |
genTransferDistFactor(AclfBranch branch) |
double |
getBranchClosurePTDFactor(CaOutageBranch outBranch) |
org.eclipse.emf.common.util.EList<SenAnalysisBus> |
getInjectBusList() |
org.eclipse.emf.common.util.EList<SenAnalysisBus> |
getWithdrawBusList() |
double |
lineOutageDFactor(CaOutageBranch outBranch,
AclfBranch transferBranch) |
double[] |
lineOutageDFactors(CaOutageBranch outageBranch) |
double |
psXfrShiftFactor(AclfBranch psXfr,
AclfBranch monitorBranch) |
double |
psXfrShiftFactor(AclfBranch psXfr,
AclfBranch monitorBranch,
Unit.UnitType angUnit) |
double |
pTransferDistFactor(java.lang.String injectBusId,
AclfBranch branch) |
double |
pTransferDistFactor(java.lang.String injectBusId,
java.lang.String withdrawBusId,
AclfBranch branch) |
double[] |
pTransferDistFactors(java.lang.String injectBusId,
java.lang.String withdrawBusId) |
void |
setWithdrawBusList(org.eclipse.emf.common.util.EList<SenAnalysisBus> list)
set the withdrawBusList
|
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, toString, 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, waitcalculateDclf, 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, ratingViolationprotected org.eclipse.emf.common.util.EList<SenAnalysisBus> withdrawBusList
Withdraw Bus List' reference list.
getWithdrawBusList()protected org.eclipse.emf.common.util.EList<SenAnalysisBus> injectBusList
Inject Bus List' reference list.
getInjectBusList()public org.eclipse.emf.common.util.EList<SenAnalysisBus> getWithdrawBusList()
getWithdrawBusList in interface SenAnalysisAlgorithmDclfAlgorithmPackage.getSenAnalysisAlgorithm_WithdrawBusList()public void setWithdrawBusList(org.eclipse.emf.common.util.EList<SenAnalysisBus> list)
SenAnalysisAlgorithmsetWithdrawBusList in interface SenAnalysisAlgorithmpublic org.eclipse.emf.common.util.EList<SenAnalysisBus> getInjectBusList()
getInjectBusList in interface SenAnalysisAlgorithmDclfAlgorithmPackage.getSenAnalysisAlgorithm_InjectBusList()public SenAnalysisBus addWithdrawBus(AclfBus bus, double df) throws InterpssException
addWithdrawBus in interface SenAnalysisAlgorithmbus - bus iddf - contribuing percentage
InterpssExceptionpublic SenAnalysisBus addInjectBus(AclfBus bus, double df) throws InterpssException
addInjectBus in interface SenAnalysisAlgorithmbus - bus iddf - contributing percentage
InterpssExceptionpublic boolean calculateDclf(DclfMethod method)
DclfAlgorithmImplcalculateDclf in interface DclfAlgorithmcalculateDclf in class DclfAlgorithmImplmethod - Dclf method
public double calBusSensitivity(SenAnalysisType type, java.lang.String injectBusId, int busSortNumber)
calBusSensitivity in interface ISensitivitytype - sensitivity typeinjectBusId - injection bus idbusSortNumber - bus number of the bus to calculate the sensitivity
public double calBusSensitivity(SenAnalysisType type, java.lang.String injectBusId, java.lang.String busId)
calBusSensitivity in interface ISensitivitytype - sensitivity typeinjectBusId - injection bus idbusId - bus id of the bus to calculate the sensitivity
public double psXfrShiftFactor(AclfBranch psXfr, AclfBranch monitorBranch) throws InterpssException
psXfrShiftFactor in interface IBranchAngleShiftFactorpsXfr - PSXfr branchmonitorBranch - monitoring branch
InterpssExceptionpublic double psXfrShiftFactor(AclfBranch psXfr, AclfBranch monitorBranch, Unit.UnitType angUnit) throws InterpssException
psXfrShiftFactor in interface IBranchAngleShiftFactorpsXfr - PsXfr branchmonitorBranch - monitoring branchangUnit - angle unit
InterpssExceptionpublic double branchAngleShiftFactor(java.lang.String injectBusId,
java.lang.String withdrawBusId,
AclfBranch monitorBranch)
throws InterpssException
branchAngleShiftFactor in interface IBranchAngleShiftFactorinjectBusId - injection bus idwithdrawBusId - withdraw bus idmonitorBranch - monitoring branch
InterpssExceptionpublic double branchAngleShiftFactor(java.lang.String injectBusId,
java.lang.String withdrawBusId,
AclfBranch monitorBranch,
Unit.UnitType angUnit)
throws InterpssException
branchAngleShiftFactor in interface IBranchAngleShiftFactorinjectBusId - injection bus idwithdrawBusId - withdraw bus idmonitorBranch - monitoring branchangUnit - angle unit
InterpssExceptionpublic double calGenShiftFactor(java.lang.String injectBusId,
AclfBranch branch)
calGenShiftFactor in interface IGenTDFactorinjectBusId - injection bus idbranch - the monitoring branch object
public double genTransferDistFactor(AclfBranch branch) throws InterpssException
genTransferDistFactor in interface IGenTDFactorbranch - monitoring branch
InterpssExceptionpublic double pTransferDistFactor(java.lang.String injectBusId,
java.lang.String withdrawBusId,
AclfBranch branch)
throws InterpssException
pTransferDistFactor in interface IPowerTDFactorinjectBusId - injection bus idwithdrawBusId - withdraw bus idbranch - the monitoring branch
InterpssExceptionpublic double pTransferDistFactor(java.lang.String injectBusId,
AclfBranch branch)
throws InterpssException
pTransferDistFactor in interface IPowerTDFactorinjectBusId - injection bus idbranch - monitoring branch
InterpssExceptionpublic double[] pTransferDistFactors(java.lang.String injectBusId,
java.lang.String withdrawBusId)
throws InterpssException
pTransferDistFactors in interface IPowerTDFactorinjectBusId - injection bus idwithdrawBusId - withdraw bus id
InterpssExceptionpublic double lineOutageDFactor(CaOutageBranch outBranch, AclfBranch transferBranch) throws InterpssException
lineOutageDFactor in interface ILineOutageDFactoroutBranch - outage branchtransferBranch - monitoring branch
InterpssExceptionpublic double[] lineOutageDFactors(CaOutageBranch outageBranch) throws InterpssException
lineOutageDFactors in interface ILineOutageDFactoroutageBranch - outage branch
InterpssExceptionpublic double getBranchClosurePTDFactor(CaOutageBranch outBranch) throws InterpssException
getBranchClosurePTDFactor in interface ILineOutageDFactoroutBranch - the closure branch object
InterpssExceptionprotected double calBranchClosureZ(Branch branchIJ, Branch branchMN) throws InterpssException
InterpssExceptionprotected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class DclfAlgorithmImplpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class DclfAlgorithmImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class DclfAlgorithmImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class DclfAlgorithmImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class DclfAlgorithmImpl