teslams icon indicating copy to clipboard operation
teslams copied to clipboard

Visualize energy graph regen vs charging

Open ve6rah opened this issue 9 years ago • 3 comments

In visualize, on the energy tab, the top graph is labelled as energy and speed, but it doesn't differentiate between regen and charging, labels all charging as regen. Considering that charging is covered by the next graph down, it would be much nicer if only regen were included here.

ve6rah avatar Jan 23 '16 05:01 ve6rah

to distinguish regen from charging the chart would have to cross reference "shift_state" or "speed" to determine that a negative power reading is coming from a charge (shift state = P, speed = 0) or from driving activity

hjespers avatar Jan 23 '16 06:01 hjespers

That's one option, the other I have off the top of my head is to mathematically subtract the information from the charge chart

ve6rah avatar Jan 23 '16 13:01 ve6rah

I too was surprised to see charging being represented on the energy chart; it makes the "Total energy regen" number useless. I'd just zero battery_current (?) on import when charging_state=='Charging'. Then you'd still be able to capture the small blips when the car wakes up, does a software update, etc. (but is not charging).

tris avatar Mar 02 '17 00:03 tris