pypsa.statistics.StatisticsAccessor.installed_capex

pypsa.statistics.StatisticsAccessor.installed_capex#

StatisticsAccessor.installed_capex(comps: Sequence[str] | str | None = None, aggregate_groups: Callable | str | bool = 'sum', groupby: Callable | None = None, at_port: Sequence[str] | str | bool = False, bus_carrier: Sequence[str] | str | None = None, nice_names: bool | None = None, cost_attribute: str = 'capital_cost') DataFrame#

Calculate the capital expenditure of already built components of the network in given 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.