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
)
Electricity vintage query result
Default = NULL. Optional. For example, gcamdataFile = "~/gcam-core-gcam-v5.3/input/gcamdata".
GCAM regions for which to collect data
Start year of time frame of interest for analysis
end_year of time frame of interest for analysis
Returns data in a form required by plutus::gcamInvest.R