message_ix_models.model.material.demand

Functions

derive_demand(material, scen[, ssp, new, model])

format_to_demand_par(df, material)

Format given dataframe to MESSAGEix demand parameter.

gen_demand_petro(scenario, chemical, ...)

Generate petrochemical demand projections based on GDP elasticity.

perform_quantile_reg(x, y, func, initial_params)

prepare_model_input(df_pop, df_gdp, ...)

Prepare input dataframe for applying regression model.

project_demand(df, phi, mu)

Project material demand over time using a convergence function.

read_base_demand(filepath)

Read base year demand data from a YAML file.

read_gdp_ppp_from_scen(scen)

Extract GDP (PPP) data from a MESSAGEix scenario.

read_hist_mat_demand(material)

Read historical material demand data for a specified commodity.

read_pop_from_scen(scen)

Extract population data from a MESSAGEix scenario.

read_socio_economic_projection(scen)

Read socio-economic projections (population and GDP)

read_timer_gdp(datapath, material)

Read GDP per capita data for a given material from TIMER Excel files.

read_timer_pop(datapath, material)

Read population data for a given material from TIMER model.

Modules

config

math_util