The product of the graph numbers is always the remaining battery energy including buffer.
I take this back.
Not actually true. This is only true at 100% SoC. The easy way to tell this is wrong: this product goes to zero at 0% SoC (but at that point you'll still have the buffer energy remaining!)
In other words, correcting the above:
The product of the graph numbers is the Full Battery Capacity * SoC%
Again, this is NOT the same as the remaining battery energy including the buffer; breaking it out as follows makes it clear:
FullkWh * SoC% = (FullkWh - BufferkWh)*SoC% + (BufferkWh*SoC%) = Wh/mi Avg * Projected Range
Whereas, due to the
definition of SoC % = (RemainkWh-BufferkWh)/(FullkWh-BufferkWh), solving for RemainkWh, the actual remaining battery energy (as read by the CAN reader) is:
RemainkWh = (FullkWh-BufferkWh)*SoC% + BufferkWh
(Note it's the same formula,
except for the BufferkWh scaled by the SoC%...)
Sometimes I think Tesla made this confusing, deliberately.
![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Maybe we just have the wrong way of thinking about it (even though the formulas are right), so things look confusing. I get this wrong from time to time, as do others. Sorry for the confusion.
Aside, this is why rated miles (when referenced to the BMS "discharge" constant) click off at the rate of ChargeConst*(1-BufferkWh/FullkWh) per rated mile.
The last formula is:
RemainkWh = (FullkWh-BufferkWh)*RemainMiles/FullMiles + BufferkWh
The slope (in kWh/rated mile) is:
(FullkWh-BufferkWh)/FullMiles = (FullkWh-BufferkWh)/(FullkWh/ChargeConst) = (1-BufferkWh/FullkWh)*ChargeConst
It's rated miles. I use this whenever I'm talking about the miles on the battery gauge, because it keeps the units straight (they aren't miles as units of distance). I use mi whenever I'm talking about actual miles traveled.