pypsa.clustering.ClusteringAccessor.cluster_by_busmap

pypsa.clustering.ClusteringAccessor.cluster_by_busmap#

ClusteringAccessor.cluster_by_busmap(*args, **kwargs)#

Cluster the network spatially by busmap.

This function calls pypsa.clustering.spatial.get_clustering_from_busmap() internally. For more information, see the documentation of that function.

Returns:

network

Return type:

pypsa.Network