Skip to content

Commit 12ceab9

Browse files
authored
add lifetime to h2 steel tank (#1510)
* add lifetime to h2 steel tank * temporarily disable objective_check
1 parent abb6e38 commit 12ceab9

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

doc/release_notes.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Release Notes
1111
Upcoming Release
1212
================
1313

14+
* Bugfix: The missing lifetime attribute was added to hydrogen steel tanks, which is important for pathway planning.
15+
1416
* Bugfix: The length factor on the transmission lines haversine length was
1517
applied twice, once when calculating costs and once when clustering the
1618
network. Now it is only applied when calculating costs.

scripts/prepare_sector_network.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1439,9 +1439,7 @@ def add_storage_and_grids(n, costs):
14391439
)
14401440

14411441
# hydrogen stored overground (where not already underground)
1442-
h2_capital_cost = costs.at[
1443-
"hydrogen storage tank type 1 including compressor", "fixed"
1444-
]
1442+
tech = "hydrogen storage tank type 1 including compressor"
14451443
nodes_overground = h2_caverns.index.symmetric_difference(nodes)
14461444

14471445
n.add(
@@ -1451,7 +1449,8 @@ def add_storage_and_grids(n, costs):
14511449
e_nom_extendable=True,
14521450
e_cyclic=True,
14531451
carrier="H2 Store",
1454-
capital_cost=h2_capital_cost,
1452+
capital_cost=costs.at[tech, "fixed"],
1453+
lifetime=costs.at[tech, "lifetime"],
14551454
)
14561455

14571456
if options["gas_network"] or options["H2_retrofit"]:

0 commit comments

Comments
 (0)