Class ThermalStorageResult

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CylindricalStorageResult

public abstract class ThermalStorageResult extends ThermalUnitResult
Represents calculation results of ThermalStorageInput
See Also:
  • Constructor Details

    • ThermalStorageResult

      protected ThermalStorageResult(ZonedDateTime time, UUID inputModel, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Energy> energy, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> qDot)
      Constructs the result with
      Parameters:
      time - date and time when the result is produced
      inputModel - uuid of the input model that produces the result
      energy - Currently stored energy
      qDot - Heat power flowing into (> 0) or coming from (< 0) the storage
    • ThermalStorageResult

      protected ThermalStorageResult(UUID uuid, ZonedDateTime time, UUID inputModel, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Energy> energy, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> qDot)
      Constructs the result with
      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
      energy - Currently stored energy
      qDot - Heat power flowing into (> 0) or coming from (< 0) the storage
  • Method Details

    • getEnergy

      public tech.units.indriya.ComparableQuantity<javax.measure.quantity.Energy> getEnergy()
    • setEnergy

      public void setEnergy(tech.units.indriya.ComparableQuantity<javax.measure.quantity.Energy> energy)
    • equals

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

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

      public String toString()
      Overrides:
      toString in class ThermalUnitResult