-
Notifications
You must be signed in to change notification settings - Fork 17
SoC does not get updated #1078
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
Comments
We observed this issue when the component graph was misconfigured as follows (
This shouldn't affect how the SoC is calculated, but it might be relevant and some unexpected side-effect. |
We have tasks that calculate the SoC and stream it. My theory is that the tasks must have crashed because of an exception. The only real case I can see now is if both frequenz-sdk-python/src/frequenz/sdk/timeseries/battery_pool/_metric_calculator.py Lines 400 to 402 in 2e7a096
But I am continuing to look for other ways to reproduce. |
We are just speculating about #1081 being the fix for this, right? I guess we can still leave it closed and reopen if it happens again. |
Uh oh!
There was an error while loading. Please reload this page.
What happened?
An application kept reporting 100% SoC while the real SoC queried from the components was around 20%. It seems the application kept the outdated SoC as there wasn't any update for this metric. Apparently the SoC was no longer reported when new PV inverters were added to the microgrid (the PV inverters were reporting only Error state). It took around 5 days to find out about the issue when the components low SoC alert triggered. Unfortunately there is no logs available.
What did you expect instead?
The SoC is reported and it is up-to-date
Affected version(s)
Observed in v1.0.0-rc601
Affected part(s)
Microgrid (API, component graph, etc.) (part:microgrid)
Extra information
The SoC was reported correctly once the application was restarted
The text was updated successfully, but these errors were encountered: