Skip to contents

Plot or return data for hourly operation of electricity sector

Usage

ideea_snapshot(scen, YEAR, SLICE, return_data = FALSE)

Arguments

scen

solved scenario object

YEAR

integer vector of years to return

SLICE

character vector of time-slices to return

return_data

logical, if TRUE, the data will be return, or gglot object otherwise.

Value

ggplot object or data.table with data for the figure.

Examples

# all_slices <- scen_CAP@settings@calendar@timetable$slice
# ideea_snapshot(scen_CAP, YEAR = 2055, SLICE = all_slices[grepl("d043", all_slices)])
# ideea_snapshot(scen_CAP, YEAR = 2055, SLICE = all_slices[grepl("d015", all_slices)])