Package communications.message
Class YieldPotential
- java.lang.Object
-
- de.dlr.gitlab.fame.communication.message.DataItem
-
- communications.message.PointInTime
-
- communications.message.AmountAtTime
-
- communications.message.YieldPotential
-
public class YieldPotential extends AmountAtTime
Yield potential data associated with an energy carrier- Author:
- Johannes Kochems
-
-
Field Summary
Fields Modifier and Type Field Description SupportPolicy.EnergyCarrier
energyCarrier
the energy carrier-
Fields inherited from class communications.message.AmountAtTime
amount
-
Fields inherited from class communications.message.PointInTime
validAt
-
-
Constructor Summary
Constructors Constructor Description YieldPotential(de.dlr.gitlab.fame.protobuf.Agent.ProtoDataItem proto)
Mandatory for deserialisation ofDataItem
sYieldPotential(de.dlr.gitlab.fame.time.TimeStamp timeStamp, double amount, SupportPolicy.EnergyCarrier energyCarrier)
Create newYieldPotential
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
fillDataFields(de.dlr.gitlab.fame.protobuf.Agent.ProtoDataItem.Builder builder)
-
-
-
Field Detail
-
energyCarrier
public final SupportPolicy.EnergyCarrier energyCarrier
the energy carrier
-
-
Constructor Detail
-
YieldPotential
public YieldPotential(de.dlr.gitlab.fame.time.TimeStamp timeStamp, double amount, SupportPolicy.EnergyCarrier energyCarrier)
Create newYieldPotential
- Parameters:
timeStamp
- at which the electricity could be producedamount
- of electricity that could be produced in MWhenergyCarrier
- used for the electricity production
-
YieldPotential
public YieldPotential(de.dlr.gitlab.fame.protobuf.Agent.ProtoDataItem proto)
Mandatory for deserialisation ofDataItem
s- Parameters:
proto
- protobuf representation
-
-
Method Detail
-
fillDataFields
protected void fillDataFields(de.dlr.gitlab.fame.protobuf.Agent.ProtoDataItem.Builder builder)
- Overrides:
fillDataFields
in classAmountAtTime
-
-