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

Allow retrieving only warm water profile #74

Draft
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

jnettels
Copy link

@jnettels jnettels commented Feb 3, 2025

I added a new argument to HeatBuilding():

ww_only : boolean
if true, only warm water load is included in the heat load profile

This causes only the warm water profile to be returned, by setting the sigmoid parameters a, b and c to 0 and only keeping parameter d.

Fixes #73
Fixes #59

@jnettels jnettels self-assigned this Feb 3, 2025
@jnettels
Copy link
Author

jnettels commented Feb 4, 2025

The 'Black' code style error in tools.py is unrelated to my PRs, but I nevertheless fixed it in #72. I need to look into how to fix the coverage issue...

@jnettels
Copy link
Author

jnettels commented Feb 4, 2025

The new test was 99% written by GitHub Copilot. But the style seems to fit the other tests and it fixed the coverall issue. However, it could be argued that I put the new test class in the wrong file. At this point I need direction from a reviewer.

Once #72 is merged, all checks will pass.

@jnettels jnettels requested a review from p-snft February 4, 2025 08:20
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.

BDEW heat profiles are missing an option for warm water only getting ww_incl values when set true
1 participant