Skip to content

Commit

Permalink
Merge pull request #831 from PyPSA/haber-bosch-h2-input
Browse files Browse the repository at this point in the history
haber-bosch: use DECHEMA source for hydrogen & electricity input
  • Loading branch information
fneum authored Jan 2, 2024
2 parents f81886e + 84507fb commit ce1740b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions config/config.default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -548,8 +548,8 @@ industry:
MWh_NH3_per_tNH3: 5.166
MWh_CH4_per_tNH3_SMR: 10.8
MWh_elec_per_tNH3_SMR: 0.7
MWh_H2_per_tNH3_electrolysis: 6.5
MWh_elec_per_tNH3_electrolysis: 1.17
MWh_H2_per_tNH3_electrolysis: 5.93
MWh_elec_per_tNH3_electrolysis: 0.2473
MWh_NH3_per_MWh_H2_cracker: 1.46 # https://github.com/euronion/trace/blob/44a5ff8401762edbef80eff9cfe5a47c8d3c8be4/data/efficiencies.csv
NH3_process_emissions: 24.5
petrochemical_process_emissions: 25.5
Expand Down
2 changes: 2 additions & 0 deletions doc/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ Upcoming Release

* The ``mock_snakemake`` function can now be used with a Snakefile from a different directory using the new ``root_dir`` argument.

* Switch to using hydrogen and electricity inputs for Haber-Bosch from https://github.com/PyPSA/technology-data.

* Add option to capture CO2 contained in biogas when upgrading (``sector: biogas_to_gas_cc``).

* Merged option to extend geographical scope to Ukraine and Moldova. These
Expand Down
16 changes: 7 additions & 9 deletions scripts/prepare_sector_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -798,10 +798,6 @@ def add_ammonia(n, costs):
"Bus", spatial.ammonia.nodes, location=spatial.ammonia.locations, carrier="NH3"
)

MWh_elec_per_MWh_NH3 = (
cf_industry["MWh_elec_per_tNH3_electrolysis"] / cf_industry["MWh_NH3_per_tNH3"]
)

n.madd(
"Link",
nodes,
Expand All @@ -811,11 +807,13 @@ def add_ammonia(n, costs):
bus2=nodes + " H2",
p_nom_extendable=True,
carrier="Haber-Bosch",
efficiency=1 / MWh_elec_per_MWh_NH3,
efficiency2=-cf_industry["MWh_H2_per_tNH3_electrolysis"]
/ cf_industry["MWh_elec_per_tNH3_electrolysis"], # input: MW_H2 per MW_elec
capital_cost=costs.at["Haber-Bosch", "fixed"] / MWh_elec_per_MWh_NH3,
marginal_cost=costs.at["Haber-Bosch", "VOM"] / MWh_elec_per_MWh_NH3,
efficiency=1 / costs.at["Haber-Bosch", "electricity-input"],
efficiency2=-costs.at["Haber-Bosch", "hydrogen-input"]
/ costs.at["Haber-Bosch", "electricity-input"],
capital_cost=costs.at["Haber-Bosch", "fixed"]
/ costs.at["Haber-Bosch", "electricity-input"],
marginal_cost=costs.at["Haber-Bosch", "VOM"]
/ costs.at["Haber-Bosch", "electricity-input"],
lifetime=costs.at["Haber-Bosch", "lifetime"],
)

Expand Down

0 comments on commit ce1740b

Please sign in to comment.