@diamond.g
Thanks for the detailed data. Spent a couple minutes looking at your data today.
TL;DR:
I believe the CAN bus kWh have a different scaling than the charging & discharging (trip meter) kWh, plus the numbers read back on the CAN include the buffer (added to them). So they have an offset and a scaling from what you see on the charge screen and the trip meter. Hopefully some more empirical readbacks can refute or verify this theory and verify the scaling constant.
I wonder if this third constant is only applicable to the AWD, since it's the only one that has the discharge/charge ratio of 93.9% (the other RWD vehicles have closer to a 95.3% ratio of these constants...which is close to the ratio of this "new" CAN bus constant to the AWD
charge constant (235/245 = 95.9%)
-----
For AWD only:
Here's the way it works, as far as I can tell (also based on your conclusions):
fullkWhNom: Energy your battery would contain at 100% charge,
including the buffer.
bufferkWh: Amount of buffer (energy below 0 rated miles, some of which
may be usable - no idea).
remainingkWhNom/expectedremainkWh/idealremainkWh: All similar values, not sure how they are related. These are all current estimates of energy in battery
including the buffer, though.
toChargeCompletekWh: remaining kWh to get to currently set charge level.
Since your battery is supposedly ~300 miles (I'll call it 301) at a full charge (for the following to be truly accurate, we'd have to know
exactly what it was at your given charge level - doesn't have to be 100%, to know for sure), it looks to me like the INTERNAL (not the charging or discharging constant!) kWh/mi constant is:
(74kWh - 3.3kWh )/ 301rmi =
235Wh/rmi (CAN) (If your
actual 100% was 300, then it would be 236Wh/rmi, so again we'd need to know exactly how many rated miles 90% was, in conjunction with a CAN read, to be really accurate about this constant).
Checking at the 90% level (using your picture):
66.9kWh + 0.2kWh (to get to 90%) = 67.1kWh (total energy including buffer)
67.1kWh - 3.3kWh (buffer) = 63.8kWh (above 0 rated miles)
63.8kWh/235Wh/rmi = 271.5 rated miles @ 90% => 301.6 rated miles at 100% (So seems close but not perfect)
(Fitting to your 54%/55% CAN bus data, I predict: 0.54*301rmi*235Wh/rmi +3300Wh = 41.5kWh (car read 41.1kWh...so that is a bit off...)...
but it would be more helpful to get the rated miles (AND % displayed on the screen) in conjunction with future CAN bus readbacks)
Anyway, if you'd like to measure this - since you have the capability, you could, my suggestion would be:
1) Do a "warming" drive in your car to get it up to temperature.
2) Then charge to 90% and start driving right after it completes (so it is still warm).
3)
Immediately prior to driving, change to distance and record rated miles (and %), and read back from CAN bus the kWh info
4) Do a reasonably long
continuous drive (I'd recommend using at least 20kWh to help with accuracy, the more the better).
5)
Turn OFF HVAC, then go to park,
immediately take a picture of the trip meter Wh/mi and miles traveled. Also,
immediately read back from the CAN bus the kWh info. And the rated miles remaining and % remaining (swap between energy and distance really quickly).
Predictions:
As an example (for your specific case of data above being captured for the case of 300 rated miles at 100%), I would expect to see the following for a 35kWh drive (as displayed on trip meter):
Start:
90% of 301 =
271 rated miles
fullkWhNom: 301rmi*235Wh/rmi + 3.3kWh =
74kWh
remainingkWhNom: 270.9rmi*235Wh/rmi + 3.3kWh =
67kWh
End:
35kWh (trip) * 235Wh/rmi (CAN) / 230Wh/rmi (trip) =
35.8kWh (CAN) used
35kWh (trip) / 230Wh/rmi (trip) = 152.2 rated miles used. So, 271rmi - 152.2rmi =
119 rated miles remaining (39/40%)
fullkWhNom:
74kWh
remainingkWhNom: 118.8rmi * 235Wh/rmi (CAN) + 3.3kWh =
31.2kWh
(Of course, this aligns with 67kWh (CAN) - 35.8kWh (CAN) = 31.2kWh )
So those are my predictions (just substitute your trip miles * Wh/mi for 35kWh above). If it doesn't work, then I'm wrong!
I can't work out the SOC reported numbers! To me, the only formula I could come up with that seems close at both points for "SOCmin" was:
(remainkWh - bufferkWh * (remainkWh - bufferkWh)/(fullkWh - bufferkWh) ) / (fullkWh - bufferkWh)
but can't make sense physically of the utility of that formula (it's kind of a "releasing buffer" definition where more of the buffer is available the lower your state of charge), and can't figure out any of the other SoC numbers.
The SOC
on the screen has always appeared to be simply: (remainkWh - bufferkWh)/(fullkWh - bufferkWh)