platformassets_pb2
frequenz.api.platformassets.v1alpha1.platformassets_pb2 ¤
Generated protocol buffer code.
Classes¤
frequenz.api.platformassets.v1alpha1.platformassets_pb2.GetGridpoolRequest ¤
frequenz.api.platformassets.v1alpha1.platformassets_pb2.GetGridpoolResponse ¤
frequenz.api.platformassets.v1alpha1.platformassets_pb2.GetMicrogridRequest ¤
frequenz.api.platformassets.v1alpha1.platformassets_pb2.GetMicrogridResponse ¤
frequenz.api.platformassets.v1alpha1.platformassets_pb2.ListMicrogridElectricalComponentConnectionsRequest ¤
Bases: Message
Request message for listing directed electrical connections between components in a microgrid.
Connections define the directed electrical component graph of a microgrid. The source component is closer to the grid-connection point or logical root, while the destination component is further downstream.
Component Graph
A component graph in the context of a microgrid refers to a directed graph where the nodes represent electrical components (like generators, batteries, or loads) and the edges represent electrical connections between them. The edges are directional, pointing away from the grid-connection point (or the root point for island microgrids). This means that for each edge, the source component is towards the grid connection point, and the destination component is pointing towards an underlying component. This graph provides a structured view of how electrical energy flows within the microgrid.
Attributes¤
microgrid_id
instance-attribute
¤
The unique identifier of the microgrid whose electrical component connections should be listed.
Functions¤
filter ¤
Optional filtering criteria for narrowing the returned connections.
If omitted, all known electrical connections in the microgrid are returned.
frequenz.api.platformassets.v1alpha1.platformassets_pb2.ListMicrogridElectricalComponentConnectionsResponse ¤
Bases: Message
Response message containing directed electrical connections for a microgrid.
The response contains all connections matching the requested filters. If no
connection matches the filters, connections is empty.
frequenz.api.platformassets.v1alpha1.platformassets_pb2.ListMicrogridElectricalComponentsRequest ¤
Bases: Message
Request parameters for the RPC ListMicrogridElectricalComponents.
frequenz.api.platformassets.v1alpha1.platformassets_pb2.ListMicrogridElectricalComponentsResponse ¤
Bases: Message
Response message containing electrical components for a microgrid.
frequenz.api.platformassets.v1alpha1.platformassets_pb2.ListMicrogridsRequest ¤
Bases: Message
Request message for listing all visible microgrids.
Source code in py/frequenz/api/platformassets/v1alpha1/platformassets_pb2.py
frequenz.api.platformassets.v1alpha1.platformassets_pb2.ListMicrogridsResponse ¤
Bases: Message
Response message containing all visible microgrids.
Source code in py/frequenz/api/platformassets/v1alpha1/platformassets_pb2.py
frequenz.api.platformassets.v1alpha1.platformassets_pb2.MicrogridElectricalComponentConnectionsFilter ¤
Bases: Message
Filters for selecting electrical component connections in a microgrid.
A connection must match all specified filter fields to be included in the response.
Filter Semantics
Each repeated field is evaluated using logical OR.
Different filter fields are combined using logical AND.
If no filters are provided, all known electrical connections in the microgrid are returned.
Functions¤
destination_component_ids ¤
Optional. Return only connections whose destination component ID is included in this list.
If empty, connections to any destination component are returned.
source_component_ids ¤
Optional. Return only connections whose source component ID is included in this list.
If empty, connections from any source component are returned.
frequenz.api.platformassets.v1alpha1.platformassets_pb2.MicrogridElectricalComponentsFilter ¤
Bases: Message
Filters for selecting electrical components in a microgrid.
An electrical component must match all specified filter fields to be included in the response.
Filter Semantics
Each repeated field is evaluated using logical OR.
Different filter fields are combined using logical AND.
If no filters are provided, all electrical components in the microgrid are returned.