From 45e5ab15c2d11ecd9ad162973d5b3fc5c1c2fe43 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 Sep 2023 14:52:51 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- scripts/prepare_sector_network.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/prepare_sector_network.py b/scripts/prepare_sector_network.py index ad6ee6fa..dd86b435 100644 --- a/scripts/prepare_sector_network.py +++ b/scripts/prepare_sector_network.py @@ -3312,8 +3312,10 @@ def add_enhanced_geothermal( egs_annuity = calculate_annuity(lt, dr) egs_potentials["capital_cost"] = ( - (egs_annuity + 0.02 / 1.02) * egs_potentials["CAPEX"] * Nyears - # (egs_annuity + (opex := costs.at["geothermal", "FOM"]) / (1. + opex)) + (egs_annuity + 0.02 / 1.02) + * egs_potentials["CAPEX"] + * Nyears + # (egs_annuity + (opex := costs.at["geothermal", "FOM"]) / (1. + opex)) # * egs_potentials["CAPEX"] * Nyears ) # fixed OPEX of 2 % taken from NREL https://atb.nrel.gov/electricity/2023/index