Class BalanceReport


  • @Domain(fields={"timeslotIndex","newImbalance"})
    public class BalanceReport
    extends Object
    Reports total net imbalance for a given timeslot, in kWh. The value is positive for surplus (needing down-regulation), negative for deficit (needing up-regulation).
    Author:
    John Collins
    • Constructor Detail

      • BalanceReport

        public BalanceReport​(int timeslotIndex,
                             double value)
        Constructed as balanced. Call addImbalance to fill it in.
    • Method Detail

      • getId

        public long getId()
        Returns the id of this instance
      • getNetImbalance

        public double getNetImbalance()
      • getTimeslotIndex

        public int getTimeslotIndex()