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 482e9f5 commit 4fae886
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions copper/unitarydirectexpansion.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ def __init__(
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)
ref_net_cap_ton = Units(value=ref_net_cap, unit=self.ref_cap_unit)
self.ref_net_cap = ref_net_cap_ton.conversion(new_unit="kW")
ref_gross_cap_ton = Units(value=self.ref_gross_cap, unit=self.ref_cap_unit)
ref_gross_cap_ton = Units(value=ref_gross_cap, unit=self.ref_cap_unit)
self.ref_gross_cap = ref_gross_cap_ton.conversion(new_unit="kW")
else:
self.ref_net_cap = ref_net_cap
Expand Down

0 comments on commit 4fae886

Please sign in to comment.