Skip to content

Commit ab6b487

Browse files
committed
set type to float
1 parent c8c711d commit ab6b487

8 files changed

+2150
-2150
lines changed

outputs/costs_2020.csv

+307-307
Large diffs are not rendered by default.

outputs/costs_2025.csv

+307-307
Large diffs are not rendered by default.

outputs/costs_2030.csv

+307-307
Large diffs are not rendered by default.

outputs/costs_2035.csv

+307-307
Large diffs are not rendered by default.

outputs/costs_2040.csv

+307-307
Large diffs are not rendered by default.

outputs/costs_2045.csv

+307-307
Large diffs are not rendered by default.

outputs/costs_2050.csv

+307-307
Large diffs are not rendered by default.

scripts/compile_cost_assumptions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ def adjust_for_inflation(costs, techs, ref_year, col):
656656
Dataframe containing the costs data with multiindex on technology and one index key 'investment'.
657657
"""
658658

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

0 commit comments

Comments
 (0)