pypsa.statistics.StatisticsAccessor.curtailment

pypsa.statistics.StatisticsAccessor.curtailment#

StatisticsAccessor.curtailment(comps=None, aggregate_time='sum', aggregate_groups='sum', groupby=None, at_port=False, bus_carrier=None, nice_names=None)#

Calculate the curtailment of components in the network in MWh.

The calculation only considers assets with a p_max_pu time series, which is used to quantify the available power potential.

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