Professional Documents
Culture Documents
Dr. Mark O. McLinden Thermophsical Properties Division Experimental Properties of Fluids Group 325 Broadway Boulder, CO 80305, U.S.A.
***Do not save your work as REFPROP.XLS, but rename it. This will avoid losing the file if you ever uninstall or reinstall the pro For additional information, see http://www.boulder.nist.gov/div838/theory/refprop/Frequently_asked_questions.htm http://www.nist.gov/srd/upload/REFPROP9.PDF http://www.nist.gov/srd/nist23.cfm
Running Refprop within Excel Macros must be enabled to calculate properties. The help file in the REFPROP graphical interface gives additional information on calculating properties or running macros from The REFPROP.xls file can be saved as a template file (REFPROP.xlt). When a new Excel file is created (under File/New) usin To recalculate all of the values in every cell, press Ctrl-Alt-F9. Recalculating worksheets with a large number of formulas can ta
Setting paths for linking with the DLL and FLD files outside of the Refprop directory. For running macros from any spreadsheet, four steps are required: 1. An environment variable can be set to specify the location of the fluid files. This new variable should be called RPPrefix an (Environment variables can be set under Start/Settings/Control Panel/System/Advanced/Environment Variables, under the " (In Windows 7, this is located in Start/Control Panel/System And Security/System/Change settings/Advanced/Environment v 2. Add a second environment variable named "path" (under "User variables") that contains the text "C:\Program Files\REFPRO If the path statement already exists, it can be modified by adding ";C:\Program Files\REFPROP" (or whatever location is use 3. Go to the "File/Save As" option in Excel and select "Microsoft Office Excel Add-In" under the "Save as type" section. This 4. Restart Excel. Under the Tools\Addins option, select the REFPROP add-in. The macros will now be available for use in an Screen shots are available in the FAQ website listed above.
Alternatively, the comments at the beginning of the Visual Basic code (press Alt-F11) tell how to change the working directories Warning: Do not edit the working directories in the macro window AND set the environment variables. This will cause it t
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, whil 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
Units Most properties shown here use the default units of "Molar SI"; other available sets: "SI", "SI with C", "Molar SI", "E", "Molar E", (See the "REFPROP with Instructions and Help.XLS" file for definitions of these sets. In particular, see the User Information ta
All unit systems use a mass basis for properties and a mole basis for compositions, except "Mola
To use mass basis for compositions, add the word "mass" to the end of the composition string; see "Examples" worksheet. To permanently change the default units to English, search for "DefaultUnits = 0" in the Visual Basic code (press Alt-F11) and c
Other tips To use predefined mixtures, the extension ".MIX" must be included in the fluid name; see "Examples" worksheet. A screen shot of REFPROP can be inserted into a worksheet by clicking the "Print Screen" key (top row) to copy what is display
s or running macros from any spreadsheet. ted (under File/New) using this template file, a suffix number is appended so that the saved material will not overwrite the original file. number of formulas can take a long time. See lower left of screen to monitor recalculation rate.
ould be called RPPrefix and be given the value of "C:\Program Files\REFPROP" (or the directory where REFPROP is located). ent Variables, under the "User variables" option.) /Advanced/Environment variables) C:\Program Files\REFPROP". r whatever location is used) to the end so that the file REFPROP.DLL can be found from any location. ve as type" section. This will change the extension to .XLA and save it in a default dir. be available for use in any empty or existing worksheet.
ge the working directories in order for REFPROP to locate the fluid files and the DLL. ables. This will cause it to fail.
nits on a mass basis, while "Molar SI" will return the same results as those given in version 7.0. on 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 w
"Molar SI", "E", "Molar E", "cgs", "mks", "M" (these all need quotes). The "SI with C" set can also be labeled as just "C". e the User Information tab and click on the "vlookup table" button.)
itions, except "Molar SI" and "Molar E", which uses a mole basis for properties.
ow) to copy what is displayed on the monitor when REFPROP.exe is running. This can then be pasted into a worksheet.
appended so that the saved material will not overwrite the original file. en to monitor recalculation rate.
s as those given in version 7.0. ll 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.x
es). The "SI with C" set can also be labeled as just "C".
coincides with the definitions in the "REFPROP with Instructions and Help.xls" file from 8.0.
REFPROP Functions
30
Function Syntax:
Mole2Mass(FluidName, i, Prop1, Prop2, Optional Prop3, Optional Prop4, Optional Prop5, Optional
REFPROP VerNr =>> #VALUE! Arguments: (FluidName, InpCode, Units, Prop1, Prop2, i )
FluidName, InpCode, and Units are "text", use quotes. Prop1 and Pr FluidName = "text" - fluid must be either in Fluids or Mixtures sub directories. Predefined mixtures must contain .mix suffix, eg: "air.mi
See "Examples" Worksheet and search for air.ppf User defined mixtures , with composition entered on a mo 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 Valid 2-phase InpCodes: TD, PD, TQ, PQ, DH, DS Other: Crit, Trip, Tmelt, Pmelt, Tsubl, Psubl note: Prop2 is Optional
Units = "text", valid inputs are "E", "Molar E", "SI", "SI with C" or "C", "Molar If this input is omitted, then SI is default . (Unless DefaultU
Prop1 = numerical value (without quotes) of the first input property (in the units of t
Prop2 = numerical value (without quotes) of the second input property (if required) Component functions require the index i, the component number in the mixture (
Routines for working with mole & mass fractions Mole2Mass LiquidMoleFraction Mass Fraction Mass2Mole VaporMoleFraction Mole Fraction
http://www.boulder.nist.gov/div838/theory/refprop/Frequent
Prop4, Optional Prop5, Optional Prop6, Optional Prop7, Optional Prop8, OptionalDimensions Prop9, Optional Prop10, Optional Prop11, Optional Prop12, Optional InpCode
9.0
, use quotes. Prop1 and Prop2 are numbers Mixtures sub directories. ntain .mix suffix, eg: "air.mix"
"E" "Molar E" "SI" "SI with C" "Molar SI" "mks" "cgs" "Mixed"
re (need quotes) PS, PE, PQ, DH, DS, DE, HS vap, TPL, TPV
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 Defining a new fluid mixture FluidString(FluidRange,FractionRange) FluidString(FluidRange,FractionRange) & " mass"
: Prop2 is Optional
"SI with C" or "C", "Molar SI", "mks", "cgs", "M" is default . (Unless DefaultUnits changed in VBA )
d input property (if required). nent number in the mixture ( 1 <= i <= 20 )
838/theory/refprop/Frequently_asked_questions.htm
VLOOKUP() TableRange M4 : W Units English Mass English Moles SI SI with C Molar SI mks cgs Mixed 1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
nge,FractionRange)
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
VLOOKUP() TableRange M4 : W81 2 >>>>INPUT FluidString<<<< FluidString() >>>>>>>PROPERTY<<<<<<< Temperature() Pressure() Density() LiquidDensity() VaporDensity() Quality() CompressibilityFactor() Volume() Energy() IsochoricHeatCapacity() cv() Enthalpy() cp() IsobaricHeatCapacity() LatentHeat() HeatOfVaporization() Entropy() VolumeExpansivity() SecondVirial() Csat() >COMPOSITION & MIXTURE< MolarMass() MoleFraction(i) MassFraction(i) Mole2Mass(i) Mass2Mole(i) LiquidMoleFraction(i) VaporMoleFraction(i) >>>>>>TRANSPORT<<<<<< Viscosity() ThermalConductivity() Prandtl() SurfaceTension() DielectricConstant() 3 "E"
F psia lbm/ft^3 lbm/ft^3 lbm/ft^3 Vapor massFr dimLess ft^3/lbm Btu/lbm Btu/lbm-R Btu/lbm-R Btu/lbm Btu/lbm-R Btu/lbm-R Btu/lbm Btu/lbm Btu/(lbm-R) 1/R ft^3/lbm Btu/lbm-R
F psia lbmol/ft^3 lbmol/ft^3 lbmol/ft^3 Vapor moleFr dimLess ft^3/lbmol Btu/lbmol Btu/lbmol-R Btu/lbmol-R Btu/lbmol Btu/lbmol-R Btu/lbmol-R Btu/lbmol Btu/lbmol Btu/(lbmol-R) 1/R ft^3/lbmol Btu/lbmol-R
>>>>>HEATING VALUE<<<<< HeatOfCombustion() GrossHeatingValue() NetHeatingValue() >>>>>>>>>SONIC<<<<<<<<< Cstar() Critical Flow Factor Sound() SpeedOfSound() >>ISENTROPIC (ADIABATIC)<< IsentropicExpansionCoef() AdiabaticCompressibility() AdiabaticBulkModulus() >>>>>>ISOTHERMAL<<<<<< IsothermalCompressibility() IsothermalExpansionCoef() IsothermalBulkModulus() >>>>>>DERIVATIVE<<<<<< JouleThomson() dPdrho() d2Pdrho2() dPdT() drhodT() SpecificHeatInput() >>>>SYSTEM RELATED<<<< RefpropXLSVersionNumber() RefpropDLLVersionNumber() WhereAreREFPROPfunctions() WhereIsWorkbook() SeeFileLinkSources()
F/psia F/psia psia-ft^3/lbm psia-ft^3/lbmol psia-ft^6/lbm^2 psia-ft^6/lbmol^2 psia/F psia/F lbm/(ft^3-F) lbmol/(ft^3-F) Btu/lbm Btu/lbmol
nsions are in columns O thru V. Function Arguments are in Column W 5 "SI" NIST Default Units (UserUnits = 0) K MPa kg/m^3 kg/m^3 kg/m^3 Vapor massFr dimLess m^3/kg kJ/kg kJ/kg-K kJ/kg-K kJ/kg kJ/kg-K kJ/kg-K kJ/kg kJ/kg kJ/kg-K 1/K m^3/kg kJ/kg-K 6 "SI with C" 7 "Molar SI" 8 "mks"
C MPa kg/m^3 kg/m^3 kg/m^3 Vapor massFr dimLess m^3/kg kJ/kg kJ/kg-K kJ/kg-K kJ/kg kJ/kg-K kJ/kg-K kJ/kg kJ/kg kJ/kg-K 1/K m^3/kg kJ/kg-K
K MPa mol/dm^3 mol/dm^3 mol/dm^3 Vapor moleFr dimLess dm^3/mol J/mol J/mol-K J/mol-K J/mol J/mol-K J/mol-K J/mol J/mol J/mol-K 1/K dm^3/mol J/mol-K
K kPa kg/m^3 kg/m^3 kg/m^3 Vapor massFr dimLess m^3/kg kJ/kg kJ/kg-K kJ/kg-K kJ/kg kJ/kg-K kJ/kg-K kJ/kg kJ/kg kJ/kg-K 1/K m^3/kg kJ/kg-K
9 "cgs"
10 "Mixed"
K MPa g/cm^3 g/cm^3 g/cm^3 Vapor massFr dimLess cm^3/g J/g J/g-K J/g-K J/g J/g-K J/g-K J/g J/g J/g-K 1/K cm^3/g J/g-K
K psia g/cm^3 g/cm^3 g/cm^3 Vapor massFr dimLess cm^3/g J/g J/g-K J/g-K J/g J/g-K J/g-K J/g J/g J/g-K 1/K cm^3/g J/g-K
11 Function Arguments FluidString(Nmes, Comps, Optional massmole As String) Arguments with the word "Optional" may be required, 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) Quality(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2) CompressibilityFactor(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2) Volume(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2) 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) cp(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2) IsobaricHeatCapacity(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) VolumeExpansivity(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)
MolarMass(FluidName, Optional InpCode, Optional Units, Optional Prop1, Optional Prop2) MoleFraction(FluidName, i) MassFraction(FluidName, i) Mole2Mass(FluidName, i, Prop1, Prop2, Optional Prop3, Optional Prop4, Optional Prop5, Optional Prop6, Opt Mass2Mole(FluidName, i, Prop1, Prop2, Optional Prop3, Optional Prop4, Optional Prop5, Optional Prop6, Opt
LiquidMoleFraction(FluidName, Optional InpCode, Optional Units, Optional Prop1, Optional Prop2, Optional i VaporMoleFraction(FluidName, Optional InpCode, Optional Units, Optional Prop1, Optional Prop2, Optional i)
Viscosity(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2) ThermalConductivity(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)
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)
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)
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)
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)
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) drhodT(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2) SpecificHeatInput(FluidName, InpCode, Optional Units, Optional Prop1, Optional Prop2)
The data shown on the "User Information" worksheet were prepared by Fra and edited by NIST members then edited using WinXP sp3 and Excel 2003 REFPROP and needed an effective method to "keep track of the specific an perspsective. The data are copied from the NIST REFPROP program and f these worksheets on a FYI basis to provide users additional incite into REF Frank J. Doyle, P.E., on a "As Is, Where Is", no guarantees / warranties / inf
When Excel evaluates a function, it first looks for vba code that is included function included in the included vba code, then it looks for an xla file path. Excel evaluates the function using the vba code that is found first. W are evaluated in the user's REFPROP.xla file. Since it needs the REFPROP "present version" of the REFPROP (xla) code.
This data are intended to give the "new and / or infrequent REFPROP user" used to augment the REFPROP User's Guide. A detailed look at the Help F This present file contains: A list of REFPROP Functions and function syntax, A list of REFPROP fluids, A list of Units that REFPROP uses. A comparison of the functions used in REFPROP.xls and REFPROP.exe Some info on "List Boxes" and "VLOOKUP". Some comments about using REFPROP with Excel.
The user is encouraged to consider saving this workbook as a "Template" 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 recogn 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
p5, Optional Prop6, Optional Prop7, Optional Prop8, Optional Prop9, Optional Prop10, Optional Prop11, Optional Prop12, O p5, Optional Prop6, Optional Prop7, Optional Prop8, Optional Prop9, Optional Prop10, Optional Prop11, Optional Prop12, O
heet were prepared by Frank J. Doyle, P.E., using Excel 97 and Excel 2003. These were upgraded inXP sp3 and Excel 2003 sp3. The embodiment developed as Frank learned how to use ep track of the specific and essential 'user' details" in the Excel environment, from a user REFPROP program and from responses to questions that Frank asked NIST. NIST is offering additional incite into REFPROP.xls. The information is believed to be correct and is offered by arantees / warranties / info only basis.
vba code that is included (attached) to the file requesting the evaluation, if it does not find the t looks for an xla file - first in the same directory as the open worksheet, then along the specified code that is found first. When no VBA code is attached to the xls file, the REFPROP functions ce it needs the REFPROP.xla file to function, it will always perform calculations using the
frequent REFPROP user" some bare essential information about REFPROP, it is intended to be detailed look at the Help File attached to REFPROP.exe should be undertaken by the user.
rop11, Optional Prop12, Optional Prop13, Optional Prop14, Optional Prop15, Optional Prop16, Optional Prop17, Optional rop11, Optional Prop12, Optional Prop13, Optional Prop14, Optional Prop15, Optional Prop16, Optional Prop17, Optional
R141b R142b R143a R152a R161 R218 R227ea R236ea R236fa R245ca R245fa R365mfc RC318
mdm methane methanol methyl linoleate methyl linolenate methyl oleate methyl palmitate methyl stearate methylcyclohexane MM neon neopentane nitrogen nitrogen triflouride nitrous oxide nonane octane orthohydrogen oxygen parahydrogen pentane perfluorobutane perfluoropentane propane propylcyclohexane propylene propyne sulfur dioxide sulfur hexafluoride toluene trans-butene trifluoroiodomethane water xenon R11 R12 R13 R14 R21 R22 R23 R32 R41
mdm.fld methane.fld methanol.fld mlinolea.fld mlinolen.fld moleate.fld mpalmita.fld mstearat.fld c1cc6.fld mm.fld neon.fld neopentn.fld nitrogen.fld nf3.fld n2o.fld nonane.fld octane.fld orthohyd.fld oxygen.fld parahyd.fld pentane.fld c4f10.fld c5f12.fld propane.fld c3cc6.fld propylene.fld propyne.fld so2.fld sf6.fld toluene.fld t2butene.fld cf3i.fld water.fld xenon.fld r11.fld r12.fld r13.fld r14.fld r21.fld r22.fld r23.fld r32.fld r41.fld
107-51-7 74-82-8 67-56-1 112-63-0 301-00-8 112-62-9 112-39-0 112-61-8 108-87-2 107-46-0 2023453 463-82-1 7727-37-9 7783-54-2 10024-97-2 111-84-2 111-65-9 1333-74-0o 7782-44-7 1333-74-0p 109-66-0 355-25-9 678-26-2 74-98-6 1678-92-8 115-07-1 74-99-7 2025884 2551-62-4 108-88-3 624-64-6 2314-97-8 7732-18-5 7440-63-3 75-69-4 75-71-8 75-72-9 75-73-0 75-43-4 75-45-6 75-46-7 75-10-5 593-53-3
R113 R114 R115 R116 R123 R1234yf R1234ze R124 R125 R134a R141b R142b R143a R152a R161 R218 R227ea R236ea R236fa R245ca R245fa R365mfc RC318
r113.fld r114.fld r115.fld r116.fld r123.fld r1234yf.fld r1234ze.fld r124.fld r125.fld r134a.fld r141b.fld r142b.fld r143a.fld r152a.fld r161.fld r218.fld r227ea.fld r236ea.fld r236fa.fld r245ca.fld r245fa.fld r365mfc.fld rc318.fld
76-13-1 76-14-2 76-15-3 76-16-4 306-83-2 754-12-1 1645-83-6 2837-89-0 354-33-6 811-97-2 1717-00-6 75-68-3 420-46-2 75-37-6 353-36-6 76-19-7 431-89-0 431-63-0 690-39-1 679-86-7 460-73-1 406-58-6 115-25-3
octamethyltrisiloxane methane methanol methyl (Z,Z)-9,12methyl (Z,Z,Z)-9,12,15methyl cis-9-octadecenoate methyl hexadecanoate methyl octadecanoate methylcyclohexane hexamethyldisiloxane neon 2,2-dimethylpropane nitrogen nitrogen trifluoride dinitrogen monoxide nonane octane orthohydrogen oxygen parahydrogen pentane decafluorobutane dodecafluoropentane propane n-propylcyclohexane propene propyne sulfur dioxide sulfur hexafluoride methylbenzene trans-2-butene trifluoroiodomethane water xenon trichlorofluoromethane dichlorodifluoromethane chlorotrifluoromethane tetrafluoromethane dichlorofluoromethane chlorodifluoromethane trifluoromethane difluoromethane fluoromethane
187.2-673 K, 30 MPa 90.6941-625 K, 1000 MPa 175.61-620 K, 800 MPa 238.1-1000 K, 50 MPa 218.65-1000 K, 50 MPa 253.47-1000 K, 50 MPa 242-1000 K, 50 MPa 311.4- 1000 K, 50 MPa 146.7-600 K, 500 MPa 273-673 K, 30 MPa 24.556-700 K, 700 MPa 256.6-550 K, 200 MPa 63.151-2000 K, 2200 MPa 85-500 K, 50 MPa 182.33-525 K, 50 MPa 219.7-600 K, 800 MPa 216.37-600 K, 100 MPa 14.008-1000 K, 2000 MPa 54.361-2000 K, 82 MPa 13.803-1000 K, 2000 MPa 143.47-600 K, 100 MPa 189-500 K, 30 MPa 148.36-500 K, 30 MPa 85.525-650 K, 1000 MPa 178.2-650 K, 50 MPa 87.953-575 K, 1000 MPa 273-474 K, 32 MPa 197.7-525 K, 35 MPa 223.56-625 K, 150 MPa 178-700 K, 500 MPa 167.6-525 K, 50 MPa 120-420 K, 20 MPa 273.16-2000 K, 1000 MPa 161.41-750 K, 700 MPa 162.68-625 K, 30 MPa 116.099-525 K, 200 MPa 92-403 K, 35 MPa 120-623 K, 51 MPa 200-473 K, 138 MPa 115.73-550 K, 60 MPa 118.02-475 K, 120 MPa 136.34-435 K, 70 MPa 129.82-425 K, 70 MPa
1,1,2-trichloro-1,2,21,2-dichloro-1,1,2,2chloropentafluoroethane hexafluoroethane 2,2-dichloro-1,1,12,3,3,3-tetrafluoroprop-1-ene trans-1,3,3,31-chloro-1,2,2,2pentafluoroethane 1,1,1,2-tetrafluoroethane 1,1-dichloro-1-fluoroethane 1-chloro-1,1-difluoroethane 1,1,1-trifluoroethane 1,1-difluoroethane fluoroethane octafluoropropane 1,1,1,2,3,3,31,1,1,2,3,31,1,1,3,3,31,1,2,2,3-pentafluoropropane 1,1,1,3,3-pentafluoropropane 1,1,1,3,3-pentafluorobutane octafluorocyclobutane
236.93-525 K, 200 MPa 273.15-507 K, 21 MPa 173.75-550 K, 60 MPa 173.1-425 K, 50 MPa 166-600 K, 40 MPa 220-410 K, 30 MPa 168.62-420 K, 20 MPa 120-470 K, 40 MPa 172.52-500 K, 60 MPa 169.85-455 K, 70 MPa 169.68-500 K, 400 MPa 142.72-470 K, 60 MPa 161.34-650 K, 100 MPa 154.56-500 K, 60 MPa 130-400 K, 50 MPa 125.45-440 K, 20 MPa 146.35-475 K, 60 MPa 242-500 K, 60 MPa 179.52-500 K, 40 MPa 200-500 K, 60 MPa 171.05-440 K, 200 MPa 239-500 K, 35 MPa 233.35-623 K, 60 MPa
R422D R423A R424A R425A R426A R427A R428A R429A R430A R431A R432A R433A R434A R435A R436A R436B R437A R438A R500 R501 R502 R503 R504 R507A R508A R508B R509A R510A Amarillo Gas
R125/R134a/Isobutane R134a/R227ea R125/R134a/Isobutane/Butane/ Isopentane R32/R134a/R227ea R125/R134a/Butane/Isopentane R32/R125/R143a/R134a R125/R143a/Propane/Isobutane Dimethyl ether/R152a/Isobutane R152a/Isobutene Propane/R152a Propylene/Dimethyl ether Propylene/Propane R125/R143a/R134a/Isobutane Dimethyl ether/R152a Propane/Isobutane Propane/Isobutane R125/R134a/Butane/Pentane R32/R125/R134a/Butane/Isopentane R12/R152a R22/R12 R22/R115 R23/R13 R32/R115 R125/R143a R23/R116 R23/R116 R22/R218 Dimethyl ether/Isobutane methane/nitrogen/ CO2/ethane/ propane/isobutane/ butane/isopentane/ pentane/hexane Ekofisk Gas methane/nitrogen/ CO2/ethane/ propane/isobutane/ butane/isopentane/ pentane Gulf Coast Gas methane/nitrogen/ CO2/ethane/ propane/isobutane/ butane/isopentane/ pentane/hexane
High N2 Gas
65.1/31.5/3.4 52.5/47.5 50.5/47.9/1/0.6 18.5/69.5/12 5.1/93/1.3/0.6 15/25/10/50 77.5/20/0.6/1.9 60/10/30 76/24 71/29 80/20 30/70 63.2/18/16/2.8 80/20 56/44 52/48 19.5/78.5/1.4/0.6 8.5/45/44.2/1.7/0.6 73.8/26.2 75/25 48.8/51.2 40.1/59.9 48.2/51.8 50/50 39/61 46/54 44/56 88/12 82.672/4.9807/ 1.1696/7.7379/ 2.0751/0.34255/ 0.5163/0.13162/ 0.18165/0.19248 73.432/1.5028/ 3.5066/13.605/ 5.4074/1.0796/ 1.0858/0.19567/ 0.18452 92.176/0.43273/ 1.5603/3.2551/ 1.2064/0.33802/ 0.3484/0.20314/ 0.13915/0.34061
0.59629/0.33940/0.06431 0.64812/0.35188 0.45615/0.49939/0.01679/0.01865/ 0.00902 0.32113/0.61513/0.06373 0.04315/0.92568/0.02272/0.00845 0.26078/0.18839/0.10762/0.44321 0.69433/0.25589/0.01463/0.03515 0.66113/0.07685/0.26201 0.73591/0.26409 0.78574/0.21426 0.81410/0.18590 0.30992/0.69008 0.55678/0.22647/0.16581/0.05094 0.85152/0.14848 0.62653/0.37347 0.58813/0.41187 0.16850/0.79790/0.02498/0.00862 0.16191/0.37156/0.42930/0.02899/0.00824 0.60610/0.39390 0.80751/0.19249 0.62999/0.37001 0.49970/0.50030 0.73424/0.26576 0.41184/0.58816 0.55758/0.44242 0.62675/0.37325 0.63079/0.36921 0.90246/0.09754 0.90672/0.031284/ 0.004676/0.045279/ 0.00828/0.001037/ 0.001563/0.000321/ 0.000443/0.000393 0.85906/0.010068/ 0.014954/0.084919/ 0.023015/0.003486/ 0.003506/0.000509/ 0.00048 0.96522/0.002595/ 0.005956/0.018186/ 0.004596/0.000977/ 0.001007/0.000473/ 0.000324/0.000664
XLS Version Number: DLL Version Number: Location of the VB code Name of this file
9.0 #VALUE!
9.0 9.0
\\vboxsrv\conversion_tmp\scratch_2\195395121.xls.ms_office.xls \\vboxsrv\conversion_tmp\scratch_2\195395121.xls.ms_office.xls
r mol/L #VALUE!
#VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE!
Units: Molar SI #VALUE! Triple Point Temp. (K): #VALUE! Trp Pressure (MPa): #VALUE! Trp Density (mol/L): s Quality J/mol-K (mole basis) #VALUE! #VALUE! #VALUE! 100 #VALUE! #VALUE!
(Melting point given temperature) (Melting point given pressure) (Sublimation point given temperature) (Sublimation point given pressure)
Two-Phase Calculations Compute properties from given temperature and density. r T P K MPa mol/L #VALUE! 15 100
u J/mol #VALUE!
h J/mol #VALUE!
s J/mol-K #VALUE!
Calculate liquid properties given only the saturation pressure. #VALUE! #VALUE! #VALUE! 0.3
#VALUE!
#VALUE!
Calculate properties given only the saturation temperature. (note that some of the following calculations use "TD&" to define the input properties, see t #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! 100 #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! Example: Unit Conversions Unit system: cgs T K 100
P MPa 1
r
g/cm #VALUE!
3
v cm /g #VALUE!
3
u J/g #VALUE!
h J/g #VALUE!
Other Properties Unit system: E T F -100 P psia 1000 Isothermal Compressibility 1/psia #VALUE! Volume Expansivity 1/R #VALUE! Isentropic Expansion Coefficient #VALUE! Isothermal Expansion Coefficient #VALUE!
(See the "Mixture Example" worksheet for more examples.) Example: 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 nitrogen;0.6;argon;0.05;oxygen;0.35 Components Mole Fractions 0.60 nitrogen 0.05 argon 0.35 oxygen 1.00 Total
(Note the two different ways to make this string, the second is easiest)
Density
Mixture properties: r (100 K, 0.1 MPa) r (100 K, 1 MPa) #VALUE! #VALUE! kg/m kg/m
3 3
#VALUE! #VALUE!
Mole Fraction 1 Mole Fraction 2 Mass Fraction 1 r410a.mix #VALUE! #VALUE! #VALUE! In addition to the predefined mixtures in REFPROP, any mixture with a ".mix" extension th #VALUE! #VALUE! kg/m
3 3
#VALUE! #VALUE!
kJ/kg Btu/lbm
#VALUE! #VALUE!
lbm/ft
Quality
Properties of the liquid and vapor at the equilibrium comp Liquid Phase Liquid Phase Mole Frac. Mole Frac.
R32 #VALUE! #VALUE! #VALUE! R125 #VALUE!
kg/m MPa (mass basis) 200 #VALUE! #VALUE! Liquid phase composition string: Vapor phase composition string:
Equilibrium
Properties of the liquid and vapor at the equilibrium comp Liquid Phase Liquid Phase Mole Frac. Mole Frac.
R125 #VALUE!
kg/m MPa Liquid Density R32 #VALUE! #VALUE! #VALUE! #VALUE! Liquid phase composition string: #VALUE!
To specify mass composition, add the word "mass" at the R32/R125 (0.5/0.5) mass
T K 300
P MPa #VALUE!
r
kg/m #VALUE!
3
T K 300
P MPa #VALUE!
300 10 0.5 0.2 0.1 0.1 0.1 methane propane butane 0.5 0.2 0.1 0.1 0.1
Density (kg/m^3)
methane;0.5;propane;0.1;pentane;0.1 #VALUE!
methane;0.5;propane;0.1;butane;0.1 #VALUE!
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
match after pressing Ctrl-Alt-F9, then you are not using the most recent REFPROP.DLL file. Search your computer for REFPROP.DLL (es
ms_office.xls
ms_office.xls
Triple Point Temp. (K): Trp Pressure (MPa): Trp Density (mol/L):
#VALUE! #VALUE!
Example calculations when two states are possible for the given inputs: Inputs are T = 100 K and H = -40 kJ/kg
#VALUE! #VALUE!
#VALUE! #VALUE!
If the phase is known for given inputs of T and P, the following examples show how to obtain much faster ca These examples also show how to force the calculation to search only in the liquid or only in the vapor state #VALUE! (Input state is known to be in the liquid) #VALUE! (Input state is known to be in the vapor)
the input properties, see the "Mixture Example" sheet for more information.
Liquid Vapor Calculate temperature given saturation density, enthalpy, or entropy. Note that there can be three roots for entropy in the vapor phase, for example, try butane at 422 K.
#VALUE!
s J/g-K #VALUE!
Cv J/g-K #VALUE!
Cp J/g-K #VALUE!
w cm/s #VALUE!
h mPa-s #VALUE!
l
mW/(m-K) #VALUE!
Adiabatic Bulk Isothermal Bulk Modulus Modulus psia psia #VALUE! #VALUE!
dP/dr
d P/dr2
Mass Fraction 2 #VALUE! any mixture with a ".mix" extension that you save in the mixtures directory while running the REFPROP graphical interface will be available to kJ/kg-K Btu/lbm-F
d and vapor at the equilibrium compositions (not the R410A composition): Liquid Vapor Vapor Phase Vapor Phase Density Density Mole Frac. Mole Frac.
R32 #VALUE! R125 #VALUE! kg/m #VALUE!
3
kg/m #VALUE!
d and vapor at the equilibrium compositions (not the R410A composition for the liquid): Liquid Vapor Liquid Enthalpy Enthalpy Viscosity
kJ/kg #VALUE! kJ/kg #VALUE!
mPa-s #VALUE!
r
kg/m #VALUE!
3
e;0.1;butane;0.1
methane;0.5;ethane;0.2;propane;0.1;butane;0.1;pentane;0.1 #VALUE!
in .xlt or .xla files should be deleted and restored with the new code attached to this file.
h your computer for REFPROP.DLL (especially in the Windows\System32 directory) and delete all occurrences except the one in the REFPR
(Pressure and quality at the high density point) (Pressure and quality at the low density point)
mples show how to obtain much faster calculations: nly in the liquid or only in the vapor state (for example, for metastable states.)
Liquid Z #VALUE!
Vapor Z #VALUE!
Z #VALUE!
(These two cells are just for checking mass to mole conversions)
Fugacity R32
MPa #VALUE!
Fugacity Fugacity Chemical Fugacity Coefficient Coefficient Potential R125 R32 R125 R32
MPa kJ/kg #VALUE! #VALUE! #VALUE! #VALUE!
Activity R32
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 ammonia;0.5;water;0.5 Pressure (MPa) 0.3 Temperature (K) Liquid phase temperature (K) #VALUE! Vapor phase (dew point) pressure Get the liquid and vapor densities for all other thermodynamic property calculations Liquid phase density (kg/m^3) #VALUE! Liquid phase density (kg/m^3) Vapor phase density (kg/m^3) #VALUE! 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 #VALUE! Water #VALUE! #VALUE! 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) #VALUE! Vapor enthalpy (kJ/kg) #VALUE! Liquid speed of sound (m/s) Vapor speed of sound (m/s) #VALUE! #VALUE!
Comparisons with calculations from the Refprop graphical interface will help ensure that calculated values are
Example worksheet that demonstrates how to mix two natural gas streams of known molar composition. The two stre flow rates, temperatures, and pressures. Inputs are in blue. The cells in rows 60-62 are used to concatenate the fluid 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.2202 0.2190 #VALUE! #VALUE! Nitrogen 2.1926 2.6600 #VALUE! #VALUE! Methane 95.3108 87.0381 #VALUE! #VALUE! Ethane 1.5123 5.6369 #VALUE! #VALUE! Propane 0.4471 2.6590 #VALUE! #VALUE! Isobutane 0.0495 0.3040 #VALUE! #VALUE! Butane 0.1366 0.8230 #VALUE! #VALUE! Isopentane 0.0284 0.1610 #VALUE! #VALUE!
Pentane Hexane
0.0403 0.0620
0.2050 0.2940
#VALUE! #VALUE!
#VALUE! #VALUE!
d phase input at 0.3 MPa. phase calculations are in equilibrium with the vapor state at 300 K 300 #VALUE!
#VALUE! #VALUE!
ould not be performed, rdless of phase. properties in the EOS. put, thus slowing down the process,
astable states. #VALUE! #VALUE! #VALUE! #VALUE! (Note which cells are specified for the fluid string in these 8 calculations)
n molar composition. The two streams have different are used to concatenate the fluid names and mole fractions Stream 1 Flow Rate Temp. Pressure Density Flow Rate Stream 2 Flow Rate Temp. Stream 1 (ft^3/hr) (F) (psia) (lbm/ft^3) (lbm/hr) 500000 60 550 #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! Stream 2 Flow Rate in lbm/hr #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE!
(ft^3/hr) (F)
100000 70
#VALUE! #VALUE!
Propane;0.447117;Isobutane;0.049524;Butane;0.136641;Isopentane;0.028408;Pentane;0.040311;Hexane;0.062049 9;Isobutane;0.304;Butane;0.823;Isopentane;0.161;Pentane;0.205;Hexane;0.294
Output Rate in lbm/hr #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE!
Output Mass Frac #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE!
Output Mole Percent #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE!
#VALUE! #VALUE!
#VALUE! #VALUE!
This worksheet can be used to verify that the user's computer is returning proper calculations The values in the columns on the left are calculated from your copy of the Refprop DLL. The values in the middle column were calculated at NIST. The values in the right column 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 From DLL #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! From NIST 28.95860066 637.3775887 1.456918928 651.5166161 153.8866807 100.111749 0.074915638 23643.99357 298.4313203 5536.791449 1.600404035 0.038640632 0.038640617 0.050092665 319.1674999 4.050420292 283.7248367 101.7947826 1.037058059 0.697614699 0.5 0.697614699 481.2761563
#VALUE!
0.00001
Percent Difference #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE!
er calculations
#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) Quality("methane;40;ethane;60 mass","TD","mks",200,300) kg/kg Quality("methane;40;ethane;60 mass","TP","mks",200,2814.5509) mass ratio Quality("methane;40;ethane;60 mass","TP","molar SI",200,2.8145509) molar ratio HeatOfVaporization("octane","tliq","c",100) SurfaceTension("nitrogen","tl","SI",100) Viscosity("butane;.25;hexane;.75","TH","SI",300,-21) ThermalConductivity("carbon dioxide,.5,nitrogen,.5 mass","TH","SI",200,126) 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)