Skip to content

Commit

Permalink
Set H2 saltcaverns bidirectional
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaraBuettner committed Mar 2, 2025
1 parent 4fa2994 commit 73964fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etrago/execute/market_optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ def build_market_model(self, unit_commitment=False):

self.pre_market_model.links.loc[
self.pre_market_model.links.carrier.isin(
["CH4", "DC", "AC", "H2_grid"]), "p_min_pu"] = -1.0
["CH4", "DC", "AC", "H2_grid", "H2_saltcavern"]), "p_min_pu"] = -1.0

self.pre_market_model = adjust_PtH2_model(self)
logger.info("PtH2-Model adjusted in pre_market_network")
Expand Down Expand Up @@ -490,7 +490,7 @@ def build_shortterm_market_model(self, unit_commitment=False):
set_unit_commitment(self, apply_on="market_model")

self.market_model.links.loc[self.market_model.links.carrier.isin(
["CH4", "DC", "AC", "H2_grid"]), "p_min_pu"] = -1.0
["CH4", "DC", "AC", "H2_grid", "H2_saltcavern"]), "p_min_pu"] = -1.0

# Set country tags for market model
self.buses_by_country(apply_on="market_model")
Expand Down

0 comments on commit 73964fe

Please sign in to comment.