public class DetailMismatchReporter extends java.lang.Object implements MismatchReporter
Constructor and Description |
---|
DetailMismatchReporter(PAModel model,
java.io.File dir,
boolean lastOnly) |
Modifier and Type | Method and Description |
---|---|
MismatchReporter |
reportBegin(BusList buses) |
void |
reportEnd() |
boolean |
reportLast()
Only report the final mismatches
|
void |
reportMismatch(float[] pmm,
float[] qmm,
float[] vm,
float[] va,
BusType[] type)
Reports a mismatch
|
public DetailMismatchReporter(PAModel model, java.io.File dir, boolean lastOnly)
public MismatchReporter reportBegin(BusList buses)
reportBegin
in interface MismatchReporter
public boolean reportLast()
MismatchReporter
reportLast
in interface MismatchReporter
public void reportMismatch(float[] pmm, float[] qmm, float[] vm, float[] va, BusType[] type) throws PAModelException
MismatchReporter
reportMismatch
in interface MismatchReporter
pmm
- active power mismatch in MW for each busqmm
- reactive power mismatch in MVAr for each busvm
- Voltage magnitude (per-unit)va
- Voltage angle (DEG)PAModelException
public void reportEnd()
reportEnd
in interface MismatchReporter