Returns 5-minute generator output for one or more DUIDs. Three measures are available:
Usage
aemo_dispatch_units(
duid = NULL,
start,
end,
measure = c("scada_mw", "target_mw", "both")
)Details
"scada_mw"(default): actual metered output fromDISPATCH_UNIT_SCADA(SCADAVALUE)."target_mw": dispatch target fromDISPATCHLOAD(TOTALCLEARED). This is the MW AEMO asked the unit to produce at the end of the interval."both": returnsSCADAVALUE,INITIALMW(SCADA at the start of the interval) andTOTALCLEARED(target at the end) in a single row per DUID per interval. Use this for ramp-trajectory research: the ramp applied during the interval is the straight line fromINITIALMWtoTOTALCLEARED.
Timestamps are AEST (UTC+10, no DST).
Examples
# \donttest{
op <- options(aemo.cache_dir = tempdir())
try({
now <- Sys.time()
# SCADA actual
d <- aemo_dispatch_units(duid = "BW01", start = now - 3600,
end = now)
# Paired: INITIALMW, TOTALCLEARED, SCADAVALUE (ramp research)
d_both <- aemo_dispatch_units(duid = "BW01",
start = now - 3600, end = now,
measure = "both")
})
#> ℹ Downloading <https://nemweb.com.au/Reports/CURRENT/Dispatch_SCADA/PUBLIC_DISP…
#> ✔ Downloading <https://nemweb.com.au/Reports/CURRENT/Dispatch_SCADA/PUBLIC_DISP…
#>
#> ℹ Downloading <https://nemweb.com.au/Reports/CURRENT/Dispatch_SCADA/PUBLIC_DISP…
#> ✔ Downloading <https://nemweb.com.au/Reports/CURRENT/Dispatch_SCADA/PUBLIC_DISP…
#>
#> ℹ Downloading <https://nemweb.com.au/Reports/CURRENT/Dispatch_SCADA/PUBLIC_DISP…
#> ✔ Downloading <https://nemweb.com.au/Reports/CURRENT/Dispatch_SCADA/PUBLIC_DISP…
#>
#> ℹ Downloading <https://nemweb.com.au/Reports/CURRENT/Dispatch_SCADA/PUBLIC_DISP…
#> ✔ Downloading <https://nemweb.com.au/Reports/CURRENT/Dispatch_SCADA/PUBLIC_DISP…
#>
#> ℹ Downloading <https://nemweb.com.au/Reports/CURRENT/Dispatch_SCADA/PUBLIC_DISP…
#> ✔ Downloading <https://nemweb.com.au/Reports/CURRENT/Dispatch_SCADA/PUBLIC_DISP…
#>
#> ℹ Downloading <https://nemweb.com.au/Reports/CURRENT/Dispatch_SCADA/PUBLIC_DISP…
#> ✔ Downloading <https://nemweb.com.au/Reports/CURRENT/Dispatch_SCADA/PUBLIC_DISP…
#>
#> ℹ Downloading <https://nemweb.com.au/Reports/CURRENT/Dispatch_SCADA/PUBLIC_DISP…
#> ✔ Downloading <https://nemweb.com.au/Reports/CURRENT/Dispatch_SCADA/PUBLIC_DISP…
#>
#> ℹ Downloading <https://nemweb.com.au/Reports/CURRENT/Dispatch_SCADA/PUBLIC_DISP…
#> ✔ Downloading <https://nemweb.com.au/Reports/CURRENT/Dispatch_SCADA/PUBLIC_DISP…
#>
#> ℹ Downloading <https://nemweb.com.au/Reports/CURRENT/Dispatch_SCADA/PUBLIC_DISP…
#> ✔ Downloading <https://nemweb.com.au/Reports/CURRENT/Dispatch_SCADA/PUBLIC_DISP…
#>
#> ℹ Downloading <https://nemweb.com.au/Reports/CURRENT/Dispatch_SCADA/PUBLIC_DISP…
#> ✔ Downloading <https://nemweb.com.au/Reports/CURRENT/Dispatch_SCADA/PUBLIC_DISP…
#>
#> ℹ Downloading <https://nemweb.com.au/Reports/CURRENT/Dispatch_SCADA/PUBLIC_DISP…
#> ✔ Downloading <https://nemweb.com.au/Reports/CURRENT/Dispatch_SCADA/PUBLIC_DISP…
#>
#> ℹ Downloading <https://nemweb.com.au/Reports/CURRENT/Dispatch_SCADA/PUBLIC_DISP…
#> ✔ Downloading <https://nemweb.com.au/Reports/CURRENT/Dispatch_SCADA/PUBLIC_DISP…
#>
#> ℹ Downloading <https://nemweb.com.au/Reports/CURRENT/Dispatch_SCADA/PUBLIC_DISP…
#> ✔ Downloading <https://nemweb.com.au/Reports/CURRENT/Dispatch_SCADA/PUBLIC_DISP…
#>
options(op)
# }