As far as the data from LeafSpy being useless or invalid because the code is not documented or acknowledged by Nissan, I would suggest that 5 years of empirical data shows otherwise. The GID's value does seem to correspond both to the battery's state of charge and its overall capacity. It is far more accurate than those 12 bars that Nissan gives you. The GID's value given by Leafspy at 100% charge seems to fairly accurately depict the available range. It also corresponds well to the percentage charge gauge in newer Leafs. As far as the GID's value being nonlinear (I.E. Top and Bottom errors), it's entirely possible that driving style, road conditions, battery temps and the weather are possible factors. It's still a fact that GID's is the best gauge we have.cwerdna wrote:You tell me. I'll say it again and try to expand more.DaveinOlyWA wrote:so what should it be? 75?cwerdna wrote: That sucks but I wouldn't bother w/the Leaf Spy kWh values. I bet what you're looking at is just based off of # of gids * (whatever the Wh/gids setting is set to). The default for that is 77.5, IIRC.
I posted about this at http://www.mynissanleaf.com/viewtopic.p ... 92#p476092.
We have no idea if ANY constant value is correct for mapping kWh in the pack vs. gids. For all we know, it's vestigial code in their firmware that was used from some internal testing that they no longer use.
We have no idea if it's only accurate for certain ranges of gid values (e.g. not correct near the top and/or bottom). I seem to recall some people posting that near the bottom some gids lasted longer than others. When the pack is near full and charging rate is below say 4 kW, it seems like the gid value doesn't move up much. We have no idea if there actually need to be multiple constants depending on what the gid value is. (e.g. value A for gid range ___ to ___, value B for gid range ___ to ___ and so on).
We have no idea if there are certain conditions that need to be met for it to be accurate (e.g. certain pack condition or temperature, after certain things have happened, after a certain rest period, only accurate on a new pack, only accurate on a pack degraded no more than ____, only accurate if drained down to _____ and filled to ____, etc.) These are are hypothetical. We have no idea of the gid count's accuracy.
Unless Nissan can officially provide us such info, I think it's basically useless data to assert one's pack has ____ kWh capacity per Leaf Spy and useless to try to compare kWh numbers from Leaf Spy vs. values from L2 charging stations (w/stats) or CHAdeMO chargers. An alternative is to do some test where Leaf Spy's kWh number is compared vs. charging the battery fully and discharging the battery until dead, using something else to count the kWh that came out of the battery. But, that may not work if there are other conditions/caveats we don't know about.
Just use gids by themselves. Forget trying to derive w/accuracy how much is in the battery from it.