Skip to content

Commit c4284f2

Browse files
committed
strengthen import limit for h2 derivatives
1 parent add1a9b commit c4284f2

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
@@ -652,10 +652,16 @@ def add_h2_derivate_limit(n, investment_year, limits_volume_max):
652652
].index
653653

654654
carrier_idx_dict = {
655+
# Every carrier should respect the limit individually
655656
"renewable_oil": 0,
656657
"methanol": 1,
657658
"renewable_gas": 2,
658-
"H2_derivate": [0, 1, 2],
659+
# Exports of one carrier should not compensate for imports of another carrier
660+
"H2_derivate_oil_meoh": [0, 1],
661+
"H2_derivate_oil_gas": [0, 2],
662+
"H2_derivate_meoh_gas": [1, 2],
663+
# The sum of all carriers should respect the limit
664+
"H2_derivate_oil_meoh_gas": [0, 1, 2],
659665
}
660666
for carrier, idx in carrier_idx_dict.items():
661667
cname = f"{carrier}_import_limit-{ct}"

0 commit comments

Comments
 (0)