pypsa-eur/scripts
Koen van Greevenbroek f7ee47238a Fix random state for kmean clustering
When the kmeans algorithm is used to cluster networks, this is not
deterministic by default. The result is that repeated runs of the
`simplify_network` and `cluster_network` rules can and usually do
produce different results that vary somewhat randomly. This makes
results less reproducible when given only a pypsa-eur configuration
file.

The fix is to supply a fixed random state to the k-means algorithm.
2022-02-10 15:57:16 +01:00
..
_helpers.py use snakemake keywords directly without extracting them beforehand 2022-01-24 19:48:26 +01:00
add_electricity.py use snakemake keywords directly without extracting them beforehand 2022-01-24 19:48:26 +01:00
add_extra_components.py use snakemake keywords directly without extracting them beforehand 2022-01-24 19:48:26 +01:00
base_network.py address pandas 1.4 deprectations 2022-01-29 16:17:46 +01:00
build_bus_regions.py use snakemake keywords directly without extracting them beforehand 2022-01-24 19:48:26 +01:00
build_cutout.py use snakemake keywords directly without extracting them beforehand 2022-01-24 19:48:26 +01:00
build_hydro_profile.py use snakemake keywords directly without extracting them beforehand 2022-01-24 19:48:26 +01:00
build_load_data.py use snakemake keywords directly without extracting them beforehand 2022-01-24 19:48:26 +01:00
build_natura_raster.py move snakemake keys (input, output, config, ...) to own variables 2022-01-14 11:05:15 +01:00
build_powerplants.py address pandas 1.4 deprectations 2022-01-29 16:17:46 +01:00
build_renewable_profiles.py bugfix: access right config variables in build renewable profiles 2022-02-01 08:51:47 +01:00
build_shapes.py address pandas 1.4 deprectations 2022-01-29 16:17:46 +01:00
cluster_network.py Fix random state for kmean clustering 2022-02-10 15:57:16 +01:00
make_summary.py fix small bugs 2022-01-14 15:13:44 +01:00
plot_network.py move snakemake keys (input, output, config, ...) to own variables 2022-01-14 11:05:15 +01:00
plot_p_nom_max.py fix small bugs 2022-01-14 15:13:44 +01:00
plot_summary.py remove snakemake dependencies in plot_summary 2022-01-14 13:44:33 +01:00
prepare_links_p_nom.py move snakemake keys (input, output, config, ...) to own variables 2022-01-14 11:05:15 +01:00
prepare_network.py use snakemake keywords directly without extracting them beforehand 2022-01-24 19:48:26 +01:00
retrieve_databundle.py use snakemake keywords directly without extracting them beforehand 2022-01-24 19:48:26 +01:00
simplify_network.py address pandas 1.4 deprectations 2022-01-29 16:17:46 +01:00
solve_network.py use snakemake keywords directly without extracting them beforehand 2022-01-24 19:48:26 +01:00
solve_operations_network.py use snakemake keywords directly without extracting them beforehand 2022-01-24 19:48:26 +01:00