Skip to content

Commit

Permalink
Remove forgotten lines
Browse files Browse the repository at this point in the history
  • Loading branch information
glatterf42 committed May 17, 2024
1 parent 2346112 commit d807b14
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions message_ix/tests/test_feature_price_emission.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ def add_two_tecs(scen, years):

for y in years:
# the dirty technology is free (no costs) but has emissions
tec_specs = ["node", "dirty_tec", y, y, "mode"]
scen.add_par(
"output",
make_df(
Expand Down Expand Up @@ -69,7 +68,6 @@ def add_two_tecs(scen, years):
)

# the clean technology has variable costs but no emissions
tec_specs = ["node", "clean_tec", y, y, "mode"]
scen.add_par(
"output",
make_df(
Expand All @@ -88,7 +86,6 @@ def add_two_tecs(scen, years):
unit="GWa",
),
)
scen.add_par("var_cost", tec_specs + ["year"], 1, "USD/GWa")
scen.add_par(
"var_cost",
make_df(
Expand Down
4 changes: 4 additions & 0 deletions tutorial/westeros/westeros_emissions_taxes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
"metadata": {},
"outputs": [],
"source": [
"import message_ix\n",
"\n",
"model = \"Westeros Electrified\"\n",
"base = message_ix.Scenario(mp, model=model, scenario=\"baseline\")"
]
Expand Down Expand Up @@ -136,6 +138,8 @@
"metadata": {},
"outputs": [],
"source": [
"from message_ix.util import make_df\n",
"\n",
"horizon = [700, 710, 720]\n",
"\n",
"bd_emission = make_df(\n",
Expand Down

0 comments on commit d807b14

Please sign in to comment.