Skip to content

Commit

Permalink
Merge branch 'master' into feature/GSYE-682
Browse files Browse the repository at this point in the history
  • Loading branch information
spyrostz authored Feb 8, 2024
2 parents c9067c1 + 7ef26b5 commit d2ec054
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gsy_framework/sim_results/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def is_buffer_node_type(area):


def get_unified_area_type(area):
# pylint: disable=too-many-return-statements
"""Return the string that identifies the type of the given area."""
if is_pv_node_type(area):
return "PV"
Expand All @@ -80,6 +81,8 @@ def get_unified_area_type(area):
return "MarketMaker"
if is_finite_power_plant_node_type(area):
return "FinitePowerPlant"
if is_heatpump_node_type(area):
return "HeatPump"

return "Area"

Expand Down

0 comments on commit d2ec054

Please sign in to comment.