Function that calculates electricity subsector investment requirements from a given GCAM run.

elecInvest(
  elec_gen_vintage,
  gcamdataFile,
  world_regions,
  start_year = 2015,
  end_year = 2050
)

Arguments

elec_gen_vintage

Electricity vintage query result

gcamdataFile

Default = NULL. Optional. For example, gcamdataFile = "~/gcam-core-gcam-v5.3/input/gcamdata".

world_regions

GCAM regions for which to collect data

start_year

Start year of time frame of interest for analysis

end_year

end_year of time frame of interest for analysis

Value

Returns data in a form required by plutus::gcamInvest.R