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.IOExceptionPAModelExceptionpublic SummaryMismatchReporter reportBegin(BusList buses)
reportBegin in interface MismatchReporterpublic void reportMismatch(float[] pmm,
float[] qmm,
float[] vm,
float[] va,
BusType[] type)
MismatchReporterreportMismatch in interface MismatchReporterpmm - 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 MismatchReporterpublic boolean reportLast()
MismatchReporterreportLast in interface MismatchReporter