frequenz-floss / frequenz-sdk-python

Frequenz Python Software Development Kit (SDK)
https://frequenz-floss.github.io/frequenz-sdk-python/
MIT License
13 stars 17 forks source link

Periodically repeat power values to the microgrid API, in the PowerDistributor / PowerManager #293

Open shsms opened 1 year ago

shsms commented 1 year ago

What's needed?

The Microgrid API service removes power values sent from actors after a configurable time, and actors need to repeatedly send power values, as a heartbeat mechanism, to ensure that the decision making actor is still around.

This repetition is currently done directly by the actors.

Proposed solution

This logic can instead be moved to the PowerDistributor or PowerManager once it becomes available, and hidden from actor developers.

Use cases

No response

Alternatives and workarounds

No response

Additional context

No response

llucax commented 1 year ago

I guess this should be done in the power manager more than the power distributor:

matthias-wende-frequenz commented 11 months ago

Blocked by #727