EIM · Billing

Swap & charge session billing pipeline

EIM · Billing

–
Valid billing sessions
–
Billable kWh (total)
–
Invalid — needs review
–
Data through (EndTime)
–
Gun-line awaiting decision
–
Pile-charger sessions awaiting review

Pipeline

✎ Open Manual Review ▦ Station calendar ⚡ Gun-line sessions 🔌 Pile-charger sessions ⤒ Upload reports 📖 Wiki Scheduled run: daily 08:00 IST (raw ingest to now with a 7-day buffer; derivation only between each battery's review frontier and each station's documented frontier). A failed run e-mails Nemi (cc Sahil).

  

Where each station stands

The run derives a station's charges only up to its documented frontier, the latest charge whose serial appears on a filled booking form; later charges wait as awaiting operator form so they do not land in the review queue before the operator has had a chance to document them. Per battery, everything up to the latest committed manual decision is closed and never recomputed. A station marked gating off has been taken out of the form cutoff (station_settings): its charges are derived up to the latest station record on every run. How the zones work.

StationDocumented throughAgeAwaiting formkWh waitingWindow waiting
Loading…

Changed since last run

Live-zone sessions whose outcome moved between runs. Regressed = billable last run, in the queue now (a late-arriving station record, a form that changed, a merge). Resolved = the reverse. Derived = was awaiting an operator form, now derived. Drift = a session with a committed decision whose values changed after sign-off — the decision was held back and the session is flagged in the queue. Closed sessions never appear here: the run does not recompute them. How this works.

RunKindSessionBatteryStationEnd timeWas → nowDetail
Loading…

Downloads

battery_operations_corrected_full.csv — corrected rows + released gun-line sessions · original corrected rows are untouched; gun-line rows appear only after they are accepted and released on the gun-line page
· the month in Operations' layout: connector, gun-line and pile-charger rows, vehicles by VIN with plate, customer and model from the master list
· truck odometer on every line item (Tiger telemetry)
Filled automatically after each 08:00 IST billing run; this fetches what is missing right now. A line item with no truck sample in the 30 minutes before its swap or start time stays blank and is retried for 2 days.
⤓ Download all step files (zip) · the full outputs/ folder, every pipeline stage
Pipeline stages
battery_operations_master.csv battery_operations_cleaned.csv battery_operations_corrected.csv charging_sessions_merged.csv swap_pairs_dropped.csv valid_charging_sessions.csv invalid_charging_sessions.csv valid_sessions_final.csv (billing deliverable) invalid_sessions_final.csv resolution_audit.csv dropped_swap_correction_audit.csv energy_redistribution_audit.csv
Portal
approvals.csv (who approved what) gunline_sessions.csv gunline_audit.csv (who decided what) upload_batches.csv upload_files.csv upload_conflicts.csv (who chose file vs database) daily_station_stats.csv (calendar) run_log.csv

Run history

#KindWindow (IST, by EndTime)StartedStatusRows (master / valid / invalid)ChangesBy
Loading…