-
Notifications
You must be signed in to change notification settings - Fork 17
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
Using PV pool in locations without PV cause error #1130
Comments
Unfortunately it looks like creating pv pool causes this errors.
It starts other actors and one of them subscribes for system bounds and These actors started when I create pv_pool: frequenz.sdk.actor._actor:86: Actor PowerDistributingActor[131823700983008]: Started. |
I think we should just raise an exception if you are creating a PV pool and there are no PVs. I don't see any reason to create a phantom PV pool. Although when we start refreshing the component graph, this would make sense. |
People would want to build formulas with |
True. Tricky, because in that case having a warning would be annoying and spammy, because it might be a perfectly normal situation that is emitting spurious warnings. I guess we'll have to rely on a good monitoring system that allow us to filter out those warnings in locations where the warning is expected. |
What happened?
This was from a setup without PV inverters.
What did you expect instead?
It shouldn't crash or cause errors. However, the
propose_power
method could print a warning when there are no components.Affected version(s)
No response
Affected part(s)
Data pipeline (part:data-pipeline)
Extra information
No response
The text was updated successfully, but these errors were encountered: