aemo_bids: Generator bid stack

View source: R/bids.R

aemo_bidsR Documentation

Generator bid stack

Description

Returns BIDDAYOFFER_D (daily bid summary: 10 price bands, MaxAvail, fixed load, locked at 12:30 D-1), BIDPEROFFER_D (per-interval availability and rebids), or the two joined on ⁠(duid, settlementdate, bidtype)⁠.

Usage

aemo_bids(
  duid,
  start,
  end,
  resolution = c("day", "period", "joined"),
  allow_large = FALSE
)

Arguments

duid

Character vector of DUIDs. Required.

start, end

Window.

resolution

One of "day" (default, BIDDAYOFFER_D only), "period" (BIDPEROFFER_D only), or "joined" (BIDDAYOFFER_D inner-joined to BIDPEROFFER_D on ⁠(duid, settlementdate, bidtype)⁠).

allow_large

Logical. Default FALSE.

Details

Parent / child structure. BIDDAYOFFER_D carries the price bands (priceband1..priceband10), which are locked at 12:30 on the day ahead and cannot be rebid. BIDPEROFFER_D carries the per-interval availability bands (bandavail1..bandavail10), which can be rebid intraday. Serious bidding analysis (Goncalves & Menezes 2022 Energy Economics 113 106398; Nelson et al. 2024 AJARE 68(4)) needs both joined.

Size warning. BIDPEROFFER_D monthly archives are multi-gigabyte. By default aemo_bids() refuses spans longer than 30 days; pass allow_large = TRUE to override.

Upstream gap. AEMO has a documented gap in BIDPEROFFER_D between March 2021 and July 2024. Rows in that range may be missing.

Value

An aemo_tbl.

See Also

Other dispatch: aemo_constraints(), aemo_dispatch_units(), aemo_fcas_enablement(), aemo_gencon(), aemo_interconnector(), aemo_market_notices(), aemo_outages(), aemo_rooftop_pv(), aemo_spd_constraints()

Examples


op <- options(aemo.cache_dir = tempdir())
try({
  now <- Sys.time()
  # Daily bid summary (price bands)
  b <- aemo_bids(duid = "BW01",
                  start = now - 86400, end = now)

  # Joined: price bands + per-interval volumes
  bj <- aemo_bids(duid = "BW01", start = now - 86400, end = now,
                   resolution = "joined")
})
options(op)


aemo documentation built on April 29, 2026, 1:07 a.m.