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.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 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, 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 |
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, 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
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
protected 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 SenAnalysisAlgorithm
DclfAlgorithmPackage.getSenAnalysisAlgorithm_WithdrawBusList()
public void setWithdrawBusList(org.eclipse.emf.common.util.EList<SenAnalysisBus> list)
SenAnalysisAlgorithm
setWithdrawBusList
in interface SenAnalysisAlgorithm
public org.eclipse.emf.common.util.EList<SenAnalysisBus> getInjectBusList()
getInjectBusList
in interface SenAnalysisAlgorithm
DclfAlgorithmPackage.getSenAnalysisAlgorithm_InjectBusList()
public SenAnalysisBus addWithdrawBus(AclfBus bus, double df) throws InterpssException
addWithdrawBus
in interface SenAnalysisAlgorithm
bus
- bus iddf
- contribuing percentage
InterpssException
public SenAnalysisBus addInjectBus(AclfBus bus, double df) throws InterpssException
addInjectBus
in interface SenAnalysisAlgorithm
bus
- bus iddf
- contributing percentage
InterpssException
public boolean calculateDclf(DclfMethod method)
DclfAlgorithmImpl
calculateDclf
in interface DclfAlgorithm
calculateDclf
in class DclfAlgorithmImpl
method
- Dclf method
public double calBusSensitivity(SenAnalysisType type, java.lang.String injectBusId, int busSortNumber)
calBusSensitivity
in interface ISensitivity
type
- 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 ISensitivity
type
- 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 IBranchAngleShiftFactor
psXfr
- PSXfr branchmonitorBranch
- monitoring branch
InterpssException
public double psXfrShiftFactor(AclfBranch psXfr, AclfBranch monitorBranch, Unit.UnitType angUnit) throws InterpssException
psXfrShiftFactor
in interface IBranchAngleShiftFactor
psXfr
- PsXfr branchmonitorBranch
- monitoring branchangUnit
- angle unit
InterpssException
public double branchAngleShiftFactor(java.lang.String injectBusId, java.lang.String withdrawBusId, AclfBranch monitorBranch) throws InterpssException
branchAngleShiftFactor
in interface IBranchAngleShiftFactor
injectBusId
- injection bus idwithdrawBusId
- withdraw bus idmonitorBranch
- monitoring branch
InterpssException
public double branchAngleShiftFactor(java.lang.String injectBusId, java.lang.String withdrawBusId, AclfBranch monitorBranch, Unit.UnitType angUnit) throws InterpssException
branchAngleShiftFactor
in interface IBranchAngleShiftFactor
injectBusId
- injection bus idwithdrawBusId
- withdraw bus idmonitorBranch
- monitoring branchangUnit
- angle unit
InterpssException
public double calGenShiftFactor(java.lang.String injectBusId, AclfBranch branch)
calGenShiftFactor
in interface IGenTDFactor
injectBusId
- injection bus idbranch
- the monitoring branch object
public double genTransferDistFactor(AclfBranch branch) throws InterpssException
genTransferDistFactor
in interface IGenTDFactor
branch
- monitoring branch
InterpssException
public double pTransferDistFactor(java.lang.String injectBusId, java.lang.String withdrawBusId, AclfBranch branch) throws InterpssException
pTransferDistFactor
in interface IPowerTDFactor
injectBusId
- injection bus idwithdrawBusId
- withdraw bus idbranch
- the monitoring branch
InterpssException
public double pTransferDistFactor(java.lang.String injectBusId, AclfBranch branch) throws InterpssException
pTransferDistFactor
in interface IPowerTDFactor
injectBusId
- injection bus idbranch
- monitoring branch
InterpssException
public double[] pTransferDistFactors(java.lang.String injectBusId, java.lang.String withdrawBusId) throws InterpssException
pTransferDistFactors
in interface IPowerTDFactor
injectBusId
- injection bus idwithdrawBusId
- withdraw bus id
InterpssException
public double lineOutageDFactor(CaOutageBranch outBranch, AclfBranch transferBranch) throws InterpssException
lineOutageDFactor
in interface ILineOutageDFactor
outBranch
- outage branchtransferBranch
- monitoring branch
InterpssException
public double[] lineOutageDFactors(CaOutageBranch outageBranch) throws InterpssException
lineOutageDFactors
in interface ILineOutageDFactor
outageBranch
- outage branch
InterpssException
public double getBranchClosurePTDFactor(CaOutageBranch outBranch) throws InterpssException
getBranchClosurePTDFactor
in interface ILineOutageDFactor
outBranch
- the closure branch object
InterpssException
protected double calBranchClosureZ(Branch branchIJ, Branch branchMN) throws InterpssException
InterpssException
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class DclfAlgorithmImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class DclfAlgorithmImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class DclfAlgorithmImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class DclfAlgorithmImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class DclfAlgorithmImpl