Protocol Documentation¤
Table of Contents¤
frequenz/api/assets/v1/assets.proto¤
GetMicrogridRequest¤
GetMicrogridRequest is the input parameter for fetching details given a specific microgrid.
Field | Type | Label | Description |
---|---|---|---|
microgrid_id | uint64 | The unique identifier of the microgrid for which to fetch details. |
GetMicrogridResponse¤
GetMicrogridResponse is the response for fetching details given a specific microgrid.
Field | Type | Label | Description |
---|---|---|---|
microgrid | frequenz.api.common.v1.microgrid.Microgrid | Details of the requested microgrid. |
ListMicrogridElectricalComponentConnectionsRequest¤
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.
!!! note "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.
!!! note "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.
Field | Type | Label | Description |
---|---|---|---|
microgrid_id | uint64 | Mandatory field. The ID of the microgrid for which connections are to be listed. | |
source_component_ids | uint64 | repeated | Only return connections that originate from these component IDs. If empty, no filtering is applied. |
destination_component_ids | uint64 | repeated | Only return connections that terminate at these component IDs. If empty, no filtering is applied. |
ListMicrogridElectricalComponentConnectionsResponse¤
ListMicrogridElectricalComponentConnectionsResponse holds the list of electrical connections that match the filter criteria specified in the ListMicrogridElectricalComponentConnectionsRequest.
Field | Type | Label | Description |
---|---|---|---|
microgrid_id | uint64 | The ID of the microgrid for which connections are returned. | |
connections | frequenz.api.common.v1.microgrid.electrical_components.ElectricalComponentConnection | repeated | Contains the list of connections that match the filtering criteria. |
ListMicrogridElectricalComponentsRequest¤
Request parameters for the RPC ListMicrogridElectricalComponents
.
Field | Type | Label | Description |
---|---|---|---|
microgrid_id | uint64 | Mandatory field. The ID of the microgrid for which components are to be listed. | |
component_ids | uint64 | repeated | Return components that have the specified IDs only. |
categories | frequenz.api.common.v1.microgrid.electrical_components.ElectricalComponentCategory | repeated | Return components that have the specified categories only. |
ListMicrogridElectricalComponentsResponse¤
A message containing a list of electrical components.
Field | Type | Label | Description |
---|---|---|---|
microgrid_id | uint64 | Unique microgrid identifier used in the request. | |
components | frequenz.api.common.v1.microgrid.electrical_components.ElectricalComponent | repeated | List of electrical components matching the filter criteria. |
PlatformAssets¤
Service providing access to manage and retrieve information related to gridpools and microgrids, and other platform assets.
Method Name | Request Type | Response Type | Description |
---|---|---|---|
GetMicrogrid | GetMicrogridRequest | GetMicrogridResponse | Returns details of a specific microgrid. |
ListMicrogridElectricalComponents | ListMicrogridElectricalComponentsRequest | ListMicrogridElectricalComponentsResponse | Returns list of a electrical components for a specific microgrid. |
ListMicrogridElectricalComponentConnections | ListMicrogridElectricalComponentConnectionsRequest | ListMicrogridElectricalComponentConnectionsResponse | Returns a list of the connections between electrical components for a specific microgrid. |