Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Wan, Hanlong committed Aug 12, 2024
1 parent 6233860 commit 482e9f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion copper/unitarydirectexpansion.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(
full_eff,
full_eff_unit,
compressor_type,
compressor_speed=50,
compressor_speed="constant",
ref_cap_unit="si",
fan_power=None,
part_eff=0,
Expand Down Expand Up @@ -73,6 +73,7 @@ def __init__(
logging.info(f"Default fan power used: {fan_power} kW")
log_fan = True
ref_net_cap = ref_gross_cap - fan_power
self.ref_cap_unit = ref_cap_unit
if self.ref_cap_unit != "si":
ref_net_cap_ton = Units(value=self.ref_net_cap, unit=self.ref_cap_unit)
self.ref_net_cap = ref_net_cap_ton.conversion(new_unit="kW")
Expand Down

0 comments on commit 482e9f5

Please sign in to comment.