public class HashMapCacheDclfSolver extends BaseDclfSolver
IDclfSolver.CacheType
dclfAlgo, dclfResult, JMatrixType, Token_PAngle, Token_QVoltage
aclfNet
MaxItrDclfLoss
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, setBusAngle
getB11Matrix, getB1Matrix, isB11MatrixDirty, isB1MatrixDirty, setB11MatrixDirty, setB1MatrixDirty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getB11Matrix, getB1Matrix
public HashMapCacheDclfSolver(DclfAlgorithm algo)
public void distructor()
BMatrixSolver
distructor
in interface IDclfSolver
distructor
in class BMatrixSolver
public void setBMatrixDirty()
BMatrixSolver
setBMatrixDirty
in interface IDclfSolver
setBMatrixDirty
in class BaseDclfSolver
public double[] getSenPAngle(java.lang.String busId) throws InterpssException, IpssNumericException, ReferenceBusException
IDclfSolver
busId
- injection bus idInterpssException
IpssNumericException
ReferenceBusException
public double[] getSenQVoltage(java.lang.String busId) throws InterpssException, IpssNumericException, ReferenceBusException
IDclfSolver
InterpssException
IpssNumericException
ReferenceBusException
public double[] calSensitivityImpl(SenAnalysisType type, java.lang.String injectBusId) throws InterpssException, IpssNumericException, ReferenceBusException
IDclfSolver
calSensitivityImpl
in interface IDclfSolver
calSensitivityImpl
in class BaseDclfSolver
type
- Sen Analysis TypeinjectBusId
- injection bus idInterpssException
IpssNumericException
ReferenceBusException