| aemo_demand | R Documentation |
Returns 5-minute regional demand from DISPATCHREGIONSUM.
Three demand measures are supported, aligned with AEMO's
Demand Terms taxonomy:
aemo_demand(
region,
start,
end,
measure = c("operational", "operational_less_snsg", "native"),
intervention = FALSE
)
region |
NEM region code. Vector accepted. |
start, end |
Window (inclusive), character or POSIXct. |
measure |
One of |
intervention |
Logical. Default |
"operational" (default): TOTALDEMAND, the grid-measured
demand met by scheduled and semi-scheduled generation plus
net interchange. This is the quantity AEMO dispatches.
"operational_less_snsg": TOTALDEMAND minus small
non-scheduled generation (SS_SOLAR_UIGF + SS_WIND_UIGF
where present).
"native": TOTALDEMAND plus estimated rooftop PV
generation. Closest to end-use consumption. If the rooftop
PV component is not available in DISPATCHREGIONSUM the
function warns and returns TOTALDEMAND; users should join
with aemo_rooftop_pv() for a full native-demand estimate.
Timestamps are AEST (UTC+10, no DST).
An aemo_tbl with columns settlementdate,
regionid, demand_mw (the requested measure), plus the
underlying DISPATCHREGIONSUM columns used in the derivation.
AEMO NEMweb, AEMO Copyright Permissions Notice.
op <- options(aemo.cache_dir = tempdir())
try({
now <- Sys.time()
d <- aemo_demand("VIC1", now - 3600, now)
head(d)
})
options(op)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.