usnistgov / REFPROP-issues

A repository solely used for reporting issues with NIST REFPROP
26 stars 13 forks source link

Water/Eglycol mixture calculation error in REFPROP #657

Open JungHulk opened 9 months ago

JungHulk commented 9 months ago

Description

  1. Make mixture, Water : Ethylene glycol = 80 : 20 mass based.
  2. Calculate heat transfer using enthalpy and obtain the temperature of the mixed fluid as a result.

Steps to Reproduce

  1. [First Step] Input initial condition, P: 200 kpa T:20 oC => h = -23.208 kJ/kg
  2. [Second Step] Calculate heat transfer using enthalpy and get final enthalpy, h = -25.568 kJ/kg
  3. [and so on...] Calculate temperature using REFPROP program Input P :200 kpa, h : -25.568, but the error box appeared. [Due to company security reasons, screenshots cannot be uploaded.] "PHFLSH error 1] One or more inputs are out of range; Temperature below triple-point or minimum temperature: T=197.969K, T min = 241.896K. Do you wish to continue calculations?"

But it is possible to calculate when I estimate temperature and put in "Specified state Points box" Pressure and temperature. The enthalpy is almost similar as -25.568 kJ/kg. (Temperature : 19.385 oC)

Expected behavior: [What you expect to happen] When I put in Pressure and enthalpy, I want to get temperature.

Actual behavior: [What actually happens] Error box appeared and can not calculate temperature value.

Versions

REFPROP Version: 10.0.0.98a [REFPROP version you are using]
Operating System and Version: Window 11 [OS you are running REFPROP on]
Access Method: REPROP Program and Excel also.** [How you are accessing REFPROP (i.e. Python, other wrapper)]

Additional Information

I checked on Plot, the enthalpy at Pressure(200 kPa) is under sub-cooled liquid phase but programe can not calculate.

If possible, please post examples and/or screenshots of the issue.

ianhbell commented 9 months ago

Did you try with 10.0.0.0 as well? This could be a bug introduced in the beta.

JungHulk commented 9 months ago

Did you try with 10.0.0.0 as well? This could be a bug introduced in the beta.

I tried to re-install and check it but same results. (replace beta version with ver 10.0.) Please fix this bug.

ianhbell commented 4 months ago

To help our debugging, can you try with mole fractions instead? I think it shouldn't matter with the GUI, since the GUI calls the old methods