Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimal heat applied at negative power calculation #59

Open
jakenl opened this issue Feb 2, 2022 · 0 comments
Open

Minimal heat applied at negative power calculation #59

jakenl opened this issue Feb 2, 2022 · 0 comments

Comments

@jakenl
Copy link

jakenl commented Feb 2, 2022

While the plugin setting "minimum heating cycle" is set to "only when heat is required", there is in some cases still heat applied while the power calculation <= 0
This happens when the temperature is between setpoint and deltamax (overshoot = false).

My proposal is to change to following line:
# apply minimum power as required
if power <= self.minheatpower and (Parameters["Mode4"] == "Forced" or not overshoot):

to:

    # apply minimum power as required
    if power > 0 and power <= self.minheatpower and (Parameters["Mode4"] == "Forced" or not overshoot):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant