pypsa.statistics.StatisticsAccessor.expanded_capacity

pypsa.statistics.StatisticsAccessor.expanded_capacity#

StatisticsAccessor.expanded_capacity(comps: Sequence[str] | str | None = None, aggregate_groups: Callable | str | bool = 'sum', groupby: Callable | None = None, at_port: Sequence[str] | str | bool | None = None, bus_carrier: Sequence[str] | str | None = None, nice_names: bool | None = None) DataFrame#

Calculate the expanded capacity of the network components in MW. Positive capacity values correspond to production capacities and negative values to consumption capacities.

If bus_carrier is given, the capacity is weighted by the output efficiency of bus_carrier.

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