fixup! cluster_network: Implement 'heuristic' potential clustering

This commit is contained in:
Jonas Hoersch 2019-01-02 17:54:07 +01:00
parent 495b6f8015
commit 0096b184a0

View File

@ -207,10 +207,10 @@ if __name__ == "__main__":
if snakemake.wildcards.clusters.endswith('m'): if snakemake.wildcards.clusters.endswith('m'):
n_clusters = int(snakemake.wildcards.clusters[:-1]) n_clusters = int(snakemake.wildcards.clusters[:-1])
aggregate_carriers = None # All aggregate_carriers = pd.Index(n.generators.carrier.unique()).difference(renewable_carriers)
else: else:
n_clusters = int(snakemake.wildcards.clusters) n_clusters = int(snakemake.wildcards.clusters)
aggregate_carriers = pd.Index(n.generators.carrier.unique()).difference(renewable_carriers) aggregate_carriers = None # All
if n_clusters == len(n.buses): if n_clusters == len(n.buses):
# Fast-path if no clustering is necessary # Fast-path if no clustering is necessary