Class YieldPotential


  • public class YieldPotential
    extends AmountAtTime
    Yield potential data associated with an energy carrier
    Author:
    Johannes Kochems
    • Constructor Detail

      • YieldPotential

        public YieldPotential​(de.dlr.gitlab.fame.time.TimeStamp timeStamp,
                              double amount,
                              SupportPolicy.EnergyCarrier energyCarrier)
        Create new YieldPotential
        Parameters:
        timeStamp - at which the electricity could be produced
        amount - of electricity that could be produced in MWh
        energyCarrier - used for the electricity production
      • YieldPotential

        public YieldPotential​(de.dlr.gitlab.fame.protobuf.Agent.ProtoDataItem proto)
        Mandatory for deserialisation of DataItems
        Parameters:
        proto - protobuf representation
    • Method Detail

      • fillDataFields

        protected void fillDataFields​(de.dlr.gitlab.fame.protobuf.Agent.ProtoDataItem.Builder builder)
        Overrides:
        fillDataFields in class AmountAtTime