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

Feature/gsye 650 fix #486

Merged
merged 9 commits into from
Jan 5, 2024
Merged

Feature/gsye 650 fix #486

merged 9 commits into from
Jan 5, 2024

Conversation

spyrostz
Copy link
Member

No description provided.

self._accumulate_total_energy_demanded(area_dict, core_stats)
self._accumulate_energy_trace(core_stats)
self._accumulate_energy_trace(core_stats, "P2P" in area_dict["name"])
Copy link
Member

Choose a reason for hiding this comment

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

Do we really want to add this solution permanently?
If yes, we should add a more unique string IMO.
e.g. ##P2P## What do you think?

Copy link
Member Author

Choose a reason for hiding this comment

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

Let me think of it a bit more and adapt it. Same goes for the "DH" string for distinguishing district heating.

for child in area_dict["children"]:
if is_producer_node_type(child):
if is_producer_node_type(child) or is_heatpump_node_type(child):
Copy link
Member

Choose a reason for hiding this comment

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

why is the heat pump also a producer?

Copy link
Member Author

Choose a reason for hiding this comment

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

Should not be and good catch, thanks!

Copy link
Member

@hannesdiedrich hannesdiedrich left a comment

Choose a reason for hiding this comment

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

Two comments, LGTM once addressed

@hannesdiedrich
Copy link
Member

@spyrostz We should also discuss whether the distinguishing between P2P and DH should end up in our codebase (whether we should push this)

Copy link

codecov bot commented Dec 12, 2023

Codecov Report

Merging #486 (8c729a8) into master (2490130) will decrease coverage by 0.12%.
Report is 1 commits behind head on master.
The diff coverage is 26.66%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #486      +/-   ##
==========================================
- Coverage   66.48%   66.36%   -0.12%     
==========================================
  Files          78       78              
  Lines        5150     5159       +9     
  Branches      852      857       +5     
==========================================
  Hits         3424     3424              
- Misses       1565     1570       +5     
- Partials      161      165       +4     

@spyrostz spyrostz merged commit 1eaf416 into master Jan 5, 2024
2 of 4 checks passed
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