Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Wan, Hanlong committed Dec 17, 2024
1 parent 5a59fed commit 5d12645
Show file tree
Hide file tree
Showing 4 changed files with 151 additions and 239 deletions.
8 changes: 8 additions & 0 deletions copper/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def __init__(self, path=chiller_lib, rating_std="", export=False):
and not "indoor_fan_power_unit" in p
and not "compressor_stage" in p
and not "compressor_stage_input" in p
and not "control_power" in p
and not "control_power_unit" in p
):
obj_args[p] = vals[p]
elif (
Expand Down Expand Up @@ -127,6 +129,8 @@ def load_obj(self, data):
and not "indoor_fan_power_unit" in p
and not "compressor_stage" in p
and not "compressor_stage_input" in p
and not "control_power" in p
and not "control_power_unit" in p
):
obj_args[p] = data[p]

Expand Down Expand Up @@ -205,6 +209,8 @@ def find_set_of_curves_from_lib(self, filters=[], part_eff_flag=False):
"indoor_fan_power_unit",
"compressor_stage",
"compressor_stage_input",
"control_power_unit",
"control_power"
]

# Set the equipment properties
Expand All @@ -224,6 +230,8 @@ def find_set_of_curves_from_lib(self, filters=[], part_eff_flag=False):
or "indoor_fan_curve_coef" in p
or "indoor_fan_curve" in p
or "indoor_fan_power_unit" in p
or "control_power" in p
or "control_power_unit" in p
):
pass
else:
Expand Down
Loading

0 comments on commit 5d12645

Please sign in to comment.