readindustry_subsectors_specific | R Documentation |
Change factors of specific FE and material demand for the
industry/subsector
realisation of REMIND.
readindustry_subsectors_specific(subtype = NULL)
calcindustry_subsectors_specific(
subtype = NULL,
scenarios = NULL,
regions = NULL,
direct = NULL
)
subtype |
One of
|
scenarios |
A vector of scenarios for which factors are to be returned. |
regions |
A vector of regions for which factors are to be returned. |
direct |
A data frame as returned by
|
Factors are read from the files specific_FE.csv
,
specific_material_alpha.csv
, specific_material_relative.csv
, and
specific_material_relative_change.csv
, respectively. NA
is used to mark
defaults for the scenario
and region
columns, and specified values will
overwrite these defaults.
So
NA,NA,cement,1
will be extended to all scenarios
and regions
scen1,NA,cement,2
will overwrite this default for all regions
in
scen1
NA,regi1,cement,3
will overwrite this again for all scenarios
(including scen1
) for regi1
scen1,regi1,cement,4
will lastly overwrite the value for the scen1
,
regi1
combination
Replacements occure in this fixed order (NA
/NA
, scenario
/NA
,
NA
/region
, scenario
/region
).
Lastly, output is filtered for scenarios
and regions
.
For debugging and development, instead of modifying the .csv files in
sources/industry_subsectors_specific/
and interfering with production runs,
modify the calling code (e.g. calcFEdemand.R
) to use direct
data (entered
verbatim or loaded from somewhere else.)
A magpie
object.
Michaja Pehl
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.