assets_pb2
frequenz.api.assets.v1.assets_pb2 ¤
Generated protocol buffer code.
Classes¤
frequenz.api.assets.v1.assets_pb2.GetMicrogridRequest ¤
Bases: Message
GetMicrogridRequest is the input parameter for fetching details given a specific microgrid.
Source code in frequenz/api/assets/v1/assets_pb2.py
frequenz.api.assets.v1.assets_pb2.GetMicrogridResponse ¤
Bases: Message
GetMicrogridResponse is the response for fetching details given a specific microgrid.
Source code in frequenz/api/assets/v1/assets_pb2.py
frequenz.api.assets.v1.assets_pb2.ListMicrogridElectricalComponentConnectionsRequest ¤
Bases: Message
ListMicrogridElectricalComponentConnectionsRequest is used for filtering and listing the electrical connections between components in a specific microgrid. These connections can be used to construct a component graph of the microgrid.
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.
Filtering
Filtering can be done based on the source_component_id or destination_component_id. If these fields are left empty, connections with any source or destination will be returned.
Attributes¤
destination_component_ids
property
¤
Only return connections that terminate at these component IDs. If empty, no filtering is applied.
microgrid_id
instance-attribute
¤
Mandatory field. The ID of the microgrid for which connections are to be listed.
source_component_ids
property
¤
Only return connections that originate from these component IDs. If empty, no filtering is applied.
frequenz.api.assets.v1.assets_pb2.ListMicrogridElectricalComponentConnectionsResponse ¤
Bases: Message
ListMicrogridElectricalComponentConnectionsResponse holds the list of electrical connections that match the filter criteria specified in the ListMicrogridElectricalComponentConnectionsRequest.
frequenz.api.assets.v1.assets_pb2.ListMicrogridElectricalComponentsRequest ¤
Bases: Message
Request parameters for the RPC ListMicrogridElectricalComponents
.
frequenz.api.assets.v1.assets_pb2.ListMicrogridElectricalComponentsResponse ¤
Bases: Message
A message containing a list of electrical components.