Skip to content

Interface for fetching grid metrics: frequencyΒ #341

@sahas-subramanian-frequenz

Description

What's needed?

A high level interface for fetching grid frequency.

Proposed solution

This can be done in two steps:

  1. A method microgrid.grid.frequency() that takes an optional component_id of a meter, from which it would stream frequency values. This value does not need to be resampled (so no need to get it from the resampler actor). If no component_id is specified, use the meter closest to the grid, in the component graph. If there are multiple meters close to the grid, pick any one that has no successors.
  2. Once the microgrid API starts supporting metadata for components, a query interface around the component graph, to identify meters with the best resolution, and get their component IDs, which can be used in the methods from step 1, instead of having to specify component IDs in config files.

Use cases

No response

Alternatives and workarounds

No response

Additional context

Metadata

Metadata

Assignees

Labels

part:data-pipelineAffects the data pipelinetype:enhancementNew feature or enhancement visitble to users

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions