Closed baraskarnitin10 closed 6 months ago
You should update the IREFPROP interface to use the new REFPROPdll function, following the pattern of the other functions. Then read these docs: https://refprop-docs.readthedocs.io/en/latest/DLL/high_level.html . Recommend to do your testing in Python, where the interface is already developed and most of the testing is carried out since it is my primary working environment.
Hello,
We are utilizing RefProp wrapper (c#) version 10. IRefProp interface exposed with below function calls -
The above image function calls are confusing to us
I have one case study - For example, we want to get Saturation Properties for Carbon dioxide
Currently Nist URL https://webbook.nist.gov/cgi/fluid.cgi?TLow=20&THigh=20&TInc=1&Digits=5&ID=C124389&Action=Load&Type=SatP&TUnit=F&PUnit=psia&DUnit=lbm%2Fft3&HUnit=Btu%2Flbm&WUnit=ft%2Fs&VisUnit=uPa*s&STUnit=N%2Fm&RefState=DEF
Output Temperature (F) Pressure (psia) Density (l, lbm/ft3) Volume (l, ft3/lbm) Internal Energy (l, Btu/lbm) Enthalpy (l, Btu/lbm) Entropy (l, Btu/lbmR) Cv (l, Btu/lbmR) Cp (l, Btu/lbmR) Sound Spd. (l, ft/s) Joule-Thomson (l, F/psia) Viscosity (l, uPas) Therm. Cond. (l, W/mK) Surf. Tension (l, N/m) Density (v, lbm/ft3) Volume (v, ft3/lbm) Internal Energy (v, Btu/lbm) Enthalpy (v, Btu/lbm) Entropy (v, Btu/lbmR) Cv (v, Btu/lbmR) Cp (v, Btu/lbmR) Sound Spd. (v, ft/s) Joule-Thomson (v, F/psia) Viscosity (v, uPas) Therm. Cond. (v, W/mK) 20.000 421.91 60.263 0.016594 77.932 79.228 0.22552 0.22355 0.56685 1958.8 0.0035242 112.43 0.11705 0.0057249 4.9373 0.20254 170.91 186.73 0.44963 0.19845 0.38411 706.95 0.18919 13.935 0.018342
This provides us with data based on Temperature low and Temperature High.
How do we get the same using IRefProp wrapper functions based on inputs tLow and tHigh.
I really appreciate any help you can provide.