pypsa.statistics.StatisticsAccessor.capacity_factor

pypsa.statistics.StatisticsAccessor.capacity_factor#

StatisticsAccessor.capacity_factor(comps: str | Sequence[str] | None = None, aggregate_time: str | bool = 'mean', aggregate_groups: Callable | str = 'sum', aggregate_across_components: bool = False, at_port: bool | str | Sequence[str] = False, groupby: str | Sequence[str] | Callable = 'carrier', bus_carrier: str | Sequence[str] | None = None, nice_names: bool | None = None) DataFrame#

Calculate the capacity factor of components in the network.

If bus_carrier is given, only the assets are considered which are connected to buses with carrier bus_carrier.

For information on the list of arguments, see the docs in Network.statistics or pypsa.statistics.StatisticsAccessor.

Parameters:

aggregate_time (str, bool, optional) – Type of aggregation when aggregating time series. Note that for {‘mean’, ‘sum’} the time series are aggregated to using snapshot weightings. With False the time series is given. Defaults to ‘mean’.