Skip to main content
EV energy consumption in TT2
Albert Basiul avatar
Written by Albert Basiul
Updated over 7 months ago

TT and device configuration

To calculate energy consumption for Electrical vehicles (EV) TrustTrack uses State of charge custom input.

To have correct EV energy consumption calculation:

  • Custom input “State of charge” (ID 10019) should be configured to show battery state of charge in kWh.

  • Value of 0 should be filtered out. “MIN” value should be >0

  • HW ID 517(CAN EV Battery charging state) or HW ID 721 (CAN EV Battery2 charging state) should be configured “on change”. It is necessary to receive exact time

“State of charge” configuration

State of charge can be configured from these HW inputs:

SW ID

IO ID

Name

Size, B

Type

Min. Value

Max. Value

Multiplier; offset

Units

20590

515

CAN EV State of charge % (SOC)

1

Unsigned int.

0

255

0.5

%

599

521

CAN EV State of charge Wh (SOC)

4

Unsigned int.

0

4294967295

-

Wh

720

720

CAN EV Battery2 State of charge % (SOC)

1

Unsigned int.

0

255

0.5; 0

%

722

722

OBD EV State of charge % (SOC)

1

Unsigned int.

0

255

1; 0

%

If input with % is used then it is needed to multiply by battery capacity. Formula for custom input: {state of charge input}*{battery capacity}/100

If input with Wh is used then it is needed to convert to kWh. Formula for custom input: {input}/1000

To have more accurate data in calculation it can be used “State of health”.

SW ID

IO ID

Name

Size, B

Type

Min. Value

Max. Value

Multiplier; offset

Units

949

949

CAN EV State of health (SOH)

2

Unsigned int.

0

10000

0,01 ; 0

%

950

950

OBD EV State of health (SOH)

2

Unsigned int.

0

10000

0,01 ; 0

%

If input with % is used then it is needed to multiply by battery capacity. Formula for custom input: {state of charge input}*{state of health input}*{battery capacity}/10000

If input with Wh is used then it is needed to convert to kWh. Formula for custom input: {input}*{state of health input}/100000

EV consumption in trips

If custom input ID 10019 “State of charge” is enabled then two additional parameters are be shown in trips summary.

  • Energy consumed: Sum of energy consumption for trips for selected period

  • Average energy consumption: (Energy consumed / mileage) * 100

Charges recalculation

To recalculate charges input “State of charge” ID 10019 should be recalculated. Recalculation logic:

  • Custom input will be recalculated from now until provided date X.

  • Input is always recalculated from date X until now.

  • For this period all old charges will be deleted (orange and red).

  • If X is during charge, this charge will be deleted (red one) and recalculation for charges will be done from red charge start date.

Did this answer your question?