As electric vehicle (EV) adoption grows, drivers frequently face long queues at public and workplace charging hubs. However, charger shortages are often driven by "idle hogging" vehicles remaining plugged in long after battery charging finishes rather than genuine energy demand.
This end-to-end data analytics project analyzes 2,026 real-world physical charging logs across 51 charging bays from the Caltech Adaptive Charging Network (ACN) in Pasadena, California. Using Python (Pandas, NumPy) for edge-case data engineering and Microsoft Power BI Desktop (DAX) for executive visualization, this study quantifies post-charge idle waste, isolates peak commuter bottlenecks, and proposes targeted turnover policies.
- 44.5% Fleet-Wide Idle Waste: Across 12,791.2 total connected hours (
17,924.7 kWhdelivered), vehicles spent 5,687.5 hours (168.4mins/session) sitting idle after charging completed. - Morning Commuter Surge (7:00 AM – 9:59 AM): 41.4% of all arrivals (838 sessions) occur during the morning commute, peaking at 8:00 AM (416 sessions) where vehicles stay plugged in for an average of 7.6 hours (
225.3idle mins). - Mid-Week Demand Peak: Wednesday generates peak session volume (405 sessions,
3,430.8 kWh) and high weekday idle waste (188.4mins/session), whereas Sunday drops by 66.7% (135 sessions). - Driver Hogging Segmentation: Only 14.86% of sessions (301) disconnect immediately with zero idle waste, while 51.92% (1,052) exhibit moderate idle waste (
1–50%) and 33.22% (673) suffer severe hogging (>50%of connected time spent idle). - Spatial Bay Disparities: Bays such as
CA-326,CA-327, andCA-305suffer chronic daytime idle hogging, whileCA-303achieves high session throughput (85sessions) with substantially lower idle waste (27.4%).
- Sparsity Pruning: Dropped
userInputsanduserID(2,013of2,026rows missing,>99.3%). - Conservative Imputation: Imputed the single missing
doneChargingTimetimestamp withdisconnectTimeto retain full sample integrity (n = 2,026) without inflating idle durations. - Timezone & DST Standardization: Converted UTC timestamps to local Pasadena wall-clock time (
America/Los_Angeles) and stripped offset metadata prior to export so Power BI preserved exact local arrival hours. - Sensor Clock-Drift Clamping: Used
np.clip(raw_idle_mins, 0, Total_Connected_Mins)to eliminate negative idle durations caused by minor hardware clock drift. - Calendar & Behavioral Features: Engineered
Active_Charging_Mins,Idle_Ratio_Pct,Hogging_Category,Arrival_Hour(0–23), and zero-indexedDay_Number(0 = Mondayto6 = Sunday).
- Schema & Sorting Hygiene: Enforced explicit decimal types on duration/energy fields, disabled default summation on categorical IDs (
Arrival_Hour,Day_Number,siteID,clusterID), and sortedDay_of_WeekbyDay_Number. - Weighted Fleet DAX Measures: Avoided average-of-averages distortion by computing fleet-wide idle efficiency via weighted ratio aggregation:
Idle Waste % = DIVIDE(SUM('ACN_Cleaned_Real'[Idle_Mins]), SUM('ACN_Cleaned_Real'[Total_Connected_Mins]), 0)
- 30-Minute Grace Period + Tiered Idle Fees: Trigger automated mobile notifications upon charge completion and enforce a per-minute idle fee after a 30-minute grace window on top-hogging stalls (
CA-326,CA-327,CA-305). - Mid-Week Commuter Bay Rotation: Introduce campus valet rotation or afternoon bay-reallocation incentives on Wednesdays through Fridays to unlock stalled morning chargers for afternoon arrivals without new hardware expenditure.
├── ACN_sessions.csv # Raw Caltech ACN dataset (2,026 sessions, 13 columns)
├── ACN_Cleaned_Real.csv # Cleaned dataset exported for Power BI (2,026 rows, 19 columns)
├── EV_Charging_Analysis.ipynb # Jupyter Notebook (cleaning, assertions, EDA)
├── EV_Charging_Utilization_Dashboard.pbix # Interactive Power BI Desktop report (1920x1080)
├── dashboard_preview.png # Full-resolution dashboard visual preview
└── README.md # Project documentation
- Languages & Libraries: Python, Pandas, NumPy
- Business Intelligence: Microsoft Power BI Desktop, DAX
- Environment: Jupyter Notebook, Git & GitHub
