-
Notifications
You must be signed in to change notification settings - Fork 60
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
SoC calculation for a Supervolt battery group is not correct #155
Comments
The link of my screenshot does not work. Here is the log but I am charging the batteries at this moment. The values are not the same as you see in post one. |
I can reproduce this. The bug is in Line 133 in 1ba8f23
|
I23:01:40 INFO [sampling] JK2: BmsSampl(39.4%,U=24.4V,I=-0.18A,P=-5W,Q=118.1Ah/300,mos=0.0°C) i have the same problem. |
ive pushed 1.73, which should fix this |
please re-open if needed |
The issue is solved. Thanks a lot. BR Karatzie |
Describe the issue here.
I have add a battery group with my both Supervolt batteries.
Battery 1 has a SoC of 77.1 %
Battery 2 has a SoC of 99.8 %
The SoC of the battery group has a value of 44.23%
The sum of SoC of battery 1 and battery 2 is 77.1% + 99.8% = 176.9%.
This sum should be divided by two. 176.9%/2=88.45%.
In Batmon, the sum is divided by four. 176.9%/4=44.225%.
Supervolt
The text was updated successfully, but these errors were encountered: