Skip to content

Commit

Permalink
Merge remote-tracking branch 'tlmerbecks/dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
fwitte committed Jan 22, 2025
2 parents 4ddc462 + 4f5cadd commit df4be96
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 df4be96

Please sign in to comment.