Class ThermalStorageResult
java.lang.Object
edu.ie3.datamodel.models.UniqueEntity
edu.ie3.datamodel.models.result.ResultEntity
edu.ie3.datamodel.models.result.thermal.ThermalUnitResult
edu.ie3.datamodel.models.result.thermal.ThermalStorageResult
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CylindricalStorageResult
Represents calculation results of
ThermalStorageInput- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.ie3.datamodel.models.UniqueEntity
UniqueEntity.UniqueEntityBuilder, UniqueEntity.UniqueEntityCopyBuilder<T extends UniqueEntity.UniqueEntityBuilder> -
Field Summary
Fields inherited from class edu.ie3.datamodel.models.UniqueEntity
UUID_FIELD_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedThermalStorageResult(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 withprotectedThermalStorageResult(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 -
Method Summary
Methods inherited from class edu.ie3.datamodel.models.result.thermal.ThermalUnitResult
getqDot, setqDotMethods inherited from class edu.ie3.datamodel.models.result.ResultEntity
getInputModel, getTime, setInputModel, setTimeMethods inherited from class edu.ie3.datamodel.models.UniqueEntity
getUuid
-
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 producedinputModel- uuid of the input model that produces the resultenergy- Currently stored energyqDot- 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 abovetime- date and time when the result is producedinputModel- uuid of the input model that produces the resultenergy- Currently stored energyqDot- 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
- Overrides:
equalsin classThermalUnitResult
-
hashCode
public int hashCode()- Overrides:
hashCodein classThermalUnitResult
-
toString
- Overrides:
toStringin classThermalUnitResult
-