message_ix_models.model.material.data_util
Utilities for reading and preparing material-related data files and projections.
This module contains helper functions to load, transform and broadcast tables used by the MESSAGEix-Materials build (e.g., reading TIMER Excel tables, mapping IEA flows, generating emission factors and projections).
Functions
|
Prepare data for MACRO calibration by reading data from xlsx file. |
|
Adds water supply technologies that are required for the Materials build. |
|
Derive |
|
Drop duplicate row and those where \(y^A - y^V > technical\_lifetime\). |
|
Generate CO2_ind |
|
|
Generate CO2_ind |
|
|
Generate "CO2_Emission" relation parameter to account stored carbon in plastics. |
|
Generate cost parameter data for scenario technology set. |
Construct a mapping from "COUNTRY" IDs to regions (nodes in the "R12" codelist). |
|
|
Generate GDP and POP data of SSP 3.0 in |
|
Add a "REGION" column to df_iea. |
|
Reads mapping file and returns relevant columns needed for technology mapping. |
|
Read |
|
Read sector data for industry with sectname. |
|
Read ‘time-series’ data from a material-specific filename. |