Skip to content

Commit

Permalink
Filter to only keep cooling technologies in inv_cost
Browse files Browse the repository at this point in the history
  • Loading branch information
measrainsey authored and adrivinca committed Nov 13, 2024
1 parent 96f04d5 commit 73e8a4b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions message_ix_models/model/water/data/water_for_ppl.py
Original file line number Diff line number Diff line change
Expand Up @@ -756,6 +756,9 @@ def cool_tech(context: "Context") -> dict[str, pd.DataFrame]:
# Remove technologies that are not required
inv_cost = inv_cost[~inv_cost["technology"].isin(techs_to_remove)]

# Only keep cooling module technologies by filtering for technologies with "__"
inv_cost = inv_cost[inv_cost["technology"].str.contains("__")]

# Add the investment costs to the results
results["inv_cost"] = inv_cost

Expand Down

0 comments on commit 73e8a4b

Please sign in to comment.