pypsa.statistics.StatisticsAccessor.transmission

pypsa.statistics.StatisticsAccessor.transmission#

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

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

If bus_carrier is given, only the flow between buses with carrier bus_carrier is calculated.

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 MWh using snapshot weightings. With False the time series is given in MW. Defaults to ‘sum’.