Skip to content

Commit 9bd003e

Browse files
committed
clean up air separation units
1 parent c710de2 commit 9bd003e

8 files changed

+2167
-2172
lines changed

outputs/costs_2020.csv

+307-308
Large diffs are not rendered by default.

outputs/costs_2025.csv

+307-308
Large diffs are not rendered by default.

outputs/costs_2030.csv

+307-308
Large diffs are not rendered by default.

outputs/costs_2035.csv

+307-308
Large diffs are not rendered by default.

outputs/costs_2040.csv

+307-308
Large diffs are not rendered by default.

outputs/costs_2045.csv

+307-308
Large diffs are not rendered by default.

outputs/costs_2050.csv

+307-308
Large diffs are not rendered by default.

scripts/compile_cost_assumptions.py

+18-16
Original file line numberDiff line numberDiff line change
@@ -412,26 +412,28 @@ def get_data_DEA(tech, data_in, expectation=None):
412412

413413
if tech == "air separation unit":
414414

415-
# Calculate ASU cost separate to HB facility in terms of t N2 output
416-
# To add the cost of an ASU a multiplication factor of 1.06-1.09
417-
# should be applied to the total Specific Investment
415+
# Calculate ASU cost separate to HB facility in terms of t N2 output
418416
df.loc[[
419-
"Specific investment [MEUR /MW Ammonia output]",
420-
"Fixed O&M [kEUR/MW Ammonia/year]",
421-
"Variable O&M [EUR/MWh Ammonia]"
422-
]] *= df.loc["Specific investment mark-up factor optional ASU"]
423-
# / excel.loc["N2 Consumption, [t/t] Ammonia"]
424-
417+
"Specific investment [MEUR /TPD Ammonia output]",
418+
"Fixed O&M [kEUR /TPD Ammonia]",
419+
"Variable O&M [EUR /t Ammonia]"
420+
]] *= (df.loc["Specific investment mark-up factor optional ASU"] - 1.) / excel.loc["N2 Consumption, [t/t] Ammonia"]
421+
# Convert output to hourly generation
422+
df.loc[[
423+
"Specific investment [MEUR /TPD Ammonia output]",
424+
"Fixed O&M [kEUR /TPD Ammonia]",
425+
]] *= 24
426+
425427
# Rename costs for correct units
426-
# df.index = df.index.str.replace("MEUR /MW Ammonia output", "MEUR/MW_N2/h")
427-
# df.index = df.index.str.replace("kEUR/MW Ammonia/year", "kEUR/MW_N2/h/year")
428-
# df.index = df.index.str.replace("EUR/MWh Ammonia", "EUR/MWh_N2")
428+
df.index = df.index.str.replace("MEUR /TPD Ammonia output", "MEUR/t_N2/h")
429+
df.index = df.index.str.replace("kEUR /TPD Ammonia", "kEUR/t_N2/h/year")
430+
df.index = df.index.str.replace("EUR /t Ammonia", "EUR/t_N2")
429431

430432
df.drop(df.loc[df.index.str.contains("Specific investment mark-up factor optional ASU")].index, inplace=True)
431-
# df.drop(df.loc[df.index.str.contains("Specific investment [MEUR /MW Ammonia output]", regex=False)].index, inplace=True)
432-
# df.drop(df.loc[df.index.str.contains("Fixed O&M [kEUR/MW Ammonia/year]", regex=False)].index, inplace=True)
433-
# df.drop(df.loc[df.index.str.contains("Variable O&M [EUR/MWh Ammonia]", regex=False)].index, inplace=True)
434-
433+
df.drop(df.loc[df.index.str.contains("Specific investment [MEUR /MW Ammonia output]", regex=False)].index, inplace=True)
434+
df.drop(df.loc[df.index.str.contains("Fixed O&M [kEUR/MW Ammonia/year]", regex=False)].index, inplace=True)
435+
df.drop(df.loc[df.index.str.contains("Variable O&M [EUR/MWh Ammonia]", regex=False)].index, inplace=True)
436+
435437
if "solid biomass power" in tech:
436438
df.index = df.index.str.replace("EUR/MWeh", "EUR/MWh")
437439

0 commit comments

Comments
 (0)