Skip to content

Commit

Permalink
Remove unused commented section
Browse files Browse the repository at this point in the history
  • Loading branch information
fwitte committed Jan 22, 2025
1 parent 0e213ae commit 4f5cadd
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/tespy/tools/fluid_properties/wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,15 +233,6 @@ def Q_ph(self, p, h):
self.AS.update(CP.HmassP_INPUTS, h, p)
return self.AS.Q()

# if self.AS.phase() == CP.iphase_twophase:
# return self.AS.Q()
# elif self.AS.phase() == CP.iphase_liquid:
# return 0
# elif self.AS.phase() == CP.iphase_gas:
# return 1
# else: # all other phases - though this should be unreachable as p is sub-critical
# return -1

def phase_ph(self, p, h):
p = self._make_p_subcritical(p)
self.AS.update(CP.HmassP_INPUTS, h, p)
Expand Down

0 comments on commit 4f5cadd

Please sign in to comment.