Skip to content

Commit

Permalink
Merge pull request #480 from oemof/fix/exergy-analysis-cond-check
Browse files Browse the repository at this point in the history
Apply condensation check only for water component
  • Loading branch information
fwitte authored Jan 21, 2024
2 parents 827c753 + 49765f0 commit 13bdac0
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 13bdac0

Please sign in to comment.