module_energy_L221.en_supply: module_energy_L221.en_supply

View source: R/zchunk_L221.en_supply.R

module_energy_L221.en_supplyR Documentation

module_energy_L221.en_supply

Description

Writes all energy supply sector outputs.

Usage

module_energy_L221.en_supply(command, ...)

Arguments

command

API command to execute

...

other optional parameters, depending on command

Details

This chunk creates level 2 output files for energy supply. It creates supply sector information, subsector logit exponents, subsector shareweight and interpolation, and stubtech info by writing assumption file information to all model periods and regions. It creates global tech coef, costs, and shareweights by interpolating assumptions.

Value

Depends on command: either a vector of required inputs, a vector of output names, or (if command is "MAKE") all the generated outputs: L221.SectorLogitTables[[ curr_table ]]$data, L221.Supplysector_en, L221.SectorUseTrialMarket_en, L221.SubsectorLogitTables[[ curr_table ]]$data, L221.SubsectorLogit_en, L221.SubsectorShrwt_en, L221.SubsectorShrwtFllt_en, L221.SubsectorInterp_en, L221.SubsectorInterpTo_en, L221.StubTech_en, L221.GlobalTechCoef_en, L221.GlobalTechCost_en, L221.GlobalTechShrwt_en, L221.PrimaryConsKeyword_en, L221.StubTechFractSecOut_en, L221.StubTechFractProd_en, L221.StubTechFractCalPrice_en, L221.Rsrc_en, L221.RsrcPrice_en, L221.Production_unoil. The corresponding file in the original data system was L221.en_supply.R (energy level2).

Author(s)

JDH Nov 2017


JGCRI/gcamdata documentation built on March 21, 2023, 2:19 a.m.