From 5d846e5de939f4ce29a0ec423fe99ed9b659db38 Mon Sep 17 00:00:00 2001 From: ClaraBuettner Date: Thu, 28 Sep 2023 09:59:13 +0200 Subject: [PATCH 1/2] Add missing parameters --- etrago/args.json | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/etrago/args.json b/etrago/args.json index 1ebcf89a1..8693f929f 100644 --- a/etrago/args.json +++ b/etrago/args.json @@ -57,7 +57,8 @@ "method": "kmedoids-dijkstra", "n_clusters_AC": 30, "cluster_foreign_AC": false, - "n_clusters_gas": 30, + "method_gas": "kmedoids-dijkstra", + "n_clusters_gas": 17, "cluster_foreign_gas": false, "k_elec_busmap": false, "k_gas_busmap": false, @@ -68,10 +69,11 @@ "line_length_factor": 1, "remove_stubs": false, "use_reduced_coordinates": false, - "random_state":42, + "random_state": 42, "n_init": 10, "max_iter": 100, - "tol": 1e-06 + "tol": 1e-6, + "CPU_cores": 4, }, "sector_coupled_clustering": { "active": true, @@ -88,10 +90,11 @@ "snapshot_clustering": { "active": false, "method": "segmentation", + "extreme_periods": null, "how": "daily", "storage_constraints": "soc_constraints", "n_clusters": 5, - "n_segments": 5 + "n_segments": 5, }, "skip_snapshots": 5, "temporal_disaggregation": { From b264ff55d06045a5272e68ecc2e0f1830b45100c Mon Sep 17 00:00:00 2001 From: ClaraBuettner Date: Thu, 5 Oct 2023 15:56:59 +0200 Subject: [PATCH 2/2] Limit version of tables, 3.9 does not support python3.8 anymore --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 5491991a3..7cfa7ab3e 100755 --- a/setup.py +++ b/setup.py @@ -65,6 +65,7 @@ def read(*names, **kwargs): "setuptools >= 54.2.0", "shapely", "sqlalchemy < 2", + "tables < 3.9", "tilemapbase == 0.4.5", "tsam", ],