Charge Consumption

Table name: charge_consumption

🛠️ Partner API Alignment Migration

✅ This table is new as of February 2026 and will not be impacted

Contains kilowatt-hour (kWh) consumption breakdown data for individual charges. This model provides time-series consumption measurements for charges performed on Monta-connected (OCPP) charge points, enabling detailed energy usage analysis.

SQL: charge_consumption

Schema

Column NameData TypeDescription
Primary ID
idINTEGERPrimary key
Other IDs
charge_idINTEGERForeign key reference to the charges table - identifies which charge this consumption measurement belongs to
Timestamps
created_atTIMESTAMP_NTZTimestamp when the consumption measurement record was initially created in the system
updated_atTIMESTAMP_NTZTimestamp when the consumption measurement record was last modified
recorded_atTIMESTAMP_NTZTimestamp of when this specific consumption measurement was recorded during the charging session (rounded to the nearest quarter hour)
ended_atTIMESTAMP_NTZEnd timestamp for the measurement period (if applicable)
Attributes
value_whINTEGEREnergy consumption value measured in Watt-hours (Wh) for this measurement point
value_kwhFLOATEnergy consumption value converted to kilowatt-hours (kWh) - calculated as value_wh / 1000

Changes from Last Version

Summary

  • New table

Inclusion Criteria

  • the charge_id must exist in the operator's FUTURE__charges.id

Data flow

Upstream tablesDownstream tables
FUTURE__chargesNone