From 797929d7278f5fa4fcccbca0879b4a9d6e99932f Mon Sep 17 00:00:00 2001 From: Trefor Southwell <48591903+springfall2008@users.noreply.github.com> Date: Sat, 14 Dec 2024 21:08:06 +0000 Subject: [PATCH] Predheat typo for gas mode (#1738) * Predheat typo for gas mode * [pre-commit.ci lite] apply automatic fixes --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> --- apps/predbat/predheat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/predbat/predheat.py b/apps/predbat/predheat.py index 0f5b6003..30ba3f47 100644 --- a/apps/predbat/predheat.py +++ b/apps/predbat/predheat.py @@ -368,7 +368,7 @@ def run_simulation(self, volume_temp, heating_active, save="best", last_predict_ inlet_temp = int(volume_temp + 0.5) inlet_temp = min(max(inlet_temp, 0), 100) condensing = self.gas_efficiency.get(inlet_temp, 0.80) - heat_power_in /= condensing + heat_power_in = heat_power_out / (condensing * self.heat_cop) else: # Heat pump efficiency based on outdoor temp out_temp = int(external_temp + 0.5)