Skip to content

energy_pb2

frequenz.api.common.v1.market.energy_pb2 ¤

Generated protocol buffer code.

Classes¤

frequenz.api.common.v1.market.energy_pb2.Energy ¤

Bases: Message

Represents a single unit of electricity.

Note

In these trading orders, the unit of energy is denominated in MWh (Megawatt-hours) as opposed to MW (Megawatts). MWh is a unit of energy representing total output over a period, while MW is a unit of power that represents the rate of energy production or consumption.

Source code in frequenz/api/common/v1/market/energy_pb2.py
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'frequenz.api.common.v1.market.energy_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  _ENERGY._serialized_start=121
  _ENERGY._serialized_end=181
# @@protoc_insertion_point(module_scope)
Attributes¤
mwh: frequenz.api.common.v1.types.decimal_pb2.Decimal property ¤

Represents energy unit in Megawatthours (MWh).