Skip to content

Commit

Permalink
Increase upper limit for mixture temperature root finding
Browse files Browse the repository at this point in the history
  • Loading branch information
fwitte committed Jan 16, 2024
1 parent 827c753 commit 23148e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tespy/tools/fluid_properties/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ def inverse_temperature_mixture(p=None, target_value=None, fluid_data=None, T0=N
if T0 is None:
T0 = (valmin + valmax) / 2.0

valmax *= 2

function_kwargs = {
"p": p, "fluid_data": fluid_data, "T": T0,
"function": f, "parameter": "T" , "delta": 0.01
Expand Down

0 comments on commit 23148e8

Please sign in to comment.