public class YMatrixChangeRecorder extends BaseRecorder<YMatrixChangeRecorder.YMatrixChangeRecord>
Modifier and Type | Class and Description |
---|---|
static class |
YMatrixChangeRecorder.YMatrixChangeRecord
data structure for representing Y matrix change record
|
recordList, timeTolerance
Constructor and Description |
---|
YMatrixChangeRecorder(double timeTolerance) |
Modifier and Type | Method and Description |
---|---|
YMatrixChangeRecorder.YMatrixChangeRecord |
getTestRecord(double t,
java.lang.String busId)
get Y matrix change record at time t and for bus busId
|
YMatrixChangeRecorder.YMatrixChangeRecord |
getTestRecord(double t,
java.lang.String fromBusId,
java.lang.String toBusId)
get Y matrix change record at time t and for branch formId->toId
|
void |
initBusNumber(BaseDStabNetwork<?,?> net)
Initialize bus number, this method has to be called after bus number has been arranged.
|
void |
onMsgEvent(IpssMessage eventMsg)
Process the msg
|
addTestRecord, onMsgEventStatus, toString
public void initBusNumber(BaseDStabNetwork<?,?> net)
net
- public YMatrixChangeRecorder.YMatrixChangeRecord getTestRecord(double t, java.lang.String busId)
t
- busId
- public YMatrixChangeRecorder.YMatrixChangeRecord getTestRecord(double t, java.lang.String fromBusId, java.lang.String toBusId)
t
- fromBusId
- toBusId
- public void onMsgEvent(IpssMessage eventMsg)
IpssMsgListener
onMsgEvent
in interface IpssMsgListener
onMsgEvent
in class BaseRecorder<YMatrixChangeRecorder.YMatrixChangeRecord>