message_ix_models.tools.bilateralize.load_and_solve

Update MESSAGEix scenario(s) with bilateralized dictionary

This script is the third step in implementing the bilateralize tool. It updates a specified MESSAGEix scenario with the bilateralized dictionary. It then has options to solve the scenario within the ixmp database or save as a GDX data file for direct solve in GAMS.

Functions

add_trade_parameters(scen, log, trade_dict, tec)

Add parameters for bilateralized trade

add_trade_sets(scen, log, trade_dict, tec)

Add sets for trade technologies

load_and_clone(mp, log, config_base[, ...])

Load and clone scenario.

load_and_solve(trade_dict[, solve, to_gdx, ...])

Clone and update scenario.

remove_pao_coal_constraint(scen, log[, ...])

Remove PAO coal and gas constraints on MESSAGEix-GLOBIOM

remove_trade_tech(scen, log, config_tec, tec)

Remove existing trade technologies

save_to_gdx(mp, scenario, output_path)

Save the scenario to a GDX file.

solve_or_save(mp, scen[, solve, to_gdx, ...])

Solve or save scenario.

update_additional_parameters(scen[, ...])

Update additional parameters (separate from bilateralization)

update_bunker_fuels(scen, tec, log, config_tec)

Update bunker fuels

update_relation_parameters(scen, log, ...)

Update relation parameters