message_ix_models.tools.add_CO2_emission_constraint.main

message_ix_models.tools.add_CO2_emission_constraint.main(scen: Scenario, relation_name: str, constraint_value: float, type_rel: str, reg: str = 'R11_GLB') None[source]

Add bound for generic relation at the global level.

This specific bound added to the scenario can be used to account for CO2 emissions.

Parameters:
  • scen – Scenario to which changes should be applied.

  • relation_name – Name of the generic relation for which the limit should be set.

  • constraint_value – Value to which the constraint should be set.

  • type_rel – Relation type (lower or upper).

  • reg (str (Default=``’R11_GLB’``)) – Node in scen to which constraint should be applied.