pypsa.statistics.StatisticsAccessor.withdrawal

pypsa.statistics.StatisticsAccessor.withdrawal#

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

Calculate the withdrawal of components in the network. Units depend on the regarded bus carrier.

If bus_carrier is given, only the withdrawal from buses with carrier bus_carrier is calculated.

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