Skip to content

Commit

Permalink
fixed bug in summary script
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasFrankenQ committed Nov 29, 2023
1 parent 8322b22 commit b11d769
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ scenario:
# - 'FS' # Falling Short
- 'LW' # Leading the Way
year: # year of Future Energy Scenario modelled
# - 2040
- 2050
# - 2025
# - 2030
- 2030
# - 2035
- 2050
- 2040
flexopts:
- ""
- "ss"
- "cosy" # EVs with go-like tariff
- "tank" # intelligent EV charging; centrally optimal charging of EV fleet
- "go" # intelligent EV charging; centrally optimal charging of EV fleet
- "cosy"
- "tank"
- "go"
- "int-v2g"
- "go-cosy"
- "int-v2g-tank"
Expand Down
2 changes: 1 addition & 1 deletion scripts/make_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ def to_csv(df):

df = make_summaries(networks_dict)

if "metrics" in df.columns:
if "metrics" in df:
df["metrics"].loc["total costs"] = df["costs"].sum()

to_csv(df)
Expand Down

0 comments on commit b11d769

Please sign in to comment.