Skip to content

Commit a384363

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 86dde7b commit a384363

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/compile_cost_assumptions.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1896,7 +1896,7 @@ def order_data(years: list, technology_dataframe: pd.DataFrame) -> pd.DataFrame:
18961896
clean_df[tech_name] = pd.DataFrame()
18971897
switch = False
18981898
df = technology_dataframe.loc[tech_name]
1899-
1899+
19001900
# --- investment ----
19011901
investment = df[
19021902
(
@@ -1972,7 +1972,9 @@ def order_data(years: list, technology_dataframe: pd.DataFrame) -> pd.DataFrame:
19721972
# See issue: https://github.com/PyPSA/technology-data/issues/203
19731973
fixed[years] /= 1000 # in €/MWhCapacity/year
19741974
if tech_name == "Fischer-Tropsch":
1975-
fixed[years] *= 8000 # conversion from €/MWh to €/MW/year, assuming 8000 full load hours
1975+
fixed[years] *= (
1976+
8000 # conversion from €/MWh to €/MW/year, assuming 8000 full load hours
1977+
)
19761978
if len(fixed) == 1:
19771979
fixed["parameter"] = "fixed"
19781980
clean_df[tech_name] = pd.concat([clean_df[tech_name], fixed])

0 commit comments

Comments
 (0)