-
Notifications
You must be signed in to change notification settings - Fork 7
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
Feature/gsye 650 fix #486
Conversation
…cy and self-consumption calculation.
…atpump and Virtual Heatpump strategies. Added total_traded_energy_kWh to the AVRO schema.
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"]) |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
gsy_framework/sim_results/kpi.py
Outdated
for child in area_dict["children"]: | ||
if is_producer_node_type(child): | ||
if is_producer_node_type(child) or is_heatpump_node_type(child): |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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!
There was a problem hiding this 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
@spyrostz We should also discuss whether the distinguishing between P2P and DH should end up in our codebase (whether we should push this) |
Codecov Report
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 |
No description provided.