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 MismatchReporterpublic boolean reportLast()
MismatchReporterreportLast in interface MismatchReporterpublic void reportMismatch(float[] pmm,
float[] qmm,
float[] vm,
float[] va,
BusType[] type)
throws PAModelException
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)PAModelExceptionpublic void reportEnd()
reportEnd in interface MismatchReporter