pypsa.statistics.StatisticsAccessor.market_value

pypsa.statistics.StatisticsAccessor.market_value#

StatisticsAccessor.market_value(comps=None, aggregate_time='mean', aggregate_groups='sum', groupby=None, at_port=True, bus_carrier=None, nice_names=None)#

Calculate the market value of components in the network in given currency/MWh or currency/unit_{bus_carrier} where unit_{bus_carrier} is the unit of the bus carrier.

If bus_carrier is given, only the market value resulting from buses with carrier bus_carrier are 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 using snapshot weightings. With False the time series is given. Defaults to ‘mean’.