Skip to content

Commit

Permalink
Fix calc results functions
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaraBuettner committed Mar 29, 2023
1 parent 36f2735 commit 5becb5e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion etrago/tools/calc_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ def system_costs_germany(self):
"""

network_de = self.german_network
network_de = self.german_network()

marginal_cost = 0
invest_cost = 0
Expand Down
14 changes: 10 additions & 4 deletions etrago/tools/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
calc_etrago_results,
dc_export,
dc_export_per_country,
german_network,
system_costs_germany,
)
from etrago.tools.execute import (
dispatch_disaggregation,
Expand Down Expand Up @@ -246,22 +248,26 @@ def __init__(

calc_results = calc_etrago_results

calc_ac_export = ac_export()
calc_ac_export = ac_export

calc_ac_export_per_country = ac_export_per_country()
calc_ac_export_per_country = ac_export_per_country

calc_dc_export = dc_export()
calc_dc_export = dc_export

calc_dc_export_per_country = dc_export_per_country()
calc_dc_export_per_country = dc_export_per_country

export_to_csv = export_to_csv

filter_links_by_carrier = filter_links_by_carrier

german_network = german_network

set_line_costs = set_line_costs

set_trafo_costs = set_trafo_costs

system_costs_germany = system_costs_germany

drop_sectors = drop_sectors

buses_by_country = buses_by_country
Expand Down

0 comments on commit 5becb5e

Please sign in to comment.