public class SummaryMismatchReporter extends java.lang.Object implements MismatchReporter
Constructor and Description |
---|
SummaryMismatchReporter(java.io.File dir) |
Modifier and Type | Method and Description |
---|---|
SummaryMismatchReporter |
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
|
void |
write() |
public void write() throws java.io.IOException, PAModelException
java.io.IOException
PAModelException
public SummaryMismatchReporter reportBegin(BusList buses)
reportBegin
in interface MismatchReporter
public void reportMismatch(float[] pmm, float[] qmm, float[] vm, float[] va, BusType[] type)
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)public void reportEnd()
reportEnd
in interface MismatchReporter
public boolean reportLast()
MismatchReporter
reportLast
in interface MismatchReporter