Skip to content

Commit

Permalink
change units for biomass-to-methanol
Browse files Browse the repository at this point in the history
  • Loading branch information
lisazeyen committed Feb 6, 2024
1 parent b0fbb1a commit c710de2
Show file tree
Hide file tree
Showing 8 changed files with 2,161 additions and 2,159 deletions.
616 changes: 308 additions & 308 deletions outputs/costs_2020.csv

Large diffs are not rendered by default.

616 changes: 308 additions & 308 deletions outputs/costs_2025.csv

Large diffs are not rendered by default.

616 changes: 308 additions & 308 deletions outputs/costs_2030.csv

Large diffs are not rendered by default.

616 changes: 308 additions & 308 deletions outputs/costs_2035.csv

Large diffs are not rendered by default.

616 changes: 308 additions & 308 deletions outputs/costs_2040.csv

Large diffs are not rendered by default.

616 changes: 308 additions & 308 deletions outputs/costs_2045.csv

Large diffs are not rendered by default.

616 changes: 308 additions & 308 deletions outputs/costs_2050.csv

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions scripts/compile_cost_assumptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -744,9 +744,11 @@ def clean_up_units(tech_data, value_column="", source=""):

tech_data.unit = tech_data.unit.str.replace("FT Liquids Output, MWh/MWh Total Inpu", "MWh_FT/MWh_H2")
# biomass-to-methanol-specific
tech_data.unit = tech_data.unit.str.replace("Methanol Output, MWh/MWh Total Inpu", "MWh_MeOH/MWh_th")
tech_data.unit = tech_data.unit.str.replace("District heat Output, MWh/MWh Total Inpu", "MWh_th/MWh_th")
tech_data.unit = tech_data.unit.str.replace("Electricity Output, MWh/MWh Total Inpu", "MWh_e/MWh_th")
if isinstance(tech_data.index, pd.MultiIndex):
tech_data.loc[tech_data.index.get_level_values(1)=="Methanol Output,", "unit"] = "MWh_MeOH/MWh_th"
tech_data.loc[tech_data.index.get_level_values(1)=='District heat Output,', "unit"] = "MWh_th/MWh_th"
tech_data.loc[tech_data.index.get_level_values(1)=='Electricity Output,', "unit"] = "MWh_e/MWh_th"

# Ammonia-specific
tech_data.unit = tech_data.unit.str.replace("MW Ammonia output", "MW_NH3") #specific investment
tech_data.unit = tech_data.unit.str.replace("MW Ammonia", "MW_NH3") #fom
Expand Down

0 comments on commit c710de2

Please sign in to comment.