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
Abstract class that holds values common to all other result entities
- 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
ModifierConstructorDescriptionprotected
SystemParticipantResult
(ZonedDateTime time, UUID inputModel, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> p, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> q) 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) -
Method Summary
Modifier and TypeMethodDescriptionboolean
tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power>
getP()
Active power output of the decentralised energy resource asset.tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power>
getQ()
Reactive power output of the decentralised energy resource asset.int
hashCode()
void
setP
(tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> p) void
setQ
(tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> q) toString()
Methods inherited from class edu.ie3.datamodel.models.result.ResultEntity
getInputModel, getTime, setInputModel, setTime
Methods inherited from class edu.ie3.datamodel.models.UniqueEntity
getUuid
-
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 producedinputModel
- uuid of the input model that produces the resultp
- active power output normally provided in MWq
- 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 abovetime
- date and time when the result is producedinputModel
- uuid of the input model that produces the resultp
- active power output normally provided in MWq
- 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
- Overrides:
equals
in classResultEntity
-
hashCode
public int hashCode()- Overrides:
hashCode
in classResultEntity
-
toString
- Overrides:
toString
in classResultEntity
-