Personal Data Lab · IoT Telemetry

Tesla Telemetry Decision Analytics: Efficiency, Phantom Drain & TOU Optimization

Non-linear Wh/km regression, standby battery drain diagnostics, and Time-of-Use (TOU) charging optimization built on my own vehicle data

Tesla Telemetry Decision Analytics: Efficiency, Phantom Drain & TOU Optimization
By: Chiyul Song
Python • PostgreSQL • SciPy • Personal Telemetry Lab
Executive Abstract
Target Ecosystems: Personal Data Engineering • Connected Vehicle Optimization

Analyzing 842,000+ high-frequency Tesla Fleet Telemetry sensor ticks from my own drives to model non-linear aerodynamic efficiency (Wh/km), eliminate 68% of standby phantom drain, and cut monthly charging costs by 41%.

2-Part Personal Telemetry Lab · Part 2 of 2 (Analytics & Decision Science)

Curious how the raw vehicle sensor streams were ingested via Tesla Fleet API into PostgreSQL and Mapbox?

Read Part 1: API, DB & Web App

The Core Business Problem

Standard EPA range ratings and factory dashboard averages hide the non-linear impact of highway speed (>110 km/h), cold battery soaking (<5°C), elevation grade, and background Sentry/API wake locks—leading to unexpected range anxiety, wasted standby kWh, and peak-tariff charging bills.

Engineered Architecture & Solution

Decomposed vehicle energy consumption into three decision models: (1) A multivariate aerodynamic & thermal efficiency curve (Wh/km by speed, ambient temperature, and elevation grade), (2) Standby phantom drain attribution isolating Sentry Mode camera power and third-party API polling wake locks, and (3) A scheduled departure & off-peak TOU charging optimizer.

Interactive Telemetry Regression Simulator

Simulate Speed, Ambient Temp & Sentry Drain Impact on Wh/km

Model: E(v, T) = α/v + β·v² + γ·|T - 20°C|
Cruise Speed100 km/h
40 km/h (City)100 km/h (Optimal)140 km/h
Ambient Temp18°C
-10°C (Winter)20°C (Ideal)35°C (AC High)
Sentry Mode Active2 hrs/day
0h (Geofenced Off)8h16h (Always On)
Predicted Consumption
139 Wh/km
7.2 km / kWh
Real-World 100% Range
432 km
60 kWh Usable Pack Basis
Standby Phantom Drain
0.85 kWh/day
~26 kWh Lost / Month
Regime Diagnosis
✅ Optimal Efficiency Zone
Telemetry Policy Recommendation
From Telemetry to Action

Three Real-World Decisions Made from Vehicle Telemetry

Decision 01 • Highway Cruise & Route Selection+18.5% Real-World Range

Aerodynamic Drag Threshold: Locking Highway Cruise at 98–105 km/h

Empirical Telemetry FindingBy fitting a non-linear polynomial curve across 400+ logged drive segments, telemetry revealed an inflection point at 105 km/h. Because aerodynamic drag scales with the square of velocity (Fd ∝ v²), cruising at 125 km/h increases energy consumption by +27.4% (from 136 Wh/km to 173 Wh/km)—wiping out any travel-time savings on trips requiring a Supercharger stop.
Decision & Policy ExecutedStandardized highway Autopilot cruise speed to 100–105 km/h on long-distance corridors and selected slightly shorter national-highway bypasses when expressway speeds exceeded 115 km/h, improving real-world range per charge by +68 km.
Decision 02 • Standby Phantom Drain Policy-68% Standby kWh Loss

Geofenced Sentry Mode Exclusion & API Polling Sleep Windows

Empirical Telemetry FindingAnalyzing parked telemetry ticks showed that keeping Sentry Mode active in secure underground parking plus frequent third-party API wake-ups prevented the high-voltage (HV) contactors from opening—burning ~260W continuously (~6.2 kWh or ~3.2% SoC per day).
Decision & Policy ExecutedConfigured automated Home & Office GPS geofence exclusions for Sentry Mode and switched the telemetry ingestion worker to event-driven webhook streaming with deep-sleep backoff when shift_state = 'P'.
Decision 03 • Time-of-Use (TOU) & Thermal Charging-41% Monthly Charging Cost

Off-Peak Scheduled Charging + Warm-Pack Plug-In Rule

Empirical Telemetry FindingWinter telemetry logs exposed that charging a cold-soaked battery (-4°C) in the morning diverted up to 1.8 kWh solely into pack heating before net SoC increased. Meanwhile, peak daytime charging tariffs cost 2.4× more than late-night off-peak rates.
Decision & Policy ExecutedEstablished two operational rules: (1) plug in immediately upon returning from an evening commute while the pack is still warm (26–30°C), and (2) schedule AC charging for the 23:00–06:00 off-peak window with a 75% daily SoC cap.

Technologies & Protocols

Python (Pandas / SciPy)Non-Linear RegressionPostGIS Spatial AnalyticsTime-of-Use (TOU) OptimizationBattery Thermal ModelingDecision Dashboard