Closed coderlover-lang closed 1 year ago
Some notes: the way DLL work on windows, RP_mix
and RP_single
point to the same object.
For mixtures, you should specify Qmass or Qmolar for the vapor quality explictly, so in your case, your inputs should be PQMASS
. See also: https://refprop-docs.readthedocs.io/en/latest/DLL/high_level.html
I'm having some problems calling ABFLSHdll using Python, hope you can help
Description
You can see that I have proportioned a mixture whose components are butane and ethylene respectively. The ratio is 0.6230: 0.3770. I hope to calculate their Liquid density of equilibrium at Q = 0.0895 and the air pressure at P = 113.1 (kPa). phase and Vapor density of equilibrium phase, in the refprop software, I got the results I hoped for, as shown below:
I got Liquid density of equilibrium phase = 646.4373, which is reasonable
But when I try to call in Python using
I received Dl=13.493390361545368, Dv=0.0715316355030999, maybe I should change the last parameter iFlag, but I have traveled all the paremeter as possible , I didm't receive the same output as in refprop;
Steps to Reproduce
Actual behavior: [What actually happens]
Versions
REFPROP Version: [v10.0.0.0]
Operating System and Version: [windows 10]
Access Method: [How you are accessing REFPROP ( Python)]
Additional Information