
Technologies that may be merged into one clustered object
Source:R/process-groups.R
get_process_groups.RdGroups a model's single-region technologies by STRUCTURE – input, output and aux commodities, and input groups. Only technologies with the same structure can become clusters of one object, because a cluster is a variant of the same process, not a different one: a coal plant and a gas plant have different inputs and stay separate however alike their costs look.
Value
A data.frame, one row per group, with group (the common name
stem, and the name the merged object will take), signature, n,
members and regions (comma-separated). Technologies that span several
regions are not grouped and do not appear.
Details
This is the first step of a clustered aggregation: it names the families
aggregate_model_regions() can turn into clusters, and those names are the
keys of its clusters argument.
See also
process_cluster_sweep() to choose each family's k,
aggregate_model_regions() to apply it.
Other geoscale:
check_geoscale_regions(),
model_clusters(),
plot_geoscale(),
plot_map(),
process_cluster_sweep(),
setCalendar,config-method
Examples
ek <- topia$modules$electricity$R3
mod <- newModel("TOPIA", data = ek$repo,
calendar = topia$modules$calendars$s4_h24,
region = ek$regions,
horizon = topia$modules$horizons$base,
discount = 0.05)
mod <- setGeoscale(mod, ek$geoscale)
# families of processes that share a commodity signature, with their members
head(get_process_groups(mod), 4)
#> group class signature n members regions
#> 1 ECOA technology in:COA|out:ELC|aux:|grp: 3 ECOA W1,W2,C1
#> 2 EGAS technology in:GAS|out:ELC|aux:|grp: 3 EGAS W1,W2,C1
#> 3 ESOL technology in:SOL|out:ELC|aux:|grp: 3 ESOL W1,W2,C1
#> 4 EWIN technology in:WIN|out:ELC|aux:|grp: 3 EWIN W1,W2,C1