You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the current implementation of pypsa.Network.statistics the country-specific system costs cannot be retrieved as they currently are in the function get_economy. Links, that do not have a country assigned are not included in the calculation using the grouper get_country_and_carrier. Instead the grouper get_bus_and_carrier could be used, as it allows to filter for components of a specific country using the bus id. However, the CAPEX of transnational interconnector components such as AC lines, DC links or pipelines, would still have to be adjusted, as the costs should not be exclusively attributed to one country.
One possible solution could look like this assuming an equal distribution of costs between the two countries that are connected by an interconnector component:
With the current implementation of
pypsa.Network.statistics
the country-specific system costs cannot be retrieved as they currently are in the functionget_economy
. Links, that do not have a country assigned are not included in the calculation using the grouperget_country_and_carrier
. Instead the grouperget_bus_and_carrier
could be used, as it allows to filter for components of a specific country using the bus id. However, the CAPEX of transnational interconnector components such as AC lines, DC links or pipelines, would still have to be adjusted, as the costs should not be exclusively attributed to one country.pypsa-de/scripts/pypsa-de/export_ariadne_variables.py
Line 4160 in c1e59d1
The text was updated successfully, but these errors were encountered: