Repository navigation
Fix cop direction - #60
Merged
Merged
Conversation
Taking the absolute value made cooling report a positive ratio, but it also hid heat moving the wrong way. At the start of a cooling cycle a heat pump can push heat into the circuit instead, which then read as a very good ratio: one user measured water going from 23.4 to 28.3 degrees in thirty seconds showing up as 10.8, 56 times in a month across 24 starts, the highest being 20. Flip the sign while cooling instead. That is the one state where taking heat out of the water is the point, so only there does a negative output power give a positive ratio, and heat moving the wrong way stays visible as a negative one. Defrosting takes heat out of the water as well, but as a cost rather than the point, so it keeps reading as the loss it is. Without a known state, report the ratio as measured rather than correcting it wrongly. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HSpCiCC4qBunYyrtXXLzkA
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HSpCiCC4qBunYyrtXXLzkA
barryvdh
marked this pull request as ready for review
September 2, 2026 15:22
jesperraemaekers
approved these changes
Sep 3, 2026
jesperraemaekers
left a comment
Collaborator
There was a problem hiding this comment.
The portal does not have this problem as it does not show COP at a single point in time.
When showing it for a day we can simply remove the defrost energy form the delivered energy.
Collaborator
|
also you can tell cloud to write comments like a human avoiding 100 words for something so trivial one line is enough. |
Contributor
Author
|
Yeah sorry Opus 5 is a bit wordy these days. |
13 of 21 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Feedback from Tweakers:
I think COP is probably most useful to show positive for cooling/heating. Defrost could be negative? Not really sure how the portal does that?