Class HeatAndPValue

java.lang.Object
edu.ie3.datamodel.models.value.PValue
edu.ie3.datamodel.models.value.HeatAndPValue
All Implemented Interfaces:
Value, Serializable

public class HeatAndPValue extends PValue
Describes a tuple based on active electrical power, as well as heat power
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    HeatAndPValue(tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> p, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> heatDemand)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Optional<tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power>>
     
    int
     
     

    Methods inherited from class edu.ie3.datamodel.models.value.PValue

    getP

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • HeatAndPValue

      public HeatAndPValue(tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> p, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> heatDemand)
      Parameters:
      p - Active power
      heatDemand - Heat demand
  • Method Details

    • getHeatDemand

      public Optional<tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power>> getHeatDemand()
    • equals

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

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

      public String toString()
      Overrides:
      toString in class PValue