Skip to main content
Electric vehicle fleets, such as delivery vans, taxis, e-scooters, buses and leased cars, produce a steady stream of data: trips, charging sessions, battery readings and repayments. Fleet operators, lenders and insurers use this data to plan charging, schedule maintenance, set residual values and manage credit risk. This page shows how the data fits tabSutra.
For the business side of this problem, and how it compares with classic machine learning, read the case study on our website: Battery health and downtime for EV fleets.

The table

Use one row per vehicle per day, or per trip if your questions are about trips. Each row holds the values as they stood at the end of that day.
vehicle_days.csv
The vehicle is the group. Each day of a vehicle reads the vehicle’s earlier days. So trends such as a rising energy use per kilometre, a growing share of fast charging, or a run of missed repayments are visible to the model without you building them.

Questions you can ask

For a target about a future period, put the answer on the row of the day the question is asked, and set target_delay_days to the length of the period. Each row is then predicted only from answers that were known by its own date. See Time and leakage.

Battery health in 90 days

The lower quantile matters for residual values and warranty reserves. A battery whose 10% quantile falls below the warranty threshold is a candidate for an early check, even when its median is fine.

Lenders and insurers

An EV loan or lease adds telematics to the usual credit data. The vehicle’s use says a lot about the borrower’s business: a delivery three-wheeler that stops driving often stops earning. A monthly table per loan, with the month’s usage summarised next to the repayment status, fits the same setup as a behaviour score. The vehicle’s usage columns sit next to the credit columns, and the model reads both.

Things that often go wrong

  • Readings dated by upload. A vehicle that uploads its data a week late should still have each reading on the day it was taken. Otherwise a row reads data it could not have had.
  • State of health that jumps. Battery health estimates are often recalibrated after a firmware update. A sudden step on many vehicles at once is a change in measurement, not in the batteries. Add the firmware version as a column.
  • Vehicles replaced under the same id. If a vehicle id is reused for a new vehicle, its history starts again. Give the new vehicle a new id.