message_ix_models.tools.bilateralize.prepare_edit

Prepare edit files for bilateralize tool

This script is the first step in implementing the bilateralize tool. It generates empty (or default valued) parameters that are required for

bilateralization, specified by commodity.

This step is optional in a workflow; users can move directly to the next

step (2_bare_to_scenario).

Functions

build_accounting_relations(tec, ...)

Relations for accounting purposes: CO2 emissions, primary energy total, aggregate exports, regional exports, regional imports

build_capacity_factor(tec, network_setup, ...)

Generate capacity factor parameter (trade technology)

build_constraints(tec, network_setup, ...)

Generate constraints for trade technology

build_costs(tec, network_setup, config_dict, ...)

Generate costs for trade technology

build_domestic_coalgas_relation(tec, ...)

Generate domestic coal and gas relation parameter (trade technology)

build_emission_factor(tec, network_setup, ...)

Generate emission factor parameter (trade technology)

build_flow_FIcosts(flow_tec, tec, ...)

Generate flow technology costs parameter

build_flow_Vcosts(flow_tec, tec, ...[, ...])

Generate flow technology variable costs parameter

build_flow_capacity_constraints(par, ...)

Generate flow technology capacity constraints parameter

build_flow_capacity_factor(flow_tec, tec, ...)

Generate flow technology capacity factor parameter

build_flow_input(flow_tec, tec, ...[, ...])

Generate flow technology input parameter

build_flow_output(flow_tec, tec, ...[, ...])

Generate flow technology output parameter

build_flow_technical_lifetime(flow_tec, tec, ...)

Generate flow technology technical lifetime parameter

build_historical_activity(tec, ...)

Generate costs for trade technology

build_input(tec, network_setup, config_dict, ...)

Generate input parameter (trade technology)

build_output(tec, network_setup, ...)

Generate output parameter (trade technology)

build_parameterdf(par_name, network_df, ...)

Build parameter dataframes based on the specified network dataframe.

build_technical_lifetime(tec, network_setup, ...)

Generate technical lifetime parameter (trade technology)

define_networks(log, message_regions, ...)

Define network dataframe

export_edit_files(covered_tec, log, ...)

Export edit files

flow_as_trade_input(flow_tec, tec, ...)

Generate flow technology as trade technology input parameter

folders_for_trade(covered_tec)

Generate folders for each trade technology

generate_edit_files(log[, project_name, ...])

Generate bare sheets to collect required parameters

prepare_edit_files([project_name, ...])

Prepare edit files for bilateralize tool