pypsa.statistics.StatisticsAccessor.capex#
- StatisticsAccessor.capex(comps=None, aggregate_groups='sum', groupby=None, at_port=False, bus_carrier=None, nice_names=None, cost_attribute='capital_cost')#
Calculate the capital expenditure of the network in given currency.
If bus_carrier is given, only components which are connected to buses with carrier bus_carrier are considered.
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.