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 idInterpssExceptionIpssNumericExceptionReferenceBusExceptiondouble[] getSenQVoltage(java.lang.String busId)
throws InterpssException,
IpssNumericException,
ReferenceBusException
busId - InterpssExceptionIpssNumericExceptionReferenceBusExceptionvoid prepareBMatrix(SenAnalysisType type) throws InterpssException, IpssNumericException
type - Sen Analysis TypeInterpssExceptionIpssNumericExceptiondouble[] calSensitivity(SenAnalysisType type, java.lang.String injectBusId) throws InterpssException, IpssNumericException, ReferenceBusException
type - Sen Analysis TypeinjectBusId - injection bus idInterpssExceptionIpssNumericExceptionReferenceBusExceptiondouble[] calSensitivityImpl(SenAnalysisType type, java.lang.String injectBusId) throws InterpssException, IpssNumericException, ReferenceBusException
type - Sen Analysis TypeinjectBusId - injection bus idInterpssExceptionIpssNumericExceptionReferenceBusExceptionboolean calculateDclf(DclfMethod method) throws InterpssException, IpssNumericException, ReferenceBusException
method - InterpssExceptionIpssNumericExceptionReferenceBusExceptiondouble 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
InterpssExceptionISparseEqnDouble getB11Matrix() throws InterpssException
InterpssException