A Forum run by Enthusiasts of MidNite Solar

Other MidNite Electronics => WBjr => Topic started by: malkierian on November 26, 2020, 02:26:04 AM

Title: Amphours remaining jumps around a lot?
Post by: malkierian on November 26, 2020, 02:26:04 AM
So I recently replaced my AGM battery bank with a larger lead acid bank. I had a Wbjr attached to one of my classics for about 8 months before that. Amphours remaining was always steady during that time. However, now that the lead acid bank is in place, suddenly I will get random jumps in Ah remaining to the tune of 10% of my entered capacity, such as is shown in this graph:
https://i.imgur.com/wxCUl8H.png
That percentage is calculated off of reported Ah remaining from that classic divided by the capacity I told it. Literally nothing else has changed in that time range. Amp draw has been nearly constant, voltage is still the same. I know the remaining capacity fluctuates somewhat based on the BTM readout, but BTM readings are steady in that period, too. I just can't for the life of me figure out what is going on. As you can see, during charging, it often jumps up like that, too. I have my efficiency set at like 89%, but I can't see how that would apply to this problem. The bank's capacity is 1955 Ah at 24v.
Title: Re: Amphours remaining jumps around a lot?
Post by: Vic on November 26, 2020, 11:48:35 AM
Remaining Capacity  will change,   as the battery is being  discharged  --  this causes a reduction in the Remaining Ah.   This value will,   and should,  increase,   as the battery is charged.

The Remaining Capacity should be calculated,   based on the Net Ah removed,   or replaced from the battery,   compensated by the battery temperature value,   as read by the Classic BTS,  plus,  the battery Charge Efficiency compensation.   This value should be reset when the Classic transitions (on its own),  from Absorb,  to Float.   At this point,   the Remaining Ah,  should be the Capacity that was used in the Setup,  but compensated by the battery temperature value,  as read from the BTS.

The graph that you included,   shows this quite well.  for a battery that is being cycled.

The real question really seems to be,   why was this Ah value not changing  very much with the previous AGM battery.   If this was the case,   then,  either that battery was not being cycled very heavily,   or,  perhaps,  there was some installation or setup issue with that installation.

You mentioned that the AGM battery was replaced by a "lead acid bank",   which is assumed to be a Flooded LA battery.   An Ah Charge Efficiency value of 89% may be a bit high,   even for a young FLA battery.   This value could have been provided by the FLA battery manufacturer (and they should know this value for their batteries).   We usually start with this value at about 80% for our FLA (Lead Antimony) batteries  ...

IMO,   FWIW,   Vic
Title: Re: Amphours remaining jumps around a lot?
Post by: malkierian on November 26, 2020, 12:19:30 PM
I appreciate the response, but nothing you mentioned seems to explain those two straightline jumps from below 85 to above 95. They were from one second to the next. Nothing charges like that, and no amount of temperature shift can account for what would be an instantaneous 200 Ah increase in remaining capacity while being discharged, as illustrated by the two points circled here:

https://i.imgur.com/r6NjDOm.png

Also, as far as the efficiency, yes, these are FLAs, and yes 89 would seem a bit high, but I already did the experiments with specific gravity to ensure that what it said was 100% before was actually 100%, and anything less always lagged behind. These particular FLAs have an added technology that the manufacturer said increased the efficiency and decreased internal resistance (for measuring end of charge conditions) compared to standard FLAs, and they were right.
Title: Re: Amphours remaining jumps around a lot?
Post by: Vic on November 26, 2020, 12:38:16 PM
Apologize for having reiterated what you already knew.

From the perspective here,  the horizontal time scale was difficult to interpret,  down to the second.  Sorry.

Have little to offer.    Good Luck,  Vic
Title: Re: Amphours remaining jumps around a lot?
Post by: malkierian on November 26, 2020, 04:02:22 PM
Sorry, the way I worded that response was pretty hostile. I edited it, hopefully reducing or eliminating that.
Title: Re: Amphours remaining jumps around a lot?
Post by: Vic on November 26, 2020, 07:03:49 PM
malkierian,

Notta problem.    All the best,   Vic
Title: Re: Amphours remaining jumps around a lot?
Post by: ClassicCrazy on November 26, 2020, 11:01:25 PM
What are you using to get the data from the Classic to make your graph ?
Have you tried graphing the SOC value from the Classic ?

Larry
Title: Re: Amphours remaining jumps around a lot?
Post by: malkierian on May 18, 2021, 06:50:29 PM
Quote from: ClassicCrazy on November 26, 2020, 11:01:25 PM
What are you using to get the data from the Classic to make your graph ?
Have you tried graphing the SOC value from the Classic ?

Larry
Apologies for the very late reply, I didn't think I was going to be getting any help. I have that python script that's floating around polling and reading from the charge controllers to get their information and publishing it to a Graphana/InfluxDB setup. That script is translating the raw data into readable values, and I'm simply grabbing the Classic's "ahRem" value that's provided by whatever infernal internal formula the Classic processes the Whizbang's data with. For the record, I'm still getting that jump in the middle of the night. Between midnight and 4 AM, when nothing is coming in and output is pretty flat, the ahRem value (again, that the Classic itself is supplying) suddenly gains 10-25 % of its maximum capacity as still available (i.e., max of 2000 amphours, one such jump went from ~1600 Ah remaining to ~1970, and then when the solar panels became energized again, they charge from that level, somehow thinking that it only had like 5% to refill). I can't find any external explanation for this jump. No change in voltage, no change in battery temperature, no sudden power output, nothing, and I can't find this formula explained anywhere, so I don't know where else I could look to find why it's doing this.
Title: Re: Amphours remaining jumps around a lot?
Post by: ClassicCrazy on May 18, 2021, 09:10:29 PM
Bob is probably the only one who might be able to answer this . So maybe he will see your post.

Larry
Title: Re: Amphours remaining jumps around a lot?
Post by: boB on May 18, 2021, 11:46:09 PM

malkierian

Do you have Auto-Restart (reset) enabled to happen at midnight ?    I wouldn't think that would be it but if it WAS, I would think the remaining Amp-Hours would go DOWN and not UP.

Wondering if this is happening at any certain time of the night or is it any randomish time between around midnight and 4 AM ?

Can you show a graph of A-Hours and WB current ?

Also, which register number or address are you reading ?  Whether it is a register number or modbus address could be important and would be "off" by one of course.


Title: Re: Amphours remaining jumps around a lot?
Post by: malkierian on May 19, 2021, 03:34:22 AM
Auto-restart? Meaning the whole classic restarts? Or just the AH reset? If the former, no, I don't have them restart automatically. If the latter, how do I check that?

It seems to be pretty random. Over the last 7 days, I've had it happen 3 times around midnight, twice around 2 and once at 4:30. And I looked, the week before that it didn't happen once.

Voltage, Ah remaining, and WB current: https://i.imgur.com/kq4vTKn.png

I'm not sure how to answer the last question. I haven't manually coded anything, I'm using the script mentioned here: http://midniteftp.com/forum/index.php?topic=3875.msg45306#msg45306. Although, I did go and dive into the code and find it processed the signal like this: https://pastebin.com/WueTAjbc
I'm using the "RemainingAmpHours" field at the moment.
Title: Re: Amphours remaining jumps around a lot?
Post by: malkierian on May 19, 2021, 03:30:34 PM
I should also mention, I have a separate battery monitor that I check quite often, and up until this point where the SOC and Ah remaining jump up, the WB SOC matches the percentage stated by this other battery monitor.
Title: Re: Amphours remaining jumps around a lot?
Post by: boB on May 19, 2021, 11:11:33 PM
Quote from: malkierian on May 19, 2021, 03:30:34 PM
I should also mention, I have a separate battery monitor that I check quite often, and up until this point where the SOC and Ah remaining jump up, the WB SOC matches the percentage stated by this other battery monitor.


What I think of when you mention this is that "maybe" the data is not getting to the server and then it suddenly gets reported and all of a sudden it does..

But I have not seen a graph of battery SOC so I am not sure.

Title: Re: Amphours remaining jumps around a lot?
Post by: malkierian on May 20, 2021, 02:01:57 AM
Quote from: boB on May 19, 2021, 11:11:33 PM
Quote from: malkierian on May 19, 2021, 03:30:34 PM
I should also mention, I have a separate battery monitor that I check quite often, and up until this point where the SOC and Ah remaining jump up, the WB SOC matches the percentage stated by this other battery monitor.


What I think of when you mention this is that "maybe" the data is not getting to the server and then it suddenly gets reported and all of a sudden it does..

But I have not seen a graph of battery SOC so I am not sure.
The middle graph in the image I posted IS the SOC. Literally one report to the next it goes up. Straight line.
EDIT: I was using Ah remaining and dividing because it gave a much more even, accurate representation of SOC than the classic's own SOC which rounds to the nearest whole percentage, but the classic's SOC still matches my math.
Title: Re: Amphours remaining jumps around a lot?
Post by: boB on May 20, 2021, 05:39:36 PM
Quote from: malkierian on May 20, 2021, 02:01:57 AM

The middle graph in the image I posted IS the SOC. Literally one report to the next it goes up. Straight line.
EDIT: I was using Ah remaining and dividing because it gave a much more even, accurate representation of SOC than the classic's own SOC which rounds to the nearest whole percentage, but the classic's SOC still matches my math.


Are you referring to the middle of the 3 graphs that is labeled "power"  ?   From 0 to 100 ?

Maybe you can post again if I'm not getting it.

If that graph I am looking at is AH-Remaining then I don't know why it would do that.

Does your other SOC meter show that ramp downward before the straight up ledge around 4 AM or so ?

Title: Re: Amphours remaining jumps around a lot?
Post by: malkierian on May 20, 2021, 08:40:04 PM
Quote from: boB on May 20, 2021, 05:39:36 PM
Quote from: malkierian on May 20, 2021, 02:01:57 AM

The middle graph in the image I posted IS the SOC. Literally one report to the next it goes up. Straight line.
EDIT: I was using Ah remaining and dividing because it gave a much more even, accurate representation of SOC than the classic's own SOC which rounds to the nearest whole percentage, but the classic's SOC still matches my math.


Are you referring to the middle of the 3 graphs that is labeled "power"  ?   From 0 to 100 ?

Maybe you can post again if I'm not getting it.

If that graph I am looking at is AH-Remaining then I don't know why it would do that.

Does your other SOC meter show that ramp downward before the straight up ledge around 4 AM or so ?
Yes, that middle graph is the SOC. And it's more like 80% -> 95% most of the time (the bottom limit of the graph is dynamic, so it only shows the lowest value during that time).

And no, the other meter doesn't show that. It has the steady downward slope all the way until we start getting charge in the morning, and then the steady slope upward that you would expect.
Title: Re: Amphours remaining jumps around a lot?
Post by: ClassicCrazy on May 20, 2021, 08:48:14 PM
I just looked at My Midnite and every days SOC graph looks like I would expect and no jump ups like you see.
The next days charging SOC  is steeper than the nights discharge SOC but as expected.
see example below
Larry
Title: Re: Amphours remaining jumps around a lot?
Post by: boB on May 21, 2021, 12:48:55 AM

Very weird !

I better sleep on this one.

:-\ :)