message_ix_models.model.material.report.reporting

Created on Mon Mar 8 12:58:21 2021 This code produces the follwoing outputs: message_ix_reporting.xlsx: message_ix level reporting check.xlsx: can be used for checking the filtered variables New_Reporting_Model_Scenario.xlsx: Reporting including the material variables Merged_Model_Scenario.xlsx: Includes all IAMC variables Material_global_grpahs.pdf

# NOTE: Works with pyam-iamc version 0.9.0 # Problems with the most recent versions: # 0.11.0 –> Filtering with asterisk * does not work, dataframes are empty. # Problems with emission and region filtering. # https://github.com/IAMconsortium/pyam/issues/517 # 0.10.0 –> Plotting gives the follwoing error: # ValueError: Can not plot data that does not extend for the entire year range. # There are various tech.s that only have data starting from 2025 or 2030. # foil_imp AFR, frunace_h2_aluminum, h2_i…

@author: unlu

Functions

change_names(s)

Change the sector names according to IMAC format.

convert_mass_to_energy(df)

fix_excel(df)

Fix the names of the regions or variables to be compatible with IAMC format.

report(scenario[, print_to_excel])