Skip to content

Commit

Permalink
set type to float
Browse files Browse the repository at this point in the history
  • Loading branch information
lisazeyen committed Feb 15, 2024
1 parent c8c711d commit ab6b487
Show file tree
Hide file tree
Showing 8 changed files with 2,150 additions and 2,150 deletions.
614 changes: 307 additions & 307 deletions outputs/costs_2020.csv

Large diffs are not rendered by default.

614 changes: 307 additions & 307 deletions outputs/costs_2025.csv

Large diffs are not rendered by default.

614 changes: 307 additions & 307 deletions outputs/costs_2030.csv

Large diffs are not rendered by default.

614 changes: 307 additions & 307 deletions outputs/costs_2035.csv

Large diffs are not rendered by default.

614 changes: 307 additions & 307 deletions outputs/costs_2040.csv

Large diffs are not rendered by default.

614 changes: 307 additions & 307 deletions outputs/costs_2045.csv

Large diffs are not rendered by default.

614 changes: 307 additions & 307 deletions outputs/costs_2050.csv

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/compile_cost_assumptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ def adjust_for_inflation(costs, techs, ref_year, col):
Dataframe containing the costs data with multiindex on technology and one index key 'investment'.
"""

inflation = (1 + snakemake.config['rate_inflation'])**(ref_year - snakemake.config['eur_year'])
inflation = (1 + snakemake.config['rate_inflation'])**(ref_year - snakemake.config['eur_year']).astype(float)
paras = ["investment", "VOM", "fuel"]
filter_i = costs.index.get_level_values(0).isin(techs) & costs.index.get_level_values(1).isin(paras)

Expand Down

0 comments on commit ab6b487

Please sign in to comment.