From adc0dd1e0c67c84a1a99145a51914e0c3a21fed0 Mon Sep 17 00:00:00 2001 From: Fabian Neumann Date: Mon, 11 Jul 2022 15:46:21 +0200 Subject: [PATCH] fix unit conversion for thermal energy storage (closes #247) --- scripts/prepare_sector_network.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/prepare_sector_network.py b/scripts/prepare_sector_network.py index bcf9cf6b..49eef826 100644 --- a/scripts/prepare_sector_network.py +++ b/scripts/prepare_sector_network.py @@ -1481,9 +1481,6 @@ def add_heat(n, costs): "for 'decentral' and 'central' separately.") tes_time_constant_days = options["tes_tau"] if name_type == "decentral" else 180. - # conversion from EUR/m^3 to EUR/MWh for 40 K diff and 1.17 kWh/m^3/K - capital_cost = costs.at[name_type + ' water tank storage', 'fixed'] / 0.00117 / 40 - n.madd("Store", nodes[name] + f" {name} water tanks", bus=nodes[name] + f" {name} water tanks", @@ -1491,7 +1488,7 @@ def add_heat(n, costs): e_nom_extendable=True, carrier=name + " water tanks", standing_loss=1 - np.exp(- 1 / 24 / tes_time_constant_days), - capital_cost=capital_cost, + capital_cost=costs.at[name_type + ' water tank storage', 'fixed'], lifetime=costs.at[name_type + ' water tank storage', 'lifetime'] )