Skip to content

Commit

Permalink
Fix 2025 industry energy demands for all SSPs
Browse files Browse the repository at this point in the history
  • Loading branch information
macflo8 committed Dec 6, 2024
1 parent 0e43ce2 commit 3f065eb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions message_ix_models/model/material/data_other_industry.py
Original file line number Diff line number Diff line change
Expand Up @@ -879,6 +879,10 @@ def gen_other_ind_demands(ssp):
df = pd.read_csv(
package_data_path("material", "other", "demand", f"{comm}_{ssp}.csv")
).rename(columns={"year_act": "year", "0": "value", "node_loc": "node"})
df_2025 = pd.read_csv(
package_data_path("material", "other", "demand", f"{comm}_SSP2.csv")
).rename(columns={"year_act": "year", "0": "value", "node_loc": "node"})
df = pd.concat([df[df["year"]!=2025], df_2025[df_2025["year"]==2025]])
df["commodity"] = comm
df["time"] = "year"
df["unit"] = "GWa"
Expand All @@ -888,6 +892,7 @@ def gen_other_ind_demands(ssp):


if __name__ == "__main__":
gen_other_ind_demands("SSP3")
import ixmp
import message_ix

Expand Down

0 comments on commit 3f065eb

Please sign in to comment.