public interface IDclfSolver
Modifier and Type | Interface and Description |
---|---|
static class |
IDclfSolver.CacheType |
Modifier and Type | Field and Description |
---|---|
static int |
MaxItrDclfLoss |
Modifier and Type | Method and Description |
---|---|
double |
calBranchFlow(AclfBranch branch)
calculate branch power flow
|
double |
calBranchFlow(AclfBranch branch,
Unit.UnitType unit)
calculate branch power flow in the unit specified
|
boolean |
calculateDclf(DclfMethod method)
calculate DC Loadflow and store the bus results in the dcResult[] and
branch results in branch.weight
|
double[] |
calSensitivity(SenAnalysisType type,
java.lang.String injectBusId)
calculate the bus sensitivity.
|
double[] |
calSensitivityImpl(SenAnalysisType type,
java.lang.String injectBusId)
calculate the bus sensitivity
|
void |
distructor()
distructor to release resource if necessary
|
ISparseEqnDouble |
getB11Matrix()
get B11 matrix.
|
ISparseEqnDouble |
getB1Matrix()
get B1 matrix.
|
double |
getBusAngle(int busSortNumber)
get bus voltage angle
|
double |
getBusAngle(java.lang.String busId)
get bus voltage angle
|
double[] |
getDclfResult()
get the Dclf result
|
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
|
void |
setBusAngle(java.lang.String busId,
double ang)
for debug and investigation purpose
|
static final int MaxItrDclfLoss
void setBMatrixDirty()
double[] getSenPAngle(java.lang.String busId) throws InterpssException, IpssNumericException, ReferenceBusException
busId
- injection bus idInterpssException
IpssNumericException
ReferenceBusException
double[] getSenQVoltage(java.lang.String busId) throws InterpssException, IpssNumericException, ReferenceBusException
busId
- InterpssException
IpssNumericException
ReferenceBusException
void prepareBMatrix(SenAnalysisType type) throws InterpssException, IpssNumericException
type
- Sen Analysis TypeInterpssException
IpssNumericException
double[] calSensitivity(SenAnalysisType type, java.lang.String injectBusId) throws InterpssException, IpssNumericException, ReferenceBusException
type
- Sen Analysis TypeinjectBusId
- injection bus idInterpssException
IpssNumericException
ReferenceBusException
double[] calSensitivityImpl(SenAnalysisType type, java.lang.String injectBusId) throws InterpssException, IpssNumericException, ReferenceBusException
type
- Sen Analysis TypeinjectBusId
- injection bus idInterpssException
IpssNumericException
ReferenceBusException
boolean calculateDclf(DclfMethod method) throws InterpssException, IpssNumericException, ReferenceBusException
method
- InterpssException
IpssNumericException
ReferenceBusException
double calBranchFlow(AclfBranch branch)
branch
- double calBranchFlow(AclfBranch branch, Unit.UnitType unit)
branch
- unit
- double getBusAngle(int busSortNumber)
busSortNumber
- double getBusAngle(java.lang.String busId)
busId
- void setBusAngle(java.lang.String busId, double ang)
busId
- ang
- double[] getDclfResult()
void distructor()
ISparseEqnDouble getB1Matrix() throws InterpssException
InterpssException
ISparseEqnDouble getB11Matrix() throws InterpssException
InterpssException