Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PowerManager algorithm that can shift or limit bounds #1125

Open
shsms opened this issue Dec 4, 2024 · 1 comment
Open

PowerManager algorithm that can shift or limit bounds #1125

shsms opened this issue Dec 4, 2024 · 1 comment
Labels
part:power-management Affects the management of battery power and distribution scope:breaking-change Breaking change, users will need to update their code type:enhancement New feature or enhancement visitble to users

Comments

@shsms
Copy link
Contributor

shsms commented Dec 4, 2024

What's needed?

Currently the power manager has a 2-group approach, where each group has a Matryoshka implementation that supports only limiting of bounds. And the first group shifts the second group's bounds.

We need a more flexible implementation where each actor is able to decide whether they want to shift or limit the bounds of the lower priority actors.

The following changes are necessary to achieve this:

  • The priority becomes optional.
  • A proposal with just a target power and without bounds would shift the other actors.
  • A proposal with target bounds and optional target power would limit other actors with no priority or lower priorities.

Proposed solution

No response

Use cases

No response

Alternatives and workarounds

No response

Additional context

No response

@shsms shsms added part:power-management Affects the management of battery power and distribution scope:breaking-change Breaking change, users will need to update their code type:enhancement New feature or enhancement visitble to users labels Dec 4, 2024
@llucax
Copy link
Contributor

llucax commented Dec 4, 2024

It might be good to add some examples on how we envision this new algorithm to work so we don't forget, as I'm not sure when we'll have time to actually implement it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
part:power-management Affects the management of battery power and distribution scope:breaking-change Breaking change, users will need to update their code type:enhancement New feature or enhancement visitble to users
Projects
Status: To do
Development

No branches or pull requests

2 participants