Skip to content

battery_pb2

frequenz.api.common.v1.microgrid.components.battery_pb2 ¤

Generated protocol buffer code.

Attributes¤

frequenz.api.common.v1.microgrid.components.battery_pb2.BATTERY_TYPE_LI_ION: BatteryType.ValueType module-attribute ¤

Li-ion batteries.

frequenz.api.common.v1.microgrid.components.battery_pb2.BATTERY_TYPE_NA_ION: BatteryType.ValueType module-attribute ¤

Sodium-ion batteries

frequenz.api.common.v1.microgrid.components.battery_pb2.BATTERY_TYPE_UNSPECIFIED: BatteryType.ValueType module-attribute ¤

Unspecified.

Classes¤

frequenz.api.common.v1.microgrid.components.battery_pb2.Battery ¤

Bases: Message

A representation of a battery.

Attributes¤
type: global___BatteryType.ValueType instance-attribute ¤

The battery type.

frequenz.api.common.v1.microgrid.components.battery_pb2.BatteryType ¤

Bases: _BatteryType

Enumerated battery types.