Você está na página 1de 67

Sample Workbook to demonstrate the use of REFPROP in a Spreadsheet.

Dr. Eric W. Lemmon Dr. Mark O. McLinden


Applied Chemicals and Materials Division Applied Chemicals and Materials Division
Theory and Modeling of Fluids Group Experimental Properties of Fluids Group
325 Broadway 325 Broadway
Boulder, CO 80305, U.S.A. Boulder, CO 80305, U.S.A.
Phone: +1-303-497-7939 Phone: +1-303-497-3580
Web: http://www.nist.gov/mml/acmd/fluids_modeling/index.cfm Web: http://www.nist.gov/mml/acmd/fluids_properties/index.cfm
Dr. Marcia L. Huber
Applied Chemicals and Materials Division
Theory and Modeling of Fluids Group
325 Broadway
Boulder, CO 80305, U.S.A.
Phone: +1-303-497-5252
Web: http://www.nist.gov/mml/acmd/fluids_modeling/index.cfm
REFPROP Function Function Syntax: Also, click fx @ left end of "input box" above
REFPROP Functions
VaporFluidString(FluidName, Optional InpCode, Optional Units, Optional Prop1, Optional Prop2)
43 #VALUE! REFPROP VerNr =>>
Arguments: (FluidName, InpCode, Units, Prop1, Prop2, i ) < the " i " placeholder is used for mixtures only
FluidName, InpCode, and Units are "text", use quotes. Prop1 and Prop2 are numbers
FluidName = "text" - fluid must be either in Fluids or Mixtures sub directories.
Predefined mixtures must contain .mix suffix, eg: "air.mix"
User defined mixtures , with composition entered on a mole or mass basis
InpCode = "text" - names and order of Prop1 and Prop2.
"TP" means Prop1 is Temperature, Prop2 is Pressure (need quotes)
Valid InpCodes: TP, TD, TH, TS, TE, TQ, PD, PH, PS, PE, PQ, DH, DS, DE, HS
Saturated liquid or vapor inputs: Tliq, Tvap, Pliq, Pvap, TPL, TPV
ALSO>>>. Hsat, Hsat1, Hsat2, Ssat, Ssat1, Ssat2
Required 2-phase InpCodes: TD, PD, TQ, PQ, DH, DS
Other: Crit, Trip, <(Prop place holders only); Tmelt, Pmelt, Tsubl, Psubl <( Prop2 is Optional )
Special: TH< dualRoot
Units (not case sensitive) = "text", valid Units are "SI", "SI with C" or "C", "Molar SI" FluidString(FluidRange,FractionRange)
UnitsAlso: "E", "Molar E", "mks", "cgs", "Mixed", "MEUnits" <metric FluidString(FluidRange,FractionRange) & " mass"
If this input is omitted, then SI is default. (Unless DefaultUnits changed in VBA ) LiquidFluidString() always returns a value in MOLES
Prop1 = numerical value (without quotes) of the first input property (in the units of the previous line) VaporFluidString() always returns a value in MOLES
Prop2 = numerical value (without quotes) of the second input property (if required).
Mixture component functions require the index i, the component number in the mixture ( 1 <= i <= 20 )
Routines for working with mole & mass fractions
Mole2Mass LiquidMoleFraction Mass Fraction
Mass2Mole VaporMoleFraction Mole Fraction
FAQ REFPROP >> http://www.boulder.nist.gov/div838/theory/refprop/Frequently_asked_questions.htm
UserGuide REFPROP > http://www.nist.gov/srd/upload/REFPROP9.pdf
http://www.nist.gov/srd/nist23.cfm
Running Refprop within Excel
***Do not save your work as REFPROP.XLS, but rename it. This will avoid losing the file if you ever uninstall or reinstall the program.***
Macros in Excel must be enabled to calculate properties.
The help file in the REFPROP graphical interface (REFPROP.exe) gives additional information on calculating properties or running macros from any spreadsheet.
The REFPROP.xls file can be savedas a template file (REFPROP.xlt). When a new Excel file is created (under File/New) using this template file, a suffix number is appended so that thesaved material will not overwrite the original file.
Using template files will help prevent the lose of your work if you even uninstall or install a new version that overwrites the refprop.xls file.
To recalculate all of the values in every cell, press Ctrl-Alt-F9. Recalculating worksheets with a large number of formulas can take a long time. See lower left of screen to monitor recalculation rate.
Setting paths for linking with the DLL and FLD files outside of the Refprop directory.
Please see the information on the FAQ website listed above, as Refprop 9.1 now sets up your environment variables for you and the latest information
needed to implement this is updated from time to time on the website.
Changes from previous versions
The units used here have changed slightly from those used in REFPROP 7.0. "SI" now refers to SI units on a mass basis, while "Molar SI" will return the same results as those given in version 7.0.
The way quality( ) is being defined for mixtures in the 2-phase has changed since the release of version 8.0. If mass units are in effect for density, then the quality will be returned on a mass basis, i.e., kg/kg or lbm/lbm. This now coincides with the definitions in the "REFPROP with Instructions and Help.xls" file from 8.0.
Two new functions qualityMass() and qualityMole() have been added. Each calculates the vapor quality based on the function name.
94
95
96
97
98
99
100
101
102
103
104
105
VaporFluidString(FluidName, Optional InpCode, Optional Units, Optional Prop1, Optional Prop2) Function Dimensions InputUnitsCode Input Units
9.1103 name(i),molefract(i) "E" English Mass
Arguments: (FluidName, InpCode, Units, Prop1, Prop2, i ) < the " i " placeholder is used for mixtures only name(i),molefract(i) "Molar E" English Moles
FluidName, InpCode, and Units are "text", use quotes. Prop1 and Prop2 are numbers name(i),molefract(i) "SI" SI
name(i),molefract(i) "SI with C" SI with C
Predefined mixtures must contain .mix suffix, eg: "air.mix" name(i),molefract(i) "MEunits" Metric MechEngr
User defined mixtures , with composition entered on a mole or mass basis name(i),molefract(i) "Molar SI" Molar SI
name(i),molefract(i) "mks" mks
name(i),molefract(i) "cgs" cgs
name(i),molefract(i) "Mixed" Mixed
SelectedDefaultUnits >>>
SI
Other: Crit, Trip, <(Prop place holders only); Tmelt, Pmelt, Tsubl, Psubl <( Prop2 is Optional )
Defining a new fluid mixture
Units (not case sensitive) = "text", valid Units are "SI", "SI with C" or "C", "Molar SI" FluidString(FluidRange,FractionRange)
UnitsAlso: "E", "Molar E", "mks", "cgs", "Mixed", "MEUnits" <metric FluidString(FluidRange,FractionRange) & " mass"
If this input is omitted, then SI is default. (Unless DefaultUnits changed in VBA ) LiquidFluidString() always returns a value in MOLES
Prop1 = numerical value (without quotes) of the first input property (in the units of the previous line) VaporFluidString() always returns a value in MOLES
Mixture component functions require the index i, the component number in the mixture ( 1 <= i <= 20 )
http://www.boulder.nist.gov/div838/theory/refprop/Frequently_asked_questions.htm
http://www.nist.gov/srd/upload/REFPROP9.pdf
***Do not save your work as REFPROP.XLS, but rename it. This will avoid losing the file if you ever uninstall or reinstall the program.***
The help file in the REFPROP graphical interface (REFPROP.exe) gives additional information on calculating properties or running macros from any spreadsheet.
The REFPROP.xls file can be savedas a template file (REFPROP.xlt). When a new Excel file is created (under File/New) using this template file, a suffix number is appended so that thesaved material will not overwrite the original file.
Using template files will help prevent the lose of your work if you even uninstall or install a new version that overwrites the refprop.xls file.
To recalculate all of the values in every cell, press Ctrl-Alt-F9. Recalculating worksheets with a large number of formulas can take a long time. See lower left of screen to monitor recalculation rate.
Please see the information on the FAQ website listed above, as Refprop 9.1 now sets up your environment variables for you and the latest information
All units use a mass basis for properties and a mole basis for
compositions, except "Molar SI" and "Molar E", which use a mole basis
everywhere
The units used here have changed slightly from those used in REFPROP 7.0. "SI" now refers to SI units on a mass basis, while "Molar SI" will return the same results as those given in version 7.0.
The way quality( ) is being defined for mixtures in the 2-phase has changed since the release of version 8.0. If mass units are in effect for density, then the quality will be returned on a mass basis, i.e., kg/kg or lbm/lbm. This now coincides with the definitions in the "REFPROP with Instructions and Help.xls" file from 8.0.
Two new functions qualityMass() and qualityMole() have been added. Each calculates the vapor quality based on the function name.
Property
temperature
pressure
density
volume
enthalpy
energy
entropy
speed of sound
viscosity
thermal conductivity
kinematic viscosity
thermal diffusivity
surface tension
expansivity
second virial
compressibility
joule thomson
dpdd
dpdd2
dpdt
dddt
dhdt
dhdp
dhdd
compressibility factor
coefficient
prandtl
dielectric constant
molar quality
mass quality
mole fraction
mass fraction
molar mass
energy flow rate
mass flow rate
volume flow rate
distance
time
94
95
96
97
98
99
100
101
102
103
104
105
\\vboxsrv\conversion_tmp\scratch_2\[233312772.xls.ms_office.xls]Examples
VLOOKUP() TableRange M4 : X110
PropertyUnits Code 1 2
PropertyUnits 3 1 >>>>INPUT FluidString<<<<
PropertyUnits 7 2 FluidString()
NIST DefaultUnits 0 3 PropertyUnits()
PropertyUnits 9 4 ______________PROPERTY
PropertyUnits 5
temperature 5 Temperature()
PropertyUnits 6
pressure 6 Pressure()
PropertyUnits 1
density7 Density()
PropertyUnits 2
density8 LiquidDensity()
PropertyUnits 4
density9 VaporDensity()
volume10 Volume()
quality11 Quality()
molar quality 12 QualityMole()
mass quality 13 QualityMass()
compressibility factor 14 CompressibilityFactor()
expansivity 15 VolumeExpansivity()
16 ________________ENERGY
energy17 Energy()
entropy 18 IsochoricHeatCapacity()
entropy 19 Cv()
enthalpy 20 Enthalpy()
enthalpy 21 LiquidEnthalphy()
enthalpy 22 VaporEnthalpy()
entropy 23 IsobaricHeatCapacity()
entropy 24 Cp()
entropy 25 LiquidCp()
entropy 26 VaporCp()
enthalpy 27 LatentHeat()
enthalpy 28 HeatOfVaporization()
entropy 29 Entropy()
entropy 30 LiquidEntropy()
entropy 31 VaporEntropy()
second virial 32 SecondVirial()
entropy 33 Csat()
The REFPROP.xls file can be savedas a template file (REFPROP.xlt). When a new Excel file is created (under File/New) using this template file, a suffix number is appended so that thesaved material will not overwrite the original file. coefficient 34 Activity()
coefficient 35 ActivityCoefficient()
enthalpy 36 ChemicalPotential()
pressure 37 Fugacity()
coefficient 38 FugacityCoefficient()
39 ____Mass, Mole & MIXTURE
40 FluidString() mass basis
41 FluidString() mole basis
fluid string 42 LiquidFluidString()
fluid string 43 VaporFluidString()
The way quality( ) is being defined for mixtures in the 2-phase has changed since the release of version 8.0. If mass units are in effect for density, then the quality will be returned on a mass basis, i.e., kg/kg or lbm/lbm. This now coincides with the definitions in the "REFPROP with Instructions and Help.xls" file from 8.0. molar mass 44 MolarMass()
mole fraction 45 MoleFraction(i)
mole fraction 46 LiquidMoleFraction(i)
mole fraction 47 VaporMoleFraction(i)
PropertyUnits() >> SI with C mass fraction 48 MassFraction(i)
Dimensions Unit Systems mass fraction 49 LiquidMassFraction(i)
C e mass fraction 50 VaporMassFraction(i)
MPa molar e 51 ComponentName(i)
kg/m^3 SI molar mass 52 Mole2Mass(i)
m^3/kg si with c mole fraction 53 Mass2Mole(i)
kJ/kg meunits 54 ___________TRANSPORT
kJ/kg molar si viscosity 55 Viscosity()
kJ/kg-K mks kinematic viscosity 56 KinematicViscosity() = /
m/s cgs thermal conductivity 57 ThermalConductivity()
uPa-s mixed thermal diffusivity 58 ThermalDiffusivity() = k/Cp
mW/m-K prandtl 59 Prandtl() Pr = Cp/k
cm^2/s surface tension 60 SurfaceTension()
cm^2/s dielectric constant 61 DielectricConstant()
mN/m 62 _________HEATING VALUE
1/K enthalpy 63 HeatOfCombustion()
m^3/kg enthalpy 64 GrossHeatingValue()
1/MPa enthalpy 65 NetHeatingValue()
K/MPa 66 ________________SONIC
MPa/(kg/m^3) coefficient 67 Cstar() Critical Flow Factor
MPa/(kg/m^3)^2 speed of sound 68 Sound()
MPa/K speed of sound 69 SpeedOfSound()
(kg/m^3)/K 70 ___ISENTROPIC (ADIABATIC)
(kJ/kg)/K coefficient 71 IsentropicExpansionCoef()
(kJ/kg)/MPa compressibility 72 AdiabaticCompressibility()
(kJ/kg)/(kg/m^3) pressure 73 AdiabaticBulkModulus()
dimLess 74 _________ISOTHERMAL
dimLess compressibility 75 IsothermalCompressibility()
dimLess coefficient 76 IsothermalExpansionCoef()
dimLess pressure 77 IsothermalBulkModulus()
MoleFr.Vaporized 78 __________DERIVATIVE
MassFr.Vaporized joule thomson 79 JouleThomson()
mol/mol dpdd 80 dPdrho()
g/g dpdd281 d2Pdrho2()
g/mol dpdt 82 dPdT()
dpdt 83 dPdTsat()
kJ/s dddt 84 drhodT()
g/s dhdt 85 dHdT_D()
m^3/s dhdt 86 dHdT_P()
m dhdd 87 dHdD_T()
s dhdd 88 dHdD_P()
dhdp 89 dHdP_T()
dhdp 90 dHdP_D()
enthalpy 91 SpecificHeatInput()
92
93 __________WorkBook Info.
94 WorkBookName()
95 RefpropXLSVersionNumber()
96 RefpropDLLVersionNumber()
97 WhereAreREFPROPfunctions()
98 WhereIsWorkbook()
99 SeeFileLinkSources()
100 Path\FileName\]Worksheet
101 SelectedDefaultUnits()
102
103 End of Function List
104
105
\\vboxsrv\conversion_tmp\scratch_2\[233312772.xls.ms_office.xls]Examples
VLOOKUP() TableRange M4 : X110 Dimensions are in columns P thru X. Function Arguments are in Column Z
3 4 5 6
"E" "Molar E" "SI" "SI with C"
E molar E SI SI with C
F F K C
psia psia MPa MPa
lbm/ft^3 lbmol/ft^3 kg/m^3 kg/m^3
lbm/ft^3 lbmol/ft^3 kg/m^3 kg/m^3
lbm/ft^3 lbmol/ft^3 kg/m^3 kg/m^3
ft^3/lbm ft^3/lbmol m^3/kg m^3/kg
MassFr.Vaporized MoleFr.Vaporized MassFr.Vaporized MassFr.Vaporized
MoleFr.Vaporized MoleFr.Vaporized MoleFr.Vaporized MoleFr.Vaporized
MassFr.Vaporized MassFr.Vaporized MassFr.Vaporized MassFr.Vaporized
dimLess dimLess dimLess dimLess
1/R 1/R 1/K 1/K
Btu/lbm Btu/lbmol kJ/kg kJ/kg
Btu/lbm-R Btu/lbmol-R kJ/kg-K kJ/kg-K
Btu/lbm-R Btu/lbmol-R kJ/kg-K kJ/kg-K
Btu/lbm Btu/lbmol kJ/kg kJ/kg
Btu/lbm Btu/lbmol kJ/kg kJ/kg
Btu/lbm Btu/lbmol kJ/kg kJ/kg
Btu/lbm-R Btu/lbmol-R kJ/kg-K kJ/kg-K
Btu/lbm-R Btu/lbmol-R kJ/kg-K kJ/kg-K
Btu/lbm-R Btu/lbmol-R kJ/kg-K kJ/kg-K
Btu/lbm-R Btu/lbmol-R kJ/kg-K kJ/kg-K
Btu/lbm Btu/lbmol kJ/kg kJ/kg
Btu/lbm Btu/lbmol kJ/kg kJ/kg
Btu/lbm-R Btu/lbmol-R kJ/kg-K kJ/kg-K
Btu/lbm-R Btu/lbmol-R kJ/kg-K kJ/kg-K
Btu/lbm-R Btu/lbmol-R kJ/kg-K kJ/kg-K
ft^3/lbm ft^3/lbmol m^3/kg m^3/kg
Btu/lbm-R Btu/lbmol-R kJ/kg-K kJ/kg-K
dimLess dimLess dimLess dimLess
dimLess dimLess dimLess dimLess
Btu/lbm Btu/lbmol kJ/kg kJ/kg
psia psia MPa MPa
dimLess dimLess dimLess dimLess
name(i),molefract(i) name(i),molefract(i) name(i),molefract(i) name(i),molefract(i)
name(i),molefract(i) name(i),molefract(i) name(i),molefract(i) name(i),molefract(i)
lbm/lbmol lbm/lbmol g/mol g/mol
lbmol/lbmol lbmol/lbmol mol/mol mol/mol
lbmol/lbmol lbmol/lbmol mol/mol mol/mol
lbmol/lbmol lbmol/lbmol mol/mol mol/mol
lbm/lbm lbm/lbm g/g g/g
lbm/lbm lbm/lbm g/g g/g
lbm/lbm lbm/lbm g/g g/g
lbm/lbmol lbm/lbmol g/mol g/mol
lbmol/lbmol lbmol/lbmol mol/mol mol/mol
lbm/ft-s lbm/ft-s uPa-s uPa-s
ft^2/s ft^2/s cm^2/s cm^2/s
Btu/h-ft-F Btu/h-ft-F mW/m-K mW/m-K
ft^2/s ft^2/s cm^2/s cm^2/s
dimLess dimLess dimLess dimLess
lbf/ft lbf/ft mN/m mN/m
dimLess dimLess dimLess dimLess
Btu/lbm Btu/lbmol kJ/kg kJ/kg
Btu/lbm Btu/lbmol kJ/kg kJ/kg
Btu/lbm Btu/lbmol kJ/kg kJ/kg
dimLess dimLess dimLess dimLess
ft/s ft/s m/s m/s
ft/s ft/s m/s m/s
dimLess dimLess dimLess dimLess
1/psia 1/psia 1/MPa 1/MPa
psia psia MPa MPa
1/psia 1/psia 1/MPa 1/MPa
dimLess dimLess dimLess dimLess
psia psia MPa MPa
R/psia R/psia K/MPa K/MPa
psia/(lbm/ft^3) psia/(lbmol/ft^3) MPa/(kg/m^3) MPa/(kg/m^3)
psia/(lbm/ft^3)^2 psia/(lbmol/ft^3)^2 MPa/(kg/m^3)^2 MPa/(kg/m^3)^2
psia/R psia/R MPa/K MPa/K
psia/R psia/R MPa/K MPa/K
(lbm/ft^3)/R (lbmol/ft^3)/R (kg/m^3)/K (kg/m^3)/K
(Btu/lbm)/R (Btu/lbmol)/R (kJ/kg)/K (kJ/kg)/K
(Btu/lbm)/R (Btu/lbmol)/R (kJ/kg)/K (kJ/kg)/K
(Btu/lbm)/(lbm/ft^3) (Btu/lbmol)/(lbmol/ft^3) (kJ/kg)/(kg/m^3) (kJ/kg)/(kg/m^3)
(Btu/lbm)/(lbm/ft^3) (Btu/lbmol)/(lbmol/ft^3) (kJ/kg)/(kg/m^3) (kJ/kg)/(kg/m^3)
(Btu/lbm)/psia (Btu/lbmol)/psia (kJ/kg)/MPa (kJ/kg)/MPa
(Btu/lbm)/psia (Btu/lbmol)/psia (kJ/kg)/MPa (kJ/kg)/MPa
Btu/lbm Btu/lbmol kJ/kg kJ/kg
Dimensions are in columns P thru X. Function Arguments are in Column Z
7 8 9 10
"MEunits" "Molar SI" "mks" "cgs"
MEunits molar SI mks cgs
C K K K
bar MPa kPa MPa
g/cm^3 mol/dm^3 kg/m^3 g/cm^3
g/cm^3 mol/dm^3 kg/m^3 g/cm^3
g/cm^3 mol/dm^3 kg/m^3 g/cm^3
cm^3/g dm^3/mol m^3/kg cm^3/g
MassFr.Vaporized MoleFr.Vaporized MassFr.Vaporized MassFr.Vaporized
MoleFr.Vaporized MoleFr.Vaporized MoleFr.Vaporized MoleFr.Vaporized
MassFr.Vaporized MassFr.Vaporized MassFr.Vaporized MassFr.Vaporized
dimLess dimLess dimLess dimLess
1/K 1/K 1/K 1/K
J/g J/mol kJ/kg J/g
J/g-K J/mol-K kJ/kg-K J/g-K
J/g-K J/mol-K kJ/kg-K J/g-K
J/g J/mol kJ/kg J/g
J/g J/mol kJ/kg J/g
J/g J/mol kJ/kg J/g
J/g-K J/mol-K kJ/kg-K J/g-K
J/g-K J/mol-K kJ/kg-K J/g-K
J/g-K J/mol-K kJ/kg-K J/g-K
J/g-K J/mol-K kJ/kg-K J/g-K
J/g J/mol kJ/kg J/g
J/g J/mol kJ/kg J/g
J/g-K J/mol-K kJ/kg-K J/g-K
J/g-K J/mol-K kJ/kg-K J/g-K
J/g-K J/mol-K kJ/kg-K J/g-K
cm^3/g dm^3/mol m^3/kg cm^3/g
J/g-K J/mol-K kJ/kg-K J/g-K
dimLess dimLess dimLess dimLess
dimLess dimLess dimLess dimLess
J/g J/mol kJ/kg J/g
bar MPa kPa MPa
dimLess dimLess dimLess dimLess
name(i),molefract(i) name(i),molefract(i) name(i),molefract(i) name(i),molefract(i)
name(i),molefract(i) name(i),molefract(i) name(i),molefract(i) name(i),molefract(i)
g/mol g/mol g/mol g/mol
mol/mol mol/mol mol/mol mol/mol
mol/mol mol/mol mol/mol mol/mol
mol/mol mol/mol mol/mol mol/mol
g/g g/g g/g g/g
g/g g/g g/g g/g
g/g g/g g/g g/g
g/mol g/mol g/mol g/mol
mol/mol mol/mol mol/mol mol/mol
centipoise uPa-s uPa-s uPa-s
cm^2/s cm^2/s cm^2/s cm^2/s
mW/m-K mW/m-K W/m-K mW/m-K
cm^2/s cm^2/s cm^2/s cm^2/s
dimLess dimLess dimLess dimLess
mN/m mN/m dyn/cm
dimLess dimLess dimLess dimLess
J/g J/mol kJ/kg J/g
J/g J/mol kJ/kg J/g
J/g J/mol kJ/kg J/g
dimLess dimLess dimLess dimLess
cm/s m/s m/s cm/s
cm/s m/s m/s cm/s
dimLess dimLess dimLess dimLess
1/bar 1/MPa 1/kPa 1/MPa
bar MPa kPa MPa
1/bar 1/MPa 1/kPa 1/MPa
dimLess dimLess dimLess dimLess
bar MPa kPa MPa
K/bar K/MPa K/kPa K/MPa
bar/(g/cm^3) MPa/(mol/dm^3) kPa/(kg/m^3) MPa/(g/cm^3)
bar/(g/cm^3)^2 MPa/(mol/dm^3)^2 kPa/(kg/m^3)^2 MPa/(g/cm^3)^2
bar/K MPa/K kPa/K MPa/K
bar/K MPa/K kPa/K MPa/K
(g/cm^3)/K (mol/dm^3)/K (kg/m^3)/K (g/cm^3)/K
(J/g)/K (J/mol)/K (kJ/kg)/K (J/g)/K
(J/g)/K (J/mol)/K (kJ/kg)/K (J/g)/K
(J/g)/(g/cm^3) (J/mol)/(mol/dm^3) (kJ/kg)/(kg/m^3) (J/g)/(g/cm^3)
(J/g)/(g/cm^3) (J/mol)/(mol/dm^3) (kJ/kg)/(kg/m^3) (J/g)/(g/cm^3)
(J/g)/bar (J/mol)/MPa (kJ/kg)/kPa (J/g)/MPa
(J/g)/bar (J/mol)/MPa (kJ/kg)/kPa (J/g)/MPa
J/g J/mol kJ/kg J/g
11 12
"Mixed"
Mixed
K
psia
g/cm^3
g/cm^3
g/cm^3
cm^3/g
MassFr.Vaporized
MoleFr.Vaporized
MassFr.Vaporized
dimLess
1/K
J/g
J/g-K
J/g-K
J/g
J/g
J/g
J/g-K
J/g-K
J/g-K
J/g-K
J/g
J/g
J/g-K
J/g-K
J/g-K
cm^3/g
J/g-K
dimLess
dimLess
J/g
psia
dimLess
Arguments with the word "Optional" may be required, depending upon how the function is used
name(i),molefract(i)
name(i),molefract(i)
g/mol
mol/mol
mol/mol
mol/mol
g/g
g/g
g/g
g/mol
mol/mol
uPa-s
cm^2/s
mW/m-K
cm^2/s
dimLess
mN/m
dimLess
J/g
J/g
J/g
dimLess
m/s
m/s
dimLess
1/psia
psia
1/psia
dimLess
psia
K/psia
psia/(g/cm^3)
psia/(g/cm^3)^2
psia/K
psia/K
(g/cm^3)/K
(J/g)/K
(J/g)/K
(J/g)/(g/cm^3)
(J/g)/(g/cm^3)
(J/g)/psia
(J/g)/psia
J/g
13
Function Argument Format Select REFPROP function from menu list box in column A
FluidString(NamesRange, CompRange, Optional mass/mole As String)
PropertyUnits("PropertyName","InputUnits")
Thermodynamic Properties - Syntax
Temperature(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
Pressure(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
Density(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
LiquidDensity(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
VaporDensity(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
Volume(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
Quality(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
QualityMole(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
QualityMass(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
CompressibilityFactor(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
VolumeExpansivity(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
Thermal Energy Functions
Energy(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
IsochoricHeatCapacity(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
Cv(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
Enthalpy(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
LiquidEnthalpy(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
VaporEnthalpy(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
IsobaricHeatCapacity(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
Cp(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
LiquidCp(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
VaporCp(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
LatentHeat(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
HeatOfVaporization(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
Entropy(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
LiquidEntropy(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
VaporEntropy(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
SecondVirial(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
Csat(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
Activity(FluidName, Optional InpCode, Optional Units, Optional Prop1, Optional Prop2, Optional i)
ActivityCoefficient(FluidName, Optional InpCode,Optional Units,Optional Prop1, Optional Prop2, Optional i)
ChemicalPotential(FluidName, Optional InpCode, OptionalUnits, Optional Prop1, Optional Prop2, Optional i)
Fugacity(FluidName, Optional InpCode, Optional Units, Optional Prop1, Optional Prop2, Optional i)
FugacityCoefficient(FluidName, Optional InpCode,Optional Units,Optional Prop1, Optional Prop2, Optional i)
Mixture Related Functions
FluidString(NamesRange, CompRange, "mass")
FluidString(NamesRange, CompRange)
Arguments with the word "Optional" may be required, depending upon how the function is used
LiquidFluidString(FluidName, Optional InpCode, Optional Units, Optional Prop1, Optional Prop2)
VaporFluidString(FluidName, Optional InpCode, Optional Units, Optional Prop1, Optional Prop2)
MolarMass(FluidName, Optional InpCode, Optional Units, Optional Prop1, Optional Prop2)
MoleFraction(FluidName, i)
LiquidMoleFraction(FluidName, Optional InpCode, Optional Units, Optional Prop1, Optional Prop2, Optional i)
VaporMoleFraction(FluidName, Optional InpCode, Optional Units, Optional Prop1, Optional Prop2, Optional i)
MassFraction(FluidName, i)
LiquidMassFraction(FluidName, Optional InpCode, Optional Units, Optional Prop1, Optional Prop2, Optional i)
VaporMassFraction(FluidName, Optional InpCode, Optional Units, Optional Prop1, Optional Prop2, Optional i)
ComponentName(FluidString,i)
Mole2Mass(FluidName, i, Prop1, Prop2, Optional Prop3, Optional Prop4, Optional Prop5, Optional Prop6, Optional Prop7, Optional Prop8, Optional Prop9, Optional Prop10, Optional Prop11, Optional Prop12, Optional Prop13, Optional Prop14, Optional Prop15, Optional Prop16, Optional Prop17, Optional Prop18, Optional Prop19, Optional Prop20)
Mass2Mole(FluidName, i, Prop1, Prop2, Optional Prop3, Optional Prop4, Optional Prop5, Optional Prop6, Optional Prop7, Optional Prop8, Optional Prop9, Optional Prop10, Optional Prop11, Optional Prop12, Optional Prop13, Optional Prop14, Optional Prop15, Optional Prop16, Optional Prop17, Optional Prop18, Optional Prop19, Optional Prop20)
Transport Properties
Viscosity(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
KinematicViscosity (FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
ThermalConductivity(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
ThermalDiffusivity(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
Prandtl(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
SurfaceTension(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
DielectricConstant(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
Heating Value
HeatOfCombustion(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
GrossHeatingValue(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
NetHeatingValue(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
Sonic
Cstar(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2) CRITfloFact
Sound(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
SpeedOfSound(FluidName,InpCode,Optional Units, Optional Prop1,Optional Prop2)
Isentropic (Adiabatic) Functions
IsentropicExpansionCoef(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
AdiabaticCompressibility(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
AdiabaticBulkModulus(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
Isothermal Functions
IsothermalCompressibility(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
IsothermalExpansionCoef(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
IsothermalBulkModulus(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
Partial Derivative Functions: See more details in :\........\REFPROP\fortran\MANUAL.txt
JouleThomson(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
dPdrho(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
d2Pdrho2(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
dPdT(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
dPdTsat(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
drhodT(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
dHdT_D(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
dHdT_P(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
dHdD_T(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
dHdD_P(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
dHdP_T(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
dHdP_D(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
SpecificHeatInput(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
Key Documents / FileLocations
WorkbookName() returns the " Path + Name " of the file containing the VBA file
RefpropXLSVersionNumber()
RefpropDLLVersionNumber()
WhereAreREFPROPfunctions()
WhereIsWorkbook()
SeeFileLinkSources()
Cell("filename"
SelectedDefaultUnits("propertyName","Units") both arguments as quoted text " "
ActivityCoefficient(FluidName, Optional InpCode,Optional Units,Optional Prop1, Optional Prop2, Optional i)
ChemicalPotential(FluidName, Optional InpCode, OptionalUnits, Optional Prop1, Optional Prop2, Optional i)
FugacityCoefficient(FluidName, Optional InpCode,Optional Units,Optional Prop1, Optional Prop2, Optional i)
The data shown on the "User Information" worksheet were prepared by Frank J. Doyle, P.E., using Excel 97 and Excel 2003.. Th
edited by NIST members, then edited using WinXP sp3 and Excel 2003 sp3. The embodiment developed as Frank learned how to use
needed an effective method to "keep track of the specific and essential 'user' details" in the Excel environment, from a user
copied from the NIST REFPROP program and from responses to questions that Frank asked NIST. NIST is offering these worksheet
provide users additional incite into REFPROP.xls. The information is believed to be correct and is offered by Frank J. Doyle
no guarantees / warranties / info only basis.

When Excel evaluates a function, it first looks for vba code that is included (attached) to the file requesting the evaluatio
included in the included vba code, then it looks for an xla file - first in the same directory as the open worksheet, then along
evaluates the function using the vba code that is found first. When no VBA code is attached to the xls file, the REFPROP fun
user's REFPROP.xla file. Since it needs the REFPROP.xla file to function, it will always perform calculations using the "pre
(xla) code.

These data are intended to give the "new and / or infrequent REFPROP user" some bare essential information about REFPROP, it
augment the REFPROP User's Guide. A detailed look at the Help File attached to REFPROP.exe should be undertaken by the user
This present file contains:
A list of REFPROP Functions and function syntax,
A list of REFPROP fluids,
A list of Units that REFPROP uses.
Some comments about using REFPROP with Excel.

The user is encouraged to consider saving this workbook as a REFPROP.xla file, having set the Environment variables. (First
and then rename and save this file, the renamed file becomes the basis of the .xlt template file. At this point you will hav
of the copies to make the "Template" file. In this selected template file, go to the VBA code and remove Module 1, then save
then in Excel Click "new", click "templates on my computer", select the REFPROP file you just saved, it should now have the
template file now requires the REFPROP.xla file to be setup.

For Questions / Comments contact
Frank J. Doyle, P.E.
frank.doyle@sbcglobal.net

Be sure to use the word REFPROP in the Subject line. If I do not recognize the name or the subject,
I will delete it without opening it.

Frank J. Doyle, P.E.
Frank J. Doyle, Enterprises
7 Hickory Bark Drive
The Woodlands, TX 77381

frank.doyle@sbcglobal.net



LiquidMoleFraction(FluidName, Optional InpCode, Optional Units, Optional Prop1, Optional Prop2, Optional i)
VaporMoleFraction(FluidName, Optional InpCode, Optional Units, Optional Prop1, Optional Prop2, Optional i)
LiquidMassFraction(FluidName, Optional InpCode, Optional Units, Optional Prop1, Optional Prop2, Optional i)
VaporMassFraction(FluidName, Optional InpCode, Optional Units, Optional Prop1, Optional Prop2, Optional i)
Mole2Mass(FluidName, i, Prop1, Prop2, Optional Prop3, Optional Prop4, Optional Prop5, Optional Prop6, Optional Prop7, Optional Prop8, Optional Prop9, Optional Prop10, Optional Prop11, Optional Prop12, Optional Prop13, Optional Prop14, Optional Prop15, Optional Prop16, Optional Prop17, Optional Prop18, Optional Prop19, Optional Prop20)
Mass2Mole(FluidName, i, Prop1, Prop2, Optional Prop3, Optional Prop4, Optional Prop5, Optional Prop6, Optional Prop7, Optional Prop8, Optional Prop9, Optional Prop10, Optional Prop11, Optional Prop12, Optional Prop13, Optional Prop14, Optional Prop15, Optional Prop16, Optional Prop17, Optional Prop18, Optional Prop19, Optional Prop20)
The data shown on the "User Information" worksheet were prepared by Frank J. Doyle, P.E., using Excel 97 and Excel 2003.. These were upgraded and
edited by NIST members, then edited using WinXP sp3 and Excel 2003 sp3. The embodiment developed as Frank learned how to use REFPROP and
needed an effective method to "keep track of the specific and essential 'user' details" in the Excel environment, from a user perspsective. The data are
copied from the NIST REFPROP program and from responses to questions that Frank asked NIST. NIST is offering these worksheets on a FYI basis to
provide users additional incite into REFPROP.xls. The information is believed to be correct and is offered by Frank J. Doyle, P.E., on a "As Is, Where Is",
When Excel evaluates a function, it first looks for vba code that is included (attached) to the file requesting the evaluation, if it does not find the function
first in the same directory as the open worksheet, then along the specified path. Excel
evaluates the function using the vba code that is found first. When no VBA code is attached to the xls file, the REFPROP functions are evaluated in the
user's REFPROP.xla file. Since it needs the REFPROP.xla file to function, it will always perform calculations using the "present version" of the REFPROP
These data are intended to give the "new and / or infrequent REFPROP user" some bare essential information about REFPROP, it is intended to be used to
augment the REFPROP User's Guide. A detailed look at the Help File attached to REFPROP.exe should be undertaken by the user.
The user is encouraged to consider saving this workbook as a REFPROP.xla file, having set the Environment variables. (First save as .xls, then the .xla),
and then rename and save this file, the renamed file becomes the basis of the .xlt template file. At this point you will have two copies of the file. Select one
of the copies to make the "Template" file. In this selected template file, go to the VBA code and remove Module 1, then save the file as an .xlt file. Close,
then in Excel Click "new", click "templates on my computer", select the REFPROP file you just saved, it should now have the suffix .....1.xls Your
Be sure to use the word REFPROP in the Subject line. If I do not recognize the name or the subject,
Mole2Mass(FluidName, i, Prop1, Prop2, Optional Prop3, Optional Prop4, Optional Prop5, Optional Prop6, Optional Prop7, Optional Prop8, Optional Prop9, Optional Prop10, Optional Prop11, Optional Prop12, Optional Prop13, Optional Prop14, Optional Prop15, Optional Prop16, Optional Prop17, Optional Prop18, Optional Prop19, Optional Prop20)
Mass2Mole(FluidName, i, Prop1, Prop2, Optional Prop3, Optional Prop4, Optional Prop5, Optional Prop6, Optional Prop7, Optional Prop8, Optional Prop9, Optional Prop10, Optional Prop11, Optional Prop12, Optional Prop13, Optional Prop14, Optional Prop15, Optional Prop16, Optional Prop17, Optional Prop18, Optional Prop19, Optional Prop20)
Index of pure fluids included in the REFPROP database
Short Name File Name CAS number
acetone acetone.fld 67-64-1
ammonia ammonia.fld 7664-41-7
argon argon.fld 7440-37-1
benzene benzene.fld 71-43-2
butane butane.fld 106-97-8
butene 1butene.fld 106-98-9
carbon dioxide co2.fld 124-38-9
carbon monoxide co.fld 630-08-0
carbonyl sulfide cos.fld 463-58-1
cis-butene c2butene.fld 590-18-1
cyclohexane cyclohex.fld 110-82-7
cyclopentane cyclopen.fld 287-92-3
cyclopropane cyclopro.fld 75-19-4
D4 d4.fld 556-67-2
D5 d5.fld 541-02-6
D6 d6.fld 540-97-6
decane decane.fld 124-18-5
diethyl ether dee.fld 60-29-7
deuterium d2.fld 7782-39-0
dimethyl carbonate dmc.fld 616-38-6
dimethylether dme.fld 115-10-6
dodecane c12.fld 112-40-3
ethylbenzene ebenzene.fld 100-41-4
ethane ethane.fld 74-84-0
ethanol ethanol.fld 64-17-5
ethylene ethylene.fld 74-85-1
fluorine fluorine.fld 7782-41-4
hydrogen chloride hcl.fld 7647-01-0
heavy water d2o.fld 7789-20-0
helium helium.fld 7440-59-7
heptane heptane.fld 142-82-5
hexane hexane.fld 110-54-3
hydrogen (normal) hydrogen.fld 1333-74-0
hydrogen sulfide h2s.fld 7783-06-4
isoctane ioctane.fld 540-84-1
isobutane isobutan.fld 75-28-5
isobutene ibutene.fld 115-11-7
isohexane ihexane.fld 107-83-5
isopentane ipentane.fld 78-78-4
krypton krypton.fld 7439-90-9
md2m md2m.fld 141-62-8
md3m md3m.fld 141-63-9
md4m md4m.fld 107-52-8
mdm mdm.fld 107-51-7
methane methane.fld 74-82-8
methanol methanol.fld 67-56-1
methyl linoleate mlinolea.fld 112-63-0
methyl linolenate mlinolen.fld 301-00-8
methyl oleate moleate.fld 112-62-9
methyl palmitate mpalmita.fld 112-39-0
methyl stearate mstearat.fld 112-61-8
methylcyclohexane c1cc6.fld 108-87-2
MM mm.fld 107-46-0
m-xylene mxylene.fld 108-38-3
neon neon.fld 7440-01-9
neopentane neopentn.fld 463-82-1
nitrogen nitrogen.fld 7727-37-9
nitrogen triflouride nf3.fld 7783-54-2
nitrous oxide n2o.fld 10024-97-2
nonane nonane.fld 111-84-2
Novec-649 novec649.fld 756-13-8
octane octane.fld 111-65-9
orthohydrogen orthohyd.fld 1333-74-0o
oxygen oxygen.fld 7782-44-7
o-xylene oxylene.fld 95-47-6
parahydrogen parahyd.fld 1333-74-0p
pentane pentane.fld 109-66-0
perfluorobutane c4f10.fld 355-25-9
perfluoropentane c5f12.fld 678-26-2
propane propane.fld 74-98-6
propylcyclohexane c3cc6.fld 1678-92-8
propylene propylen.fld 115-07-1
propyne propyne.fld 74-99-7
p-xylene pxylene.fld 106-42-3
R11 r11.fld 75-69-4
R113 r113.fld 76-13-1
R114 r114.fld 76-14-2
R115 r115.fld 76-15-3
R116 r116.fld 76-16-4
R12 r12.fld 75-71-8
R1216 r1216.fld 116-15-4
R123 r123.fld 306-83-2
R1233zd(E) r1233zd.fld 102687-65-0
R1234yf r1234yf.fld 754-12-1
R1234ze(E) r1234ze.fld 29118-24-9
R124 r124.fld 2837-89-0
R125 r125.fld 354-33-6
R13 r13.fld 75-72-9
R134a r134a.fld 811-97-2
R14 r14.fld 75-73-0
R141b r141b.fld 1717-00-6
R142b r142b.fld 75-68-3
R143a r143a.fld 420-46-2
R152a r152a.fld 75-37-6
R161 r161.fld 353-36-6
R21 r21.fld 75-43-4
R218 r218.fld 76-19-7
R22 r22.fld 75-45-6
R227ea r227ea.fld 431-89-0
R23 r23.fld 75-46-7
R236ea r236ea.fld 431-63-0
R236fa r236fa.fld 690-39-1
R245ca r245ca.fld 679-86-7
R245fa r245fa.fld 460-73-1
R32 r32.fld 75-10-5
R365mfc r365mfc.fld 406-58-6
R40 r40.fld 74-87-3
R41 r41.fld 593-53-3
RC318 rc318.fld 115-25-3
RE143a re143a.fld 421-14-7
RE245cb2 re245cb2.fld 22410-44-2
RE245fa2 re245fa2.fld 1885-48-9
RE347mcc re347mcc.fld 375-03-1
sulfur dioxide so2.fld 7446-09-5
sulfur hexafluoride sf6.fld 2551-62-4
toluene toluene.fld 108-88-3
trans-butene t2butene.fld 624-64-6
trifluoroiodomethane cf3i.fld 2314-97-8
undecane c11.fld 1120-21-4
water water.fld 7732-18-5
xenon xenon.fld 7440-63-3
Index of pure fluids included in the REFPROP database
Full Chemical Name EOS Temperature and
Pressure Limits
propanone 178.5-550 K, 700 MPa
ammonia 195.495-700 K, 1000 MPa
argon 83.8058-2000 K, 1000 MPa
benzene 278.674-725 K, 500 MPa
n-butane 134.895-575 K, 200 MPa
1-butene 87.8-525 K, 70 MPa
carbon dioxide 216.592-2000 K, 800 MPa
carbon monoxide 68.16-500 K, 100 MPa
carbon oxide sulfide 134.3-650 K, 50 MPa
cis-2-butene 134.3-525 K, 50 MPa
cyclohexane 279.47-700 K, 250 MPa
cyclopentane 179.7-550 K, 250 MPa
cyclopropane 273-473 K, 28 MPa
octamethylcyclotetrasiloxane 290.25-673 K, 30 MPa
decamethylcyclopentasiloxane 300-673 K, 30 MPa
dodecamethylcyclohexasiloxane 270.2-673 K, 30 MPa
decane 243.5-675 K, 800 MPa
diethyl ether 270-500 K, 40 MPa
deuterium 18.724-600 K, 2000 MPa
dimethyl ester carbonic acid 277.06-600 K, 60 MPa
methoxymethane 131.66-525 K, 40 MPa
dodecane 263.6-700 K, 700 MPa
phenylethane 178.2-700 K, 60 MPa
ethane 90.368-675 K, 900 MPa
ethyl alcohol 159-650 K, 280 MPa
ethene 103.986-450 K, 300 MPa
fluorine 53.4811-300 K, 20 MPa
hydrogen chloride 155-330 K, 20 MPa
deuterium oxide 276.97-800 K, 100 MPa
helium-4 2.1768-2000 K, 1000 MPa
heptane 182.55-600 K, 100 MPa
hexane 177.83-600 K, 100 MPa
hydrogen (normal) 13.957-1000 K, 2000 MPa
hydrogen sulfide 187.7-760 K, 170 MPa
2,2,4-trimethylpentane 165.77-600 K, 1000 MPa
2-methylpropane 113.73-575 K, 35 MPa
2-methyl-1-propene 132.4-550 K, 50 MPa
2-methylpentane 119.6-550 K, 1000 MPa
2-methylbutane 112.65-500 K, 1000 MPa
krypton 115.775-750 K, 200 MPa
decamethyltetrasiloxane 205.2-673 K, 30 MPa
dodecamethylpentasiloxane 192-673 K, 30 MPa
tetradecamethylhexasiloxane 300-673 K, 30 MPa
octamethyltrisiloxane 187.2-673 K, 30 MPa
methane 90.6941-625 K, 1000 MPa
methanol 175.61-620 K, 800 MPa
methyl (Z,Z)-9,12-octadecadienoate 238.1-1000 K, 50 MPa
methyl (Z,Z,Z)-9,12,15- 218.65-1000 K, 50 MPa
methyl cis-9-octadecenoate 253.47-1000 K, 50 MPa
methyl hexadecanoate 302.71-1000 K, 50 MPa
methyl octadecanoate 311.84-1000 K, 50 MPa
methylcyclohexane 146.7-600 K, 500 MPa
hexamethyldisiloxane 273-673 K, 30 MPa
1,3-dimethylbenzene 225.3-700 K, 200 MPa
neon 24.556-700 K, 700 MPa
2,2-dimethylpropane 256.6-550 K, 200 MPa
nitrogen 63.151-2000 K, 2200 MPa
nitrogen trifluoride 85-500 K, 50 MPa
dinitrogen monoxide 182.33-525 K, 50 MPa
nonane 219.7-600 K, 800 MPa
Dodecafluoro-2-methylpentan-3-one 165-500 K, 50 MPa
octane 216.37-600 K, 100 MPa
orthohydrogen 14.008-1000 K, 2000 MPa
oxygen 54.361-2000 K, 82 MPa
1,2-dimethylbenzene 247.985-700 K, 70 MPa
parahydrogen 13.8033-1000 K, 2000 MPa
pentane 143.47-600 K, 100 MPa
decafluorobutane 189-500 K, 30 MPa
dodecafluoropentane 148.363-500 K, 30 MPa
propane 85.525-650 K, 1000 MPa
n-propylcyclohexane 178.2-650 K, 50 MPa
propene 87.953-575 K, 1000 MPa
propyne 273-474 K, 32 MPa
1,4-dimethylbenzene 286.4-700 K, 200 MPa
trichlorofluoromethane 162.68-625 K, 30 MPa
1,1,2-trichloro-1,2,2-trifluoroethane 236.93-525 K, 200 MPa
1,2-dichloro-1,1,2,2-tetrafluoroethane 273.15-507 K, 21 MPa
chloropentafluoroethane 173.75-550 K, 60 MPa DO
hexafluoroethane 173.1-425 K, 50 MPa
dichlorodifluoromethane 116.099-525 K, 200 MPa
hexafluoropropylene 117.654-400 K, 12 MPa
2,2-dichloro-1,1,1-trifluoroethane 166-600 K, 40 MPa
1-chloro-3,3,3-trifluoroprop-1-ene 195.15-550 K,100 MPa
2,3,3,3-tetrafluoroprop-1-ene 220-410 K, 30 MPa
trans-1,3,3,3-tetrafluoropropene 168.62-420 K, 20 MPa
1-chloro-1,2,2,2-tetrafluoroethane 120-470 K, 40 MPa
pentafluoroethane 172.52-500 K, 60 MPa
chlorotrifluoromethane 92-403 K, 35 MPa
1,1,1,2-tetrafluoroethane 169.85-455 K, 70 MPa
tetrafluoromethane 120-623 K, 51 MPa
1,1-dichloro-1-fluoroethane 169.68-500 K, 400 MPa
1-chloro-1,1-difluoroethane 142.72-470 K, 60 MPa
1,1,1-trifluoroethane 161.34-650 K, 100 MPa
1,1-difluoroethane 154.56-500 K, 60 MPa
fluoroethane 130-450 K, 5 MPa
dichlorofluoromethane 200-473 K, 138 MPa
octafluoropropane 125.45-440 K, 20 MPa
chlorodifluoromethane 115.73-550 K, 60 MPa
1,1,1,2,3,3,3-heptafluoropropane 146.35-475 K, 60 MPa
trifluoromethane 118.02-475 K, 120 MPa
1,1,1,2,3,3-hexafluoropropane 240-412 K, 6 MPa
1,1,1,3,3,3-hexafluoropropane 179.6-400 K, 70 MPa
1,1,2,2,3-pentafluoropropane 191.5-450 K, 10 MPa
1,1,1,3,3-pentafluoropropane 171.05-440 K, 200 MPa
difluoromethane 136.34-435 K, 70 MPa
1,1,1,3,3-pentafluorobutane 239-500 K, 35 MPa
methyl chloride 230-630 K, 100 MPa
fluoromethane 129.82-425 K, 70 MPa
octafluorocyclobutane 233.35-623 K, 60 MPa
methyl trifluoromethyl ether 240-420 K, 7.2 MPa
methyl-pentafluoroethyl-ether 250-500 K, 20 MPa
2,2,2-trifluoroethyl-difluoromethyl- 250-500 K, 400 MPa
methyl-heptafluoropropyl-ether 250-500 K, 20 MPa
sulfur dioxide 197.7-525 K, 35 MPa
sulfur hexafluoride 223.555-625 K, 150 MPa
methylbenzene 178-700 K, 500 MPa
trans-2-butene 167.6-525 K, 50 MPa
trifluoroiodomethane 120-420 K, 20 MPa
undecane 247.541-700 K, 500 MPa
water 273.16-2000 K, 1000 MPa
xenon 161.405-750 K, 700 MPa
Index of mixtures included in the REFPROP database
ASHRAE Composition
Designation Components (mass percentages)
air N2/Ar/O2 75.57/1.27/23.16
R401A R22/R152a/R124 53/13/34
R401B R22/R152a/R124 61/11/28
R401C R22/R152a/R124 33/15/52
R402A R125/Propane/R22 60/2/38
R402B R125/Propane/R22 38/2/60
R403A Propane/R22/R218 5/75/20
R403B Propane/R22/R218 5/56/39
R404A R125/R134a/R143a 44/4/52
R405A R22/R152a/R142b/RC318 45/7/5.5/42.5
R406A R22/Isobutane/R142b 55/4/41
R407A R32/R125/R134a 20/40/40
R407B R32/R125/R134a 10/70/20
R407C R32/R125/R134a 23/25/52
R407D R32/R125/R134a 15/15/70
R407E R32/R125/R134a 25/15/60
R407F R32/R125/R134A 30/30/40
R408A R125/R143a/R22 7/46/47
R409A R22/R124/R142b 60/25/15
R409B R22/R124/R142b 65/25/10
R410A R32/R125 50/50
R410B R32/R125 45/55
R411A Propylene/R22/R152a 1.5/87.5/11
R411B Propylene/R22/R152a 3/94/3
R412A R22/R218/R142b 70/5/25
R413A R218/R134a/Isobutane 9/88/3
R414A R22/R124/Isobutane/R142b 51/28.5/4/16.5
R414B R22/R124/Isobutane/R142b 50/39/1.5/9.5
R415A R22/R152a 82/18
R415B R22/R152a 25/75
R416A R134a/R124/Butane 59/39.5/1.5
R417A R125/R134a/Butane 46.6/50/3.4
R418A Propane/R22/R152a 1.5/96/2.5
R419A R125/R134a/DME 77/19/4
R420A R134a/R142b 88/12
R421A R125/R134a 58/42
R421B R125/R134a 85/15
R422A R125/R134a/Isobutane 85.1/11.5/3.4
R422B R125/R134a/Isobutane 55/42/3
R422C R125/R134a/Isobutane 82/15/3
R422D R125/R134a/Isobutane 65.1/31.5/3.4
R423A R134a/R227ea 52.5/47.5
R424A R125/R134a/Isobutane/Butane/ Isopentane 50.5/47.9/1/0.6
R425A R32/R134a/R227ea 18.5/69.5/12
R426A R125/R134a/Butane/Isopentane 5.1/93/1.3/0.6
R427A R32/R125/R143a/R134a 15/25/10/50
R428A R125/R143a/Propane/Isobutane 77.5/20/0.6/1.9
R429A Dimethyl ether/R152a/Isobutane 60/10/30
R430A R152a/Isobutane 76/24
R431A Propane/R152a 71/29
R432A Propylene/Dimethyl ether 80/20
R433A Propylene/Propane 30/70
R434A R125/R143a/R134a/Isobutane 63.2/18/16/2.8
R435A Dimethyl ether/R152a 80/20
R436A Propane/Isobutane 56/44
R436B Propane/Isobutane 52/48
R437A R125/R134a/Butane/Pentane 19.5/78.5/1.4/0.6
R438A R32/R125/R134a/Butane/Isopentane 8.5/45/44.2/1.7/0.6
R441A Ethane/Propane/Isobutane/Butane 3.1/54.8/6/36.1
R442A R32/R125/R134a/R152a/R227ea 31/31/30/3/5
R443A Propylene/Propane/Isobutane 55/40/5
R444A R32/R152a/R1234ze 12/5/83
R500 R12/R152a 73.8/26.2
R501 R22/R12 75/25
R502 R22/R115 48.8/51.2
R503 R23/R13 40.1/59.9
R504 R32/R115 48.2/51.8
R507A R125/R143a 50/50
R508A R23/R116 39/61
R508B R23/R116 46/54
R509A R22/R218 44/56
R510A Dimethyl ether/Isobutane 88/12
R512A R134a/R152a 5/95
DO Not SORT The Cells Below
Amarillo Gas methane/nitrogen/ 82.672/4.9807/
CO2/ethane/ 1.1696/7.7379/
propane/isobutane/ 2.0751/0.34255/
butane/isopentane/ 0.5163/0.13162/
pentane/hexane 0.18165/0.19248
Ekofisk Gas methane/nitrogen/ 73.432/1.5028/
CO2/ethane/ 3.5066/13.605/
propane/isobutane/ 5.4074/1.0796/
butane/isopentane/ 1.0858/0.19567/
pentane 0.18452
Gulf Coast Gas methane/nitrogen/ 92.176/0.43273/
CO2/ethane/ 1.5603/3.2551/
propane/isobutane/ 1.2064/0.33802/
butane/isopentane/ 0.3484/0.20314/
pentane/hexane 0.13915/0.34061
High CO2 and methane/nitrogen/ 65.706/8.0556/
CO2/ethane/ 16.835/6.5252/
propane/isobutane/ 1.9903/0.44261/
butane 0.44554
High N2 Gas methane/nitrogen/ 70.061/20.227/
CO2/ethane/ 2.3246/5.3209/
propane/isobutane/ 1.4306/0.31167/
butane 0.32414
Typical Natural methane/nitrogen/ 88.800 / 0.145
Gas CO2/ethane/ 6.543 / 3.211
propane/isobutane 0.611 / 0.135
butane/ipentane/ 0.054 / 0.059
pentane/hexane 0.046 / 0.396
T
P
D
V
E
H
S
Q
Example
inpCode
TP
PT
TD
DT
TH
HT
TS
ST
Use the following to force the calculation in the single phase without checking if the phase is correct
Results in faster calculations. If phase is not correct, resulting value will be metastable liquid or vapor in the 2-phase
TPL or PTL
TPV or PTV
Crit
Trip
satMaxT
satMaxP
Tmelt
Pmelt
Tsubl
Psubl
TL or TLIQ
TV or TVAP
PL or PLIQ
PV or PVAP
DSAT
HSAT
SSAT
Valid
Valid Input State Parameters Unit Codes
Temperature "E"
Pressure "Molar E"
Density "SI"
Volume "SI with C"
Energy ( aka Internal Energy ) "MEunits"
Enthalpy "Molar SI"
Entropy "mks"
Quality (vapor fraction) "cgs"
"Mixed"
Input properties Prop1 & Prop2
Temperature, Pressure
Pressure, Temperature
Temperature, Density
Density, Temperature
Temperature, Enthalpy TH< to get second root of equation
Enthalpy, Temperature
Temperature, Entropy
Entropy, Temperature
Use the following to force the calculation in the single phase without checking if the phase is correct
Results in faster calculations. If phase is not correct, resulting value will be metastable liquid or vapor in the 2-phase
Temperature and Pressure in the single phase liquid
Temperature and Pressure in the single phase vapor
Saturated Input Conditions (only Prop1 req'd) Examples
Critical Point (Prop1 & Prop2 not required) -181.4242
Triple Point (Prop1 & Prop2 not required) 75.12437659
State point at which the saturation line for a mixture reaches a maximum temperature
State point at which the saturation line for a mixture reaches a maximum pressure
* * *
Melting point temperature 651.9490268
Melting point pressure 275
Sublimation temperature 14.19177163
Sublimation pressure -110
* * *
Temperature (saturated liquid)
Temperature (saturated vapor)
Pressure (saturated liquid)
Pressure (saturated vapor)
Density (saturated state, liquid or vapor)
DL, DLIQ, and DVAP also work identical to DSAT
Enthalpy (saturated state, liquid or vapor)
When two roots exist (usually in the vapor), use
HSAT1 and HSAT2 to return the separate values
Entropy (saturated state, liquid or vapor)
When two or three roots exist, use
SSAT1, SSAT2, and SSAT3 to return the separate values
XLS Version Number: 9.1103 9.1 If the two cells do not match after pressing Ctrl-Alt-F9, then you are not using the most recent VBA code. All occurrences in .xlt or .xla files should be deleted and restored with the new code attached to this file.
DLL Version Number: 9.1104 9.1 If the two cells do not match after pressing Ctrl-Alt-F9, then you are not using the most recent REFPROP.DLL file (it is OK if C2 says 9.1, that is the current version of Refprop). Search your computer for REFPROP.DLL (especially in the Windows\System32 directory) and delete all occurrences except the one in the REFPROP directory.
Location of the VB code D:\REFPROP\VB\REFPROP.XLS
Name of this file D:\REFPROP\VB\REFPROP.XLS
User SelectedDefaultUnits > SI See the UserInformation worksheet for information on using Refprop in Excel
Text of user-specified values in the input cells is blue.
Units:
Pure Fluid Calculations Critical Temp. (K): 126.192
Crit. Press. (MPa): 3.3958
Fluid: nitrogen Crit. Dens. (mol/L): 11.1839
T P r h s
K MPa mol/L J/mol J/mol-K
100 2 24.87442458 -2045.4779 94.13550342
103.7469122 1 11.15642176 -1483.3183 100
66.72859297 1 30.49324674 -4000 70.8851133
100 204.5875133 34.75117635 (Melting point given temperature)
99.29545667 200 34.68872601 (Melting point given pressure)
60 0.00629775 0.012693576 (Sublimation point given temperature)
62.0838393 0.01 0.019526041 (Sublimation point given pressure)
Two-Phase Calculations
Compute properties from given temperature and density.
T P r u h
K MPa mol/L J/mol J/mol
100 0.77827488 15 -1962.297 -1910.41199

Calculate liquid properties given only the saturation pressure.
87.90726311 0.3 26.97671608 -2812.5515 -2801.43077
Calculate properties given only the saturation temperature.
(note that some of the following calculations use "TD&" to define the input properties, see the "Mixture Example" sheet for more information.
100 0.77827488 24.60788559 -2082.4697 -2050.84265
1.140920887 1776.49407 2458.640302
100 100
100.0000002 103.4109542
99.99999991
Available Units
Unit system: >> cgs
Density Volume Energy
T P r v u
K MPa g/cm^3 cm^3/g J/g
100 1 0.690765605 1.44766907 -74.6311021
Other Properties
Unit system: >> E Isothermal Volume Isentropic
T P Compressibility Expansivity ExpsnCoeff
F psia 1/psia 1/R dimLess
-100 1000 0.001103945 0.0046116 1.643034546
Example: (See the "Mixture Example" worksheet for more examples.)
Mixture Calculations (maximum number of components in a mixture is 20)
System: 0.6 nitrogen + 0.05 argon + 0.35 oxygen
nitrogen;0.6;argon;0.05;oxygen;0.35 (Note the two different ways to make this string, the second is easiest)
nitrogen;0.6;argon;0.05;oxygen;0.35
Components Mole Fractions
nitrogen
0.6
argon
0.05
oxygen
0.35
Total 1
Density
Mixture properties:
r (100 K, 0.1 MPa) 3.686740723 kg/m
3
3.555808231
r (100 K, 1 MPa) 848.231006 kg/m
3
3.558137295
Example: Mole Fraction 1Mole Fraction 2
Predefined Mixture: R410A.MIX 0.697614699 0.302385301
In addition to the predefined mixtures in REFPROP, any mixture with a ".mix" extension that you save in the mixtures directory while running the REFPROP graphical interface will be available to the Excel file here.
Mixture properties:
r (300 K, 10 MPa) 1113.560454 kg/m
3
240.85532 kJ/kg
r (25 F, 1000 psia) 75.70813382 lbm/ft
3
83.86873 Btu/lbm
Properties of the liquid and vapor at the equilibrium compositions (not the R410A composition):
Two phase state point at 300 K, 200 kg/m3: Liquid Phase
T P r Quality Mole Frac.
K MPa kg/m
3
(mass basis) R32
300 1.739100742 200 0.29843718 0.69127352
Liquid phase composition string: R32;0.69127351956916;R125;0.30872648043084
Vapor phase composition string: R32;0.712230547324693;R125;0.287769452675307
Properties of the liquid and vapor at the equilibrium compositions (not the R410A composition for the liquid):
Dew point at 300 K with equilibrium liquid properties Liquid Phase
T P r Equilibrium Mole Frac.
K MPa kg/m
3
Liquid Density R32
300 1.735159374 69.707344 1055.09221 0.675013232
si Liquid phase composition string: R32;.675013232008676;R125;.324986767991324
Vapor phase composition string: R32;.697614699375863;R125;.302385300624138
To specify mass composition, add the
Alternative method for specifying a mixture setup word "mass" at the end of the input
R32/R125 (0.5/0.5) R32/R125 (0.5/0.5) mass
T P r T
K MPa kg/m
3
K
300 1.667216195 79.39895132 300
Temp (K) Example of calling FluidString
500 with missing fluid names with missing compositions
Pressure (MPa) methane 0.7 methane
10 0.2 ethane
propane 0.15 propane
0.1 butane
pentane 0.15 pentane
methane;0.7;propane;0.15;pentane;0.15 methane;0.7;propane;0.15;pentane;0.15
Density (kg/m^3) 73.58972573 73.58972573
If the two cells do not match after pressing Ctrl-Alt-F9, then you are not using the most recent VBA code. All occurrences in .xlt or .xla files should be deleted and restored with the new code attached to this file.
If the two cells do not match after pressing Ctrl-Alt-F9, then you are not using the most recent REFPROP.DLL file (it is OK if C2 says 9.1, that is the current version of Refprop). Search your computer for REFPROP.DLL (especially in the Windows\System32 directory) and delete all occurrences except the one in the REFPROP directory.
See the UserInformation worksheet for information on using Refprop in Excel
molar si
Triple Point Temp. (K): 63.151 Critical Temp. (C): -146.958
Trp Pressure (MPa): 0.012519782 Triple Point Temp. (C): -209.999
Trp Density (mol/L): 30.95730622
Quality Viscosity Th. Cnd. Example calculations when two states are possible for the given inputs:
(mole basis) mPa-s mW/(m-K) Inputs are T = 100 K and H = -40 kJ/kg
#Subcooled liquid 78.43601355 102.6277365 51.6426043 #Subcooled liquid with p>pc
0.074816227 0.77827488 0.20629936
#Subcooled liquid
(Melting point given temperature) If the phase is known for given inputs of T and P, the following examples show how to obtain much faster calculations:
(Melting point given pressure) These examples also show how to force the calculation to search only in the liquid or only in the vapor state (for example, for metastable states.)
(Sublimation point given temperature) 997.3800963 (Input state is known to be in the liquid)
(Sublimation point given pressure) 2555.659175 (Input state is known to be in the vapor)
Liquid
s Quality r
SL
r
SV
Surf. Tens. Viscosity
J/mol-K (mole basis) mol/L mol/L mN/m mPa-s
95.97992544 0.031141188 24.60788559 1.140920887 4.085553313 75.75758987
Latent heat
J/mol
86.77986849 5153.411892
(note that some of the following calculations use "TD&" to define the input properties, see the "Mixture Example" sheet for more information.
94.57561888 4509.482949 Liquid
139.6704484 Vapor
100 Calculate temperature given saturation density, enthalpy, or entropy.
100 Note that there can be three roots for entropy in the vapor phase, for example, try butane at 422 K.
#Inputs are out of range or there is no second root
#Inputs are out of range or there is no third root
Enthalpy Entropy
Isochoric
HeatCapacity
Isobaric
HeatCapacity Speed of Sound Viscosity
h s C
v
C
p
w h
J/g J/g-K J/g-K J/g-K cm/s uPa-s
-73.18343306 3.373119234 0.983309284 2.3047524 60942.49565 76.25502198
Isothermal Adiabatic Adiabatic Bulk Isothermal Bulk dP/dr d
2
P/dr2
ExpsnCoeff Compressibility Modulus Modulus
dimLess 1/psia psia psia psia/(lbm/ft^3) psia/(lbm/ft^3)^2
0.905841833 0.00060863 1643.034546 905.8418333 108.9918097 -1.197095402
(Note the two different ways to make this string, the second is easiest)
Bubble Point Dew Point
Pressure Pressure
0.662805322 0.56622265 Air as a predefined mixture
#[TPRHO error 202] liquid iteration has not converged for T = 100.00 K, P = 0.66313 MPa, rho (last guess) = 13.205 mol/L, compositions = 0.00000 0.567424134 Air as a pseudo-pure fluid
Mass Fraction 1 Mass Fraction 2
0.5 0.5
In addition to the predefined mixtures in REFPROP, any mixture with a ".mix" extension that you save in the mixtures directory while running the REFPROP graphical interface will be available to the Excel file here.
1.114528843 kJ/kg-K
0.230050101 Btu/lbm-F
Properties of the liquid and vapor at the equilibrium compositions (not the R410A composition):
Liquid Phase Vapor Phase Vapor Phase Liquid Vapor Liquid
Mole Frac. Mole Frac. Mole Frac. Density Density Viscosity
R125 R32 R125 kg/m
3
kg/m
3
mPa-s
0.30872648 0.712230547 0.287769453 1050.882064 68.88337951 115.3034261
R32;0.69127351956916;R125;0.30872648043084
R32;0.712230547324693;R125;0.287769452675307
Properties of the liquid and vapor at the equilibrium compositions (not the R410A composition for the liquid):
Liquid Phase Liquid Phase Liquid Phase Liquid Vapor Liquid
Mole Frac. Mass Frac. Mass Frac. Enthalpy Enthalpy Viscosity
R125 R32 R125 kJ/kg kJ/kg mPa-s
0.324986768 0.473769831 0.526230169 242.6534391 426.2797415 115.7528158
R32;.675013232008676;R125;.324986767991324
R32;.697614699375863;R125;.302385300624138
Shortcut method for enthalpy of equilibrium phases (similar to LiquidDensity and Vapor Density)
To specify mass composition, add the (Note that this means that the compositions of these properties may not match your input!)
word "mass" at the end of the input 242.6396833 426.2797415 (Inputs are the vapor phase at 300 K, so the liquid phase has a different composition)
R32/R125 (0.5/0.5) mass 242.9970888 430.4813712 (Inputs are the liquid phase at 300 K, so the vapor phase has a different composition)
P r
MPa kg/m
3
1.735159374 69.707344 Query the macros to determine the names of the fluids in a mixture
R125 R134A R143A
0.44 0.04 0.52
If the last composition is missing, the program will calculate its value,
with missing compositions with all values given but only if the last cell is not sent, like this: FluidString is sent (A1:A5,B1:B4)
0.7 methane 0.5 methane
ethane 0.2 ethane
0.15 propane 0.1 propane
butane 0.1 butane
0.15 pentane 0.1 pentane
methane;0.7;propane;0.15;pentane;0.15 methane;0.5;ethane;0.2;propane;0.1;butane;0.1;pentane;0.1 methane;0.5;ethane;0.2;propane;0.1;butane;0.1;pentane;0.1
83.38176704 83.38176704
If the two cells do not match after pressing Ctrl-Alt-F9, then you are not using the most recent VBA code. All occurrences in .xlt or .xla files should be deleted and restored with the new code attached to this file.
If the two cells do not match after pressing Ctrl-Alt-F9, then you are not using the most recent REFPROP.DLL file (it is OK if C2 says 9.1, that is the current version of Refprop). Search your computer for REFPROP.DLL (especially in the Windows\System32 directory) and delete all occurrences except the one in the REFPROP directory.
Molar Mass (g/mol): 28.01348
Example calculations when two states are possible for the given inputs:
Inputs are T = 100 K and H = -40 kJ/kg
#Subcooled liquid with p>pc (Pressure and quality at the high density point)
(Pressure and quality at the low density point)
If the phase is known for given inputs of T and P, the following examples show how to obtain much faster calculations:
These examples also show how to force the calculation to search only in the liquid or only in the vapor state (for example, for metastable states.)
Vapor Liquid Vapor Liquid Vapor
Viscosity Th. Cnd. Th. Cnd. Z Z
mPa-s mW/(m-K) mW/(m-K) - -
7.42852543 100.111749 10.7258456 0.0380384 0.820428659
Thermal
Conductivity
Compressibility
factor Prandtl
l Z Prandtl
mW/m-K dimLess dimLess
100.583198 0.048775272 1.74729923
dP/dT dr/dT C* Specific Kinematic Thermal
(CritFlowFtor) Heat Input Viscosity Diffusivity
psia/R (lbm/ft^3)/R dimLess Btu/lbm-R ft^2/s ft^2/s
4.17738218 -0.038327487 0.75978569 74.60957 1.25918E-06 1.39859E-06
In addition to the predefined mixtures in REFPROP, any mixture with a ".mix" extension that you save in the mixtures directory while running the REFPROP graphical interface will be available to the Excel file here.
Vapor Liquid Vapor Liquid phase Liquid phase
Viscosity Th. Cnd. Th. Cnd. mass fract. mass fract.
mPa-s mW/(m-K) mW/(m-K) R32 R125
13.7990778 87.27909572 15.5892637 0.4925293 0.507470704
0.6912735 0.30872648 (These two cells are just for checking mass to mole conversions)
Vapor Liquid Vapor Fugacity Fugacity
Viscosity Th. Cnd. Th. Cnd. R32 R125
mPa-s mW/(m-K) mW/(m-K) MPa MPa
13.8144202 86.02223319 15.5938154 0.965875203 0.39815463
Shortcut method for enthalpy of equilibrium phases (similar to LiquidDensity and Vapor Density)
(Note that this means that the compositions of these properties may not match your input!)
(Inputs are the vapor phase at 300 K, so the liquid phase has a different composition)
(Inputs are the liquid phase at 300 K, so the vapor phase has a different composition)
Query the macros to determine the names of the fluids in a mixture
If the last composition is missing, the program will calculate its value,
but only if the last cell is not sent, like this: FluidString is sent (A1:A5,B1:B4)
0.5
0.2
0.1
0.1
methane;0.5;ethane;0.2;propane;0.1;butane;0.1;pentane;0.1
If the two cells do not match after pressing Ctrl-Alt-F9, then you are not using the most recent REFPROP.DLL file (it is OK if C2 says 9.1, that is the current version of Refprop). Search your computer for REFPROP.DLL (especially in the Windows\System32 directory) and delete all occurrences except the one in the REFPROP directory.
dP/dT[sat] dh/dT[rho] dh/dT[p] dh/drho[T] dh/drho[p] dh/dp[T]
psia/R (Btu/lbm)/R (Btu/lbm)/R (Btu/lbm)/(lbm/ft^3) (Btu/lbm)/(lbm/ft^3) (Btu/lbm)/psia
#Invalid input code 0.2827665 0.3440697 -1.599455938 -8.977099258 -0.01467501
Quality Quality
(mass basis) (mole basis)
0.2984372 0.3025801
(These two cells are just for checking mass to mole conversions)
Fugacity Fugacity Chemical Chemical
Coefficient Coefficient Potential Potential Activity Activity
R32 R125 R32 R125 R32 R125
kJ/kg kJ/kg
0.7979323 0.7588426 -65.58662 -183.2445835 0.696905 0.344325207
dh/dp[rho]
(Btu/lbm)/psia
0.067689887
Activity Activity
Coefficient Coefficient
R32 R125
0.998982678 1.1386969
Phase calculation example for a 50/50 mixture of ammonia and water
There are two sets of indepent calculations below, column C shows calculations for a liquid phase input at 0.3 MPa.
Column G shows calculations starting with a vapor phase state that is at 300 K; the liquid phase calculations are in equilibrium with the vapor state at 300 K
ammonia;0.5;water;0.5
Pressure (MPa) 0.3 Temperature (K)
Liquid phase temperature (K) 298.1638433 Vapor phase (dew point) pressure
Get the liquid and vapor densities for all other thermodynamic property calculations
Liquid phase density (kg/m^3) 828.094532 Liquid phase density (kg/m^3)
Vapor phase density (kg/m^3) 2.12966131 Vapor phase density (kg/m^3)
Get the composition of the phase in equilibrium with the input phase
Vapor phase in equilibrium with liquid at 0.3 MPa
Ammonia 0.997211721
Water 0.002788279
Ammonia;0.997211721019002;Water;2.78827898099771E-03
Calculate all other properties using the temperature and density as inputs
(with the appropriate mole fractions for ammonia and water for either the liquid or vapor.)
Use the ampersand in the special code "TD&" to indicate that phase equilibrium checks should not be performed,
and that the properties should be calculated directly from the equation of state (EOS) regardless of phase.
The special code only works for temperature and density since these are the independent properties in the EOS.
If the ampersand is not used, the program attempts to find the phase boundary for each input, thus slowing down the process,
and occasionally causing errors because of nonconvergence.
The TD& input can be used for all single phase and saturation states.
The ampersand should NOT be used for two-phase states, it will return properties for metastable states.
Liquid enthalpy (kJ/kg) 26.62962295
Vapor enthalpy (kJ/kg) -4659946.315
Liquid speed of sound (m/s) 1794.774288
Vapor speed of sound (m/s) 0
Comparisons with calculations from the Refprop graphical interface will help ensure that calculated values are correct.
Example worksheet that demonstrates how to mix two natural gas streams of known molar composition. The two streams have different
flow rates, temperatures, and pressures. Inputs are in blue. The cells in rows 60-62 are used to concatenate the fluid names and mole fractions
into one argument that can be passed to the REFPROP DLL.
Stream 1 Stream 2 Stream 1 Stream 2
Mole Percents Mass Fractions
CO2 0.220243 0.219 0.005747376 0.005114483
Nitrogen 2.192612 2.66 0.036420588 0.039541846
Methane 95.310763 87.0381 0.906651151 0.740965199
Ethane 1.512332 5.6369 0.02696403 0.089943158
Propane 0.447117 2.659 0.011690544 0.062218857
Isobutane 0.049524 0.304 0.001706773 0.009376135
Butane 0.136641 0.823 0.004709135 0.025383419
Isopentane 0.028408 0.161 0.001215312 0.006164007
Pentane 0.040311 0.205 0.00172453 0.00784858
Hexane 0.062049 0.294 0.00317056 0.013444315
Stream 1 CO2;0.220243;Nitrogen;2.192612;Methane;95.310763;Ethane;1.512332;Propane;0.447117;Isobutane;0.049524;Butane;0.136641;Isopentane;0.028408;Pentane;0.040311;Hexane;0.062049
Stream 2 CO2;0.219;Nitrogen;2.66;Methane;87.0381;Ethane;5.6369;Propane;2.659;Isobutane;0.304;Butane;0.823;Isopentane;0.161;Pentane;0.205;Hexane;0.294
Output CO2;5.5700347905017E-03;Nitrogen;3.72951871713592E-02;Methane;0.860224735371487;Ethane;4.46112425969148E-02;Propane;2.58489473060083E-02;Isobutane;3.85578470439073E-03;Butane;1.05022209082927E-02;Isopentane;2.60197240807729E-03;Pentane;3.44053336974317E-03;Hexane;6.04934137322492E-03 mass
For the following cells to work, the call to SATSPLN in version 9.1 or greater must be activated.
To activate this call, press Alt-F11 to edit the Module1 VBA code, then search for "Call SATSPLN", and follow the instructions
State point at which the saturation line reaches a maximum temperature:
Temperature Pressure Density
#[MAXT error] Maximum temperature not known #[MAXT error] Maximum temperature not known #[MAXT error] Maximum temperature not known
#[MAXT error] Maximum temperature not known #[MAXT error] Maximum temperature not known #[MAXT error] Maximum temperature not known
State point at which the saturation line reaches a maximum pressure:
Temperature Pressure Density
#[MAXP error] Maximum pressure not known #[MAXP error] Maximum pressure not known #[MAXP error] Maximum pressure not known
#[MAXP error] Maximum pressure not known #[MAXP error] Maximum pressure not known #[MAXP error] Maximum pressure not known
Critical point of the mixture:
Temperature Pressure Density
195.4177395 4.978174108 174.8731662
215.133515 6.054379973 201.3696894
There are two sets of indepent calculations below, column C shows calculations for a liquid phase input at 0.3 MPa.
Column G shows calculations starting with a vapor phase state that is at 300 K; the liquid phase calculations are in equilibrium with the vapor state at 300 K
300
0.006801878
984.4707349
0.047864882
Liquid phase in equilibrium with vapor at 300 K
0.035023371
0.964976629
Ammonia;3.50233707163294E-02;Water;0.964976629283671
Use the ampersand in the special code "TD&" to indicate that phase equilibrium checks should not be performed,
and that the properties should be calculated directly from the equation of state (EOS) regardless of phase.
The special code only works for temperature and density since these are the independent properties in the EOS.
If the ampersand is not used, the program attempts to find the phase boundary for each input, thus slowing down the process,
The ampersand should NOT be used for two-phase states, it will return properties for metastable states.
3357.887717
2136.360748 (Note which cells are specified for the fluid string in these 8 calculations)
4891.160908
432.3020801
Comparisons with calculations from the Refprop graphical interface will help ensure that calculated values are correct.
Example worksheet that demonstrates how to mix two natural gas streams of known molar composition. The two streams have different
flow rates, temperatures, and pressures. Inputs are in blue. The cells in rows 60-62 are used to concatenate the fluid names and mole fractions
Stream 1 Stream 1 Stream 2
Flow Rate (ft^3/hr) 500000
Temp. (F) 60 5172.00814 1791.692097
Pressure (psia) 550 32774.53511 13852.19408
Density (lbm/ft^3) 1.799780677 815886.611 259572.9541
Flow Rate (lbm/hr) 899890.3384 24264.67033 31508.64749
10520.208 21796.34427
Stream 2 1535.908876 3284.622749
Flow Rate (ft^3/hr) 100000 4237.70545 8892.251719
Temp. (F) 70 1093.647443 2159.358428
Flow Rate in lbm/hr
Pressure (psia) 900 1551.887569 2749.493651
Density (lbm/ft^3) 3.503173351 2853.156432 4709.776572
Flow Rate (lbm/hr) 350317.3351 Sum:
CO2;0.220243;Nitrogen;2.192612;Methane;95.310763;Ethane;1.512332;Propane;0.447117;Isobutane;0.049524;Butane;0.136641;Isopentane;0.028408;Pentane;0.040311;Hexane;0.062049
CO2;0.219;Nitrogen;2.66;Methane;87.0381;Ethane;5.6369;Propane;2.659;Isobutane;0.304;Butane;0.823;Isopentane;0.161;Pentane;0.205;Hexane;0.294
CO2;5.5700347905017E-03;Nitrogen;3.72951871713592E-02;Methane;0.860224735371487;Ethane;4.46112425969148E-02;Propane;2.58489473060083E-02;Isobutane;3.85578470439073E-03;Butane;1.05022209082927E-02;Isopentane;2.60197240807729E-03;Pentane;3.44053336974317E-03;Hexane;6.04934137322492E-03 mass
To activate this call, press Alt-F11 to edit the Module1 VBA code, then search for "Call SATSPLN", and follow the instructions
#[MAXT error] Maximum temperature not known
#[MAXT error] Maximum temperature not known
#[MAXP error] Maximum pressure not known
#[MAXP error] Maximum pressure not known
Output Output Output
Mass Frac Mole Percent
6963.700237 0.005570035 33.06916883
46626.72919 0.037295187 3.478567979
1075459.565 0.860224735 0.014010271
55773.31782 0.044611243 3.876497641
32316.55227 0.025848947 1.531659308
4820.531625 0.003855785 17.3334694
13129.95717 0.010502221 0.472121601
3253.005871 0.002601972 9.422984173
Flow Rate in lbm/hr
4301.38122 0.003440533 12.45981371
7562.933005 0.006049341 18.34170708
1250207.674
CO2;0.220243;Nitrogen;2.192612;Methane;95.310763;Ethane;1.512332;Propane;0.447117;Isobutane;0.049524;Butane;0.136641;Isopentane;0.028408;Pentane;0.040311;Hexane;0.062049
CO2;5.5700347905017E-03;Nitrogen;3.72951871713592E-02;Methane;0.860224735371487;Ethane;4.46112425969148E-02;Propane;2.58489473060083E-02;Isobutane;3.85578470439073E-03;Butane;1.05022209082927E-02;Isopentane;2.60197240807729E-03;Pentane;3.44053336974317E-03;Hexane;6.04934137322492E-03 mass
CO2;5.5700347905017E-03;Nitrogen;3.72951871713592E-02;Methane;0.860224735371487;Ethane;4.46112425969148E-02;Propane;2.58489473060083E-02;Isobutane;3.85578470439073E-03;Butane;1.05022209082927E-02;Isopentane;2.60197240807729E-03;Pentane;3.44053336974317E-03;Hexane;6.04934137322492E-03 mass
This worksheet can be used to verify that the user's computer is returning proper calculations
The values in column A on the left are calculated from your copy of the Refprop DLL.
The values in the second column (B) were calculated at NIST.
The values in the third column (C) show the differences, and should all be zero (or very near zero)
If the "Total sum of errors" below is not (nearly) zero, please check carefully to determine the source of the problem(s).
To recalculate, press Ctrl-Alt-F9 (or Ctrl-Alt-Shift-F9 for some users)
Total Sum of
Differences between
this computer's calcs
and NIST
#VALUE!
Number of functions
with percent
difference > 0.00001
0.00001
From DLL From NIST Percent Difference
28.95860066 28.95860066 0 0
637.3775887 637.3775887 0 0
1.456918928 1.456918928 0 0
684.9965211 684.9965211 0 0
153.8866807 153.8866807 0 0
100.111749 100.111749 0 0
0.074915634 0.074915638 6.15172E-08 0
23643.99362 23643.99362 0 0
459.9495757 298.4313203 0.541224209 1
5536.791449 5536.791449 0 0
1.600404035 1.600404035 0 0
#[TDFLSH error 222] dew point calculation did not converge: [SATT error 128] iteration for saturation state did not converge; T = 200.00 K. 0.03864177 #VALUE! #VALUE!
#[TPFLSH error 211] bubble point calculation did not converge: [SATT error 128] iteration for saturation state did not converge; T = 200.00 K. 0.038640617 #VALUE! #VALUE!
#[TPFLSH error 211] bubble point calculation did not converge: [SATT error 128] iteration for saturation state did not converge; T = 200.00 K. 0.050092664 #VALUE! #VALUE!
319.1674999 319.1674999 0 0
279.2360475 283.7248374 0.015820927 1
120.9847947 120.9847947 0 0
0 1.037058062 1 1
0.697614699 0.697614699 0 0
0.5 0.5 0 0
0.697614699 0.697614699 0 0
#[TDFLSH error 222] dew point calculation did not converge: [SATT error 128] iteration for saturation state did not converge; T = 150.00 K. 481.2760383 #VALUE! #VALUE!
This worksheet can be used to verify that the user's computer is returning proper calculations
The values in the third column (C) show the differences, and should all be zero (or very near zero)
If the "Total sum of errors" below is not (nearly) zero, please check carefully to determine the source of the problem(s).
#VALUE!
Function
MolarMass("Air")
Temperature("argon","PD","SI",2,15)
Pressure("r134a","TD","SI",400,50)
Enthalpy("ethylene","TS","SI",300,3)
Viscosity("oxygen","TP","SI",100,1)
ThermalConductivity("nitrogen","Tliq","SI",100)
Density("air","TP","E",70,14.7)
Enthalpy("R32;0.3;R125;0.7","PS","molar si",10,110)
Temperature("ethane;0.5;butane;0.5 mass","DH","E",30,283)
SpeedOfSound("ammonia;0.4;water;0.6","TP","E",300,10000)
Density("r218;.1;r123;.9","PH","cgs",7,180)
QualityMass("methane;40;ethane;60 mass","TD","mks",200,300) kg/kg
QualityMass("methane;40;ethane;60 mass","TP","mks",200,2814.5509) mass ratio
QualityMole("methane;40;ethane;60 mass","TP","molar SI",200,2.8145509) molar ratio
HeatOfVaporization("octane","tliq","c",100)
Viscosity("butane;.25;hexane;.75","TH","SI",300,-21)
ThermalConductivity("carbon dioxide,.5,nitrogen,.5 mass","TH","SI",250,220)
DielectricConstant("ethane;.5;propane;.5","tvap","SI",300)
MoleFraction("R410A.MIX",1)
mole2mass("R410A.MIX",1,A30,1-A30)
mass2mole("R410A.MIX",1,0.5,0.5)
LiquidDensity("methane;.7;ethane;.2;propane;.05;butane;.05","TD","SI",150,200)

Você também pode gostar