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

Inconsistent saturated enthalpy by python wrapper and REFPROP #630

Open
fuxinniu opened this issue Nov 26, 2024 · 1 comment
Open

Inconsistent saturated enthalpy by python wrapper and REFPROP #630

fuxinniu opened this issue Nov 26, 2024 · 1 comment

Comments

@fuxinniu
Copy link

I am using python wrapper to generate saturated property. But I got different value by using REFPROPdll and REPROP desktop.

from ctREFPROP.ctREFPROP import REFPROPFunctionLibrary
RP = REFPROPFunctionLibrary(os.environ['RPPREFIX'])
RP.SETPATHdll(os.environ['RPPREFIX'])
RP.REFPROPdll("R454B", "PQ","HLIQ", RP.MOLAR_BASE_SI, 0, 1, 685212, 0, [0]).Output[0]/0.062613634

Return: 201346.7723330968 J/kg

The REFPROP 10 return this: 194.81 KJ/kg. I also included reference state. In python wrapper, how to set up reference state?

image

Thanks

Frank

@ianhbell
Copy link
Contributor

You want the SETREF function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants