Skip to content
New issue

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

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

Already on GitHub? # to your account

Add vdi profiles implementation #75

Open
wants to merge 34 commits into
base: dev
Choose a base branch
from

Conversation

jnettels
Copy link
Contributor

In PR #50, @uvchik used my work in https://github.com/jnettels/lpagg as a basis to create a much more performant implementation of the VDI4655 load profiles. I have used his work ever since and I am very grateful for it.

While his PR was basically feature-complete, it was lacking some polish, tests and documentation, and has been stale for several years.

I now found the time to take it on myself to carry his work across the finish line. But his branch had many conflicts in unrelated files with dev, which made merging a pain. To get a clean history while retaining authorship, I cherry-picked all relevant commits from his branch and created a new branch for this PR, adding my contributions:

  • Add missing features
  • Add tests (100% coverage of new files)
  • Add documentation

Closes #36

I hope this can be merged now, because I still think it is a nice addition to demandlib.

A side-note unrelated to this PR:
https://github.com/jnettels/lpagg has been evolving, too. My "load profile aggregator" can now use demandlib as
the (preferred) source. Since all profile generators in demandlib use their own interface, lpagg attempts to streamline the profile generation for datasets of mixed building types into one workflow. Especially the documentation is still lacking, but maybe it is of
interest for someone out there.

uvchik and others added 30 commits February 19, 2025 11:21
The temperature limit is connected to the efficiency status of the
house.
Co-authored-by: Joris Zimmermann <joris.zimmermann@siz-energieplus.de>
While this is not guaranteed to work, other parts of the code
currently work fine if the house names are e.g. integers.
Set heat demand on all summer days to zero. This is not part of VDI 4655
House types other than 'EFH' and 'MFH' cannot be properly
tested, because the code would fail before these lines.
Also add new test dependencie 'geopandas' to pyproject.toml
Also update the index files accordingly
@jnettels jnettels self-assigned this Feb 19, 2025
@jnettels jnettels changed the title Features/add vdi from lpagg 2 Add vdi profiles implementation Feb 19, 2025
@jnettels
Copy link
Contributor Author

In #74 we discussed having tests as classes or just functions. For this PR I have prepared them as classes (just like all the other tests). If desired, I can change them all to plain functions.

@jnettels jnettels marked this pull request as ready for review February 19, 2025 10:55
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cooperate with lpagg
2 participants