public class HashMapCacheDclfSolver extends BaseDclfSolver
IDclfSolver.CacheTypedclfAlgo, dclfResult, JMatrixType, Token_PAngle, Token_QVoltageaclfNetMaxItrDclfLoss| Constructor and Description |
|---|
HashMapCacheDclfSolver(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 |
setBMatrixDirty()
set B1 and B11 matrix dirty
|
calBranchFlow, calBranchFlow, calculateDclf, calSensitivity, getBusAngle, getBusAngle, getDclfResult, initDclfResultForDebug, prepareBMatrix, setBusAnglegetB11Matrix, getB1Matrix, isB11MatrixDirty, isB1MatrixDirty, setB11MatrixDirty, setB1MatrixDirtyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetB11Matrix, getB1Matrixpublic HashMapCacheDclfSolver(DclfAlgorithm algo)
public void distructor()
BMatrixSolverdistructor in interface IDclfSolverdistructor in class BMatrixSolverpublic void setBMatrixDirty()
BMatrixSolversetBMatrixDirty in interface IDclfSolversetBMatrixDirty in class BaseDclfSolverpublic 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