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 <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#>
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#>
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#>
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#>
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#>
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#>
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#>
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#>
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#>
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#>
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#>
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#>
#> Warning: Cache integrity check failed for d2f0fdd51046396b.zip; re-downloading.
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#>
#> Warning: Cache integrity check failed for c65e4f294ee4342e.zip; re-downloading.
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#>
#> Warning: Cache integrity check failed for f9f3dd6261828db4.zip; re-downloading.
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#>
#> Warning: Cache integrity check failed for aa170d9df00978b2.zip; re-downloading.
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#>
#> Warning: Cache integrity check failed for f1f09cf4a7cc7638.zip; re-downloading.
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#>
#> Warning: Cache integrity check failed for a131756b5831291a.zip; re-downloading.
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#>
#> Warning: Cache integrity check failed for 2b1be1c9ebcc25c3.zip; re-downloading.
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#>
#> Warning: Cache integrity check failed for 658d526f9bf0f29c.zip; re-downloading.
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#>
#> Warning: Cache integrity check failed for 9d1495b5e2fb0c9e.zip; re-downloading.
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#>
#> Warning: Cache integrity check failed for 2b595c448ff31628.zip; re-downloading.
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#>
#> Warning: Cache integrity check failed for ed2e21dd7a406fc7.zip; re-downloading.
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#>
#> Warning: Cache integrity check failed for 394295ce14c61ecd.zip; re-downloading.
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/Dispatch_SCADA/PUBLIC_DISPA…
#>
#> Warning: Cache integrity check failed for 3d68ee95afa8150e.zip; re-downloading.
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/DispatchIS_Reports/PUBLIC_D…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/DispatchIS_Reports/PUBLIC_D…
#>
#> Warning: Cache integrity check failed for 7e04a6690826e6ac.zip; re-downloading.
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/DispatchIS_Reports/PUBLIC_D…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/DispatchIS_Reports/PUBLIC_D…
#>
#> Warning: Cache integrity check failed for cfe993541435e59f.zip; re-downloading.
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/DispatchIS_Reports/PUBLIC_D…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/DispatchIS_Reports/PUBLIC_D…
#>
#> Warning: Cache integrity check failed for 4b5cbf73e6f00631.zip; re-downloading.
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/DispatchIS_Reports/PUBLIC_D…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/DispatchIS_Reports/PUBLIC_D…
#>
#> Warning: Cache integrity check failed for 829b75b548ad2f5f.zip; re-downloading.
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/DispatchIS_Reports/PUBLIC_D…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/DispatchIS_Reports/PUBLIC_D…
#>
#> Warning: Cache integrity check failed for f57d2ebe63c497d8.zip; re-downloading.
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/DispatchIS_Reports/PUBLIC_D…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/DispatchIS_Reports/PUBLIC_D…
#>
#> Warning: Cache integrity check failed for 987a3c03aabfd59f.zip; re-downloading.
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/DispatchIS_Reports/PUBLIC_D…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/DispatchIS_Reports/PUBLIC_D…
#>
#> Warning: Cache integrity check failed for 9efbd4132ed70868.zip; re-downloading.
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/DispatchIS_Reports/PUBLIC_D…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/DispatchIS_Reports/PUBLIC_D…
#>
#> Warning: Cache integrity check failed for 7972a9506feaf872.zip; re-downloading.
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/DispatchIS_Reports/PUBLIC_D…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/DispatchIS_Reports/PUBLIC_D…
#>
#> Warning: Cache integrity check failed for 6573637dad592f8a.zip; re-downloading.
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/DispatchIS_Reports/PUBLIC_D…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/DispatchIS_Reports/PUBLIC_D…
#>
#> Warning: Cache integrity check failed for 0c39ccd2bb4fdc51.zip; re-downloading.
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/DispatchIS_Reports/PUBLIC_D…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/DispatchIS_Reports/PUBLIC_D…
#>
#> Warning: Cache integrity check failed for cca2b959d5993570.zip; re-downloading.
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/DispatchIS_Reports/PUBLIC_D…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/DispatchIS_Reports/PUBLIC_D…
#>
#> Warning: Cache integrity check failed for f97cba749cf2e79b.zip; re-downloading.
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/DispatchIS_Reports/PUBLIC_D…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/DispatchIS_Reports/PUBLIC_D…
#>
#> Warning: Cache integrity check failed for 4322e37732a56d17.zip; re-downloading.
#> ℹ Downloading <http://nemweb.com.au/Reports/Current/DispatchIS_Reports/PUBLIC_D…
#> ✔ Downloading <http://nemweb.com.au/Reports/Current/DispatchIS_Reports/PUBLIC_D…
#>
options(op)
# }