public static class YMatrixChangeRecorder.YMatrixChangeRecord extends BaseRecord
Modifier and Type | Field and Description |
---|---|
java.lang.String |
fromBusId |
int |
i |
int |
j |
java.lang.String |
toBusId |
org.apache.commons.math3.complex.Complex |
y |
measured, t
Constructor and Description |
---|
YMatrixChangeRecord(java.lang.String busId,
double t) |
YMatrixChangeRecord(java.lang.String fromBusId,
java.lang.String toBusId,
double t) |
Modifier and Type | Method and Description |
---|---|
org.apache.commons.math3.complex.Complex |
difference(org.apache.commons.math3.complex.Complex yExpected)
Checked the Y-matrix element measured against a known value
|
boolean |
isChanged()
check if the Y matrix record has been changed
|
java.lang.String |
toString() |
public java.lang.String fromBusId
public java.lang.String toBusId
public int i
public int j
public org.apache.commons.math3.complex.Complex y
public YMatrixChangeRecord(java.lang.String busId, double t)
public YMatrixChangeRecord(java.lang.String fromBusId, java.lang.String toBusId, double t)
public org.apache.commons.math3.complex.Complex difference(org.apache.commons.math3.complex.Complex yExpected)
yExpected
- public boolean isChanged()
public java.lang.String toString()
toString
in class BaseRecord