message_ix_models.model.bmt.workflow.prep_for_macro

message_ix_models.model.bmt.workflow.prep_for_macro(context: Context, scenario: Scenario) Scenario[source]

Prepare scenario for MACRO calibration.

  1. Adjust cat_year by removing initializeyear_macro and baseyear_macro, so that MACRO years are not active yet.

  2. Adjust sector set, by removing rc_spec, rc_therm, and transport.

  3. Solve with model="MESSAGE" only.

This function should be after cloning with shift_first_model_year=2030.