Skip to content

Commit d214f6d

Browse files
committed
strengthen import limit for h2 derivatives
1 parent 6182a99 commit d214f6d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

scripts/pypsa-de/additional_functionality.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,10 +738,16 @@ def add_h2_derivate_limit(n, investment_year, limits_volume_max):
738738
].index
739739

740740
carrier_idx_dict = {
741+
# Every carrier should respect the limit individually
741742
"renewable_oil": 0,
742743
"methanol": 1,
743744
"renewable_gas": 2,
744-
"H2_derivate": [0, 1, 2],
745+
# Exports of one carrier should not compensate for imports of another carrier
746+
"H2_derivate_oil_meoh": [0, 1],
747+
"H2_derivate_oil_gas": [0, 2],
748+
"H2_derivate_meoh_gas": [1, 2],
749+
# The sum of all carriers should respect the limit
750+
"H2_derivate_oil_meoh_gas": [0, 1, 2],
745751
}
746752
for carrier, idx in carrier_idx_dict.items():
747753
cname = f"{carrier}_import_limit-{ct}"

0 commit comments

Comments
 (0)