Skip to content

Commit

Permalink
keep investment costs
Browse files Browse the repository at this point in the history
  • Loading branch information
lisazeyen committed Apr 22, 2024
1 parent 792b1f8 commit 923c43b
Show file tree
Hide file tree
Showing 8 changed files with 2,782 additions and 2,676 deletions.
779 changes: 397 additions & 382 deletions outputs/costs_2020.csv

Large diffs are not rendered by default.

779 changes: 397 additions & 382 deletions outputs/costs_2025.csv

Large diffs are not rendered by default.

779 changes: 397 additions & 382 deletions outputs/costs_2030.csv

Large diffs are not rendered by default.

779 changes: 397 additions & 382 deletions outputs/costs_2035.csv

Large diffs are not rendered by default.

779 changes: 397 additions & 382 deletions outputs/costs_2040.csv

Large diffs are not rendered by default.

779 changes: 397 additions & 382 deletions outputs/costs_2045.csv

Large diffs are not rendered by default.

779 changes: 397 additions & 382 deletions outputs/costs_2050.csv

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions scripts/compile_cost_assumptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,11 +351,12 @@ def get_dea_vehicle_data(fn, data):
'Upfront vehicle cost': "investment",
'Fixed maintenance cost': "FOM",
'Variable maintenance cost': "VOM",
"- Cost of battery/Fuelcell": "investment battery"}
}

df = df.rename(index=rename)

to_keep = ['Motor size', 'lifetime', "FOM", "VOM", "efficiency"]
to_keep = ['Motor size', 'lifetime', "FOM", "VOM", "efficiency",
"investment"]
df = df[df.index.isin(to_keep)]

df = pd.concat([df], keys=[tech], names=["technology", "parameter"])
Expand Down

0 comments on commit 923c43b

Please sign in to comment.