openego / eTraGo

Optimization of flexibility options for transmission grids based on PyPSA
GNU Affero General Public License v3.0
30 stars 13 forks source link

network_clustering dict missing key "CPU_cores" & "method_gas" #666

Closed IsGut closed 9 months ago

IsGut commented 9 months ago

https://github.com/openego/eTraGo/blob/dev/etrago/args.json#L55

network_clustering dict missing key CPU_cores & method_gas, e.g. "CPU_cores": 64, # number of cores used during clustering, "max" for all cores available. "method_gas": "kmedoids-dijkstra", # choose clustering method: kmeans or kmedoids-dijkstra

"network_clustering": { "active": True, # choose if clustering is activated "method": "kmedoids-dijkstra", # choose clustering method: kmeans or kmedoids-dijkstra "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": 30, # total number of resulting CH4 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 "bus_weight_tocsv": None, # None or path/to/bus_weight.csv "bus_weight_fromcsv": None, # None or path/to/bus_weight.csv "gas_weight_tocsv": None, # None or path/to/gas_bus_weight.csv "gas_weight_fromcsv": None, # None or path/to/gas_bus_weight.csv "line_length_factor": 1, # Factor to multiply distance between new buses for new line lengths "remove_stubs": False, # remove stubs bevore kmeans clustering "use_reduced_coordinates": False, # If True, do not average cluster coordinates "random_state": 42, # random state for replicability of clustering results "n_init": 10, # affects clustering algorithm, only change when neccesary "max_iter": 100, # affects clustering algorithm, only change when neccesary "tol": 1e-6, # affects clustering algorithm, only change when neccesary "CPU_cores": 64, # number of cores used during clustering, "max" for all cores available. },