| aemo_constraints | R Documentation |
Returns the DISPATCHCONSTRAINT table from NEMweb: one row
per binding (or near-binding) constraint per 5-minute dispatch
interval. Each row records the constraint ID, the left-hand
side (LHS) and right-hand side (RHS) values, the marginal
value (shadow price on the constraint in AUD/MWh), and the
violation degree if any.
aemo_constraints(
start,
end,
constraint_id = NULL,
intervention = FALSE,
min_marginal_value = 0.01
)
start, end |
Window (inclusive), character or POSIXct. |
constraint_id |
Optional character vector of constraint
IDs (e.g. |
intervention |
Logical. Default |
min_marginal_value |
Numeric. Only return constraints
with marginal value at or above this threshold (AUD/MWh).
|
This is the table that answers the question "why was the RRP so high at 17:35?": the sum of marginal values across binding constraints at the Regional Reference Node equals the regional price component attributable to network limits.
Constraint equations and RHS terms (GENCONDATA,
GENCONSETINVOKE) are published through MMSDM on a separate
cadence and are not exposed directly by this function; use
aemo_nemweb_download() on an MMSDM URL for those.
An aemo_tbl with columns settlementdate,
constraintid, rhs, marginalvalue, violationdegree,
lhs, plus the intervention flag.
AEMO NEMweb DISPATCHIS_Reports, DISPATCHCONSTRAINT table.
Other dispatch:
aemo_bids(),
aemo_dispatch_units(),
aemo_fcas_enablement(),
aemo_gencon(),
aemo_interconnector(),
aemo_market_notices(),
aemo_outages(),
aemo_rooftop_pv(),
aemo_spd_constraints()
op <- options(aemo.cache_dir = tempdir())
try({
now <- Sys.time()
c <- aemo_constraints(start = now - 3600, end = now)
head(c)
})
options(op)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.