<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>There are three interesting values related to SOC on the Leaf.</div><div><br></div><div>Gids: Discovered by Gary Giddings, each Gid represents 80 Wh of energy currently in the battery pack. A nominal new packs reads 281 Gids on a full charge and the car stops going at about 6 Gids. 80*(281-6) = 22 kWh of usable charge. Gary Giddings' original SOC meter calculated</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">       </span>SOC  = Gids/281
</div><div><br></div><div>So that gives an SOC in energy units like the Roadster's ideal miles, except that the car dies at about 2% SOC. Also, the Gid measurement is temperature dependent, understates charge in hot weather and overstates it in cold weather. The value is not directly readable from the primary CAN bus, but folks have figured out how to query it from there. The implied precision of the measurement is 1/281 = 0.36%, but the accuracy is much worse than that. It's typically shown to 0.1%.</div><div><br></div><div>Ah: The car's estimate of the pack's capacity in Ah was found on the main bus. As I understand things, it correlates well with Gids but there isn't an accepted standard nominal new pack Ah value. The Leaf Spy app lets users set their Ah value from which another SOC percent is computed, rendering those values unique to each car and thus useless for things like battery capacity studies.</div><div><br></div><div>True SOC: This is a horrible name for the high precision value that drives the SOC bars in the Leaf. (It's a byte value, so not quite 0.1% precision.) The giant problem with this value is that it's relative to the pack's current estimated pack capacity. So, even after your pack has lost 30% of its capacity, it still charges to 100% of that, shows all 12 SOC bars on the dash and "True SOC" still runs up to 100.0.</div><div><br></div><div>Personally, I would want OVMS to show:</div><div><br></div><div>SOC % = Gids/281</div><div>SOC Energy = Gids (like ideal miles in the Roadster)</div><div>Pack Ah treated as CAC is in the Roadster</div><div><br></div><div>Many, perhaps a majority, of Leaf owners will want to see the "True SOC" because they don't realize how stupid that is until they lose a capacity bar and realize that SOC still goes to 100% even though that doesn't mean the same thing it did when the car was new, so any intuition they've acquired about how much charge it takes to drive from A to B has to be constantly adjusted.</div><div><br></div><div>   Tom</div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net">mark@webb-johnson.net</a>><br><span style="font-weight:bold">Reply-To: </span> OVMS Developers <<a href="mailto:ovmsdev@lists.teslaclub.hk">ovmsdev@lists.teslaclub.hk</a>><br><span style="font-weight:bold">Date: </span> Tuesday, October 15, 2013 10:33 PM<br><span style="font-weight:bold">To: </span> OVMS Developers <<a href="mailto:ovmsdev@lists.teslaclub.hk">ovmsdev@lists.teslaclub.hk</a>><br><span style="font-weight:bold">Subject: </span> Re: [Ovmsdev] OVMS Leaf Support<br></div><div><br></div><div style="color: rgb(0, 0, 0); font-family: Calibri; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">My biggest confusion at the moment is SOC% in the Leaf. There is a lot of talk about gids, etc, but I've never gone into it too deeply.</div><br class="Apple-interchange-newline"></span></body></html>