Get the appropriate minicam.energy.input name to use in the GCAM supplysector.

set_water_input_name(
  water_sector,
  water_type,
  water_mapping,
  GLU = NA_character_
)

Arguments

water_sector

A character vector containing water sector information

water_type

A character vector containing water type information

water_mapping

A tibble with a mapping between water.sector and supplysector

GLU

An optional character vector containing GLU information (only used for irrigation with mapped water types)

Value

A vector of names of form supplysector_watertype or supplysector_GLU_watertype.

Details

Get the appropriate minicam.energy.input name to use in the GCAM supplysector by looking up using a mapping to the water.sector and water_type. The minicam.energy.input name to use will have to be some water mapping sector for water_types that are "mapped".

Author

BBL April 2017