Skip to content

Commit

Permalink
minor change to tolerance of vent method
Browse files Browse the repository at this point in the history
  • Loading branch information
yoelcortes committed Aug 23, 2022
1 parent 307b3cf commit d7d9749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thermosteam/_stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -2352,7 +2352,7 @@ def equilibrium_approximation(T):
liquid.mol[index] = 0
ms.H = H
return ms.T
flx.wegstein(equilibrium_approximation, T)
flx.wegstein(equilibrium_approximation, T, xtol=1e-4, maxiter=100)
else:
f_l = F_l(x, T)
y = f_l / P
Expand Down

0 comments on commit d7d9749

Please sign in to comment.