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

Fix PV power distribution #1015

Conversation

daniel-zullo-frequenz
Copy link
Contributor

To exclude PV inverters that didn't send any data. The power distributor crashes because it tried to get data from a component that didn't send any data since the application startup.

To exclude PV inverters that didn't send any data.
The power distributor crashes because it tried to get
data from a component that didn't send any data since
the application startup.

Signed-off-by: Elzbieta Kotulska <elzbieta.kotulska@frequenz.com>
@daniel-zullo-frequenz daniel-zullo-frequenz requested a review from a team as a code owner July 31, 2024 20:16
@github-actions github-actions bot added part:docs Affects the documentation part:actor Affects an actor ot the actors utilities (decorator, etc.) labels Jul 31, 2024
If desired power is already reached without the need to use some
inverters, their powers need to be set to zero.

If not, their original powers would remain and the target powers would
be wrong.

In case the requested power is zero, this was also leading to crashes
because there were no allocations.  This change also fixes that issue.

Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
@github-actions github-actions bot added the part:tests Affects the unit, integration and performance (benchmarks) tests label Jul 31, 2024
@daniel-zullo-frequenz daniel-zullo-frequenz merged commit c9115e0 into frequenz-floss:v1.0.0-rc6xx Jul 31, 2024
14 checks passed
@daniel-zullo-frequenz daniel-zullo-frequenz deleted the fix/pv-inverter-manager branch July 31, 2024 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
part:actor Affects an actor ot the actors utilities (decorator, etc.) part:docs Affects the documentation part:tests Affects the unit, integration and performance (benchmarks) tests
Projects
Development

Successfully merging this pull request may close these issues.

3 participants