Skip to content

Commit

Permalink
Merge pull request #775 from openego/features/#766_develop_H2_grid_cl…
Browse files Browse the repository at this point in the history
…ustering

Features/#766 develop h2 grid clustering
  • Loading branch information
CarlosEpia authored Feb 10, 2025
2 parents ef7113e + 0064f43 commit cb96f67
Show file tree
Hide file tree
Showing 4 changed files with 165 additions and 84 deletions.
10 changes: 8 additions & 2 deletions etrago/appl.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@
"n_clusters_AC": 30, # total number of resulting AC nodes (DE+foreign)
"cluster_foreign_AC": False, # take foreign AC buses into account, True or False
"method_gas": "kmedoids-dijkstra", # choose clustering method: kmeans or kmedoids-dijkstra
"n_clusters_gas": 14, # total number of resulting CH4 nodes (DE+foreign)
"n_clusters_gas": 15, # total number of resulting CH4 nodes (DE+foreign)
"n_clusters_h2": 15, # total number of resulting H2 nodes (DE+foreign)
"cluster_foreign_gas": False, # take foreign CH4 buses into account, True or False
"k_elec_busmap": False, # False or path/to/busmap.csv
"k_gas_busmap": False, # False or path/to/ch4_busmap.csv
Expand Down Expand Up @@ -461,7 +462,12 @@ def run_etrago(args, json_path):
Defines total number of resulting CH4 nodes including DE and
foreign nodes if `cluster_foreign_gas` is set to True, otherwise
only DE nodes.
Default: 17.
Default: 14.
* "n_clusters_h2" : int
Defines total number of resulting H2 nodes including DE and
foreign nodes if `cluster_foreign_gas` is set to True, otherwise
only DE nodes.
Default: 14.
* "cluster_foreign_gas" : bool
If set to False, the gas buses outside Germany are not clustered
and the buses inside Germany are clustered to complete
Expand Down
3 changes: 2 additions & 1 deletion etrago/args.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@
"n_clusters_AC": 30,
"cluster_foreign_AC": false,
"method_gas": "kmedoids-dijkstra",
"n_clusters_gas": 17,
"n_clusters_gas": 15,
"n_clusters_h2": 15,
"cluster_foreign_gas": false,
"k_elec_busmap": false,
"k_gas_busmap": false,
Expand Down
Loading

0 comments on commit cb96f67

Please sign in to comment.