public interface DclfAlgorithm extends NetworkRef<BaseAclfNetwork<?,?>>, IDclfAlgoLookup, IDclfResult
The following features are supported:
DclfAlgorithmPackage.getDclfAlgorithm()| Modifier and Type | Method and Description |
|---|---|
boolean |
calculateDclf()
Calculate DC Loadflow and cache the results.
|
boolean |
calculateDclf(boolean reset)
Calculate DC Loadflow and cache the results.
|
boolean |
calculateDclf(DclfMethod method)
Calculate DC Loadflow and cache the results.
|
boolean |
calculateDclf(DclfMethod method,
boolean reset)
Calculate DC Loadflow and cache the results.
|
boolean |
checkCondition()
boolean for checking Dclf calculation precondition
|
DclfAlgorithm |
deepCopy()
make copy of all fields and refrences.
|
void |
distributeLoad(double totalLoad)
distribute the total load to DclfAlgoLoad.adjust field, based on the AclfLoad.dFactor
|
double |
getAccFactor()
Returns the value of the 'Acc Factor' attribute.
|
AclfNetwork |
getAclfNet()
get the AclfNetwork object
|
int |
getAdjMaxIterations()
Returns the value of the 'Adj Max Iterations' attribute.
|
double |
getAdjTolerance()
Returns the value of the 'Adj Tolerance' attribute.
|
ISparseEqnDouble |
getB11Matrix()
This is a wrapper of aclfNet.formBMatrix() method, making it ready to be used.
|
ISparseEqnDouble |
getB1Matrix()
This is a wrapper of aclfNet.formBMatrix() method, making it ready to be used.
|
DclfAlgoBranch |
getDclfAlgoBranch(java.lang.String branchId)
get the DclfAlgoBranch object by branch id
|
org.eclipse.emf.common.util.EList<DclfAlgoBranch> |
getDclfAlgoBranchList()
Returns the value of the 'Dclf Algo Branch List' containment reference list.
|
DclfAlgoBus |
getDclfAlgoBus(java.lang.String busId)
get the DclfAlgoBus object by bus id
|
org.eclipse.emf.common.util.EList<DclfAlgoBus> |
getDclfAlgoBusList()
Returns the value of the 'Dclf Algo Bus List' containment reference list.
|
IDclfSolver |
getDclfSolver()
Returns the value of the 'Dclf Solver' attribute.
|
boolean |
isApplyAdjustment()
Returns the value of the 'Apply Adjustment' attribute.
|
boolean |
isDclfCalculated()
Returns the value of the 'Dclf Calculated' attribute.
|
boolean |
removeDclfAlgoBranch(java.lang.String branchId)
Remove the DclfAlgo branch object identified by the busId from the container.
|
boolean |
removeDclfAlgoBus(java.lang.String busId)
Remove the DclfAlgo bus object identified by the busId from the container.
|
void |
setAccFactor(double value)
Sets the value of the '
Acc Factor' attribute. |
void |
setAdjMaxIterations(int value)
Sets the value of the '
Adj Max Iterations' attribute. |
void |
setAdjTolerance(double value)
Sets the value of the '
Adj Tolerance' attribute. |
void |
setApplyAdjustment(boolean value)
Sets the value of the '
Apply Adjustment' attribute. |
void |
setDclfCalculated(boolean value)
Sets the value of the '
Dclf Calculated' attribute. |
void |
setDclfSolver(IDclfSolver value)
Sets the value of the '
Dclf Solver' attribute. |
void |
setRefBus(java.lang.String busId)
set ref bus identified by busId for the analysis.
|
void |
setRefBus(java.lang.String[] busIdAry)
set ref bus for the analysis according some rule.
|
boolean |
transfer2AclfNet(boolean clearGenLoadAdjInfo)
Transfer Dclf info (Gen/Load adjust) and results (voltage angle) to the AclfNetwork object.
|
getNetwork, 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, ratingViolationboolean isDclfCalculated()
"false".
If the meaning of the 'Dclf Calculated' attribute isn't clear, there really should be more of a description here...
Dclf calculation statussetDclfCalculated(boolean),
DclfAlgorithmPackage.getDclfAlgorithm_DclfCalculated()void setDclfCalculated(boolean value)
Dclf Calculated' attribute.
value - the new value of the 'Dclf Calculated' attribute.isDclfCalculated()boolean isApplyAdjustment()
"false".
If the meaning of the 'Apply Adjustment' attribute isn't clear, there really should be more of a description here...
apply adjustment during Dclf calculation processsetApplyAdjustment(boolean),
DclfAlgorithmPackage.getDclfAlgorithm_ApplyAdjustment()void setApplyAdjustment(boolean value)
Apply Adjustment' attribute.
value - the new value of the 'Apply Adjustment' attribute.isApplyAdjustment()int getAdjMaxIterations()
"20".
If the meaning of the 'Adj Max Iterations' attribute isn't clear, there really should be more of a description here...
max iterations for the dclf adjustmentsetAdjMaxIterations(int),
DclfAlgorithmPackage.getDclfAlgorithm_AdjMaxIterations()void setAdjMaxIterations(int value)
Adj Max Iterations' attribute.
value - the new value of the 'Adj Max Iterations' attribute.getAdjMaxIterations()double getAdjTolerance()
"0.0001".
If the meaning of the 'Adj Tolerance' attribute isn't clear, there really should be more of a description here...
Dclf adjustment tolerancesetAdjTolerance(double),
DclfAlgorithmPackage.getDclfAlgorithm_AdjTolerance()void setAdjTolerance(double value)
Adj Tolerance' attribute.
value - the new value of the 'Adj Tolerance' attribute.getAdjTolerance()double getAccFactor()
"3.0".
If the meaning of the 'Acc Factor' attribute isn't clear, there really should be more of a description here...
Dclf adjustment accelearion factorsetAccFactor(double),
DclfAlgorithmPackage.getDclfAlgorithm_AccFactor()void setAccFactor(double value)
Acc Factor' attribute.
value - the new value of the 'Acc Factor' attribute.getAccFactor()org.eclipse.emf.common.util.EList<DclfAlgoBus> getDclfAlgoBusList()
DclfAlgoBus.
Dclf algo bus list
DclfAlgorithmPackage.getDclfAlgorithm_DclfAlgoBusList()org.eclipse.emf.common.util.EList<DclfAlgoBranch> getDclfAlgoBranchList()
DclfAlgoBranch.
Dclf algo bus list
DclfAlgorithmPackage.getDclfAlgorithm_DclfAlgoBranchList()boolean checkCondition()
void distributeLoad(double totalLoad)
totalLoad - if set to true, reset Dclf Algorithm, for example, BMatrix, for the dc loadflow calculation.
boolean calculateDclf()
boolean calculateDclf(DclfMethod method)
method - Dclf method
boolean calculateDclf(boolean reset)
reset - if set to true, reset Dclf Algorithm, for example, BMatrix, for the dc loadflow calculation.
boolean calculateDclf(DclfMethod method, boolean reset)
method - Dclf methodreset - if set to true, reset Dclf Algorithm, for example, BMatrix, for the dc loadflow calculation.
IDclfSolver getDclfSolver()
"".
Dclf solver object
setDclfSolver(IDclfSolver),
DclfAlgorithmPackage.getDclfAlgorithm_DclfSolver()ISparseEqnDouble getB1Matrix() throws InterpssException
InterpssExceptionISparseEqnDouble getB11Matrix() throws InterpssException
InterpssExceptionvoid setRefBus(java.lang.String busId)
busId - bus id
void setRefBus(java.lang.String[] busIdAry)
busIdAry - a list of bus ids which should not be set as the reference bus.
DclfAlgoBus getDclfAlgoBus(java.lang.String busId)
busId - bus id
DclfAlgoBranch getDclfAlgoBranch(java.lang.String branchId)
branchId - bus id
boolean removeDclfAlgoBus(java.lang.String busId)
busId - bus id
boolean removeDclfAlgoBranch(java.lang.String branchId)
branchId - bus id
void setDclfSolver(IDclfSolver value)
Dclf Solver' attribute.
value - the new value of the 'Dclf Solver' attribute.getDclfSolver()boolean transfer2AclfNet(boolean clearGenLoadAdjInfo)
clearGenLoadAdjInfo - if true, clear all Dclf Gen/Load adjustment info
DclfAlgorithm deepCopy()
AclfNetwork getAclfNet()