public class DblAryCacheDclfSolver extends BaseDclfSolver
IDclfSolver.CacheTypedclfAlgo, dclfResult, JMatrixType, Token_PAngle, Token_QVoltageaclfNetMaxItrDclfLoss| Constructor and Description |
|---|
DblAryCacheDclfSolver(DclfAlgorithm algo) |
| Modifier and Type | Method and Description |
|---|---|
double[] |
calSensitivityImpl(SenAnalysisType type,
java.lang.String injectBusId)
calculate the bus sensitivity
|
void |
distructor()
distructor to release resource if necessary
|
double[] |
getSenPAngle(java.lang.String busId)
Retrieve P-Ang sensitivity from the cache table or calculate sensitivity if it is not found
|
double[] |
getSenQVoltage(java.lang.String busId)
Retrieve Q-Voltage sen from the cache table or calculate sen if it is not found
|
void |
prepareBMatrix(SenAnalysisType type)
if the B1/11 matrix is dirty, form the B-matrix and LU the matrix.
|
void |
setBMatrixDirty()
set B1 and B11 matrix dirty
|
calBranchFlow, calBranchFlow, calculateDclf, calSensitivity, getBusAngle, getBusAngle, getDclfResult, initDclfResultForDebug, setBusAnglegetB11Matrix, getB1Matrix, isB11MatrixDirty, isB1MatrixDirty, setB11MatrixDirty, setB1MatrixDirtyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetB11Matrix, getB1Matrixpublic DblAryCacheDclfSolver(DclfAlgorithm algo) throws InterpssException
InterpssExceptionpublic void distructor()
BMatrixSolverdistructor in interface IDclfSolverdistructor in class BMatrixSolverpublic void setBMatrixDirty()
BMatrixSolversetBMatrixDirty in interface IDclfSolversetBMatrixDirty in class BaseDclfSolverpublic void prepareBMatrix(SenAnalysisType type) throws InterpssException, IpssNumericException
BaseDclfSolverprepareBMatrix in interface IDclfSolverprepareBMatrix in class BaseDclfSolvertype - Sen Analysis TypeInterpssExceptionIpssNumericExceptionpublic double[] getSenPAngle(java.lang.String busId)
throws InterpssException,
IpssNumericException,
ReferenceBusException
IDclfSolverbusId - injection bus idInterpssExceptionIpssNumericExceptionReferenceBusExceptionpublic double[] getSenQVoltage(java.lang.String busId)
throws InterpssException,
IpssNumericException,
ReferenceBusException
IDclfSolverInterpssExceptionIpssNumericExceptionReferenceBusExceptionpublic double[] calSensitivityImpl(SenAnalysisType type, java.lang.String injectBusId) throws InterpssException, IpssNumericException, ReferenceBusException
IDclfSolvercalSensitivityImpl in interface IDclfSolvercalSensitivityImpl in class BaseDclfSolvertype - Sen Analysis TypeinjectBusId - injection bus idInterpssExceptionIpssNumericExceptionReferenceBusException