Open Detachment73 opened 1 week ago
While the energy balance data used for calibration is the 2019 IEA World Energy Balances, this is a proprietary data set that we cannot distribute. In workspaces without the IEA energy balances, the gcamdata code instead uses "prebuilt” data tables, where country-to-region, flow-to-sector, and product-to-fuel aggregations have already been performed. So changing the data would not be straightforward or easy, but it's possible if there are only a few select changes you are looking to make, that it all could work. In general it's best to make these sorts of changes as far upstream as possible in the gcamdata processing. The list of data tables that are generated from the IEA energy balances and saved as prebuilt data can be found in input/gcamdata/data-raw/generate_package_data.R
, near the end: prebuilt_data_names
. I don't even know what to recommend as a method, as it would depend on what specifically you are trying to do, but to the extent that you are looking to change energy balance data, those prebuilt data tables are the farthest upstream ones that you can change.
While the energy balance data used for calibration is the 2019 IEA World Energy Balances, this is a proprietary data set that we cannot distribute. In workspaces without the IEA energy balances, the gcamdata code instead uses "prebuilt” data tables, where country-to-region, flow-to-sector, and product-to-fuel aggregations have already been performed. So changing the data would not be straightforward or easy, but it's possible if there are only a few select changes you are looking to make, that it all could work. In general it's best to make these sorts of changes as far upstream as possible in the gcamdata processing. The list of data tables that are generated from the IEA energy balances and saved as prebuilt data can be found in
input/gcamdata/data-raw/generate_package_data.R
, near the end:prebuilt_data_names
. I don't even know what to recommend as a method, as it would depend on what specifically you are trying to do, but to the extent that you are looking to change energy balance data, those prebuilt data tables are the farthest upstream ones that you can change.
Thank you for your answer. I would like to make changes to the energy consumption of each province in gcam-china, the amount of carbon dioxide generated by each sector in each province, and the total carbon dioxide emissions of each province. What should I do? The data for the changes are all from MEIC
According to my understanding, among the input data required for gcamdata to generate xml files, the historical energy supply comes from the IEA and belongs to external data. According to the doc on the official website, gcam input files can be constructed with IEA data. How can I create or replace these data?