@Domain(fields={"postedTimeslot","peakTimeslot","threshold","KWh","charge"})
public class CapacityTransaction
extends BrokerTransaction
broker, id, postedTimeslot| Constructor and Description |
|---|
CapacityTransaction(Broker broker,
int when,
int peakTimeslot,
double threshold,
double kwh,
double charge) |
| Modifier and Type | Method and Description |
|---|---|
double |
getCharge()
The total charge imposed by the DU for this assessment.
|
double |
getKWh()
The amount by which this broker's total net consumption
exceeded the threshold, in kWh.
|
int |
getPeakTimeslot()
When this peak occurred.
|
double |
getThreshold()
The peak-demand threshold for this assessment.
|
String |
toString() |
getBroker, getId, getPostedTime, getPostedTimeslot, getPostedTimeslotIndexpublic CapacityTransaction(Broker broker, int when, int peakTimeslot, double threshold, double kwh, double charge)
public int getPeakTimeslot()
public double getThreshold()
public double getKWh()
public double getCharge()
Copyright © 2017 Power TAC. All rights reserved.