pypsa.clustering.ClusteringAccessor.cluster_by_busmap

pypsa.clustering.ClusteringAccessor.cluster_by_busmap#

ClusteringAccessor.cluster_by_busmap(*args: Any, **kwargs: Any) Clustering#

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:

n

Return type:

pypsa.Network