Class SystemParticipantResult

java.lang.Object
edu.ie3.datamodel.models.UniqueEntity
edu.ie3.datamodel.models.result.ResultEntity
edu.ie3.datamodel.models.result.system.SystemParticipantResult
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BmResult, ElectricalEnergyStorageResult, EmResult, EvcsResult, FixedFeedInResult, LoadResult, PvResult, SystemParticipantWithHeatResult, WecResult

public abstract class SystemParticipantResult extends ResultEntity
Abstract class that holds values common to all other result entities
See Also:
  • Constructor Details

    • SystemParticipantResult

      protected SystemParticipantResult(ZonedDateTime time, UUID inputModel, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> p, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> q)
      Parameters:
      time - date and time when the result is produced
      inputModel - uuid of the input model that produces the result
      p - active power output normally provided in MW
      q - reactive power output normally provided in MVAr
    • SystemParticipantResult

      protected SystemParticipantResult(UUID uuid, ZonedDateTime time, UUID inputModel, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> p, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> q)
      Parameters:
      uuid - uuid of this result entity, for automatic uuid generation use primary constructor above
      time - date and time when the result is produced
      inputModel - uuid of the input model that produces the result
      p - active power output normally provided in MW
      q - reactive power output normally provided in MVAr
  • Method Details

    • getP

      public tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> getP()
      Active power output of the decentralised energy resource asset. Convention: Generated powers are given in negative values.
      Returns:
      Active power output in MW.
    • setP

      public void setP(tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> p)
    • getQ

      public tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> getQ()
      Reactive power output of the decentralised energy resource asset. Convention: Generated powers are given in negative values.
      Returns:
      Reactive power output in MVAr.
    • setQ

      public void setQ(tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> q)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class ResultEntity
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ResultEntity
    • toString

      public String toString()
      Overrides:
      toString in class ResultEntity