Skip to content

Commit

Permalink
Update demo
Browse files Browse the repository at this point in the history
  • Loading branch information
measrainsey committed Sep 17, 2023
1 parent 9473cc7 commit e8aefbf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions message_ix_models/tools/costs/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
# By default, the create_cost_projections() function will run for R12, with NAM as
# reference region, using GDP as the cost driver, and the updated data version.
# The function will also run for all SSP scenarios, and for all years from 2021 to 2100.
default = create_cost_projections()
inv, fix = create_cost_projections()

# Example 1: Get cost projections for SSP2 scenario in R12, using GDP (updated data)
r12_gdp_ssp2 = create_cost_projections(
inv, fix = create_cost_projections(
sel_node="r12",
sel_ref_region="R12_NAM",
sel_base_year=2021,
Expand All @@ -17,7 +17,7 @@

# Example 2: Get cost projections in R11 (with WEU as reference region), using learning
# (this will run for all SSP scenarios)
r11_learning = create_cost_projections(
inv, fix = create_cost_projections(
sel_node="r11",
sel_ref_region="R11_WEU",
sel_base_year=2021,
Expand All @@ -26,11 +26,11 @@
)

# Example 3: Get cost projections in R12, using convergence
r12_convergence = create_cost_projections(
inv, fix = create_cost_projections(
sel_node="r12",
sel_base_year=2021,
sel_method="convergence",
)

# Example 4: Get cost projections in R11 using previous/original SSP scenarios
r11_previous = create_cost_projections(sel_node="r11", sel_scenario_version="original")
inv, fix = create_cost_projections(sel_node="r11", sel_scenario_version="original")

0 comments on commit e8aefbf

Please sign in to comment.