pypsa.statistics.StatisticsAccessor.expanded_capex

pypsa.statistics.StatisticsAccessor.expanded_capex#

StatisticsAccessor.expanded_capex(comps: str | Sequence[str] | None = None, 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, cost_attribute: str = 'capital_cost') DataFrame#

Calculate the capex of expanded capacities of the network components in currency.

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

Parameters:

cost_attribute (str) – Network attribute that should be used to calculate Capital Expenditure. Defaults to capital_cost.