Skip to content

LOSSFACTORMODEL

LOSSFACTORMODEL sets out the demand coefficients for each interconnector, used by LP Solver modelling of interconnector flows.

LOSSFACTORMODEL is public data, so is available to all participants.

Source

LOSSFACTORMODEL only changes annually, when there is a change in the interconnector.

Column Schema

EFFECTIVEDATE

Calendar date data set is effective

SQL Type: DATE Polars Type: pl.Date()

This column is mandatory, and a primary key.

Example: 1998/07/01 00:00:00

Note that AEMO represents dates as datetimes with a midnight time component.

INTERCONNECTORID

The unique identifier for the interconnector.

SQL Type: VARCHAR2(10) Polars Type: pl.Categorical

This column is mandatory, and a primary key.

Examples:

  • N-Q-MNSP1
  • NSW1-QLD1
  • NSW1-SA1
  • SNOWY1
  • T-V-MNSP1
  • V-S-MNSP1
  • V-SA
  • V-SN
  • VIC1-NSW1

REGIONID

The unique region identifier for a connection point of the interconnector

For more information, see the dedicated documentation page.

The SQL type is VARCHAR2(10). This is actually a factor/enum, with values:

  • QLD1

  • VIC1

  • TAS1

  • NSW1

  • SA1

  • SNOWY1

This column is mandatory, and a primary key.

VERSIONNO

Version number within effective date of the status proposed

SQL Type: NUMBER(3,0) Polars Type: pl.UInt16

This column is mandatory, and a primary key.

Examples: 1, 4

DEMANDCOEFFICIENT

The coefficient applied to the region demand in the calculation of the interconnector loss factor

SQL Type: NUMBER(27,17) Polars Type: pl.Float64

This column is not mandatory.

Examples: -0.00000010835, 0.000000018182, 0, 0.000138

LASTCHANGED

Last date and time record changed

For more information, see the dedicated documentation page.

SQL Type: DATE Polars Type: pl.Datetime()

This column is not mandatory.

Example: 2003/11/25 15:41:18

New Data Timing

Annually, when there is a change in the interconnector

Code Examples

Polars

Casting is enums, categoricals etc is not essential, but may speed up parsing. Swapping int for pl.UInt16, pl.Int32 would also speed up parsing. However some of the datatypes are inferred, so they may be wrong.

This code deduplicates for you. Deduplication is normally only required across multiple months.

This code assumes that all columns are present, which may not be true for older files.

import polars as pl
import polars.selectors as cs

# e.g. "2029/03/15 00:05:00"
dt_s_fmt = "%Y/%m/%d %H:%M:%S"

# Dates are represented as datetimes at midnight

d_fmt = "%Y/%m/%d 00:00:00"

csv_paths = ["SOMEFILE.CSV", "OTHERFILE.CSV"]

lf = (
    pl.concat(
        [
            pl.scan_csv(
                csv_path,  # must be unzipped beforehand
                skip_rows=1,  # skip the header
                infer_schema=False,  # much faster
            )
            .filter(cs.by_index(0) == "D")  # drop the footer
            .select(~cs.by_index(range(4)))  # drop metadata columns
            for csv_path in csv_paths
        ],
        how="diagonal_relaxed",
    )
    .with_columns(
        pl.col("LASTCHANGED").str.strptime(pl.Datetime, dt_s_fmt),
        pl.col("EFFECTIVEDATE").str.strptime(pl.Date, d_fmt),
    )
    .cast(
        {
            "EFFECTIVEDATE": pl.Date(),
            "INTERCONNECTORID": pl.Categorical,
            "REGIONID": pl.Enum(["QLD1", "VIC1", "TAS1", "NSW1", "SA1", "SNOWY1"]),
            "VERSIONNO": int,  # or pl.UInt16
            "DEMANDCOEFFICIENT": pl.Float64,
        }
    )
    # Deduplicate
    # We want one row per ['EFFECTIVEDATE', 'INTERCONNECTORID', 'REGIONID', 'VERSIONNO']
    # Tie-breaker: greatest value of ['LASTCHANGED']
    .sort(["LASTCHANGED"], descending=False)
    .unique(
        subset=["EFFECTIVEDATE", "INTERCONNECTORID", "REGIONID", "VERSIONNO"],
        keep="last",
    )
)

Nemosis

from nemosis import dynamic_data_compiler

df = dynamic_data_compiler(
    '2024/01/01 00:00:00',
    '2024/01/31 00:00:00',
    "LOSSFACTORMODEL",
    "data/"
)

Nemosis only includes a subset of columns by default, as an optimisation. (i.e. the commonly used columns.) To include others:

from nemosis import defaults

defaults.table_columns["LOSSFACTORMODEL"] += ["LASTCHANGED"]
df = dynamic_data_compiler(...)

Example File

From PUBLIC_ARCHIVE_LOSSFACTORMODEL_FILE01_202609010000.zip

EFFECTIVEDATEVERSIONNOINTERCONNECTORIDREGIONIDDEMANDCOEFFICIENTLASTCHANGED
1998/07/01 00:00:002V-SNSA1-0.000011022003/11/25 15:41:18
1998/11/02 00:00:001V-SNNSW1-0.0000017172003/11/25 15:41:18
1998/07/01 00:00:002V-SNVIC10.0000042282003/11/25 15:41:18
1998/07/01 00:00:002SNOWY1NSW1-0.00001112003/11/25 15:41:18
1998/07/01 00:00:002SNOWY1VIC10.0000031852003/11/25 15:41:18
1998/07/01 00:00:002V-SNNSW1-0.0000017172003/11/25 15:41:18
1998/07/01 00:00:002V-SASA1-0.0000083632003/11/25 15:41:18
1998/07/01 00:00:002V-SAVIC1-0.0000039262003/11/25 15:41:18
1998/08/28 00:00:001SNOWY1NSW1-0.00001112003/11/25 15:41:18
1998/08/28 00:00:001V-SNVIC10.0000042282003/11/25 15:41:18
1998/08/28 00:00:001SNOWY1VIC10.0000031852003/11/25 15:41:18
...

CSETP.WORLDDVD_LOSSFACTORMODELAEMOPUBLIC2026/10/0915:53:05001791525185218MONTHLY_ARCHIVE001791525185218
IMARKET_CONFIGLOSSFACTORMODEL1EFFECTIVEDATEVERSIONNOINTERCONNECTORIDREGIONIDDEMANDCOEFFICIENTLASTCHANGED
DMARKET_CONFIGLOSSFACTORMODEL11998/07/01 00:00:002V-SNSA1-0.000011022003/11/25 15:41:18
DMARKET_CONFIGLOSSFACTORMODEL11998/11/02 00:00:001V-SNNSW1-0.0000017172003/11/25 15:41:18
DMARKET_CONFIGLOSSFACTORMODEL11998/07/01 00:00:002V-SNVIC10.0000042282003/11/25 15:41:18
DMARKET_CONFIGLOSSFACTORMODEL11998/07/01 00:00:002SNOWY1NSW1-0.00001112003/11/25 15:41:18
DMARKET_CONFIGLOSSFACTORMODEL11998/07/01 00:00:002SNOWY1VIC10.0000031852003/11/25 15:41:18
DMARKET_CONFIGLOSSFACTORMODEL11998/07/01 00:00:002V-SNNSW1-0.0000017172003/11/25 15:41:18
DMARKET_CONFIGLOSSFACTORMODEL11998/07/01 00:00:002V-SASA1-0.0000083632003/11/25 15:41:18
DMARKET_CONFIGLOSSFACTORMODEL11998/07/01 00:00:002V-SAVIC1-0.0000039262003/11/25 15:41:18
DMARKET_CONFIGLOSSFACTORMODEL11998/08/28 00:00:001SNOWY1NSW1-0.00001112003/11/25 15:41:18
DMARKET_CONFIGLOSSFACTORMODEL11998/08/28 00:00:001V-SNVIC10.0000042282003/11/25 15:41:18
DMARKET_CONFIGLOSSFACTORMODEL11998/08/28 00:00:001SNOWY1VIC10.0000031852003/11/25 15:41:18
...
CEND OF REPORT452

EFFECTIVEDATE,VERSIONNO,INTERCONNECTORID,REGIONID,DEMANDCOEFFICIENT,LASTCHANGED
"1998/07/01 00:00:00",2,V-SN,SA1,-0.00001102,"2003/11/25 15:41:18"
"1998/11/02 00:00:00",1,V-SN,NSW1,-0.000001717,"2003/11/25 15:41:18"
"1998/07/01 00:00:00",2,V-SN,VIC1,0.000004228,"2003/11/25 15:41:18"
"1998/07/01 00:00:00",2,SNOWY1,NSW1,-0.0000111,"2003/11/25 15:41:18"
"1998/07/01 00:00:00",2,SNOWY1,VIC1,0.000003185,"2003/11/25 15:41:18"
"1998/07/01 00:00:00",2,V-SN,NSW1,-0.000001717,"2003/11/25 15:41:18"
"1998/07/01 00:00:00",2,V-SA,SA1,-0.000008363,"2003/11/25 15:41:18"
"1998/07/01 00:00:00",2,V-SA,VIC1,-0.000003926,"2003/11/25 15:41:18"
"1998/08/28 00:00:00",1,SNOWY1,NSW1,-0.0000111,"2003/11/25 15:41:18"
"1998/08/28 00:00:00",1,V-SN,VIC1,0.000004228,"2003/11/25 15:41:18"
"1998/08/28 00:00:00",1,SNOWY1,VIC1,0.000003185,"2003/11/25 15:41:18"
...
C,SETP.WORLD,DVD_LOSSFACTORMODEL,AEMO,PUBLIC,2026/10/09,15:53:05,001791525185218,MONTHLY_ARCHIVE,001791525185218
I,MARKET_CONFIG,LOSSFACTORMODEL,1,EFFECTIVEDATE,VERSIONNO,INTERCONNECTORID,REGIONID,DEMANDCOEFFICIENT,LASTCHANGED
D,MARKET_CONFIG,LOSSFACTORMODEL,1,"1998/07/01 00:00:00",2,V-SN,SA1,-0.00001102,"2003/11/25 15:41:18"
D,MARKET_CONFIG,LOSSFACTORMODEL,1,"1998/11/02 00:00:00",1,V-SN,NSW1,-0.000001717,"2003/11/25 15:41:18"
D,MARKET_CONFIG,LOSSFACTORMODEL,1,"1998/07/01 00:00:00",2,V-SN,VIC1,0.000004228,"2003/11/25 15:41:18"
D,MARKET_CONFIG,LOSSFACTORMODEL,1,"1998/07/01 00:00:00",2,SNOWY1,NSW1,-0.0000111,"2003/11/25 15:41:18"
D,MARKET_CONFIG,LOSSFACTORMODEL,1,"1998/07/01 00:00:00",2,SNOWY1,VIC1,0.000003185,"2003/11/25 15:41:18"
D,MARKET_CONFIG,LOSSFACTORMODEL,1,"1998/07/01 00:00:00",2,V-SN,NSW1,-0.000001717,"2003/11/25 15:41:18"
D,MARKET_CONFIG,LOSSFACTORMODEL,1,"1998/07/01 00:00:00",2,V-SA,SA1,-0.000008363,"2003/11/25 15:41:18"
D,MARKET_CONFIG,LOSSFACTORMODEL,1,"1998/07/01 00:00:00",2,V-SA,VIC1,-0.000003926,"2003/11/25 15:41:18"
D,MARKET_CONFIG,LOSSFACTORMODEL,1,"1998/08/28 00:00:00",1,SNOWY1,NSW1,-0.0000111,"2003/11/25 15:41:18"
D,MARKET_CONFIG,LOSSFACTORMODEL,1,"1998/08/28 00:00:00",1,V-SN,VIC1,0.000004228,"2003/11/25 15:41:18"
D,MARKET_CONFIG,LOSSFACTORMODEL,1,"1998/08/28 00:00:00",1,SNOWY1,VIC1,0.000003185,"2003/11/25 15:41:18"
...
C,"END OF REPORT",452

Availability

Visibility: Public

This table is in the public monthly MMSDM archive.

I have collated the list of all those files into one place, in this CSV metadata file. (Columns year, month, url, compressed_size in bytes).

The earliest available data is month 1 of 2015. The most recent available data is month 9 of 2026.

Every month in between has a file. (No gaps.)

Data Size

Each year of data is approximately 48 KB when zipped, 476 KB as unzipped CSV.

Deduplication and PDR Loader Configuration

The primary keys are:

The transaction type is "INSERT-UPDATE", which means that you will likely see duplicate data with different values.

You should deduplicate by sorting based on LASTCHANGED, within each group of primary keys.

PDR Loader configuration is:

Report Name Report Subtype Version
MARKET_CONFIG LOSSFACTORMODEL 1

This means that the CSV files start with metadata columns:

I,MARKET_CONFIG,LOSSFACTORMODEL,1,...
D,MARKET_CONFIG,LOSSFACTORMODEL,1,...

ROW_FILTER_TYPE is LASTCHANGED

Indexes

This page as JSON (schema documented here, but may change)

Download a JSON Schema specification for this table.

Official AEMO schema documentation

Other Information

Package: MARKET_CONFIG