Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove MtO as long as there is no HVC bus #1299

Merged
merged 1 commit into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion config/config.default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion doc/configtables/sector.csv
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
53 changes: 0 additions & 53 deletions scripts/prepare_sector_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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:
Expand Down
Loading