public class DblAryCacheDclfSolver extends BaseDclfSolver
IDclfSolver.CacheType
dclfAlgo, dclfResult, JMatrixType, Token_PAngle, Token_QVoltage
aclfNet
MaxItrDclfLoss
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, setBusAngle
getB11Matrix, getB1Matrix, isB11MatrixDirty, isB1MatrixDirty, setB11MatrixDirty, setB1MatrixDirty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getB11Matrix, getB1Matrix
public DblAryCacheDclfSolver(DclfAlgorithm algo) throws InterpssException
InterpssException
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 void prepareBMatrix(SenAnalysisType type) throws InterpssException, IpssNumericException
BaseDclfSolver
prepareBMatrix
in interface IDclfSolver
prepareBMatrix
in class BaseDclfSolver
type
- Sen Analysis TypeInterpssException
IpssNumericException
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