Skip to content

NETWORK_OUTAGESTATUSCODE

NETWORK_OUTAGESTATUSCODE describes the different outage status codes

Column Schema

OUTAGESTATUSCODE

A code representing the status of an outage

SQL Type: VARCHAR(10) Polars Type: str

This column is mandatory, and a primary key.

Examples:

  • COMPLETE
  • INFO
  • MTLTP
  • PDLTP
  • PTP
  • PTR
  • RESUBMIT
  • STLTP
  • SUBMIT
  • UTP

DESCRIPTION

A description of the status code

SQL Type: VARCHAR(100) Polars Type: str

This column is not mandatory.

Examples:

  • Completed
  • Information
  • Medium term timeframe likely to proceed
  • Permission to Proceed
  • Permission to Restore
  • Predispatch timeframe likely to proceed
  • Resubmitted
  • Short term timeframe likely to proceed
  • Submitted
  • Unlikely to proceed

LASTCHANGED

The time that this record was last changed

For more information, see the dedicated documentation page.

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

This column is not mandatory.

Example: 2012/04/01 00:00:00

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"

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",
    )
    .rename(
        {
            # These columns have names that conflict with metadata columns
            "OUTAGESTATUSCODE_duplicated_0": "OUTAGESTATUSCODE"
        }
    )
    .with_columns(
        pl.col("LASTCHANGED").str.strptime(pl.Datetime, dt_s_fmt),
    )
    .cast({"OUTAGESTATUSCODE": str, "DESCRIPTION": str})
    # Deduplicate
    # We want one row per ['OUTAGESTATUSCODE']
    # Tie-breaker: greatest value of LASTCHANGED
    .sort(LASTCHANGED, descending=False)
    .unique(subset=["OUTAGESTATUSCODE"], keep="last")
)

Nemosis

This table is not yet available in Nemosis.

Example File

From PUBLIC_ARCHIVE_NETWORK_OUTAGESTATUSCODE_FILE01_202609010000.zip

OUTAGESTATUSCODEDESCRIPTIONLASTCHANGED
COMPLETECompleted2012/04/01 00:00:00
INFOInformation2012/04/01 00:00:00
MTLTPMedium term timeframe likely to proceed2012/04/01 00:00:00
PDLTPPredispatch timeframe likely to proceed2012/04/01 00:00:00
PTPPermission to Proceed2012/04/01 00:00:00
PTRPermission to Restore2012/04/01 00:00:00
RESUBMITResubmitted2012/04/01 00:00:00
STLTPShort term timeframe likely to proceed2012/04/01 00:00:00
SUBMITSubmitted2012/04/01 00:00:00
UTPUnlikely to proceed2012/04/01 00:00:00
WD REQWithdraw Request2012/04/01 00:00:00
...

CSETP.WORLDDVD_NETWORK_OUTAGESTATUSCODEAEMOPUBLIC2026/10/0915:57:06001791525426826MONTHLY_ARCHIVE001791525426826
INETWORKOUTAGESTATUSCODE1OUTAGESTATUSCODEDESCRIPTIONLASTCHANGED
DNETWORKOUTAGESTATUSCODE1COMPLETECompleted2012/04/01 00:00:00
DNETWORKOUTAGESTATUSCODE1INFOInformation2012/04/01 00:00:00
DNETWORKOUTAGESTATUSCODE1MTLTPMedium term timeframe likely to proceed2012/04/01 00:00:00
DNETWORKOUTAGESTATUSCODE1PDLTPPredispatch timeframe likely to proceed2012/04/01 00:00:00
DNETWORKOUTAGESTATUSCODE1PTPPermission to Proceed2012/04/01 00:00:00
DNETWORKOUTAGESTATUSCODE1PTRPermission to Restore2012/04/01 00:00:00
DNETWORKOUTAGESTATUSCODE1RESUBMITResubmitted2012/04/01 00:00:00
DNETWORKOUTAGESTATUSCODE1STLTPShort term timeframe likely to proceed2012/04/01 00:00:00
DNETWORKOUTAGESTATUSCODE1SUBMITSubmitted2012/04/01 00:00:00
DNETWORKOUTAGESTATUSCODE1UTPUnlikely to proceed2012/04/01 00:00:00
DNETWORKOUTAGESTATUSCODE1WD REQWithdraw Request2012/04/01 00:00:00
...
CEND OF REPORT15

OUTAGESTATUSCODE,DESCRIPTION,LASTCHANGED
COMPLETE,Completed,"2012/04/01 00:00:00"
INFO,Information,"2012/04/01 00:00:00"
MTLTP,"Medium term timeframe likely to proceed","2012/04/01 00:00:00"
PDLTP,"Predispatch timeframe likely to proceed","2012/04/01 00:00:00"
PTP,"Permission to Proceed","2012/04/01 00:00:00"
PTR,"Permission to Restore","2012/04/01 00:00:00"
RESUBMIT,Resubmitted,"2012/04/01 00:00:00"
STLTP,"Short term timeframe likely to proceed","2012/04/01 00:00:00"
SUBMIT,Submitted,"2012/04/01 00:00:00"
UTP,"Unlikely to proceed","2012/04/01 00:00:00"
"WD REQ","Withdraw Request","2012/04/01 00:00:00"
...
C,SETP.WORLD,DVD_NETWORK_OUTAGESTATUSCODE,AEMO,PUBLIC,2026/10/09,15:57:06,001791525426826,MONTHLY_ARCHIVE,001791525426826
I,NETWORK,OUTAGESTATUSCODE,1,OUTAGESTATUSCODE,DESCRIPTION,LASTCHANGED
D,NETWORK,OUTAGESTATUSCODE,1,COMPLETE,Completed,"2012/04/01 00:00:00"
D,NETWORK,OUTAGESTATUSCODE,1,INFO,Information,"2012/04/01 00:00:00"
D,NETWORK,OUTAGESTATUSCODE,1,MTLTP,"Medium term timeframe likely to proceed","2012/04/01 00:00:00"
D,NETWORK,OUTAGESTATUSCODE,1,PDLTP,"Predispatch timeframe likely to proceed","2012/04/01 00:00:00"
D,NETWORK,OUTAGESTATUSCODE,1,PTP,"Permission to Proceed","2012/04/01 00:00:00"
D,NETWORK,OUTAGESTATUSCODE,1,PTR,"Permission to Restore","2012/04/01 00:00:00"
D,NETWORK,OUTAGESTATUSCODE,1,RESUBMIT,Resubmitted,"2012/04/01 00:00:00"
D,NETWORK,OUTAGESTATUSCODE,1,STLTP,"Short term timeframe likely to proceed","2012/04/01 00:00:00"
D,NETWORK,OUTAGESTATUSCODE,1,SUBMIT,Submitted,"2012/04/01 00:00:00"
D,NETWORK,OUTAGESTATUSCODE,1,UTP,"Unlikely to proceed","2012/04/01 00:00:00"
D,NETWORK,OUTAGESTATUSCODE,1,"WD REQ","Withdraw Request","2012/04/01 00:00:00"
...
C,"END OF REPORT",15

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 8 of 2024. The most recent available data is month 9 of 2026.

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

Warning

The REPORT_SUB_TYPE metadata column has the same column name as an actual columns OUTAGESTATUSCODE. So the raw CSVs have duplicate column names. You will need to be careful when reading this CSV.

Data Size

Each year of data is approximately 7 KB when zipped, 71 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
NETWORK OUTAGESTATUSCODE 1

This means that the CSV files start with metadata columns:

I,NETWORK,OUTAGESTATUSCODE,1,...
D,NETWORK,OUTAGESTATUSCODE,1,...

ROW_FILTER_TYPE is LASTCHANGED

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: NETWORK