Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Water/Eglycol mixture calculation error in REFPROP #657

Open
JungHulk opened this issue Jan 3, 2024 · 3 comments
Open

Water/Eglycol mixture calculation error in REFPROP #657

JungHulk opened this issue Jan 3, 2024 · 3 comments

Comments

@JungHulk
Copy link

JungHulk commented Jan 3, 2024

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
Copy link
Contributor

ianhbell commented Jan 3, 2024

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

@JungHulk
Copy link
Author

JungHulk commented Jan 8, 2024

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
Copy link
Contributor

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

@ianhbell ianhbell transferred this issue from usnistgov/REFPROP-wrappers May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants