industry_subsector_specific: industry/subsector change factors

readindustry_subsectors_specificR Documentation

industry/subsector change factors

Description

Change factors of specific FE and material demand for the industry/subsector realisation of REMIND.

Usage

readindustry_subsectors_specific(subtype = NULL)

calcindustry_subsectors_specific(
  subtype = NULL,
  scenarios = NULL,
  regions = NULL,
  direct = NULL
)

Arguments

subtype

One of

  • FE for specific final energy demand change factors

  • material_alpha for alpha factors and convergence time of specific material demand decreases relative to the SSP2EU scenario

  • material_relative for scaling factors of specific material demand relative to baseline scenarios

  • material_relative_change for scaling factors of specific material demand change relative to baseline scenarios

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 readindustry_subsectors_specific() to load debugging/developing data directly instead of from file.

Details

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.)

Value

A magpie object.

Author(s)

Michaja Pehl


pik-piam/mrremind documentation built on March 30, 2024, 3:37 a.m.