Skip to content

Fix cop direction - #60

Merged
jesperraemaekers merged 2 commits into
wefabricate:mainfrom
barryvdh:fix-cop-direction
Sep 3, 2026
Merged

jesperraemaekers merged 2 commits into
wefabricate:mainfrom
barryvdh:fix-cop-direction

Conversation

@barryvdh

@barryvdh barryvdh commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Feedback from Tweakers:

Bij koelen komt de COP nu positief uit, dat werkt. Maar het is een abs() en geen tekencorrectie, en daardoor verdwijnt er ook iets. Bij een koelstart pompt mijn toestel soms warmte het circuit ín — water van 23,4 naar 28,3 graden in dertig seconden — en dat leest nu als een COP van 10,8. Bij mij 56 keer in een maand, verdeeld over 24 starts, hoogste 20,0. Met het oude minteken zag je meteen dat het de verkeerde kant op ging.
Zou je die abs() alleen kunnen toepassen als de warmte ook echt de goede kant op gaat voor de bedrijfsstand? Nu ziet een omgekeerde stroom eruit als een prima rendement.

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?

barryvdh and others added 2 commits September 2, 2026 16:43
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
barryvdh marked this pull request as ready for review September 2, 2026 15:22

@jesperraemaekers jesperraemaekers left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@jesperraemaekers

Copy link
Copy Markdown
Collaborator

also you can tell cloud to write comments like a human avoiding 100 words for something so trivial one line is enough.

@jesperraemaekers
jesperraemaekers merged commit 6c1c7c0 into wefabricate:main Sep 3, 2026
3 checks passed
@barryvdh

barryvdh commented Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

Yeah sorry Opus 5 is a bit wordy these days.

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

Successfully merging this pull request may close these issues.

2 participants