You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See #710, the estimation scheme from Bell and Lemmon, JCED, 2016 does not get applied properly in the development version. I think this was broken while fixing the bugs with ordering of components. Code:
importosimportctREFPROP.ctREFPROPasctroot='/Users/ihb/REFPROP10'assert(os.path.exists(root))
RP=ct.REFPROPFunctionLibrary(root+'/librefprop.dylib')
RP.SETPATHdll(root)
r=RP.REFPROPdll("propane;acetylene", "TP", "M(2);QMASS", RP.MKS, 0, 0, 200, 2814.55090000000018335, [])
print(RP.GETKTVdll(1,2)) # Should have two non-default entries in fij, not just one
yielding the correct result
GETKTVdlloutput(hmodij='XR0', fij=array('d', [0.9971145563963134, 1.034558645830517, 1.0, 1.0, 0.0, 0.0]), hFmix='estimated by ESTBNC', hfij='BetaT GammaT BetaV GammaV not usednot used', hbinp='Mixture data have not been fitted for this binary pair; the mixing parameters have been estimated.', hmxrul='XR0 Reducing functions only')
while the development code yields the incorrect result
GETKTVdlloutput(hmodij='XR0', fij=array('d', [1.0, 1.034558645830517, 1.0, 1.0, 0.0, 0.0]), hFmix='estimated by ESTBNC', hfij='BetaT GammaT BetaV GammaV not usednot used', hbinp='Mixture data have not been fitted for this binary pair; the mixing parameters have been estimated with the method of Bell and Lemmon (2018) for hydrocarbons.', hmxrul='XR0 Reducing functions only')
The text was updated successfully, but these errors were encountered:
See #710, the estimation scheme from Bell and Lemmon, JCED, 2016 does not get applied properly in the development version. I think this was broken while fixing the bugs with ordering of components. Code:
yielding the correct result
while the development code yields the incorrect result
The text was updated successfully, but these errors were encountered: