From df71b1a64c0e684cb7b98ba0fad09aa1ad7ceda5 Mon Sep 17 00:00:00 2001 From: Philipp Glaum <95913147+p-glaum@users.noreply.github.com> Date: Mon, 16 Sep 2024 15:02:42 +0200 Subject: [PATCH] remove MtO as long as there is no HVC bus (#1299) --- config/config.default.yaml | 1 - doc/configtables/sector.csv | 1 - scripts/prepare_sector_network.py | 53 ------------------------------- 3 files changed, 55 deletions(-) diff --git a/config/config.default.yaml b/config/config.default.yaml index a98a0af7..91e4af8d 100644 --- a/config/config.default.yaml +++ b/config/config.default.yaml @@ -648,7 +648,6 @@ sector: methanol_reforming: false methanol_reforming_cc: false methanol_to_kerosene: false - methanol_to_olefins: false methanol_to_power: ccgt: false ccgt_cc: false diff --git a/doc/configtables/sector.csv b/doc/configtables/sector.csv index 000927ce..08c903b8 100644 --- a/doc/configtables/sector.csv +++ b/doc/configtables/sector.csv @@ -131,7 +131,6 @@ methanol,--,--,Add methanol as carrrier and add enabled methnol technologies -- methanol_reforming,--,"{true, false}"," Add methanol reforming" -- methanol_reforming_cc,--,"{true, false}"," Add methanol reforming with carbon capture" -- methanol_to_kerosene,--,"{true, false}"," Add methanol to kerosene" --- methanol_to_olefins,--,"{true, false}"," Add methanol to olefins" -- methanol_to_power,--,--," Add different methanol to power technologies" -- -- ccgt,--,"{true, false}"," Add combined cycle gas turbine (CCGT) using methanol" -- -- ccgt_cc,--,"{true, false}"," Add combined cycle gas turbine (CCGT) with carbon capture using methanol" diff --git a/scripts/prepare_sector_network.py b/scripts/prepare_sector_network.py index 0821a4f0..f088b97c 100755 --- a/scripts/prepare_sector_network.py +++ b/scripts/prepare_sector_network.py @@ -927,56 +927,6 @@ def add_methanol_to_power(n, costs, types={}): ) -def add_methanol_to_olefins(n, costs): - nodes = spatial.nodes - nhours = n.snapshot_weightings.generators.sum() - nyears = nhours / 8760 - - tech = "methanol-to-olefins/aromatics" - - logger.info(f"Adding {tech}.") - - demand_factor = options["HVC_demand_factor"] - - industrial_production = ( - pd.read_csv(snakemake.input.industrial_production, index_col=0) - * 1e3 - * nyears # kt/a -> t/a - ) - - p_nom_max = ( - demand_factor - * industrial_production.loc[nodes, "HVC"] - / nhours - * costs.at[tech, "methanol-input"] - ) - - co2_release = ( - costs.at[tech, "carbondioxide-output"] / costs.at[tech, "methanol-input"] - + costs.at["methanolisation", "carbondioxide-input"] - ) - - n.madd( - "Link", - nodes, - suffix=f" {tech}", - carrier=tech, - capital_cost=costs.at[tech, "fixed"] / costs.at[tech, "methanol-input"], - marginal_cost=costs.at[tech, "VOM"] / costs.at[tech, "methanol-input"], - p_nom_extendable=True, - bus0=spatial.methanol.nodes, - bus1=spatial.oil.naphtha, - bus2=nodes, - bus3="co2 atmosphere", - p_min_pu=1, - p_nom_max=p_nom_max.values, - efficiency=1 / costs.at[tech, "methanol-input"], - efficiency2=-costs.at[tech, "electricity-input"] - / costs.at[tech, "methanol-input"], - efficiency3=co2_release, - ) - - def add_methanol_to_kerosene(n, costs): nodes = pop_layout.index nhours = n.snapshot_weightings.generators.sum() @@ -3771,9 +3721,6 @@ def add_industry(n, costs): efficiency3=process_co2_per_naphtha, ) - if options["methanol"]["methanol_to_olefins"]: - add_methanol_to_olefins(n, costs) - # aviation demand_factor = options.get("aviation_demand_factor", 1) if demand_factor != 1: