Skip to content

BILLINGREGIONIMPORTS

BILLINGREGIONIMPORTS sets out the region summary table of overall energy imported to and from each region for each billing run.

Package

BILLING_RUN

Visibility

Public

Table schema

Column Official MMS Datatype GR-MMS Datatype Comment
CONTRACTYEAR numeric(4, 0) 🔑 smallint 🔑 AEMO Contract Year number starting in week containing 1st January
WEEKNO numeric(3, 0) 🔑 smallint 🔑 Week no within the contract year. Week no 1 is the week containing 1st January
BILLRUNNO numeric(3, 0) 🔑 smallint 🔑 Unique run no within a given contract year and week no
REGIONID varchar(10) 🔑 varchar(10) 🔑 Unique region identifier
IMPORTFROM varchar(10) 🔑 varchar(10) 🔑 Region energy imported from
ENERGY numeric(16, 6) numeric(16, 6) Amount of energy imported
VALUE numeric(15, 5) numeric(15, 5) Value of energy imported
SURPLUSENERGY numeric(16, 6) numeric(16, 6) Populated with 0
SURPLUSVALUE numeric(15, 5) numeric(15, 5) Interregional residue
LASTCHANGED datetime(3) datetime2(0) Last date and time record changed

Official MMS data model indexes

Index name Index type Index columns (in order)
BILLINGREGIONIMPORTS_LCX nonclustered LASTCHANGED
BILLINGREGIONIMPORTS_PK clustered, unique, primary key CONTRACTYEAR, WEEKNO, BILLRUNNO, REGIONID, IMPORTFROM

GR-MMS data model indexes

Index name Index type Index columns (in order)
IX_BILLINGREGIONIMPORTS_LASTCHANGED nonclustered LASTCHANGED
PK_BILLINGREGIONIMPORTS clustered, unique, primary key CONTRACTYEAR, WEEKNO, BILLRUNNO, REGIONID, IMPORTFROM

Historical-MMS data model indexes

Index name Index type Index columns (in order)
BILLINGREGIONIMPORTS_LCX nonclustered LASTCHANGED
BILLINGREGIONIMPORTS_PK clustered, unique, primary key CONTRACTYEAR, WEEKNO, BILLRUNNO, REGIONID, IMPORTFROM