Skip to content

Commit

Permalink
Fix issue of adding H2 store in add_extra_components rule (#1134)
Browse files Browse the repository at this point in the history
* fix issue of adding H2 store and make H2 Store in AC buses

* add release notes

* Add H2 Stores to both AC and DC buses
  • Loading branch information
yerbol-akhmetov authored and ekatef committed Oct 24, 2024
1 parent 029d49e commit 5c8df3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/add_extra_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def attach_stores(n, costs, config):

_add_missing_carriers_from_costs(n, costs, carriers)

buses_i = n.buses.query("carrier == 'AC'").index
buses_i = n.buses.index
bus_sub_dict = {k: n.buses[k].values for k in ["x", "y", "country"]}

if "H2" in carriers:
Expand Down

0 comments on commit 5c8df3f

Please sign in to comment.