NIST Pages

Version 10.0!

Version 10.0 of REFPROP has been released. See see below for information about REFPROP version 10.0

Answers to Frequently Asked Questions

The following information gives answers to some of the most frequently asked questions concerning the REFPROP program. To download any of the files listed below, right-click on the file and select Save Target As… and then add the file to your Refprop or other appropriate directory. Sections with new information added during the last several months are identified with a «. For questions not answered here, please see the user’s guide.

General Questions

  1. Getting Help
  2. Errors in Version 10
  3. Purchasing REFPROP
  4. Installation Problems
  5. OSX and linux
  6. REFPROP is a Program, not a Database Containing Measurements
  7. Referencing the REFPROP Program in Publications
  8. Updates to Version 10.0
  9. Updates to Version 9.1
  10. Help File
  11. List of Fluids
  12. List of Predefined Mixtures

Using the Program

  1. Reference States (enthalpy and entropy differences)
  2. Multiple and Metastable States
  3. Intro to Pure Fluids and 2-Phase States
  4. Intro to Mixtures and 2-Phase States

Programming

  1. Changing Fluids and Calling SETUP Multiple Times
  2. Calculation of the Critical Point and Saturation States in the Critical Region
  3. Calculation of Phase Diagrams for Plotting Purposes
  4. FLSH Routines and Metastable States

Error Messages

  1. Convergence Failures and Forcing Phase Calculations
  2. Mixture Error Messages

Fluids

  1. List of fluids
  2. List of predefined mixtures
  3. GERG-2008 Equation of State for Natural Gas Mixtures
  4. HFO-1234yf, 1234ze(E), 1234ze(Z), 1233zd(E), and Refrigerant Mixtures
  5. Humid Air
  6. Mixture Models
  7. Solids
  8. Transport Properties for Nitrogen, Oxygen, Argon, and Air
  9. Transport Properties for Mixtures
  10. Transport Properties for Pseudo-pure Fluids; Adding Pure Fluids to a Mixture Setup
  11. Required Fluids for Distribution

Excel

  1. Resolving Problems Linking with Excel
  2. Other Issues Related to the Use of Refprop in Excel

Linking with other Applications

This part has moved, click here to go to the new site

Getting Help

In addition to this page, further answers can be found at GitHub: REFPROP-issues. Please use the GitHub site to post new bugs or questions so that all REFPROP users may learn from the correspondence. If you still need assistance, or have other matters that you need to discuss, email refprop@nist.gov and we will get back to you as soon as we can.

Errors in Version 10

  1. Incorrect fluid file for R507A.PPF. The following fluid file should be placed in your REFPROP\FLUIDS directory.
  1. The function RPVersion does not return the correct output.
  2. Valid liquid-phase states below the triple point of water may return a message that the point is out of bounds or in the solid phase given certain inputs such as pressure-enthalpy.
  3. Calling ABFLSH directly with mass inputs for the input/output properties can result in incorrect output values for energy, enthalpy, entropy, Cv, and Cp, however, the density will be returned correctly (in mass units).

Purchasing REFPROP

There are three ways to purchase REFPROP: For your use only, for company wide use, or for use in distribution in your code. These are all explained at https://www.nist.gov/srd/refprop. If you purchase the program for your use only, the copy you will receive can be installed on all machines that you use (not including servers where others can also access the program). You do not need to purchase a copy for each machine you own.

For those looking for the “Accessibility Conformance Report (ACR) based on VPAT 2.4” for REFPROP 10.0, it can be obtained at this link: here

Installation Problems

Upgrading from 9.x

  1. Uninstall all Refprop versions on your machine.
  2. Check if you have a Refprop directory in your Program files (x86) directory, if you do, delete it.
  3. In your users directory is a hidden system directory called AppData. Check if you have the following subdirectory: “Local\VirtualStore\Program Files\REFPROP”. If so, delete that folder.
  4. Do a full system search (including Windows directories) for REFPROP.DLL and REFPRP64.DLL (or better: REFPR*.DLL), if you find it, delete it and anything else related to Refprop in that directory.
  5. Install version 10.
  6. If version 9.1 still shows up, uninstall 10, then install 9.1, uninstall it, and reinstall 10. (It’s painful, but seems to be the only way around this that we know of so far). If you don’t have the installer for version 9.1, let us know.
  7. If one of the beta versions for Refprop 9.4.x still appears, install it and then uninstall it. If you don’t have the installer, email us to get access to it.
  8. If problems continue, go to Windows explorer, right click on the C: drive, go to Properties, and choose Disk Cleanup. If this is not available, go to Start and in the search menu type in “Clean up”. Then click on Clean Up System Files and have it delete everything.
  9. Sometimes checking to make sure all Windows updates have been done and then rebooting the computer can fix problems, especially problems when using the Excel files. Be sure you go to “Windows Updates” in the Start menu, not just the updates that it tells you to install from time to time.

OCX issues

In some applications where calculations fail after installing versions 9.0 or 9.1, the old DLL from version 7.0 or 8.0 may be hiding in your Windows\System32 directory. Open up this directory and search for Refprop.dll. If you find it, delete it (it should never be stored in the Windows directory). The new one belongs in the Refprop directory along with the executable.

If one of the following error messages appears when the graphical interface is launched:

run-time error 339
component MSHFLXGD.OCX
or one of its dependencies not correctly registered:
a file is missing or invalid

or

component COMDLG32.OCX or one of its dependencies not correctly registered:

check to see if you have a firewall or antivirus software that can be turned off.  Deactivating these will often allow successful installs, especially on Vista machines.  If this fails or is not an option, then >download the corresponding file from the link below and save it in your Windows\System32 directory on 32 bit machines or to your Windows\SysWOW64 directory on 64 bit machines.

In some cases where you are not allowed to be the administrator on a machine, this message will appear because it cannot access the System32 directory. Try placing the file in your Windows directory to get the program to work.

If the error message continues, you will need to register the file by running the appropriate command below for your system and the missing file:

32-bit computers:

regsvr32 c:\Windows\system32\comdlg32.ocx
regsvr32 c:\Windows\system32\mshflxgd.ocx

64-bit computers:

regsvr32 c:\Windows\SysWOW64\comdlg32.ocx
regsvr32 c:\Windows\SysWOW64\mshflxgd.ocx

If an error message occurs referencing the file REFPROP.MSI, try the following: Press your Start button, and then click on “Run …”. Type in Regedit. If it does not start at the top of registry, scroll to the top and click on “My Computer”. Search for “Refprop 8.1.msi”, or whatever msi file it is complaining about in the install error message. You should find something like HKEY_CLASSES_ROOT\ Installer\ Products\ 6398724E8B370524FA88122E26945D8F. For every occurrence of the item in the registry, you should either rename or delete it. To rename, simply add an underscore in the sequence of numbers, such as “_6398724…”. Then try reinstalling the program.

OSX and linux

For users on OSX or linux, you are invited to compile REFPROP yourself with the cmake-based build system provided at https://github.com/usnistgov/REFPROP-cmake. You’ll need to install REFPROP onto a windows machine to get access to the FLUIDS, MIXTURES, and FORTRAN folders. Any issues with compilation should be reported as an issue in that repository: https://github.com/usnistgov/REFPROP-cmake/issues.

If you are feeling brave, you can also try to install REFPROP into the wine environment (a windows-emulation environment). Once you have installed wine (via homebrew on OSX, or via package manager of your linux distribution, google for more information), you can install REFPROP (along with its GUI) into wine with (for instance with REFPROP 10):

wine NIST2310.exe

To force 32-bit mode on 64-bit OS (recommended for REFPROP, it doesn’t seem to work in a 64-bit wine environment) see how to foce wine into acting like 32-bit windows on 64-bit ubuntu

REFPROP is a Program, not a Database Containing Measurements

The REFPROP “database” is actually a program and does not contain any experimental information, aside from the critical and triple points of the pure fluids. The program uses equations for the thermodynamic and transport properties to calculate the state points of the fluid or mixture. These equations are the most accurate equations available worldwide. A link to one of these equations for R-125 is given below. Their high accuracy is obtained through many coefficients in the equations, and thus the calculation speed will be slower than other equations such as the Peng-Robinson cubic equations. The equations are generally valid over the entire vapor and liquid regions of the fluid, including supercritical states; the upper temperature limit is usually near the point of decomposition of the fluid, and the upper pressure (or density) limit is defined by the melting line of the substance.

Referencing the REFPROP Program in Publications.

The following reference can be used to cite the REFPROP program in publications:

Lemmon, E.W., Bell, I.H., Huber, M.L., McLinden, M.O.  NIST Standard Reference Database 23:  Reference Fluid Thermodynamic and Transport Properties-REFPROP, Version 10.0, National Institute of Standards and Technology, Standard Reference Data Program, Gaithersburg, 2018.

Or in BibTeX form:

@Misc{LEMMON-RP10,
  Title                    = {{NIST Standard Reference Database 23: Reference Fluid Thermodynamic and Transport Properties-REFPROP, Version 10.0, National Institute of Standards and Technology}},
  Author                   = {E. W. Lemmon and I.H. Bell and M. L. Huber and M. O. McLinden},
  Year                     = {2018},
  Doi                      = {https://doi.org/10.18434/T4/1502528},
  Url                      = {https://www.nist.gov/srd/refprop}
}

Additionally, users should cite the reference for either the equation of state or the transport equations used in their work, for example, if you used calculations for CO2, you will find the reference for the equation of state under the Options/Fluid Information option in Refprop and you should cite the reference given under that option, like this:

Span, R. and Wagner, W., J. Phys. Chem. Ref. Data, 25(6):1509-1596, 1996.

Updates to Version 10.0

Enhancements have been made to most areas of the NIST REFPROP program, including the equations of state for many of the pure fluids and mixtures, the transport equations, the graphical interface, the Excel spreadsheet, the Fortran files (i.e., core property routines), the sample programs in Python, C++, MATLAB, VB, etc. Some of the more important improvements are listed below:

Breaking changes

In general the high-level interface exposed through the DLL is 100% backwards compatible with version 9.1.1. Some non-backwards-compatible changes were necessary:

Updates to Version 9.1

Several problems in version 9.0 (listed below) were found after its release, and these have all been corrected in 9.1. There are also a few issues with 9.1. If these affect you, please let us know and we will send you the update.

Issues with Refprop 9.0

  1. The calculation of d2p/dT2 at constant density is incorrect.
  2. The reference state for R1234yf and R1234ze(E) should be changed from NBP to IIR. Updated files are given further below.
  3. Calculation of isobars for pure fluids at pressures less than the triple point pressure may incorrectly return properties in the liquid phase rather than the vapor phase.
  4. The manual REFPROP9.PDF and the UserInformation sheet in Refprop.xls incorrectly listed isobutene instead of isobutane for R430A. (However, the graphical interface and mixture file are correct.)

Issues with Refprop 9.1

  1. Inputs of enthalpy or entropy may not converge, or will converge to the wrong phase.

Help File

The most recent help file from Refprop is available below. You should download it to your machine before launching it, otherwise the help file will appear blank. The PDF is an alternative form of the documentation that may be more convenient for you. The most up-to-date version of the documentation is at http://refprop-docs.readthedocs.io/en/latest/

List of Fluids

This is the list of pure fluids that are included in REFPROP 10 (a more comprehensive list is available in the Refprop 10 Excel file REFPROP.XLS):

Fluid FileNameSynonymChemical Formula
13BUTADIENE.FLD1,3-ButadieneVinylethyleneC4H6
1BUTENE.FLDButene1-ButyleneC4H8
1BUTYNE.FLD1-ButyneEthylacetyleneC4H6
1PENTENE.FLD1-PentenePropylethyleneC5H10
22DIMETHYLBUTANE.FLD2,2-DimethylbutaneNeohexaneC6H14
23DIMETHYLBUTANE.FLD2,3-DimethylbutaneButane, 2,3-dimethyl-C6H14
3METHYLPENTANE.FLD3-MethylpentanePentane, 3-methyl-C6H14
ACETONE.FLDAcetoneDimethyl ketoneC3H6O
ACETYLENE.FLDAcetyleneNarcylen, vinyleneC2H2
AMMONIA.FLDAmmoniaR-717NH3
ARGON.FLDArgonR-740Ar
BENZENE.FLDBenzeneBenzeneC6H6
BUTANE.FLDButaneR-600C4H10
C11.FLDUndecanen-UndecaneC11H24
C12.FLDDodecanen-DodecaneC12H26
C16.FLDHexadecanen-HexadecaneC16H34
C1CC6.FLDMethylcyclohexaneCyclohexylmethaneC7H14
C22.FLDDocosanen-DocosaneC22H46
C2BUTENE.FLDcis-Butene(Z)-2-ButeneC4H8
C3CC6.FLDPropylcyclohexanePropylcyclohexaneC9H18
C4F10.FLDPerfluorobutanePerfluorobutaneC4F10
C5F12.FLDPerfluoropentanePerfluoropentaneC5F12
C6F14.FLDPerfluorohexanePerfluorohexaneC6F14
CF3I.FLDR13I1HFC-13I1CF3I
CHLORINE.FLDChlorineChlorineCl2
CHLOROBENZENE.FLDChlorobenzenePhenyl chlorideC6H5Cl
CO.FLDCarbon monoxideCarbon oxideCO
CO2.FLDCarbon dioxideR-744CO2
COS.FLDCarbonyl sulfideCarbon oxysulfideCOS
CYCLOBUTENE.FLDCyclobuteneCyclobutan-1,2-diylC4H6
CYCLOHEX.FLDCyclohexaneCyclohexaneC6H12
CYCLOPEN.FLDCyclopentaneC5H10C5H10
CYCLOPRO.FLDCyclopropaneTrimethyleneC3H6
D2.FLDDeuteriumDeuteriumD2
D2O.FLDHeavy waterDeuterium oxideD2O
D4.FLDD4D4C8H24O4Si4
D5.FLDD5D5C10H30O5Si5
D6.FLDD6D6C12H36Si6O6
DEA.FLDDiethanolaminebis(2-hydroxyethyl)AmineC4H11NO2
DECANE.FLDDecanen-DecaneC10H22
DEE.FLDDiethyl etherEthyl etherC4H10O
DMC.FLDDimethyl carbonateDMCC3H6O3
DME.FLDDimethyl etherRE-170C2H6O
EBENZENE.FLDEthylbenzeneBenzene, ethyl-C8H10
EGLYCOL.FLDEthylene glycolGlycol alcoholC2H6O2
ETHANE.FLDEthaneR-170C2H6
ETHANOL.FLDEthanolMethyl carbinolC2H6O
ETHYLENE.FLDEthyleneR-1150C2H4
ETHYLENEOXIDE.FLDEthylene oxideOxiraneC2H4O
FLUORINE.FLDFluorineFluorineF2
H2S.FLDHydrogen sulfideDihydrogen monosulfideH2S
HCL.FLDHydrogen chlorideHydrogen chlorideHCl
HELIUM.FLDHeliumR-704He
HEPTANE.FLDHeptanen-HeptaneC7H16
HEXANE.FLDHexanen-HexaneC6H14
HYDROGEN.FLDHydrogen (normal)R-702H2
IBUTENE.FLDIsobuteneMethylpropeneC4H8
IHEXANE.FLDIsohexaneMethylpentaneC6H14
IOCTANE.FLDIsooctaneIsobutyltrimethylmethaneC8H18
IPENTANE.FLDIsopentaneR-601aC5H12
ISOBUTAN.FLDIsobutaneR-600aC4H10
KRYPTON.FLDKryptonR-784Kr
MD2M.FLDMD2MMD2MC10H30Si4O3
MD3M.FLDMD3MMD3MC12H36Si5O4
MD4M.FLDMD4MMD4MC14H42O5Si6
MDM.FLDMDMMDMC8H24O2Si3
MEA.FLDMonoethanolamine2-AminoethanolC2H7NO
METHANE.FLDMethaneR-50CH4
METHANOL.FLDMethanolMethyl alcoholCH4O
MLINOLEA.FLDMethyl linoleateMethyl ester(Z,Z)-9,12-octadecadienoic acidC19H34O2
MLINOLEN.FLDMethyl linolenateMethyl ester linolenic acidC19H32O2
MM.FLDMMMMC6H18OSi2
MOLEATE.FLDMethyl oleateMethyl ester oleic acidC19H36O2
MPALMITA.FLDMethyl palmitateMethyl ester palmitic acidC17H34O2
MSTEARAT.FLDMethyl stearateMethyl ester stearic acidC19H38O2
MXYLENE.FLDm-Xylenem-XyleneC8H10
N2O.FLDNitrous oxideR-744AN2O
NEON.FLDNeonR-720Ne
NEOPENTN.FLDNeopentaneTetramethylmethaneC5H12
NF3.FLDNitrogen trifluorideTrifluoroamineF3N
NITROGEN.FLDNitrogenR-728N2
NONANE.FLDNonanen-NonaneC9H20
NOVEC649.FLDNovec 649, 1230Dodecafluoro-2-methylpentan-3-oneC6F12O
OCTANE.FLDOctanen-OctaneC8H18
ORTHOHYD.FLDOrthohydrogenR-702H2
OXYGEN.FLDOxygenR-732O2
OXYLENE.FLDo-Xyleneo-XyleneC8H10
PARAHYD.FLDParahydrogenR-702pH2
PENTANE.FLDPentaneR-601C5H12
PROPADIENE.FLDPropadieneAlleneC3H4
PROPANE.FLDPropaneR-290C3H8
PROPYLEN.FLDPropyleneR-1270C3H6
PROPYLENEOXIDE.FLDPropylene oxideMethyloxiraneC3H6O
PROPYNE.FLDPropyneMethyl acetyleneC3H4
PXYLENE.FLDp-Xylenep-XyleneC8H10
R11.FLDR11CFC-11CCl3F
R1123.FLDR1123HFO-1123C2HF3
R113.FLDR113CFC-113C2Cl3F3
R114.FLDR114CFC-114C2Cl2F4
R115.FLDR115CFC-115C2ClF5
R116.FLDR116FC-116C2F6
R12.FLDR12CFC-12CCl2F2
R1216.FLDR1216HexafluoropropyleneC3F6
R1224YDZ.FLDR1224yd(Z)HCFO-1224yd(Z)C3HClF4
R123.FLDR123HCFC-123C2HCl2F3
R1233ZDE.FLDR1233zd(E)HFO-1233zd(E)C3H2ClF3
R1234YF.FLDR1234yfR-1234yfC3F4H2
R1234ZEE.FLDR1234ze(E)HFO-1234ze(E)C3F4H2
R1234ZEZ.FLDR1234ze(Z)R-1234ze(Z)C3F4H2
R124.FLDR124HCFC-124C2HClF4
R1243ZF.FLDR1243zfHFO-1243zfC3H3F3
R125.FLDR125HFC-125C2HF5
R13.FLDR13CFC-13CClF3
R1336MZZZ.FLDR1336mzz(Z)HFO-1336mzz(Z)C4H2F6
R134A.FLDR134aHFC-134aC2H2F4
R14.FLDR14FC-14CF4
R141B.FLDR141bHCFC-141bC2H3Cl2F
R142B.FLDR142bHCFC-142bC2H3ClF2
R143A.FLDR143aHFC-143aC2H3F3
R150.FLDDichloroethaneR-150C2H4Cl2
R152A.FLDR152aHFC-152aC2H4F2
R161.FLDR161Ethyl fluorideC2H5F
R21.FLDR21HCFC-21CHCl2F
R218.FLDR218PerfluoropropaneC3F8
R22.FLDR22HCFC-22CHClF2
R227EA.FLDR227eaHFC-227eaC3HF7
R23.FLDR23HFC-23CHF3
R236EA.FLDR236eaHFC-236eaC3H2F6
R236FA.FLDR236faHFC-236faC3H2F6
R245CA.FLDR245caHFC-245caC3H3F5
R245FA.FLDR245faHFC-245faC3H3F5
R32.FLDR32HFC-32CH2F2
R365MFC.FLDR365mfcHFC-365mfcC4H5F5
R40.FLDR40Methyl chlorideCH3Cl
R41.FLDR41HFC-41CH3F
RC318.FLDRC318FC-C318C4F8
RE143A.FLDRE143aHFE-143aC2H3F3O
RE245CB2.FLDRE245cb2HFE-245cb2C3H3F5O
RE245FA2.FLDRE245fa2HFE-245fa2C3H3F5O
RE347MCC.FLDRE347mcc (HFE-7000)HFE-7000C4H3F7O
SF6.FLDSulfur hexafluorideSulfur fluorideSF6
SO2.FLDSulfur dioxideR-764O2S
T2BUTENE.FLDtrans-Butene(E)-2-ButeneC4H8
TOLUENE.FLDTolueneTolueneC7H8
VINYLCHLORIDE.FLDVinyl chlorideR-1140C2H3Cl
WATER.FLDWaterR-718H2O
XENON.FLDXenonXenonXe

List of predefined mixtures

The following predefined mixtures are included in the ASHRAE 34 Standard and are supported by REFPROP. In REFPROP 10, many of the predefined mixture files are already included, and additional ones can be generated with the script at https://github.com/usnistgov/REFPROP-issues/issues/358#issuecomment-872394368

Warning: if interaction parameters are estimated, you should be somewhat skeptical of the model results, and confirm model accuracy against experimental measurements. A good place to start to figure out whether the model might be adequate for your use case, is the survey of measurements and models in https://pubs.acs.org/doi/abs/10.1021/acs.jced.1c00192

R401A [22/152A/124] (53.0/13.0/34.0 by mass)

R401B [22/152A/124] (61.0/11.0/28.0 by mass)

R401C [22/152A/124] (33.0/15.0/52.0 by mass)

R402A [125/PROPANE/22] (60.0/2.0/38.0 by mass)

R402B [125/PROPANE/22] (38.0/2.0/60.0 by mass)

R403A [PROPANE/22/218] (5.0/75.0/20.0 by mass) !!warning: estimated parameters!!

R403B [PROPANE/22/218] (5.0/56.0/39.0 by mass)

R404A [125/143A/134A] (44.0/52.0/4.0 by mass)

R405A [22/152A/142B/C318] (45.0/7.0/5.5/42.5 by mass) !!warning: estimated parameters!!

R406A [22/ISOBUTAN/142B] (55.0/4.0/41.0 by mass) !!warning: estimated parameters!!

R407A [32/125/134A] (20.0/40.0/40.0 by mass)

R407B [32/125/134A] (10.0/70.0/20.0 by mass)

R407C [32/125/134A] (23.0/25.0/52.0 by mass)

R407D [32/125/134A] (15.0/15.0/70.0 by mass)

R407E [32/125/134A] (25.0/15.0/60.0 by mass)

R407F [32/125/134A] (30.0/30.0/40.0 by mass)

R407G [32/125/134A] (2.5/2.5/95.0 by mass)

R407H [32/125/134A] (32.5/15.0/52.5 by mass)

R407I [32/125/134A] (19.5/8.5/72.0 by mass)

R408A [125/143A/22] (7.0/46.0/47.0 by mass)

R409A [22/124/142B] (60.0/25.0/15.0 by mass)

R409B [22/124/142B] (65.0/25.0/10.0 by mass)

R410A [32/125] (50.0/50.0 by mass)

R410B [32/125] (45.0/55.0 by mass)

R411A [PROPYLEN/22/152A] (1.5/87.5/11.0 by mass)

R411B [PROPYLEN/22/152A] (3.0/94.0/3.0 by mass)

R412A [22/218/142B] (70.0/5.0/25.0 by mass) !!warning: estimated parameters!!

R413A [218/134A/ISOBUTAN] (9.0/88.0/3.0 by mass)

R414A [22/124/ISOBUTAN/142B] (51.0/28.5/4.0/16.5 by mass) !!warning: estimated parameters!!

R414B [22/124/ISOBUTAN/142B] (50.0/39.0/1.5/9.5 by mass)

R415A [22/152A] (82.0/18.0 by mass)

R415B [22/152A] (25.0/75.0 by mass)

R416A [134A/124/BUTANE] (59.0/39.5/1.5 by mass) !!warning: estimated parameters!!

R417A [125/134A/BUTANE] (46.6/50.0/3.4 by mass)

R417B [125/134A/BUTANE] (79.0/18.3/2.7 by mass)

R417C [125/134A/BUTANE] (19.5/78.8/1.7 by mass)

R418A [PROPANE/22/152A] (1.5/96.0/2.5 by mass)

R419A [125/134A/DME] (77.0/19.0/4.0 by mass)

R419B [125/134A/DME] (48.5/48.0/3.5 by mass)

R420A [134A/142B] (88.0/12.0 by mass)

R421A [125/134A] (58.0/42.0 by mass)

R421B [125/134A] (85.0/15.0 by mass)

R422A [125/134A/ISOBUTAN] (85.1/11.5/3.4 by mass)

R422B [125/134A/ISOBUTAN] (55.0/42.0/3.0 by mass)

R422C [125/134A/ISOBUTAN] (82.0/15.0/3.0 by mass)

R422D [125/134A/ISOBUTAN] (65.1/31.5/3.4 by mass)

R422E [125/134A/ISOBUTAN] (58.0/39.3/2.7 by mass)

R423A [134A/227EA] (52.5/47.5 by mass)

R424A [125/134A/ISOBUTAN/BUTANE/IPENTANE] (50.5/47.0/0.9/1.0/0.6 by mass)

R425A [32/134A/227EA] (18.5/69.5/12.0 by mass)

R426A [125/134A/BUTANE/IPENTANE] (5.1/93.0/1.3/0.6 by mass)

R427A [32/125/143A/134A] (15.0/25.0/10.0/50.0 by mass)

R428A [125/143A/PROPANE/ISOBUTAN] (77.5/20.0/0.6/1.9 by mass)

R429A [DME/152A/ISOBUTAN] (60.0/10.0/30.0 by mass) !!warning: estimated parameters!!

R430A [152A/ISOBUTAN] (76.0/24.0 by mass)

R431A [PROPANE/152A] (71.0/29.0 by mass)

R432A [PROPYLEN/DME] (80.0/20.0 by mass)

R433A [PROPYLEN/PROPANE] (30.0/70.0 by mass)

R433B [PROPYLEN/PROPANE] (5.0/95.0 by mass)

R433C [PROPYLEN/PROPANE] (25.0/75.0 by mass)

R434A [125/143A/134A/ISOBUTAN] (63.2/18.0/16.0/2.8 by mass)

R435A [DME/152A] (80.0/20.0 by mass) !!warning: estimated parameters!!

R436A [PROPANE/ISOBUTAN] (56.0/44.0 by mass)

R436B [PROPANE/ISOBUTAN] (52.0/48.0 by mass)

R436C [PROPANE/ISOBUTAN] (95.0/5.0 by mass)

R437A [125/134A/BUTANE/PENTANE] (19.5/78.5/1.4/0.6 by mass) !!warning: estimated parameters!!

R438A [32/125/134A/BUTANE/IPENTANE] (8.5/45.0/44.2/1.7/0.6 by mass)

R439A [32/125/ISOBUTAN] (50.0/47.0/3.0 by mass)

R440A [PROPANE/134A/152A] (0.6/1.6/97.8 by mass)

R441A [ETHANE/PROPANE/ISOBUTAN/BUTANE] (3.1/54.8/6.0/36.1 by mass)

R442A [32/125/134A/152A/227EA] (31.0/31.0/30.0/3.0/5.0 by mass)

R443A [PROPYLEN/PROPANE/ISOBUTAN] (55.0/40.0/5.0 by mass)

R444A [32/152A/1234ZEE] (12.0/5.0/83.0 by mass) !!warning: estimated parameters!!

R444B [32/152A/1234ZEE] (41.5/10.0/48.5 by mass)

R445A [CO2/134A/1234ZEE] (6.0/9.0/85.0 by mass)

R446A [32/1234ZEE/BUTANE] (68.0/29.0/3.0 by mass) !!warning: estimated parameters!!

R447A [32/125/1234ZEE] (68.0/3.5/28.5 by mass)

R447B [32/125/1234ZEE] (68.0/8.0/24.0 by mass)

R448A [32/125/1234YF/134A/1234ZEE] (26.0/26.0/20.0/21.0/7.0 by mass)

R449A [32/125/1234YF/134A] (24.3/24.7/25.3/25.7 by mass)

R449B [32/125/1234YF/134A] (25.2/24.3/23.2/27.3 by mass)

R449C [32/125/1234YF/134A] (20.0/20.0/31.0/29.0 by mass)

R450A [134A/1234ZEE] (42.0/58.0 by mass)

R451A [1234YF/134A] (89.8/10.2 by mass)

R451B [1234YF/134A] (88.8/11.2 by mass)

R452A [32/125/1234YF] (11.0/59.0/30.0 by mass)

R452B [32/125/1234YF] (67.0/7.0/26.0 by mass)

R452C [32/125/1234YF] (12.5/61.0/26.5 by mass)

R453A [32/125/134A/227EA/BUTANE/IPENTANE] (20.0/20.0/53.8/5.0/0.6/0.6 by mass) !!warning: estimated parameters!!

R454A [32/1234YF] (35.0/65.0 by mass)

R454B [32/1234YF] (68.9/31.1 by mass)

R454C [32/1234YF] (21.5/78.5 by mass)

R455A [CO2/32/1234YF] (3.0/21.5/75.5 by mass)

R456A [32/134A/1234ZEE] (6.0/45.0/49.0 by mass)

R457A [32/1234YF/152A] (18.0/70.0/12.0 by mass)

R458A [32/125/134A/227EA/236FA] (20.5/4.0/61.4/13.5/0.6 by mass) !!warning: estimated parameters!!

R459A [32/1234YF/1234ZEE] (68.0/26.0/6.0 by mass)

R459B [32/1234YF/1234ZEE] (21.0/69.0/10.0 by mass)

R460A [32/125/134A/1234ZEE] (12.0/52.0/14.0/22.0 by mass)

R460B [32/125/134A/1234ZEE] (28.0/25.0/20.0/27.0 by mass)

R460C [32/125/134A/1234ZEE] (2.5/2.5/46.0/49.0 by mass)

R461A [125/143A/134A/227EA/ISOBUTAN] (55.0/5.0/32.0/5.0/3.0 by mass) !!warning: estimated parameters!!

R462A [32/125/143A/134A/BUTANE] (9.0/42.0/2.0/44.0/3.0 by mass)

R463A [CO2/32/125/1234YF/134A] (6.0/36.0/30.0/14.0/14.0 by mass)

R464A [32/125/1234ZEE/227EA] (27.0/27.0/40.0/6.0 by mass) !!warning: estimated parameters!!

R465A [32/PROPANE/1234YF] (21.0/7.9/71.1 by mass) !!warning: estimated parameters!!

R500 [12/152A] (73.8/26.2 by mass)

R501 [22/12] (75.0/25.0 by mass)

R502 [22/115] (48.8/51.2 by mass)

R503 [23/13] (40.1/59.9 by mass)

R504 [32/115] (48.2/51.8 by mass)

R507A [125/143A] (50.0/50.0 by mass)

R508A [23/116] (39.0/61.0 by mass)

R508B [23/116] (46.0/54.0 by mass)

R509A [22/218] (44.0/56.0 by mass)

R510A [DME/ISOBUTAN] (88.0/12.0 by mass)

R511A [PROPANE/DME] (95.0/5.0 by mass)

R512A [134A/152A] (5.0/95.0 by mass)

R513A [1234YF/134A] (56.0/44.0 by mass)

R513B [1234YF/134A] (58.5/41.5 by mass)

R515A [1234ZEE/227EA] (88.0/12.0 by mass) !!warning: estimated parameters!!

R516A [1234YF/134A/152A] (77.5/8.5/14.0 by mass)

R469A [CO2/32/125] (35.0/32.5/32.5 by mass)

R470A [CO2/32/125/134A/1234ZEE/227EA] (10.0/17.0/19.0/7.0/44.0/3.0 by mass) !!warning: estimated parameters!!

R470B [CO2/32/125/134A/1234ZEE/227EA] (10.0/11.5/11.5/3.0/57.0/7.0 by mass)

R457B [32/1234YF/152A] (35.0/55.0/10.0 by mass)

R472A [CO2/32/134A] (69.0/12.0/19.0 by mass)

R515B [1234ZEE/227EA] (91.1/8.9 by mass) !!warning: estimated parameters!!

R466A [32/125/13I1] (49.0/11.5/39.5 by mass) !!warning: estimated parameters!!

R467A [32/125/134A/ISOBUTAN] (22.0/5.0/72.4/0.6 by mass)

Using the Program

Reference States (enthalpy and entropy differences)

For differences in enthalpy and entropy between the Refprop graphical interface and the Refprop Excel sample spreadsheet, or for differences in enthalpy and entropy between Refprop and tables of properties given in handbooks: 

The absolute values of enthalpy, entropy, and energy at a single state point are meaningless.  It is only the difference between two different state points that matter.  Thus, the value for a single state point can be set to any arbitrary value.  Many handbooks set the arbitrary state point so that the values of these properties are positive for most liquid or gas states.  The user can change the values of the arbitrary state points by going to the Options/Reference State menu. 

For mixtures, there are additional options that can be set to affect the manner in which these properties are calculated.  In the Options/Reference State menu, there are two choices at the bottom of the menu on the far right.  By changing this option, the two programs will then return the same values.  This option can be permanently saved in the graphical interface by selecting Options/Save Options, and the saving the options under the file name defaults.prf.  To change the default in the Excel file, press Alt-F11 to bring up the VB code.  If the code does not appear, make sure the project explorer is visible (View/Project Explorer), and then click on modules and then on module1.  Search for the call to SETREF, and change the second input from 2& to 1&.  More information on this can be found in your Refprop\Fortran directory in the file SETUP.FOR under the SETREF subroutine.

To permanently change the default setting for a pure fluid, edit the fluid file and look at the 14th line of the file, which will appear similar to this:

IIR !default reference state

Remove this line and add two lines in its place, similar to the following:

OTH !default reference state
300.0 1.0 10000.0 100.0  !tref, Pref, Href, Sref

These lines will set the enthalpy to 10000 J/mol and the entropy to 100 J/mol-K at 300 K and 1 kPa.  These values can be changed to any other desired values.

Multiple and Metastable States

There are cases where an input state point can result in two separate valid states.  The most common is temperature-enthalpy inputs.  Viewing a P-H diagram (or a T-H diagram with very high pressures) will help show how there can be two valid states points for a given input.  For example, nitrogen at 140 K and 1000 J/mol can exist at 6.85 MPa and at 60.87 MPa.  When this situation occurs, Refprop returns the state with the higher density.  For these state points , the character ‘<’ or ‘>’ can be added to the number (before or after) to find the lower or upper root, respectively.  The example file REFPROP.XLS contains new code and an example of its use. These same characters can also be used to find metastable fluid states for temperature and pressure inputs.  For example, the saturation pressure for nitrogen at 100 K is 0.778 MPa.  Inputs of 100 K and 0.777 MPa will return a vapor state, but inputs of ‘100’ for temperature and ‘0.777>’ for pressure will return a metastable liquid state.  See below for additional information about the use of the ‘>’ and ‘<’ symbols.

Intro to Pure Fluids and 2-Phase States

Defining the state of a fluid normally requires two inputs, such as pressure-temperature, temperature-enthalpy, pressure-enthalpy, and so forth. This is true for the single-phase states and for two-phase solutions with mixtures of fluids. (Some inputs may have two solutions, this was described earlier.) For pure fluids, using inputs of pressure and temperature is not sufficient to describe the state of the fluid since both remain constant between the liquid and vapor states. Some other property, such as quality, enthalpy, or density, is required to specify the two-phase state point for the pure fluid. Once the quality is known, some of the other thermodynamic properties can be calculated with the equation M=q*Mvap + (1-q)*Mliq, where M is the property of interest and q is the quality. There are several properties that cannot be calculated this way, including the heat capacities, the speed of sound, and the transport properties. These quantities are undefined in the two-phase region for any fluid, except Cv, which is defined very differently than one would expect. There are some people who use a different formula to calculate the speed of sound in the two phase, but it is applicable only in certain specific applications. In these situations, it is best to consider the properties of the liquid and of the vapor separately, and how they interact with the application being developed.

As an example, consider Cp, which could be calculated from any equation of state using the quality, but thermodynamically is not defined for a two-phase mixture. Cp is the heat capacity along an isobaric process and is equal to dH/dT at constant p. Since pressure and temperature do not change across the two phase for a pure fluid, then that means Cp would be equal to infinity because the heat capacity changes but the temperature does not, thus the definition makes it thermodynamically impossible to calculate it.  The only place that Cp can be infinity is at the critical point.

Intro to Mixtures and 2-Phase States.

Dealing with saturation or 2-phase states in Refprop can be a bit confusing when first using the program. The text and pictures given below address some of these issues to help users better understand how to obtain properties from the program.

As an example, consider the methane/ethane system with a molar composition of 50% methane and 50% ethane. For mixtures in the 2-phase (or at saturation), it is always best to turn on the composition columns (under Properties/Mixtures/Composition). For saturation states, bring up a saturation table [under Calculate/Saturation Points (at equilibrium)]. The table shows two entries for each property. It is very important to place the known property under the correct column. For example, the input property for bubble points (liquid state) should be placed under the “Liquid” column; dew points (vapor state) should be placed under the “Vapor” column. An example picture is given below. On the first line, 150 K was entered under the liquid column. This calculated a liquid bubble point pressure of 0.552 MPa. The liquid phase mole fractions show the input composition of 0.5/0.5. The vapor phase mole fractions show that the first bit of vapor will have a composition of 0.987/0.013. In the second row, 150 K was entered in the vapor column, producing a dew point pressure of 0.019 MPa. The vapor mole fractions show the input composition of 0.5/0.5. The first drop of liquid to form will have a mole fraction of 0.0074/0.9926.

For 2-phase states, turn on the option labeled “Bulk, liquid, and vapor properties” under Options/Properties. Then bring up a table under Calculate/Specified State Points. The information obtained above shows that pressures for 2-phase state points at 150 K will lie between 0.019 and 0.552 MPa. Enter 150 K in the temperature column and 0.3 MPa in the pressure column. The program will then calculate the 2-phase point. The output shows that the overall composition of the mixture is still 0.5/0.5. The composition of the fluid in the liquid phase will be 0.246/0.754 and that of the vapor phase will be 0.972/0.028. This is shown in the picture below.

The Excel sample spreadsheet included in the Refprop directory shows an example for the mixture R410A (between rows 70 and 98).

Programming

Changing Fluids and Calling SETUP Multiple Times

Calling SETUP (or SETUPdll) many many times can result in a memory loss error and in a substantial decrease of computation speed. In many situations, it is better to load all of the fluids at the start of the program, calling SETUP only once. You can then switch between fluids through the use of calls to SETNC and PUREFLD. The example below shows how this can be done for a mixture combined with several pure fluids. If two different mixtures are required, load all fluids and set the composition to 0 for those fluids not involved in a particular application. This could easily be done by using two different arrays for the composition.

Calculation of the Critical Point and Saturation States in the Critical Region

The calculation of saturation states requires complex algorithms and significant processor time. Version 9.1 introduced the subroutine SATSPLN, which can be called directly after the call to SETUP, and generates spline curves that represent the various properties that are required as initial guesses to the saturation algorithms in order to increase convergence and speed. This new subroutine, however, can take several seconds to implement, and should only be done once at the very beginning. If the composition of the fluid changes significantly, and if you notice problems with convergence, you may need to call it again with the new composition. Although the routine gives estimates only for saturation states, single phase calculations will also be much faster since a call to the saturation routine is required to determine the phase of the input state. The routine is called like this:

call SATSPLNdll (x, ierr, herr, 255)

(without the “dll” and 255 if calling directly from FORTRAN). Once the splines are generated, you can call the CRITP, MAXT, and MAXP routines to get the critical point and maximum values along the saturation lines (see the SAT_SUB.FOR file for details). The new subroutine SATGV can be called when the SATT, SATP, or SATTP routines fail in the critical region. For graphing the saturation lines without the need for states at any specific temperature or pressure, the SATGV routine can be called with density as the input, ranging from very low values in the gas phase, through the critical region, and then to high densities in the liquid.

In Excel or MATLAB, the call to SATSPLN is included in the code, but is deactivated. To activate this call, enter the code (press Alt-F11 in Excel) and search for this subroutine in the file (under “Modules” in Excel). Then read the comments above the line and activate the routine by removing the first character on that line. You may need to exit and restart Excel or MATLAB for this to work.

Calculation of Phase Diagrams for Plotting Purposes

The calculation of the entire phase diagram can be difficult with the routines that require either temperature or pressure as inputs due to the second root in the retrograde region. An alternative routine called SATGV is available that makes this process simple through the use of density as the input; see the file Manual.txt in your Refprop\Fortran directory for a list of the inputs and outputs. In order to use this routine, you must first call subroutine SATSPLN, see the details above. Subroutine SATGV can then be called like this:

call SATGV (t,p,z,vf,d,1,6,1,rhox,rhoy,x,y,ierr,herr)

The inputs are composition in the z array and density (either vapor or liquid phase) in the variable d. The variable vf is double precision and should be set to 1.0. The routine will then return the temperature and pressure at this density. To obtain data points for the entire phase diagram, call this routine starting at a very low density in the vapor phase, and slowly increment the density until you are deep in the liquid phase at low temperatures. The other outputs are not necessary for this application.

FLSH Routines and Metastable States

For subroutines such as ENTHAL, ENTRO, CVCP, etc., where temperature and density are the input properties, the output property data will differ from those returned when using routines such as PHFLSH or TPFLSH when in the two-phase region.  Any routine (except TDFLSH) that uses temperature and density as inputs will return what appears to be erroneous results in the two-phase region.  These results actually show calculations directly from the equation of state without taking into account the fact that the mixture has split into two phases.  The results would be valid for such situations where a substance is heated beyond its boiling point (a metastable state), but without boiling (such as water in a glass container being heated in a microwave).  The results eventually end up at the spinodal, beyond which it is no longer possible to increase the temperature without boiling the liquid.  Thus, for typical results these routines should never be used for two-phase calculations, rather the FLSH routines should be called.  The flash routines return the properties in the liquid and vapor states, and these can be used to call routines such as THERM, CVCP, TRNPRP, etc., with the associated liquid or vapor density at the saturated temperature.

Error Messages

Convergence Failures and Forcing Phase Calculations

When using mixtures, error messages will sometimes be reported when Refprop fails to converge during an iteration, usually during the calculation of a VLE state close to the critical point.  In some situations you may know that the point is in the single phase and wish to force the calculation in spite of the error message.  This can be done with the ‘>’ and ‘<’ symbols.  When one of these is attached to a number in the Specified State Points table, Refprop will assume that the point is in the liquid phase when ‘>’ is attached and in the vapor phase when ‘<’ is attached.  Care must be taken because metastable states will be returned in the point is in the two phase.  When a state point is above the critical point but Refprop reports a nonconvergence, you can use either of these symbols to force the calculation.  For example, a 0.5/0.5 mixture of methane/propane will report a nonconvergence at 300 K and 10 MPa.  A P-rho diagram shows that the point is above the critical pressure.  Entering ‘300’ for temperature and ‘10>’ for pressure will return the valid state point at 10.826 mol/l. For programming convergence errors, see above.

Mixture Error Messages

The error message "No mixture data are available for one or more binary pairs in the specified mixture. The mixing parameters have been estimated." (message #-117) occurs when an interaction parameter for two different fluids is not available in the program.  The most common reason for this occurrence is a lack of experimental data to describe VLE, densities, and so forth for the binary pair.  In other situations, such as many mixtures with water, interaction parameters have not been fitted to the REFPROP model even though data exist.  An estimation scheme is available in the program to approximate one of the interaction parameters that helps improve bubble and dew point pressures.  This error message indicates that you should be aware that calculated properties are estimates only.  For similar fluids, especially among the refrigerants, the scheme works fairly well.  It breaks down with dissimilar fluids and eventually the scheme will produce large interaction parameters and will report the error message  "No mixture data are available for one or more binary pairs in the specified mixture. The mixture is outside the range of the model and calculations will not be made."

Fluids

List of fluids

The following is a list of fluids that come with REFPROP

GERG-2008 Equation of State for Natural Gas Mixtures

The current equation of state for calculating the properties of natural gas mixtures is the GERG-2008 equation (GERG is the European Gas Research Group). This equation is based on an excess Helmholtz energy approach using pure fluid equations of state (either those specified by GERG, or the current standards that have slightly higher accuracies) and a mixture model that specifies the excess contribution. The 2008 version is an extension of the 2004 version, containing the additional fluids nonane, decane, and hydrogen sulfide in addition to methane, nitrogen, carbon dioxide, ethane, propane, n-butane, isobutane, n-pentane, isopentane, n-hexane, n-heptane, n-octane, hydrogen, oxygen, carbon monoxide, water, helium, and argon. The 2008 edition also replaced the pure fluid equations of state for isopentane and carbon monoxide with published versions. These two models are fully described in the following publications:

Kunz, O. and Wagner, W., The GERG-2008 Wide-Range Equation of State for Natural Gases and Other Mixtures: An Expansion of GERG-2004, to be submitted to J. Chem. Eng. Data, 2012.

Kunz, O., Klimeck, R., Wagner, W., and Jaescke, M., The GERG-2004 Wide-Range Equation of State for Natural Gases and Other Mixtures: GERG Technical Monograph 15 and Fortschr.-Ber. VDI, Reihe 6, Nr. 557, VDI Verlag, Düsseldorf, 2007. link to PDF

The natural gas equation of state has been expanded to include ethylene, propylene, methanol, ethanol, toluene, benzene, cyclohexane, sulfur dioxide, ammonia, dodecane, acetone, and butylene. When selecting the option to use the full GERG-2008 equation of state (either through the GUI or by calling the “GERG2004” subroutine), the use of these additional fluids is still allowed. This is not the same as when the AGA-8 equation of state is selected, in which case only the original 21 fluids (same as those in the GERG-2008 model) are allowed.

HFO-1234yf, 1234ze(E), 1234ze(Z), 1233zd(E), and Refrigerant Mixtures.

Equations of state are now available for these fluids. R1234yf and R1234ze(E) were included in versions 9.0 and 9.1, but version 9.0 incorrectly used the NBP reference state instead of IIR, as done with all other refrigerants. The file name for R1234ze(E) has been renamed as R1234ZEE.FLD to avoid confusion with R1234ze(Z). You should delete your old R1234ZE.FLD file when downloading the fluid file for R1234ze(E) (the contents of the fluid file have not changed). The fluid files are located below and should be placed in your Refprop\Fluids directory for both versions 9.0 and 9.1. This fluid file works with both versions 9.0 and 9.1 of Refprop. R1234yf only needs to be downloaded if you are using version 9.0. The fluid files included in version 9.0 incorrectly used the NBP reference state.

New refrigerant predefined mixture files are available, such as that for R-448A. To add these to Refprop, unzip the file below in your Refprop\Mixtures directory:

«On November 10, 2015, we released a new mixture file (HMX.BNC) that now contains mixing parameters for every binary of the fluids R-32, R-125, R-134a, R-1234yf, and R-1234ze(E). With these, mixtures such as R-448A that contain all five of these no longer use the predictive methods to get the interaction parameters. This file works with both versions 9.0 and 9.1 of Refprop. If you would like this file, please contact us.

Humid Air

Although Refprop allows mixtures of nitrogen, argon, oxygen, and water as a consequence from the addition of the new natural gas mixture model, calculations for moist air have not been tested yet.  It is likely that calculated values are reasonable, however, Refprop may not return results because the saturation routines may fail.  The program calls the saturation routines to determine if the state is vapor, liquid, or two-phase.  If you know that your state point is in the vapor phase, you can avoid the call to the saturation routines by using TPRHO instead of TPFLSH.  The Fortran file FLSH_SUB.FOR gives additional information concerning the inputs to these routines.  In the graphical interface, see the section below on forcing phase calculations. A moist air mixture could be made up starting with the composition of dry air used in Refprop:  0.7812 nitrogen, 0.0092 argon, and 0.2096 oxygen (on a mole basis).  A small amount of water could be added to this composition and then normalized.

Mixture Models

The LJ6 mixture model has been replaced with KW0. This was necessary to implement a more efficient and stable algorithm. For most situations, this change will be completely transparent, and calculated values will not change. For those that have fitted mixture parameters to their own data (e.g., for proprietary mixtures), you can simply insert the lines from your old HMX.BNC file for a particular binary mixture into the new HMX.BNC file that comes with 9.1 (be sure that no other block exists for that mixture). When running SETUP, you may receive an error message about the LJ6 mixture model not found (ierr = –117); this should be ignored because the values are later internally converted to the KW0 model (this error message will be removed in future versions). Conversion of LJ6 to KW0 converts the LJ6 xeta parameter (for the reducing temperature) to the KW0 gammaT and betaT values. The numerical values of the parameters are different, but the calculated properties will be identical. For those wishing to fit mixing parameters to new experimental VLE data, XR0 should be used for the fitting process and only the gammaT value should be fitted.

Solids

The REFPROP program does not know the location of the solid-liquid interface for a mixture.  For many of the pure fluids, melting line auxiliary equations are available and can be used to calculate liquid properties at the point where solids begin to form and can be used to keep the program from entering the solid phase.  When melting lines are not available, the program uses the liquid phase density at the triple point as the maximum density, thus valid states between this density and the melting line will not be available.  The location of the solid-liquid boundary can be calculated under the Calculate/Saturation Tables option.  This option will also print out the vapor phase properties along the sublimation line if requested (and if an auxiliary equation is available).

Transport Properties for Nitrogen, Oxygen, Argon, and Air

The transport properties for nitrogen, argon, and oxygen in version 7.0 did not include the thermal conductivity enhancement for the critical region and did not represent the experimental data as well as possible.  The transport equations for these fluids have been redone and now represent the data to within their experimental uncertainties.  The publication below documents the new equations and shows all of the comparisons to data.

Transport Properties for Mixtures

The transport properties for mixtures can be calculated (or estimated) for nearly all mixtures, except for: mixtures with more than 5% (by mole) water, and mixtures with alcohols. The user should be cautioned that experimental data coverage for transport properties of mixtures are very sparse, and the extended corresponding states approach for transport properties is used in fully predictive mode for many mixtures. Please see Chicester and Huber’s NIST internal report for a description of this methodology.

Transport Properties for Pseudo-pure Fluids; Adding Pure Fluids to a Mixture Setup

The ability to load both a mixture and a pure fluid not associated with the mixture is now possible. For example, a natural gas mixture of methane, ethane, and propane could be loaded, along with R134a, which is not part of the mixture. By calling SETNC and PUREFLD, properties for either the mixture or the pure fluid can be made without ever calling SETUP more than once at the beginning. This is also useful for calculating transport properties when the pseudo-pure fluid equation of state is in use (for R-404A, R-407C, R-410A, and R-507A). Since transport properties are not available in the PPF files, the full mixture has to be loaded as well. The example program below gives all the details.

Required Fluids for Distribution

There are several fluid files that Refprop accesses in order to run properly.  These are NITROGEN.FLD, PROPANE.FLD, R134A.FLD, and C12.FLD (dodecane).  These fluids are used as reference fluids in extended corresponding states methods employed in Refprop to predict transport properties for some instances.  These fluids (and the hmx.bnc file) should be distributed in addition to those required in a particular application if the Refprop routines have been incorporated into a software package. Note that a licensing agreement must be purchased before distributing your software to others.

Resolving Problems Linking with Excel

Before reading the items below, we highly advise you to either uninstall and reinstall the REFPROP program outside of the Windows system directories (such as on a different drive or in your Users directory) or to simply move the installed directory outside the Windows protected locations. This will decrease many of the frustrations caused by not having control over saving and changing files. If you move the directory, see the information below about changing the path and the RPprefix variables.

Additional information not included below can be found at https://github.com/usnistgov/REFPROP-wrappers/tree/master/wrappers/Excel

  1. Open the REFPROP.XLS file to see if the calculations work in that file.

  2. Check the path statement to ensure that the directory where Refprop was installed is included in the path. This can be found under Control Panel/System/Advanced System Settings/Environment Variables.

  3. Check carefully the RPprefix environment variable found in the same location as the path (as described in #2 directly above). This variable may appear in both the top and bottom sections, if so, delete the one in the bottom section. The path it lists may not be the correct path to the Refprop directory, sometimes it may show “C:\Program Files\REFPROP” when it actually should be “C:\Program Files (x86)\REFPROP”. Additional information is given here: https://github.com/usnistgov/REFPROP-wrappers/issues/298

  4. In your Users directory is a hidden system directory called AppData. Check if you have the following subdirectory: “AppData\Local\VirtualStore\Program Files\REFPROP”. If so, delete that folder. Look for another subdirectory in your Users directory labeled “AppData\Roaming\Microsoft\addins” and check for any Refprop files there. If found, delete them.

  5. Do a full system search for REFPRP64.DLL and REFPROP.DLL, including Windows and hidden directories, and delete anything that is not in your newly installed directory for version 10. (In one situation, a new computer was purchased and all files from the old computer were copied over, including the REFPRP64.DLL file from version 9.1; somehow Windows latched on to that file rather than the new one from version 10.)

  6. Go to the REFPROP.XLA file (assuming that it has already been selected as an Add-in) by pressing Alt-F11. Open up the item labeled REFPROP.XLA in the list on the left, click on Modules, and then on Refprop10Code. Near the top you will find …Sub REFPROPdll Lib “REFPRP64.DLL”… Change this to …Sub REFPROPdll Lib “c:\Program Files (x86)\REFPROP\REFPRP64.DLL”… If using a 32 bit version of Excel, add the same path to the line two lines below this one.

  7. If this works, you will need to save the .XLA file to keep the changes permanent. Go to File/Save. If your computer does not allow you to overwrite the file in the Program Files directories, sometimes deleting the old one first and then saving the new one works, but be sure to save it as a 2003 Excel add-in with an extension of .xla. You could also save it as a .xlam file, but you will need to remove the REFPROP.XLA file from your add-ins, and then add this new file as its replacement. See the “Welcome” screen in the REFPROP.XLS file for more information.

  8. When Excel cannot find the DLL, cells will show “NAME”. When it has been found but not working, cells will show “VALUE”. Check if the problems are simply that the fluid files cannot be found by entering the command =REFPROP(“DLL#”). If this works but no other commands do, the problem is usually fixed by correcting the RPprefix variable (described above).

  9. If your spreadsheet contains Refprop 9.1 commands, you can either convert them with a macro (see the “Welcome” screen in the REFPROP.XLS file for more information), or (but not preferably) you can use the add-in from version 9.1, which can be found here: https://trc.nist.gov/refprop/10-PATCH/REFPRP91.XLA.

  10. The macro for converting from 9.1 to 10 will only convert items that start as “=ENTHALPY(…”. We recently updated this macro to not include the equal sign so that all commands will be converted properly. The new files are located here: https://trc.nist.gov/refprop/10-PATCH/REFPROP.XLS https://trc.nist.gov/refprop/10-PATCH/REFPROP.XLA If you cannot access or save these files, you can add a new macro to your worksheet called Refprop91code and simply add the text from the file below. https://trc.nist.gov/refprop/FAQ/REFPROP91macros.txt

  11. The macro to do this conversion does not show up in the View Macros option in Excel. Again, see the “Welcome” screen in the REFPROP.XLS file for more information.

  12. Some users have reported that the original Office was installed via the “Microsoft Store”, which installs as a “Microsoft App” rather than installing the full software. The installation via the “Microsoft Store” is often done when purchasing a computer with Office pre-installed. Uninstalling office and reinstalling from office.com/myaccount may solve any issues.

  13. If problems still persist, it would be very useful if we can log into your machine remotely to try to find the problem and then include the solution here.

  14. If you find errors in the directions above, and especially if you find better solutions, please contact us.

  15. The best way to contact us is to use the github system so that others can see the problems and solutions. You will find that here: https://github.com/usnistgov/REFPROP-issues/issues. This website is loaded with answers to many other Refprop questions; be sure to search through the issues, and if you wish, change your Watch status so that you receive updates every time something is posted. We try to put up much more detailed answers there than would be received by a simple email request. For linking issues with other programs, be sure to look at https://github.com/usnistgov/REFPROP-wrappers/issues.

  16. For very simple comments such as misspellings, or for private conversations with us, our email addresses are Eric.Lemmon@nist.gov and Ian.Bell@nist.gov

  17. If the equations work in the REFPROP.XLS file but not in a new blank workbook (the error #VALUES is returned), try adding the file paths of the Refprop DLLs to the REFPROP.XLA file. Simply search for Lib “REFPROP.DLL” and change this to something like Lib “C:\Program files (x86)\REFPROP\REFPROP.DLL”, or wherever the DLLs for Refprop are located. Do this for the REFPRP64.DLL occurrence as well.

9.1 to 10.0 Conversions: If the macro (called RefpropConversion in the ConvertRefprop9to10 Module) for converting existing Excel files with REFPROP 9.x or earlier to the new REFPROP 10.0 format does not appear when trying to View Macros in Excel, first view the Welcome page in the REFPROP.XLS file. If the information there does not help, copy the ConvertRefprop9to10 Module under REFPROPExcelSpreadsheet in the REFPROP.XLA file to the Modules section of your own spreadsheet, which will hopefully allow you to see and run it. If you Ctrl+click or Shift+click to select multiple spreadsheet tabs, then run the macro, all of the selected tabs will update. Once done, the Module can be deleted from your spreadsheet.

10.0 to 9.1 Back Conversions: A new macro called RefpropBackConversionto91 is now available in case you wish to undo what happened when you ran the forward conversions.

If you experience that the REFPROP Addin link in Excel breaks down when used on SharePoint/OneDrive or Dropbox after a short time, see https://github.com/usnistgov/REFPROP-wrappers/issues/360. If you have experience with this and can us with further information, please post it on that github site at the bottom of issue #360.

New files: You can find the updated files at https://github.com/usnistgov/REFPROP-wrappers/tree/master/wrappers/Excel.

9.1 Macros: To continue using the commands from version 9.1 with the new 10.0 DLL, download the following xla file and include it as an Excel add-in: https://trc.nist.gov/refprop/10-PATCH/REFPRP91.XLA

Last modified: March 29, 2021.

Go to the source of this file