Skip to content

Commit

Permalink
Predheat typo for gas mode (#1738)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
springfall2008 and pre-commit-ci-lite[bot] authored Dec 14, 2024
1 parent f96812f commit 797929d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/predbat/predheat.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 797929d

Please sign in to comment.