Harvests standing capacity per process, region and milestone year from a
solved scenario, for use as a guide on a later solve of the same model. The
target counterpart of solution_ledger(): where a ledger records decided
capacity to be carried forward as sunk stock, a target records indicative
capacity to be imposed as a cap.lo bound by apply_targets().
Value
a capacity_targets tibble: family, proc, region, year,
value, carrying the scenario's variant provenance as an attribute.
Examples
if (FALSE) { # \dontrun{
open_project(tempdir())
topia_elc <- topia$modules$electricity
mod <- newModel("TOPIA", data = topia_elc$repo,
calendar = topia$modules$calendars$s4_h24,
region = topia_elc$regions,
horizon = topia$modules$horizons$BY2025_50_by10,
discount = 0.05)
mod <- setGeoscale(mod, topia_elc$geoscale)
scen <- solve_model(mod, name = "BASE", solver = solver_options$glpk)
# the capacity the solved run decided, per process, region and year
tg <- solution_targets(scen)
tg
# technologies only
solution_targets(scen, classes = "technology")
} # }
