Package org.powertac.customer
Class StepInfo
- java.lang.Object
-
- org.powertac.customer.StepInfo
-
public class StepInfo extends Object
Data-holder class, instances are used to communicate dynamic information to and transport information back from the step() method of a model component.- Author:
- John Collins
-
-
Constructor Summary
Constructors Constructor Description StepInfo(Timeslot slot, TariffSubscription sub)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addkWh(double kWh)
void
addRegulationCapacity(RegulationAccumulator capacity)
double
getKWh()
RegulationAccumulator
getRegulationCapacity()
TariffSubscription
getSubscription()
Timeslot
getTimeslot()
void
setkWh(double kWh)
void
setRegulationCapacity(RegulationAccumulator capacity)
-
-
-
Constructor Detail
-
StepInfo
public StepInfo(Timeslot slot, TariffSubscription sub)
-
-
Method Detail
-
getKWh
public double getKWh()
-
setkWh
public void setkWh(double kWh)
-
addkWh
public void addkWh(double kWh)
-
getRegulationCapacity
public RegulationAccumulator getRegulationCapacity()
-
setRegulationCapacity
public void setRegulationCapacity(RegulationAccumulator capacity)
-
addRegulationCapacity
public void addRegulationCapacity(RegulationAccumulator capacity)
-
getTimeslot
public Timeslot getTimeslot()
-
getSubscription
public TariffSubscription getSubscription()
-
-