autoplot() on a solved scenario draws the mixes extracted by getMix():
annual stacked bars by milestone year, or – when slice selects a sample
(e.g. one representative day) – an hourly dispatch profile. Storage charging
and exports plot below zero; demand is overlaid as a line.
Usage
# S3 method for class 'scenario'
autoplot(
object,
type = c("generation", "capacity", "new_capacity", "fuel", "storage"),
comm = "ELC",
region = NULL,
year = NULL,
slice = NULL,
drop_small = 0,
...
)Arguments
- object
a solved
scenarioobject.- type
"generation"(default),"capacity","new_capacity","fuel", or"storage"(the storage-in/out flows only).- comm, region, year, slice, drop_small
passed to
getMix(). For a dispatch profile (slicegiven) withyear = NULL, the last milestone year is used.- ...
ignored.
