# RESIDUE_PRICE_OFFER-NULL-1

> Settlement Residue Auction - Offers.
> CSV Report SROFFER Public Offer report

!!! danger "Warning"

    This table is missing from AEMO's [main schema documentation](https://nemweb.com.au/Reports/CURRENT/MMSDataModelReport/Electricity/ElectricityDataModelReport.htm), but is listed on their [other, less comprehensive schema documentation page](https://web.nemweb.com.au/#sra-offers). The name really does end with `-NULL-1`. Most column meanings are undocumented. The information here is my best guess from looking at the data. This table may also be known as 'SRA offers'.

## Column Schema

### :AUCTIONID

!!! danger "Warning"
    The table name begins with a `:`. This really does appear in the CSV like that.

!!! danger "Warning"
    This column name starts with a `:`. It really does appear in CSV files like that.

SQL Type: `VARCHAR2(7)`
Polars Type: `pl.Categorical`

This column is mandatory, and a primary key.

Example: `A202609`

### FROMREGIONID

For more information, see the [dedicated documentation page](../../guide/querying.md#region-id).

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

- `QLD1` 

- `VIC1` 

- `TAS1` 

- `NSW1` 

- `SA1` 

This column is mandatory, and a primary key.

### INTERCONNECTORID

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

This column is mandatory, and a primary key.

Examples:

- `NSW1-QLD1`
- `NSW1-SA1`
- `T-V-MNSP1`
- `V-SA`
- `VIC1-NSW1`

### TRANCHEID

> Tranche Id

SQL Type: `VARCHAR2(30)`
Polars Type: `pl.Categorical`

This column is mandatory, and a primary key.

Examples:

- `C2026Q4T12`
- `C2027Q1T11`
- `C2027Q2T10`
- `C2027Q3T09`
- `C2027Q4T08`
- `C2028Q1T07`
- `C2028Q2T06`
- `C2028Q3T05`
- `C2028Q4T04`
- `C2029Q1T03`

### OFFERPRICE

!!! danger "Warning"
    The SQL type is just `NUMBER`, not `NUMBER(x)` or `NUMBER(x,y)`. This means it is a decimal, not a float.

SQL Type: `NUMBER`
Polars Type: `None`

This column is mandatory (but not a primary key).

Examples:
`1587.50`, `0`, `1`, `45870.7950`, `20475`

### OFFERUNITS

SQL Type: `NUMBER(5)`
Polars Type: `pl.UInt32`

This column is mandatory (but not a primary key).

Examples:
`1`, `800`

## Code Examples

### Polars

Explicitly listing every column, casting to 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.

```python
import polars as pl
import polars.selectors as cs

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",
    ).cast(
        {
            ":AUCTIONID": pl.Categorical,
            "FROMREGIONID": pl.Enum(["QLD1", "VIC1", "TAS1", "NSW1", "SA1"]),
            "INTERCONNECTORID": pl.Categorical,
            "TRANCHEID": pl.Categorical,
            "OFFERPRICE": None,
            "OFFERUNITS": int,  # or pl.UInt32
        }
    )
    # Deduplicate
    # We want one row per [':AUCTIONID', 'TRANCHEID', 'INTERCONNECTORID', 'FROMREGIONID']
    .unique(
        subset=[":AUCTIONID", "TRANCHEID", "INTERCONNECTORID", "FROMREGIONID"],
        keep="any",
    )
)

```

### Nemosis

This table is not yet available in [Nemosis](https://github.com/UNSW-CEEM/NEMOSIS/#static_table).

## Example File

From [PUBLIC_SROFFER_A202609_20260915141605.CSV](https://nemweb.com.au/Reports/CURRENT/SRA_Offers/PUBLIC_SROFFER_A202609_20260915141605.CSV)

=== "Raw Text with Metadata"
    ```csv
    C,NEMP.WORLD,SROFFER,AEMO,PUBLIC,2026/09/15,14:16:05,0000000538012145,,0000000538012145
    I,RESIDUE_PRICE_OFFER,,1,:AUCTIONID,TRANCHEID,INTERCONNECTORID,FROMREGIONID,OFFERUNITS,OFFERPRICE
    D,RESIDUE_PRICE_OFFER,,1,A202609,C2026Q4T12,NSW1-QLD1,NSW1,1,6625.70
    D,RESIDUE_PRICE_OFFER,,1,A202609,C2026Q4T12,NSW1-QLD1,NSW1,1,6750.70
    D,RESIDUE_PRICE_OFFER,,1,A202609,C2026Q4T12,NSW1-QLD1,NSW1,1,6850
    D,RESIDUE_PRICE_OFFER,,1,A202609,C2026Q4T12,NSW1-QLD1,NSW1,1,6875.70
    D,RESIDUE_PRICE_OFFER,,1,A202609,C2026Q4T12,NSW1-QLD1,NSW1,1,7000.70
    D,RESIDUE_PRICE_OFFER,,1,A202609,C2026Q4T12,NSW1-QLD1,NSW1,1,7125.70
    D,RESIDUE_PRICE_OFFER,,1,A202609,C2026Q4T12,NSW1-QLD1,NSW1,1,7250.70
    D,RESIDUE_PRICE_OFFER,,1,A202609,C2026Q4T12,NSW1-QLD1,NSW1,1,7375.70
    D,RESIDUE_PRICE_OFFER,,1,A202609,C2026Q4T12,NSW1-QLD1,NSW1,1,7500.70
    D,RESIDUE_PRICE_OFFER,,1,A202609,C2026Q4T12,NSW1-QLD1,NSW1,2,9490
    D,RESIDUE_PRICE_OFFER,,1,A202609,C2026Q4T12,NSW1-QLD1,NSW1,2,9964.50
    ...
    C,"END OF REPORT",1737
    ```

## Availability

This table is publicly available in an unusual location.

<https://nemweb.com.au/Reports/CURRENT/SRA_Offers/>

    
All files in that folder are for this table.
    

## Data Size

    
Across all time, the files add up to 233 KB (as uncompressed CSV).
    

## Deduplication and PDR Loader Configuration

The primary keys are:

- [`:AUCTIONID`](#auctionid)

- [`TRANCHEID`](#trancheid)

- [`INTERCONNECTORID`](#interconnectorid)

- [`FROMREGIONID`](#fromregionid)

[PDR Loader configuration](https://nemweb.com.au/Reports/Current/MMSDataModelReport/PDRCONFIG/PROD_PUBLIC_PDR_CONFIG_FULL.zip) is:

| Report Name | Report Subtype | Version |
|---------------|-------------------|-----------|
| RESIDUE_PRICE_OFFER | None  | 1 |

This means that the CSV files start with metadata columns:

```csv
I,RESIDUE_PRICE_OFFER,,1,...
D,RESIDUE_PRICE_OFFER,,1,...
```

## Links

[This page as JSON](../json/tables/RESIDUE_PRICE_OFFER-NULL-1/bespoke.json) (schema documented [here](https://gitlab.com/MatthewDavis/mms-schema/-/blob/master/schema.py?ref_type=heads), but may change)

Download a [JSON Schema](../json/tables/RESIDUE_PRICE_OFFER-NULL-1/json-schema.json) specification for this table.

[Official AEMO schema documentation](https://web.nemweb.com.au/#sra-offers)

## Other Information

This table is not part of a package.
