Skip to content

Commit 751ab3d

Browse files
committed
change industry:sector:ammonia to sector:ammonia to conform with upstream
1 parent c45d860 commit 751ab3d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

config/config.de.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ sector:
313313
rural: true
314314
co2_spatial: true
315315
biomass_spatial: true
316+
ammonia: false
316317
methanol:
317318
methanol_to_power:
318319
ocgt: false
@@ -367,7 +368,6 @@ sector:
367368

368369
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#industry
369370
industry:
370-
ammonia: false
371371
steam_biomass_fraction: 0.4
372372
steam_hydrogen_fraction: 0.3
373373
steam_electricity_fraction: 0.3

scripts/build_industry_sector_ratios.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
- process emission from feedstock
2424
- (ammonia)
2525
26-
If the `config["industry"]["ammonia"] <https://pypsa-eur.readthedocs.io/en/latest/configuration.html#industry>` is set to true the ammonia demand is not converted to hydrogen and electricity but is considered as a separate carrier.
26+
If the `config["ammonia"] <https://pypsa-eur.readthedocs.io/en/latest/configuration.html#industry>` is set to true the ammonia demand is not converted to hydrogen and electricity but is considered as a separate carrier.
2727
2828
The unit of the specific energy consumption is MWh/t material and tCO2/t material for process emissions.
2929
"""

scripts/pypsa-de/export_ariadne_variables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1911,7 +1911,7 @@ def get_final_energy(
19111911
h2_fossil_fraction = _get_h2_fossil_fraction(n)
19121912
oil_fractions = _get_fuel_fractions(n, region, "oil")
19131913

1914-
if config_industry["ammonia"]:
1914+
if config["sector"]["ammonia"]:
19151915
# MWh/a
19161916
Haber_Bosch_NH3 = (
19171917
n.statistics.supply(bus_carrier="NH3", **kwargs)

0 commit comments

Comments
 (0)