pypsa.statistics.StatisticsAccessor.expanded_capacity#
- StatisticsAccessor.expanded_capacity(comps: str | Sequence[str] | None = None, aggregate_groups: Callable | str = 'sum', aggregate_across_components: bool = False, groupby: str | Sequence[str] | Callable = 'carrier', at_port: str | Sequence[str] | bool | None = None, bus_carrier: str | Sequence[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.