Skip to content

Commit 9eae93b

Browse files
fix technology-dependent parameters, adjust test
1 parent cce4007 commit 9eae93b

File tree

9 files changed

+14
-13
lines changed

9 files changed

+14
-13
lines changed

outputs/costs_2020.csv

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,6 @@ biogas CC,lifetime,20.0,years,"Danish Energy Agency, inputs/data_sheets_for_rene
648648
biogas manure,fuel,19.7575,EUR/MWhth,"JRC ENSPRESO ca avg for MINBIOGAS1 (manure), ENS_BaU_GFTM",,2010.0
649649
biogas plus hydrogen,FOM,4.0,%/year,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx",99 SNG from methan. of biogas: Fixed O&M,2020.0
650650
biogas plus hydrogen,VOM,4.5939,EUR/MWh_CH4,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx",99 SNG from methan. of biogas: Variable O&M,2020.0
651-
biogas plus hydrogen,efficiency,0.001,per unit,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx","99 SNG from methan. of biogas: District Heating Output,",2020.0
652651
biogas plus hydrogen,investment,964.7165,EUR/kW_CH4,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx",99 SNG from methan. of biogas: Specific investment,2020.0
653652
biogas plus hydrogen,lifetime,25.0,years,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx",99 SNG from methan. of biogas: Technical lifetime,2020.0
654653
biogas upgrading,FOM,17.0397,%/year,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx","82 Upgrading 3,000 Nm3 per h: Fixed O&M ",2020.0

outputs/costs_2025.csv

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,6 @@ biogas CC,lifetime,20.0,years,"Danish Energy Agency, inputs/data_sheets_for_rene
648648
biogas manure,fuel,19.8126,EUR/MWhth,"JRC ENSPRESO ca avg for MINBIOGAS1 (manure), ENS_BaU_GFTM",,2010.0
649649
biogas plus hydrogen,FOM,4.0,%/year,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx",99 SNG from methan. of biogas: Fixed O&M,2020.0
650650
biogas plus hydrogen,VOM,4.2111,EUR/MWh_CH4,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx",99 SNG from methan. of biogas: Variable O&M,2020.0
651-
biogas plus hydrogen,efficiency,0.001,per unit,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx","99 SNG from methan. of biogas: District Heating Output,",2020.0
652651
biogas plus hydrogen,investment,884.3234,EUR/kW_CH4,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx",99 SNG from methan. of biogas: Specific investment,2020.0
653652
biogas plus hydrogen,lifetime,25.0,years,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx",99 SNG from methan. of biogas: Technical lifetime,2020.0
654653
biogas upgrading,FOM,17.0397,%/year,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx","82 Upgrading 3,000 Nm3 per h: Fixed O&M ",2020.0

outputs/costs_2030.csv

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,6 @@ biogas CC,lifetime,20.0,years,"Danish Energy Agency, inputs/data_sheets_for_rene
648648
biogas manure,fuel,19.8676,EUR/MWhth,"JRC ENSPRESO ca avg for MINBIOGAS1 (manure), ENS_BaU_GFTM",,2010.0
649649
biogas plus hydrogen,FOM,4.0,%/year,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx",99 SNG from methan. of biogas: Fixed O&M,2020.0
650650
biogas plus hydrogen,VOM,3.8282,EUR/MWh_CH4,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx",99 SNG from methan. of biogas: Variable O&M,2020.0
651-
biogas plus hydrogen,efficiency,0.001,per unit,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx","99 SNG from methan. of biogas: District Heating Output,",2020.0
652651
biogas plus hydrogen,investment,803.9304,EUR/kW_CH4,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx",99 SNG from methan. of biogas: Specific investment,2020.0
653652
biogas plus hydrogen,lifetime,25.0,years,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx",99 SNG from methan. of biogas: Technical lifetime,2020.0
654653
biogas upgrading,FOM,17.0397,%/year,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx","82 Upgrading 3,000 Nm3 per h: Fixed O&M ",2020.0

outputs/costs_2035.csv

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,6 @@ biogas CC,lifetime,20.0,years,"Danish Energy Agency, inputs/data_sheets_for_rene
648648
biogas manure,fuel,19.8729,EUR/MWhth,"JRC ENSPRESO ca avg for MINBIOGAS1 (manure), ENS_BaU_GFTM",,2010.0
649649
biogas plus hydrogen,FOM,4.0,%/year,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx",99 SNG from methan. of biogas: Fixed O&M,2020.0
650650
biogas plus hydrogen,VOM,3.4454,EUR/MWh_CH4,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx",99 SNG from methan. of biogas: Variable O&M,2020.0
651-
biogas plus hydrogen,efficiency,0.001,per unit,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx","99 SNG from methan. of biogas: District Heating Output,",2020.0
652651
biogas plus hydrogen,investment,723.5374,EUR/kW_CH4,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx",99 SNG from methan. of biogas: Specific investment,2020.0
653652
biogas plus hydrogen,lifetime,25.0,years,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx",99 SNG from methan. of biogas: Technical lifetime,2020.0
654653
biogas upgrading,FOM,17.3842,%/year,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx","82 Upgrading 3,000 Nm3 per h: Fixed O&M ",2020.0

outputs/costs_2040.csv

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,6 @@ biogas CC,lifetime,20.0,years,"Danish Energy Agency, inputs/data_sheets_for_rene
648648
biogas manure,fuel,19.8782,EUR/MWhth,"JRC ENSPRESO ca avg for MINBIOGAS1 (manure), ENS_BaU_GFTM",,2010.0
649649
biogas plus hydrogen,FOM,4.0,%/year,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx",99 SNG from methan. of biogas: Fixed O&M,2020.0
650650
biogas plus hydrogen,VOM,3.0626,EUR/MWh_CH4,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx",99 SNG from methan. of biogas: Variable O&M,2020.0
651-
biogas plus hydrogen,efficiency,0.001,per unit,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx","99 SNG from methan. of biogas: District Heating Output,",2020.0
652651
biogas plus hydrogen,investment,643.1443,EUR/kW_CH4,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx",99 SNG from methan. of biogas: Specific investment,2020.0
653652
biogas plus hydrogen,lifetime,25.0,years,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx",99 SNG from methan. of biogas: Technical lifetime,2020.0
654653
biogas upgrading,FOM,17.8139,%/year,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx","82 Upgrading 3,000 Nm3 per h: Fixed O&M ",2020.0

outputs/costs_2045.csv

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,6 @@ biogas CC,lifetime,20.0,years,"Danish Energy Agency, inputs/data_sheets_for_rene
648648
biogas manure,fuel,19.9144,EUR/MWhth,"JRC ENSPRESO ca avg for MINBIOGAS1 (manure), ENS_BaU_GFTM",,2010.0
649649
biogas plus hydrogen,FOM,4.0,%/year,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx",99 SNG from methan. of biogas: Fixed O&M,2020.0
650650
biogas plus hydrogen,VOM,2.6798,EUR/MWh_CH4,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx",99 SNG from methan. of biogas: Variable O&M,2020.0
651-
biogas plus hydrogen,efficiency,0.001,per unit,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx","99 SNG from methan. of biogas: District Heating Output,",2020.0
652651
biogas plus hydrogen,investment,562.7513,EUR/kW_CH4,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx",99 SNG from methan. of biogas: Specific investment,2020.0
653652
biogas plus hydrogen,lifetime,25.0,years,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx",99 SNG from methan. of biogas: Technical lifetime,2020.0
654653
biogas upgrading,FOM,17.4434,%/year,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx","82 Upgrading 3,000 Nm3 per h: Fixed O&M ",2020.0

outputs/costs_2050.csv

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,6 @@ biogas CC,lifetime,20.0,years,"Danish Energy Agency, inputs/data_sheets_for_rene
648648
biogas manure,fuel,19.9506,EUR/MWhth,"JRC ENSPRESO ca avg for MINBIOGAS1 (manure), ENS_BaU_GFTM",,2010.0
649649
biogas plus hydrogen,FOM,4.0,%/year,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx",99 SNG from methan. of biogas: Fixed O&M,2020.0
650650
biogas plus hydrogen,VOM,2.2969,EUR/MWh_CH4,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx",99 SNG from methan. of biogas: Variable O&M,2020.0
651-
biogas plus hydrogen,efficiency,0.001,per unit,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx","99 SNG from methan. of biogas: District Heating Output,",2020.0
652651
biogas plus hydrogen,investment,482.3582,EUR/kW_CH4,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx",99 SNG from methan. of biogas: Specific investment,2020.0
653652
biogas plus hydrogen,lifetime,25.0,years,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx",99 SNG from methan. of biogas: Technical lifetime,2020.0
654653
biogas upgrading,FOM,17.0397,%/year,"Danish Energy Agency, inputs/data_sheets_for_renewable_fuels.xlsx","82 Upgrading 3,000 Nm3 per h: Fixed O&M ",2020.0

scripts/compile_cost_assumptions.py

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -809,6 +809,16 @@ def get_data_DEA(
809809
"Heat generation from geothermal heat (MJ/s)",
810810
]
811811

812+
if tech_name == "methanolisation":
813+
parameters += ["District heating"]
814+
815+
if tech_name == "Fischer-Tropsch":
816+
parameters += ["District Heat Output,"]
817+
818+
if tech_name == "Haber-Bosch":
819+
parameters += ["High value heat Output", "District Heating Output,"]
820+
821+
812822
df = pd.DataFrame()
813823
for para in parameters:
814824
# attr = excel[excel.index.str.contains(para)]
@@ -869,11 +879,9 @@ def get_data_DEA(
869879

870880
if tech_name == "methanolisation":
871881
df.drop(df.loc[df.index.str.contains("1,000 t Methanol")].index, inplace=True)
872-
parameters += ["District heating"]
873882

874883
if tech_name == "Fischer-Tropsch":
875884
df.drop(df.loc[df.index.str.contains("l FT Liquids")].index, inplace=True)
876-
parameters += ["District Heat Output,"]
877885

878886
if tech_name == "biomass boiler":
879887
df.drop(
@@ -908,7 +916,6 @@ def get_data_DEA(
908916
].index,
909917
inplace=True,
910918
)
911-
parameters = ["High value heat Output", "District Heating Output,"]
912919

913920
if tech_name == "air separation unit":
914921
divisor = (
@@ -2101,6 +2108,7 @@ def order_data(years: list, technology_dataframe: pd.DataFrame) -> pd.DataFrame:
21012108
patterns = ["High value heat Output", "District Heating Output,"]
21022109

21032110
# Find all matching heat recovery rows
2111+
breakpoint()
21042112
heat_masks = [
21052113
efficiency.index.str.contains(pattern) for pattern in patterns
21062114
]

test/test_compile_cost_assumptions.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,10 +242,10 @@ def test_get_data_from_dea(config):
242242
"BtL": (6, 9),
243243
"biomass-to-methanol": (8, 9),
244244
"biogas plus hydrogen": (6, 9),
245-
"methanolisation": (7, 9),
246-
"Fischer-Tropsch": (6, 9),
245+
"methanolisation": (8, 9),
246+
"Fischer-Tropsch": (7, 9),
247247
"central hydrogen CHP": (8, 9),
248-
"Haber-Bosch": (10, 9),
248+
"Haber-Bosch": (12, 9),
249249
"air separation unit": (7, 9),
250250
"waste CHP": (16, 9),
251251
"waste CHP CC": (16, 9),

0 commit comments

Comments
 (0)