message_ix_models.tools.bilateralize.utils.load_config

message_ix_models.tools.bilateralize.utils.load_config(project_name: str | None = None, config_name: str | None = None, load_tec_config: bool = False)[source]

Load config file and optional trade-specific config files.

Parameters:
  • project_name – Name of the project (message_ix_models/project/[THIS])

  • config_name – Name of the base config file (e.g., config.yaml)

  • load_tec_config – If True, load the trade-specific config files

Returns:

Config dictionary (base config) config_path: Path to the config file tec_config_dict: Dictionary of trade-specific config file

Return type:

config