Skip to content

delivery_duration_pb2

frequenz.api.common.v1.grid.delivery_duration_pb2 ¤

Generated protocol buffer code.

Attributes¤

frequenz.api.common.v1.grid.delivery_duration_pb2.DELIVERY_DURATION_15: DeliveryDuration.ValueType module-attribute ¤

15-minute contract duration.

frequenz.api.common.v1.grid.delivery_duration_pb2.DELIVERY_DURATION_30: DeliveryDuration.ValueType module-attribute ¤

30-minute contract duration.

frequenz.api.common.v1.grid.delivery_duration_pb2.DELIVERY_DURATION_5: DeliveryDuration.ValueType module-attribute ¤

5-minute duration

frequenz.api.common.v1.grid.delivery_duration_pb2.DELIVERY_DURATION_60: DeliveryDuration.ValueType module-attribute ¤

1-hour contract duration.

frequenz.api.common.v1.grid.delivery_duration_pb2.DELIVERY_DURATION_UNSPECIFIED: DeliveryDuration.ValueType module-attribute ¤

Default value, indicates that the duration is unspecified.

Classes¤

frequenz.api.common.v1.grid.delivery_duration_pb2.DeliveryDuration ¤

Bases: _DeliveryDuration

DeliveryDuration represents the time increment, in minutes, used for electricity deliveries and trading. These durations serve as the basis for defining the delivery period in contracts, and they dictate how energy is scheduled and delivered to meet contractual obligations.

Compatibility Constraints

Not all delivery durations are universally compatible with all delivery areas or markets.

frequenz.api.common.v1.grid.delivery_duration_pb2.DeliveryPeriod ¤

Bases: Message

DeliveryPeriod represents the time period during which the contract is delivered. It is defined by a start timestamp and a duration.

Attributes¤
duration: global___DeliveryDuration.ValueType instance-attribute ¤

The length of the delivery period.

start: google.protobuf.timestamp_pb2.Timestamp property ¤

Start UTC timestamp represents the beginning of the delivery period. This timestamp is inclusive, meaning that the delivery period starts from this point in time.

Note

Delivery period start time constraints: - 5-minute durations must start at times that are multiples of 5 minutes past the hour. - 15-minute durations must start at :00, :15, :30, or :45 past the hour. - 30-minute durations must start at :00 or :30 past the hour. - 60-minute durations must start at :00 past the hour.