message_ix_models.tools.bilateralize.historical_calibration

Historical Calibration

Functions

build_hist_new_capacity_flow(infile, ship_type)

Build historical new capacity of a given maritime shipment (e.g., LNG tanker).

build_hist_new_capacity_trade([...])

Build historical new capacity based on activity.

build_historical_activity([message_regions, ...])

Build historical activity parameter dataframe.

build_historical_price([message_regions, ...])

Build historical price parameter dataframe.

check_iea_balances(indf[, project_name, ...])

Check against IEA balances.

convert_trade(message_regions[, ...])

Convert trade values to energy units.

generate_cfdict(message_regions[, ...])

Generate conversion factor dictionary.

import_iea_balances([project_name, config_name])

Import IEA balances and save as CSV.

import_iea_gas([project_name, config_name])

Import IEA data for LNG and pipeline gas.

import_uncomtrade([update_year, ...])

Import UN Comtrade data and link to conversion factors, save as CSV and pickle.

reformat_to_parameter(indf, message_regions, ...)

Aggregate UN Comtrade data to MESSAGE regions and set up historical activity parameter dataframe.

setup_datapath([project_name, config_name])

Set up data paths.