Skip to main content

Data dictionary

This reference lists the data sets behind EnergyGrid integrations: what each one depends on, which customers it covers, and where it's stored. Utilities integrate in one of three ways, depending on the data they can provide, so each integration type has its own table.

How to read the tables​

  • Depends on lists the data sets that have to load first.
  • Customers says whose data is stored: all of the utility's customers, only customers registered in the EnergyGrid app, or only customers with a DataBridge Hub or SmartLink Plug.
  • Where it lives gives the database instance, then the database, schema, or table. "Read replica" means a read-only copy of the instance is available for queries.
  • public.*_usage means every table in the public schema whose name ends in _usage.

Integration type A​

Data setDepends onCustomersWhere it lives
MDM usage dataCustomer dataAllMDM RDS: mdmusage. Object storage: electric and gas MDM files.
MDM usage data (app copy)Customer dataRegisteredBrainstem RDS (read replica): brainstem, tables public.*_usage, hourly and coarser
Payment plansCustomer data, MCH billing dataAllCorePlatform RDS: EGCore_UDX, table dbo.PaymentPlans. Object storage: payment plan files.
Customer dataNoneRegisteredCorePlatform RDS: EGCore_ATLS. CorePlatform Central RDS: every database on the instance. Brainstem RDS (read replica): brainstem, tables listed in Customer tables.
BillSense AI dataCustomer, MDM usage, billing, disaggregation, and data warehouse dataAllMDM RDS: atls_bill_sense. Object storage: BillSense AI files. Staging buckets and intermediate tables are in the BillSense AI integration runbook.
Meter contract history (MCH) billing dataCustomer dataAllBrainstem RDS (read replica): brainstem, table data.meter_contract_history. Object storage: MCH files.
Disaggregation dataCustomer data, MDM usage dataAllBrainstem RDS (read replica): brainstem, table data.ntg_daily_disaggregation_partitioned
Device minute usageCustomer data, a DataBridge Hub or SmartLink PlugWith a deviceBrainstem RDS (read replica): brainstem, tables public.*_usage, per minute and coarser. Object storage: home minute usage, device minute usage, AMR gas hourly usage, and heartbeats.
Powernet minute usageCustomer data, device minute usageWith a deviceBrainstem RDS (read replica): brainstem, tables public.*_usage, per minute and coarser
Data warehouseUsage, billing, and disaggregation dataVaries by data setCombines several data sets, including advisor and recommendation data. The schema is in the data engineering runbook.

What each feature needs:

  • EnergyGrid app: MDM usage, customer data, device minute usage, Powernet minute usage, and the data warehouse.
  • Bill management: MDM usage, customer data, MCH billing, payment plans, BillSense AI data, the data warehouse, and disaggregation data.

Integration type B​

Data setDepends onCustomersWhere it lives
MDM usage dataCustomer dataRegisteredMDM RDS: grcn_mdm_prod. Brainstem RDS (read replica): brainstem, tables public.*_usage, hourly and coarser. Object storage: MDM usage files.
Customer dataNoneRegisteredCorePlatform RDS: EGCore_GRCN. CorePlatform Central RDS: every database on the instance. Brainstem RDS (read replica): brainstem, tables listed in Customer tables.
Disaggregation dataCustomer data, MDM usage dataRegisteredBrainstem RDS (read replica): brainstem, table data.ntg_daily_disaggregation_partitioned
Device minute usageCustomer data, a device, data warehouse dataWith a deviceBrainstem RDS (read replica): brainstem, tables public.*_usage, per minute and coarser. Object storage: home minute usage, device minute usage, AMR gas hourly usage, and heartbeats.
Powernet minute usageCustomer data, device minute usageWith a deviceBrainstem RDS (read replica): brainstem, tables public.*_usage, per minute and coarser. Object storage: Powernet files.
Data warehouseUsage, billing, and disaggregation dataVaries by data setCombines several data sets, including advisor and recommendation data. The schema is in the data engineering runbook.

What each feature needs:

  • EnergyGrid app: MDM usage, customer data, device minute usage, Powernet minute usage, the data warehouse, and disaggregation data.

Integration type C​

Data setDepends onCustomersWhere it lives
MDM usage dataCustomer dataAllObject storage: MDM files
MDM usage data (app copy)Customer dataRegisteredBrainstem RDS (read replica): brainstem_spec, tables public.*_usage, hourly and coarser
Customer dataNoneRegisteredCorePlatform RDS: EGCore_SPEC. CorePlatform Central RDS: every database on the instance. Brainstem RDS (read replica): brainstem_spec, tables listed in Customer tables.
Disaggregation dataCustomer data, MDM usage dataAllBrainstem RDS (read replica): brainstem_spec, table data.ntg_daily_disaggregation_partitioned
Advisor dataCustomer data, MDM usage data, and more for some advisor cardsRegisteredData warehouse RDS (read replica): datawarehouse_spec, tables public.homecharacteristics and public.metrictypes. Advisor settings are in the coaching schema of the same database.

What each feature needs:

  • External API: MDM usage, customer data, disaggregation data, and advisor data.

Customer tables​

In every integration type, customer data in Brainstem is spread across these tables:

TableHolds
public.peopleCustomers
public.sitesService addresses (premises)
public.person_site_associationsWhich customers belong to which premises
public.thingsMeters and devices
public.thing_propertiesSettings and attributes of each meter or device
public.source_target_associationsLinks between meters and devices, such as a hub bound to a meter
Was this page helpful?