message_ix_models.tools.add_budget.main

message_ix_models.tools.add_budget.main(scen: Scenario, budget: float, adjust_cumulative: bool = False, type_emission: str = 'TCE', type_tec: str = 'all', type_year: str = 'cumulative', region: str = 'World', unit: str = 'tC') None[source]

Add a budget constraint to a given region.

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

  • budget – Budget in average tC.

  • adjust_cumulative – Option whether to adjust cumulative years to which the budget is applied to the optimization time horizon.

  • type_emission – type_emission for which the constraint should be applied. This element must already be defined in scen.

  • type_tec – Technology type for which the bound applies.

  • region – Region to which the bound applies.

  • unit – Unit in which the bound is provided.