Added ListGridpoolEnergySchedules and ListMicrogridSensors RPCs#99
Merged
thomas-nicolai-frequenz merged 14 commits intoJun 16, 2026
Merged
Conversation
Signed-off-by: tomni <thomas.nicolai@frequenz.com>
Signed-off-by: tomni <thomas.nicolai@frequenz.com>
b0a7940 to
2989029
Compare
Signed-off-by: tomni <thomas.nicolai@frequenz.com>
f39f614 to
9e73a5f
Compare
cwasicki
reviewed
May 29, 2026
cwasicki
reviewed
May 29, 2026
…area split and cancel_time Signed-off-by: tomni <thomas.nicolai@frequenz.com>
Signed-off-by: tomni <thomas.nicolai@frequenz.com>
…eriod filtering Signed-off-by: tomni <thomas.nicolai@frequenz.com>
Signed-off-by: tomni <thomas.nicolai@frequenz.com>
Signed-off-by: tomni <thomas.nicolai@frequenz.com>
Signed-off-by: tomni <thomas.nicolai@frequenz.com>
ktickner
reviewed
Jun 2, 2026
ktickner
reviewed
Jun 2, 2026
cwasicki
reviewed
Jun 2, 2026
ktickner
reviewed
Jun 2, 2026
ktickner
reviewed
Jun 3, 2026
ktickner
reviewed
Jun 3, 2026
ktickner
reviewed
Jun 3, 2026
ktickner
reviewed
Jun 3, 2026
Signed-off-by: tomni <thomas.nicolai@frequenz.com>
…tionSelector rename Signed-off-by: tomni <thomas.nicolai@frequenz.com>
Signed-off-by: tomni <thomas.nicolai@frequenz.com>
Signed-off-by: tomni <thomas.nicolai@frequenz.com>
ktickner
reviewed
Jun 8, 2026
ktickner
approved these changes
Jun 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR extends the Platform Assets API with market-topology and Gridpool-related metadata needed by trading, forecasting, reporting, and operational tooling. The PR also adds Gridpool energy schedules and microgrid sensor listing support.
Changes
ListMarketTopologyRelationsfor querying market-topology relations within the current enterprise scope.MarketTopologyRelationas the canonical relation model between Gridpools, Microgrids, and Market Locations.MarketParticipationandMarketParticipationTypeto describe use-case-specific participation of a market-topology relation.ListGridpoolEnergySchedulesfor retrieving static Gridpool energy schedules.GridpoolEnergySchedule, including counterparty balancing group, Gridpool and counterparty delivery areas, direction, validity period, cancellation timestamp, delivery duration, and scheduled active-power time series.GridpoolEnergyScheduleDirectionto describe import/export direction from the perspective of the Frequenz balancing group.ListMicrogridSensorsfor listing sensors belonging to a specific microgrid.Notes
MarketTopologyRelationintentionally supports relations without a Gridpool. These represent Microgrid-to-Market-Location links used for deployment, metering validation, reporting comparison, or local optimization, and do not imply market participation.If
gridpool_idis set on aMarketTopologyRelation, the relation represents participation in a Gridpool context. In that case,delivery_areais required andparticipationsmay describe use-case-specific validity.Gridpool energy schedules use a schedule-level
delivery_duration. Each time-series entry contains only a start timestamp and applies untilstart_time + delivery_duration.The API does not expose derived active/inactive schedule status. Clients can derive effective status from
validity_period,cancel_time, and their own evaluation time.