message_ix_models.model.material.data_ammonia

Data and parameter generation for the ammonia fertilizer sector in MESSAGEix-Materials model.

This module provides functions to read, process, and generate parameter data for ammonia fertilizer technologies, demand, trade, and related constraints.

Functions

broadcast_years(df_new, max_lt, act_years, ...)

Broadcast parameter DataFrame over scenario years and vintages.

experiment_lower_CPA_SAS_costs(par_dict)

Lower coal and fueloil based production costs for CPA and SAS regions.

gen_all_NH3_fert(scenario[, dry_run])

Generate all MESSAGEix parameter data for the ammonia fertilizer sector.

gen_ccs_bounds(s_info)

Generate bounds for CCS technologies for 2020 and 2025.

gen_data(scenario, s_info[, lower_costs])

Generate time-independent parameter data for ammonia fertilizer technologies.

gen_data_rel(s_info)

Generate relation parameter data for ammonia fertilizer sector.

gen_data_ts(s_info)

Generate time-series parameter data for ammonia fertilizer sector.

gen_demand()

Generate adjusted i_feed demand with explicit ammonia demand.

gen_land_input(scenario)

Read fertilizer demand from GLOBIOM soft-link and return as land input parameter.

gen_resid_demand_NH3(scenario)

Generate residual demand for ammonia excluding fertilizer use.

read_demand()

Read and clean demand and trade data for ammonia fertilizer.

set_exp_imp_nodes(df)

Helper to set import/export node_dest/origin to GLB for input/output technologies