Skip to content

Commit

Permalink
Apply condensation check only for water component
Browse files Browse the repository at this point in the history
  • Loading branch information
fwitte committed Jan 16, 2024
1 parent 827c753 commit 49765f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tespy/tools/fluid_properties/mixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def exergy_chemical_ideal_cond(pamb, Tamb, fluid_data, Chem_Ex):

fluid_aliases = fluid_data[fluid]["wrapper"]._aliases

if molar_liquid > 0:
if molar_liquid > 0 and "water" in fluid_aliases:
y = [
Chem_Ex[k][2] for k in fluid_aliases if k in Chem_Ex
]
Expand Down

0 comments on commit 49765f0

Please sign in to comment.