Professional Documents
Culture Documents
REFPROP
REFPROP
IMPORTANT!!!
Information is given below about updating
worksheets to version 10. Please read the te
save you and us time as you transf
When learning how the commands work, make comparisons with calculations from the REFPROP graphica
especially important with 2-phase or saturation states for mixtures. All of the example worksheets, except f
obtain properties (as explained much further below).
Do not save your work in this workbook while in the default REFPROP directory; it will be overwritten when
The New REFPROP Rib
REFPROP 10 comes with its own tab on the ribbon! To activate this, go to the add-ins section (File/Options
below for browsing for this add-in). This will add a tab to your ribbon that says "REFPROP". Click on this ta
the "REFPROP Addins" button for the calculations to work).
Within the macros group is a "Wizard" button that will help you write a REFPROP formula. Click on Wizard
Then select your two input properties (e.g., temperature and pressure) and enter their values. Then select
results will be shown instantly in the user form. The REFPROP string is shown at the bottom. Press "Calcu
Press "Compose" to put the property name, the formula, and the units in three adjacent cells.
The "Insert Function" button is just Excel's function button. Select the REFPROP category to see all availab
then find it).
To write commands to obtain properties, start with "=REFPROP(", then enter the property you would like to
then the input properties, such as "TP" for a temperature-pressure state. The next entry is a unit string (as
Thus, a valid entry would look like this: "=REFPROP("D","Methane","TP","SI",200,10)". This will return a va
following worksheets.
When doing a full recalculation (Ctrl-Alt-F9), every cell in every worksheet is recalculated. To increase the c
contain equations.
Worksheet
Units
Fluids
Predefined Mixtures
Available Properties
Inputs
Mixtures
Unit Conversions
CheckSum
Color code
Information
Header
Notes
Type of calculation
Fluid name
Unit system
Units
Property name
Input code
Output code
Input value
Calculated value
Check sum
Equations of State
The phrase "Equation of State" is used to describe an equation developed by scientists around the world to
quite complex and take months to years to develop. For a good example of a long-period project, see the e
the most complex Helmholtz energy mixture model ever developed, see the 555 page work of Kunz and Wa
http://www.gerg.eu/public/uploads/files/publications/technical_monographs/tm15_04.pdf There is no charge
note the substantial amount of experimental data that was required to develop the equation. The time and
amount of work that was required to make the equation.
Equations of state have the unique ability to calculate all thermodynamic properties from a single equation.
the independent properties are the temperature and density. From this equation and with given values of T
energy. For example (and simplified), the pressure is the first derivative of the Helmholtz energy with respe
the Helmholtz energy with respect to the reciprocal temperature. Properties that cannot be measured such
state when measurements for multiple properties (density, vapor pressure, sound speed, etc.) were used in
conductivity cannot be calculated from this equation, but require their own separate formulations.
When the state is known to be single phase, the input code "TD&" can be used to avoid the saturation call t
use of this code will be hundreds of times faster. The best practice for obtaining properties is to first determ
example, pressure and enthalpy). The quality should also be calculated, and if the value is NOT between 0
should be used for all other calculations. But be careful! If the quality indicates that the state is two phase
metastable state is desired.
use of this code will be hundreds of times faster. The best practice for obtaining properties is to first determ
example, pressure and enthalpy). The quality should also be calculated, and if the value is NOT between 0
should be used for all other calculations. But be careful! If the quality indicates that the state is two phase
metastable state is desired.
If calculations are not done automatically, look under File/Options/Formulas and turn on the Automatic settin
will cause the workbook to start working properly.
If an error message appears about a problem with a formula that you entered, try changing the commas be
=REFPROP("M", "Nitrogen"), try =REFPROP("M"; "Nitrogen").
Verify the VBA code is running by pressing Alt-F11. In the Project window, in addition to the current spreads
"REFPROP_Ribbon(REFPROP_Ribbon.xlam)" files should be open. If these files are not open, their respe
To do this, go to File/Options/Trust Center/Trust Center Settings, and select "Trusted Locations" on the left.
installed, select "Subfolders of this location are also trusted", and click "OK".
Speed of Calculations
Complex Calculations: If high speed is important, you may wish to use the 9.1 routines and avoid the new
determine the desired output. The new subroutine is meant for the casual user because it has joined all po
the DLL, and harmonized the code over all programming languages. The REFPROP 9.1 VBA code is avail
load this add-in as well and then have access to the VBA code from both versions 9.1 and 10. Additional in
Fortran directory where the program was installed.
Complex Calculations: If high speed is important, you may wish to use the 9.1 routines and avoid the new
determine the desired output. The new subroutine is meant for the casual user because it has joined all po
the DLL, and harmonized the code over all programming languages. The REFPROP 9.1 VBA code is avail
load this add-in as well and then have access to the VBA code from both versions 9.1 and 10. Additional in
Fortran directory where the program was installed.
Mixtures: In the Refprop 10 VBA code is a line that reads iFlag=1. Read the information above it for activa
for mixture properties. However, this option can be detrimental when you have many large mixtures in your
calculates cells. The fastest method is to use one Excel file for a particular mixture, that way the splines are
becomes quite fast. This also assumes that the composition of the mixture does not change, otherwise you
call the splines once with a particular composition. See the REFPROP.FOR file for further information.
New Code: You can speed up calculations on an Excel sheet by calling the REFPROP routines in your ow
Excel workbook are calculated in Excel’s order, so if cells in a workbook call for different properties of, for ex
be loaded several times, depending on Excel’s calculation order. Properties can be obtained quickly and yo
module that calls the REFPROP DLL. For example, if a cell has been assigned the name "Fluid" and is a V
Refprop", "T", Fluid, "Dsat", "C", D) will return the saturation temperature T(i) of the Fluid at density D. You c
multiple times to get different properties at that state.
Additional Options: Read through the comments in the VBA code for additional options for increasing the
Speed of Calculations - Cr
In workbooks where millions of calculations are made in some sort of optimization or other algorithm, the co
switching between different pure fluids or mixtures. Similar to the solution described in the box above, the c
were a mixture. Thus, if the properties of pure nitrogen and pure argon are required, rather than calling the
use two cells with the fluid names, where one says "nitrogen;argon|1;0" and the other says "nitrogen;argon|
"argon;nitrogen|1;0" for the second one since a string comparison between calls will show that the fluids ha
the need to reload the fluids. The use of the format from version 9.1 given as "nitrogen;1;argon;0" will not b
search for the bar symbol "|" to compare the string to the left of that symbol with the string from the previous
as described above.
In workbooks where millions of calculations are made in some sort of optimization or other algorithm, the co
switching between different pure fluids or mixtures. Similar to the solution described in the box above, the c
were a mixture. Thus, if the properties of pure nitrogen and pure argon are required, rather than calling the
use two cells with the fluid names, where one says "nitrogen;argon|1;0" and the other says "nitrogen;argon|
"argon;nitrogen|1;0" for the second one since a string comparison between calls will show that the fluids ha
the need to reload the fluids. The use of the format from version 9.1 given as "nitrogen;1;argon;0" will not b
search for the bar symbol "|" to compare the string to the left of that symbol with the string from the previous
as described above.
To change the reference state for mixture calculations, press Alt-F11 and search for the first section describ
web site above. In the GUI, there is an option for mixtures that sets the reference state to either the compo
instructions in the VBA code where you found the call to SETREF. A value of 1 sets the reference state so th
reference state so that it is applied to the current mixture.
To change the reference state for a pure fluid, skip the first section about SETREF and go on to the second
one of the predefined values: DEF, NBP, IIR, and ASH. These are defined in the SETUP.FOR file or under
own reference state is available with the command OTH (see below). Once you have made the changes as
section. Then exit completely out of Excel, restart, and the enthalpy and entropy values should change. If
the changes were saved in that file (go to File/Save and make sure it says REFPROP.XLA before clicking o
Example of Changing the Reference State
Open the REFPROP.XLS file in the REFPROP directory (for example: C:\Program Files (x86)\REFPROP).
REFPROP10Code page. Find the code below:
'hIn = "SETREF": hFld = ""
‘hOut = "NBP"
'hOut = "OTH; 11.11; 22.22; 298.15; 101.325"'
'Call REFPROPdll(hfld, hIn, hOut, 0&, 0&, 2&, 0#, 0#, z(1),…
To use your own specified reference state, change the values on the hOut line to the desired values as des
appropriate lines, for example:
hIn = "SETREF": hFld = ""
'hOut = "NBP"
hOut = "OTH; 0; 0; 273.15; 101.325"
Call REFPROPdll(hFld, hIn, hOut, 0&, 0&, 2&, 0#, 0#, z(1),…
If you are editing the REFPROP.XLA sheet, save it using File > Save > REFPROP.XLA). If it doesn’t let you
that directory and put it in your User’s directory and do this again, or you can make the same changes to th
move the two files back to your REFPROP directory, or use them from the alternate location.
1) The VBA code was reduced from about 3500 lines down to about 150 lines! All of the previous code wa
of new code added to supplement what was available in 9.1. This means that any other application that cal
2) The new Fortran code in Version 10 that replaces the VBA code from 9.1 was completely rewritten to all
on. New abilities that previously required updating the VBA code for each change have now been generaliz
saturated liquid entropy for a two-phase state, a new routine called LiquidEntropy had to be written. Now, a
property-specific code (which is now in the Fortran files) as was required in the 9.1 VBA code.
3) With only one single function in Version 10, the user can easily write a new VBA subroutine that calls eit
the number of inputs, change the order of inputs, etc. For example, a routine for calculating properties of R
example, to:
"=REFPROP_SI_R410A("H", "TP", 300, 10)"
the number of inputs, change the order of inputs, etc. For example, a routine for calculating properties of R
example, to:
"=REFPROP_SI_R410A("H", "TP", 300, 10)"
#MACRO?
#MACRO?
IMPORTANT!!!
s given below about updating your REFPROP 9.1 Exce
ersion 10. Please read the text before you continue, it
you and us time as you transfer to the new style.
k, make comparisons with calculations from the REFPROP graphical interface to help ensure that calculated values are identica
uration states for mixtures. All of the example worksheets, except for CheckSum, have been color coded to aid you as you lea
rther below).
while in the default REFPROP directory; it will be overwritten when you install a new version of REFPROP.
The New REFPROP Ribbon
n the ribbon! To activate this, go to the add-ins section (File/Options/Add-ins/Go) and select "REFPROP Ribbon" as an add-in (
s will add a tab to your ribbon that says "REFPROP". Click on this tab and you will see a number of options. (You may also nee
alculations to work).
utton that will help you write a REFPROP formula. Click on Wizard to open the Wizard user form. First select the desired fluid
.g., temperature and pressure) and enter their values. Then select the calculated property. If the "Enable calculation" button is
er form. The REFPROP string is shown at the bottom. Press "Calculate" to enter the string into the current active cell on the sp
ame, the formula, and the units in three adjacent cells.
el's function button. Select the REFPROP category to see all available functions. (If it is not there, press "User defined" and
, start with "=REFPROP(", then enter the property you would like to calculate, such as "D" for density. The fluid of interest then
for a temperature-pressure state. The next entry is a unit string (as given on the Units tab), and then finally the values of the tw
"=REFPROP("D","Methane","TP","SI",200,10)". This will return a value of 266.2 kg/m^3. Most functions of interest are given in
F9), every cell in every worksheet is recalculated. To increase the calculation speed, delete all worksheets that you do not nee
Contents
Predefined mixtures available, including the mixture name, components in the mixture, and compositions of the components.
Iterative routines to obtain properties from any other two properties (or from one property at saturation).
Special codes are shown to indicate that a state is in the liquid or vapor region to avoid saturation calls to determine the state
Methods to calculate melting properties or properties for metastable states are shown.
Format required to calculate properties for mixtures, including the critical point, maxcondentherm, and maxcondenbar.
Methods for obtaining the compositions of equilibrium phases for 2-phase or saturation states are given, along with an explan
two methods available for calculating the properties of air.
Methods to convert a number from one unit to another unit, such as from psia to kPa.
Test values to ensure that your version of REFPROP is producing the same results as were calculated when version 10.0 wa
Description
Information
Header
For example, single phase vs. two-phase, iterative vs. non-iterative, etc.
The name of the pure fluid, predefined mixture, or user-defined mixture being used.
MOLAR SI, SI, SI WITH C, ENGLISH, MKS, CGS, and several others defined on the Units worksheet.
Often either density or temperature, which are the independent variables in the equation of state.
Once known, all other properties can be calculated without iteration.
Gives the ability to check that the calculated values in your worksheet are the same as those that came from NIST in Version
REFPROP. A block of calculated values is summed together and the NIST value is subtracted from that sum. The result sho
than some tolerance, usually set to 1e-8. The cell will be green if the numbers match or red if they do not. If red, you may ha
inputs for that section, or your worksheet is not using the DLL and fluid files from Version 10.0.
Equations of State
to describe an equation developed by scientists around the world to represent the thermodynamic properties of fluids. These e
s to develop. For a good example of a long-period project, see the equation for propane in J. Chem. Eng. Data, 54:3141-3180,
xture model ever developed, see the 555 page work of Kunz and Wagner (which required over 10 years to finish) at
publications/technical_monographs/tm15_04.pdf There is no charge to download the document. When looking through these d
ental data that was required to develop the equation. The time and money required to take the measurements easily exceeds 1
ke the equation.
ty to calculate all thermodynamic properties from a single equation. The equation is typically given in terms of the Helmholtz en
perature and density. From this equation and with given values of T and D, other properties are calculated as derivatives of the
he pressure is the first derivative of the Helmholtz energy with respect to density, and the isochoric heat capacity is the second
e reciprocal temperature. Properties that cannot be measured such as entropy are easily and accurately calculated from the eq
properties (density, vapor pressure, sound speed, etc.) were used in the fitting process. Transport properties such as viscosity
his equation, but require their own separate formulations.
hase, the input code "TD&" can be used to avoid the saturation call that would have happened if only "TD" was used as the inpu
es faster. The best practice for obtaining properties is to first determine the temperature and density from the known propertie
quality should also be calculated, and if the value is NOT between 0 and 1 (0<q<1, but not including the end points), then the c
. But be careful! If the quality indicates that the state is two phase, the code TD& should never be used except in rare cases w
es faster. The best practice for obtaining properties is to first determine the temperature and density from the known propertie
quality should also be calculated, and if the value is NOT between 0 and 1 (0<q<1, but not including the end points), then the c
. But be careful! If the quality indicates that the state is two phase, the code TD& should never be used except in rare cases w
y, look under File/Options/Formulas and turn on the Automatic setting. Sometimes pressing Ctrl-Alt-F9, which normally means
g properly.
oblem with a formula that you entered, try changing the commas between the fields to semicolons. For example, instead of
PROP("M"; "Nitrogen").
ing Alt-F11. In the Project window, in addition to the current spreadsheet, the "REFPROPExcelSpreadsheet (REFPROP.XLA)"
n.xlam)" files should be open. If these files are not open, their respective VBA codes will not run.
er/Trust Center Settings, and select "Trusted Locations" on the left. Click "Add new location". Browse to the directory where R
ion are also trusted", and click "OK".
go to File/Options/Add-ins/Go. Select "REFPROP AddIns" to turn on the REFPROP.xla VBA code. Select "REFPROP Ribbon
Speed of Calculations
s important, you may wish to use the 9.1 routines and avoid the new subroutine called REFPROP, which uses a lot of string co
subroutine is meant for the casual user because it has joined all possible calls into one single routine, made more options avai
all programming languages. The REFPROP 9.1 VBA code is available in the REFPRP91.XLA file in your REFPROP directory
ccess to the VBA code from both versions 9.1 and 10. Additional information is given further below and in the REFPROP.FOR
s installed.
s important, you may wish to use the 9.1 routines and avoid the new subroutine called REFPROP, which uses a lot of string co
subroutine is meant for the casual user because it has joined all possible calls into one single routine, made more options avai
all programming languages. The REFPROP 9.1 VBA code is available in the REFPRP91.XLA file in your REFPROP directory
ccess to the VBA code from both versions 9.1 and 10. Additional information is given further below and in the REFPROP.FOR
s installed.
is a line that reads iFlag=1. Read the information above it for activating the splines that are used to obtain much higher calcula
ption can be detrimental when you have many large mixtures in your spreadsheet because of the way that Excel jumps around
to use one Excel file for a particular mixture, that way the splines are calculated once and then the calculation speed after that g
that the composition of the mixture does not change, otherwise you may need to modify the VBA code that comes with the file
mposition. See the REFPROP.FOR file for further information.
ions on an Excel sheet by calling the REFPROP routines in your own VBA code, and then write the results on a sheet. Formul
s order, so if cells in a workbook call for different properties of, for example, methane and propane, the fluid file methane and p
Excel’s calculation order. Properties can be obtained quickly and you can control the output format with the Run(…) command
For example, if a cell has been assigned the name "Fluid" and is a VBA string that uses FluidString10(…), then T(i) = Run("refpr
return the saturation temperature T(i) of the Fluid at density D. You can also compute multiple properties at one state point inste
at that state.
comments in the VBA code for additional options for increasing the speed of calculations.
re calculations, press Alt-F11 and search for the first section describing the call to SETREF. Information about this section is giv
option for mixtures that sets the reference state to either the composition in use or to each pure fluid. To set this option in Exce
found the call to SETREF. A value of 1 sets the reference state so that it is applied to each pure component, and a value of 2 s
e current mixture.
e fluid, skip the first section about SETREF and go on to the second occurrence. There you have the ability to change the refer
P, IIR, and ASH. These are defined in the SETUP.FOR file or under the options/reference state menu in the GUI. The option to
e command OTH (see below). Once you have made the changes as described, you need to save the VBA code under the File/
cel, restart, and the enthalpy and entropy values should change. If they do not and you are using the refprop.XLA add-in, make
to File/Save and make sure it says REFPROP.XLA before clicking on that option).
ple of Changing the Reference State to User Defined Values
FPROP directory (for example: C:\Program Files (x86)\REFPROP). Use Alt-F11 and go to REFPROPExcelSpreadsheet > Mod
e below:
101.325"'
&, 0&, 2&, 0#, 0#, z(1),…
ate, change the values on the hOut line to the desired values as described in the text on that line in the code, and uncomment th
"
&, 0&, 2&, 0#, 0#, z(1),…
eet, save it using File > Save > REFPROP.XLA). If it doesn’t let you save in the installation directory, then you can move the X
irectory and do this again, or you can make the same changes to the XLS file and save it elsewhere as an XLA file. If possible,
OP directory, or use them from the alternate location.
out 3500 lines down to about 150 lines! All of the previous code was moved into the Fortran (and thus the DLL), with a substan
was available in 9.1. This means that any other application that calls the DLL now also has access to the same features as av
that replaces the VBA code from 9.1 was completely rewritten to allow access to nearly all of REFPROP's abilities, flags, settin
ed updating the VBA code for each change have now been generalized to avoid these problems. For example, when a user ne
state, a new routine called LiquidEntropy had to be written. Now, all properties are available regardless of the state, and witho
the Fortran files) as was required in the 9.1 VBA code.
ion 10, the user can easily write a new VBA subroutine that calls either the REFPROP DLL directly or the REFPROP VBA routin
of inputs, etc. For example, a routine for calculating properties of R410A in SI units could be written to reduce the calling functi
, 10)"
of inputs, etc. For example, a routine for calculating properties of R410A in SI units could be written to reduce the calling functi
, 10)"
Units Available in the REFPROP Interface
Unit Systems
Shortcut ® C E
Property Code MOLAR SI SI SI WITH C MOLAR BASE SI MASS BASE SI ENGLISH
Temperature T #MACRO? #MACRO? #MACRO? #MACRO? #MACRO? #MACRO?
Pressure P #MACRO? #MACRO? #MACRO? #MACRO? #MACRO? #MACRO?
Density D #MACRO? #MACRO? #MACRO? #MACRO? #MACRO? #MACRO?
Enthalpy H #MACRO? #MACRO? #MACRO? #MACRO? #MACRO? #MACRO?
Entropy S #MACRO? #MACRO? #MACRO? #MACRO? #MACRO? #MACRO?
Speed W #MACRO? #MACRO? #MACRO? #MACRO? #MACRO? #MACRO?
Kinematic viscosity KV #MACRO? #MACRO? #MACRO? #MACRO? #MACRO? #MACRO?
Viscosity VIS #MACRO? #MACRO? #MACRO? #MACRO? #MACRO? #MACRO?
Thermal conductivity TCX #MACRO? #MACRO? #MACRO? #MACRO? #MACRO? #MACRO?
Surface tension STN #MACRO? #MACRO? #MACRO? #MACRO? #MACRO? #MACRO?
Molar Mass M #MACRO? #MACRO? #MACRO? #MACRO? #MACRO? #MACRO?
New in
Short name Version 10 Full name
1,3-Butadiene ü Buta-1,3-diene
1-Butyne ü But-1-yne
1-Pentene ü Pent-1-ene
2,2-Dimethylbutane ü 2,2-Dimethylbutane
2,3-Dimethylbutane ü 2,3-Dimethylbutane
3-Methylpentane ü 3-Methylpentane
Acetone Propanone
Acetylene ü Ethyne
Ammonia Ammonia
Argon Argon
Benzene Benzene
Butane n-Butane
Butene 1-Butene
Carbon dioxide Carbon dioxide
Carbon monoxide Carbon monoxide
Carbonyl sulfide Carbon oxide sulfide
Chlorine ü Chlorine
Chlorobenzene ü Chlorobenzene
cis-Butene cis-2-Butene
Cyclobutene ü 1-Cyclobutene
Cyclohexane Cyclohexane
Cyclopentane Cyclopentane
Cyclopropane Cyclopropane
D4 Octamethylcyclotetrasiloxane
D5 Decamethylcyclopentasiloxane
D6 Dodecamethylcyclohexasiloxane
DEA ü 2,2'-Iminodiethanol
Decane Decane
Deuterium Deuterium
Dichloroethane ü 1,2-Dichloroethane
Diethyl ether Diethyl ether
Dimethyl carbonate Dimethyl ester carbonic acid
Dimethyl ether Methoxymethane
Docosane ü Docosane
Dodecane Dodecane
Ethane Ethane
Ethanol Ethyl alcohol
Ethylene glycol ü 1,2-Ethandiol
Ethylbenzene Phenylethane
Ethylene Ethene
Ethylene oxide ü Ethylene oxide
Fluorine Fluorine
Heavy water Deuterium oxide
Helium Helium-4
Heptane Heptane
Hexadecane ü Hexadecane
Hexane Hexane
Hydrogen (normal) Hydrogen (normal)
Hydrogen chloride Hydrogen chloride
Hydrogen sulfide Hydrogen sulfide
Isobutane 2-Methylpropane
Isobutene 2-Methyl-1-propene
Isohexane 2-Methylpentane
Isooctane 2,2,4-Trimethylpentane
Isopentane 2-Methylbutane
Krypton Krypton
MD2M Decamethyltetrasiloxane
MD3M Dodecamethylpentasiloxane
MD4M Tetradecamethylhexasiloxane
MDM Octamethyltrisiloxane
MEA ü Ethanolamine
Methane Methane
Methanol Methanol
Methyl linoleate Methyl (Z,Z)-9,12-octadecadienoate
Methyl linolenate Methyl (Z,Z,Z)-9,12,15-octadecatrienoate
Methyl oleate Methyl cis-9-octadecenoate
Methyl palmitate Methyl hexadecanoate
Methyl stearate Methyl octadecanoate
Methylcyclohexane Methylcyclohexane
MM Hexamethyldisiloxane
m-Xylene 1,3-Dimethylbenzene
Neon Neon
Neopentane 2,2-Dimethylpropane
Nitrogen Nitrogen
Nitrogen trifluoride Nitrogen trifluoride
Nitrous oxide Dinitrogen monoxide
Nonane Nonane
Novec 649, 1230 1,1,1,2,2,4,5,5,5-Nonafluoro-4-(trifluoromethyl)-3
Octane Octane
Orthohydrogen Orthohydrogen
Oxygen Oxygen
o-Xylene 1,2-Dimethylbenzene
Parahydrogen Parahydrogen
Pentane Pentane
Perfluorobutane Decafluorobutane
Perfluorohexane ü Tetradecafluorohexane
Perfluoropentane Dodecafluoropentane
Propadiene ü 1,2-Propadiene
Propane Propane
Propylcyclohexane n-Propylcyclohexane
Propylene Propene
Propylene oxide ü 1,2-Epoxypropane
Propyne Propyne
p-Xylene 1,4-Dimethylbenzene
R11 Trichlorofluoromethane
R1123 ü Trifluoroethylene
R113 1,1,2-Trichloro-1,2,2-trifluoroethane
R114 1,2-Dichloro-1,1,2,2-tetrafluoroethane
R115 Chloropentafluoroethane
R116 Hexafluoroethane
R12 Dichlorodifluoromethane
R1216 Hexafluoropropene
R1224yd(Z) ü (Z)-1-Chloro-2,3,3,3-tetrafluoropropene
R123 2,2-Dichloro-1,1,1-trifluoroethane
R1233zd(E) trans-1-Chloro-3,3,3-trifluoro-1-propene
R1234yf 2,3,3,3-Tetrafluoroprop-1-ene
R1234ze(E) trans-1,3,3,3-Tetrafluoropropene
R1234ze(Z) ü cis-1,3,3,3-Tetrafluoropropene
R124 1-Chloro-1,2,2,2-tetrafluoroethane
R1243zf ü 3,3,3-Trifluoropropene
R125 Pentafluoroethane
R13 Chlorotrifluoromethane
R1336mzz(Z) ü (Z)-1,1,1,4,4,4-Hexafluoro-2-butene
R134a 1,1,1,2-Tetrafluoroethane
R13I1 Trifluoroiodomethane
R14 Tetrafluoromethane
R141b 1,1-Dichloro-1-fluoroethane
R142b 1-Chloro-1,1-difluoroethane
R143a 1,1,1-Trifluoroethane
R152a 1,1-Difluoroethane
R161 Fluoroethane
R21 Dichlorofluoromethane
R218 Octafluoropropane
R22 Chlorodifluoromethane
R227ea 1,1,1,2,3,3,3-Heptafluoropropane
R23 Trifluoromethane
R236ea 1,1,1,2,3,3-Hexafluoropropane
R236fa 1,1,1,3,3,3-Hexafluoropropane
R245ca 1,1,2,2,3-Pentafluoropropane
R245fa 1,1,1,3,3-Pentafluoropropane
R32 Difluoromethane
R365mfc 1,1,1,3,3-Pentafluorobutane
R40 Methyl chloride
R41 Fluoromethane
RC318 Octafluorocyclobutane
RE143a Methyl trifluoromethyl ether
RE245cb2 Methyl-pentafluoroethyl-ether
RE245fa2 2,2,2-Trifluoroethyl-difluoromethyl-ether
RE347mcc (HFE-7000) 1,1,1,2,2,3,3-Heptafluoro-3-methoxypropane
Sulfur dioxide Sulfur dioxide
Sulfur hexafluoride Sulfur hexafluoride
Toluene Methylbenzene
trans-Butene trans-2-Butene
Undecane Undecane
Vinyl chloride ü Chloroethylene
Water Water
Xenon Xenon
Critical Critical
Molar mass temperature pressure
Mixture name (and mass fractions for the refrigerants) (g/mol) (K) (MPa)
air.mix #MACRO? 28.958601 132.8308 3.852090
highco2.mi High CO2 and Nitrogen Gas (GU2) 19.828788 208.9659 6.297429
Critical Critical
Molar mass temperature pressure
Mixture (g/mol) (K) (MPa)
Code--> LONGNAME(0) M Tc Pc
R515A #MACRO? #MACRO? #MACRO? #MACRO?
Turn on the iFlag=1 option in the VBA cod
to make these three work.
Critical density
(mol/dm^3) Mixture components and mole fractions
11.902767 Nitrogen Argon Oxygen
0.7812 0.0092 0.2096
11.449549 Methane Nitrogen CO2 Ethane Propane Isobutane
0.906724 0.031284 0.004676 0.045279 0.00828 0.001037
11.530272 Methane Nitrogen CO2 Ethane Propane Isobutane
0.859063 0.010068 0.014954 0.084919 0.023015 0.003486
11.266539 Methane Nitrogen CO2 Ethane Propane Isobutane
0.965222 0.002595 0.005956 0.018186 0.004596 0.000977
11.285292 Methane Nitrogen CO2 Ethane Propane Isobutane
0.81212 0.05702 0.07585 0.04303 0.00895 0.00151
11.492517 Methane Nitrogen CO2 Ethane Propane Isobutane
0.81441 0.13465 0.00985 0.033 0.00605 0.001
11.004106 Methane Nitrogen CO2 Ethane Propane Isobutane
0.95123 0.00089 0.02555 0.01835 0.00238 0.0004
5.238868 R22 R152a R124
0.5788542107 0.185871454 0.2352743353
5.360059 R22 R152a R124
0.6549246853 0.1546073823 0.1904679324
4.902042 R22 R152a R124
0.3855911865 0.2294459702 0.3849628433
5.400856 R125 Propane R22
0.5076598894 0.0460590346 0.446281076
5.693064 R125 Propane R22
0.2998587445 0.0429562491 0.6571850064
5.696844 Propane R22 R218
0.1043016352 0.7978521428 0.0978462219
5.228646 Propane R22 R218
0.1170834784 0.668734422 0.2141820996
4.986466 R125 R134a R143a
0.357816784 0.038263995 0.6039192209
4.698337 R22 R152a R142b RC318
0.5823971859 0.1185989409 0.0612463587 0.2377575145
5.094473 R22 Isobutane R142b
0.5715590964 0.0618403319 0.3666005717
5.521838 R32 R125 R134a
0.3464198544 0.3003155521 0.3532645935
5.146339 R32 R125 R134a
0.1978650072 0.6003604685 0.2017745243
5.615071 R32 R125 R134a
0.38110942 0.1795588887 0.4393316914
5.410254 R32 R125 R134a
0.2622680778 0.1136816808 0.6240502414
5.664786 R32 R125 R134a
0.402611527 0.1047086374 0.4926798357
5.797322 R32 R125 R134a
0.4731946945 0.2051090954 0.3216962101
5.085507 R32 R125 R134a
0.0480564352 0.0208303518 0.9311132131
5.855599 R32 R125 R134a
0.4941425008 0.0988564839 0.4070010153
5.578787 R125 R143a R22
0.0507496396 0.4762776815 0.4729726789
5.206934 R22 R124 R142b
0.6760880213 0.1784819534 0.1454300253
5.291379 R22 R124 R142b
0.7267138171 0.1770893242 0.0961968587
6.324647 R32 R125
0.6976146994 0.3023853006
6.212504 R32 R125
0.653688938 0.346311062
5.942476 Propylene R22 R152a
0.0293595988 0.8334726545 0.1371677467
5.995590 Propylene R22 R152a
0.059221613 0.9030489179 0.0377294691
5.470057 R22 R218 R142b
0.7461894165 0.0245117299 0.2292988536
4.931235 R218 R134a Isobutane
0.0497604389 0.8965829297 0.0536566314
4.957166 R22 R124 Isobutane R142b
0.5717182487 0.2024226236 0.0667091242 0.1591500035
4.962566 R22 R124 Isobutane R142b
0.5874391105 0.290308513 0.0262178746 0.0960345019
5.909168 R22 R152a
0.7767801594 0.2232198406
5.648468 R22 R152a
0.2029497166 0.7970502834
4.595813 R134a R124 Butane
0.6471827159 0.3239330729 0.0288842113
4.860932 R125 R134a Butane
0.4144561136 0.5231002488 0.0624436376
4.791464 R125 R134a Butane
0.7445668723 0.2028850267 0.052548101
4.954220 R125 R134a Butane
0.1685337803 0.8011260562 0.0303401635
6.014195 Propane R22 R152a
0.0287766463 0.9392045587 0.032018795
5.035680 R125 R134a DME
0.7014599655 0.2036048196 0.0949352149
5.048307 R125 R134a DME
0.4251348814 0.4949354105 0.0799297082
4.935276 R134a R142b
0.8783879133 0.1216120867
4.923755 R125 R134a
0.5400117174 0.4599882826
4.849065 R125 R134a
0.8280994985 0.1719005015
4.748174 R125 R134a Isobutane
0.8055010676 0.1280432501 0.0664556823
4.856945 R125 R134a Isobutane
0.497287396 0.4467004002 0.0560122039
4.773249 R125 R134a Isobutane
0.7747571159 0.1667113887 0.0585314954
4.818519 R125 R134a Isobutane
0.5962917115 0.3393990533 0.0643092352
4.857113 R125 R134a Isobutane
0.5282115398 0.4210122481 0.0507762121
4.264273 R134a R227ea
0.6481153248 0.3518846752
4.861657 R125 R134a Isobutane Butane Isopentane
0.4561540293 0.4993905086 0.0167872397 0.0186524885 0.0090157339
5.285148 R32 R134a R227ea
0.3211344641 0.6151306031 0.0637349328
4.954280 R125 R134a Butane Isopentane
0.0431546742 0.9256843109 0.0227152574 0.0084457576
5.416726 R32 R125 R143a R134a
0.2607757975 0.1883914048 0.107618901 0.4432138967
4.810468 R125 R143a Propane Isobutane
0.6943252511 0.255893191 0.0146310584 0.0351504996
5.224007 DME R152a Isobutane
0.6611345721 0.0768533365 0.2620120915
4.948214 R152a Isobutane
0.7359065319 0.2640934681
5.121714 Propane R152a
0.7857425324 0.2142574676
5.615619 Propylene DME
0.8140972417 0.1859027583
5.107034 Propylene Propane
0.3099177631 0.6900822369
5.015494 Propylene Propane
0.0522701064 0.9477298936
5.087312 Propylene Propane
0.2588761054 0.7411238946
4.845102 R125 R143a R134a Isobutane
0.5567827657 0.226468961 0.1658100984 0.050938175
5.896209 DME R152a
0.8515226167 0.1484773833
4.464532 Propane Isobutane
0.626527733 0.373472267
4.416814 Propane Isobutane
0.5881275036 0.4118724964
4.926231 R125 R134a Butane Pentane
0.1684963143 0.7978986673 0.0249804624 0.0086245559
5.120425 R32 R125 R134a Butane Isopentane
0.1619156818 0.3715588017 0.4292987242 0.0289854872 0.008241305
6.114041 R32 R125 Isobutane
0.6843908136 0.2788541279 0.0367550585
5.565086 Propane R134a R152a
0.0090113473 0.0103852634 0.9806033893
4.596680 Ethane Propane Isobutane Butane
0.0498003957 0.6003102622 0.0498654644 0.3000238777
5.778928 R32 R125 R134a R152a R227ea
0.4872201068 0.211188495 0.2404097655 0.0371371958 0.0240444369
5.153572 Propylene Propane Isobutane
0.5682329312 0.3943676617 0.0373994071
4.692124 R32 R152a R1234ze(E)
0.2230422022 0.073198157 0.7037596408
5.971059 R32 R152a R1234ze(E)
0.5804091748 0.1101565983 0.309434227
4.555377 CO2 R134a R1234ze(E)
0.1405667274 0.0909466671 0.7684866055
6.922406 R32 R1234ze(E) Butane
0.8103477893 0.1576525414 0.0319996693
6.941489 R32 R125 R1234ze(E)
0.8240591155 0.0183849542 0.1575559303
6.957479 R32 R125 R1234ze(E)
0.8250817664 0.0420749023 0.1328433313
5.531193 R32 R125 R1234yf R134a R1234ze(E)
0.431218202 0.1869141315 0.1513192565 0.1775866736 0.0529617364
5.496791 R32 R125 R1234yf R134a
0.407364567 0.1794812077 0.1934808404 0.2196733849
5.539776 R32 R125 R1234yf R134a
0.4183533319 0.1748614268 0.1756997497 0.2310854916
5.330558 R32 R125 R1234yf R134a
0.3472382782 0.1505125268 0.2455272835 0.2567219115
4.531469 R134a R1234ze(E)
0.4473220674 0.5526779326
4.237067 R1234yf R134a
0.88734667 0.11265333
4.244358 R1234yf R134a
0.876445929 0.123554071
4.895168 R32 R125 R1234yf
0.2188643603 0.5088378705 0.2722977692
6.985334 R32 R125 R1234yf
0.8181208878 0.0370497917 0.1448293204
4.962688 R32 R125 R1234yf
0.2449553615 0.5181456115 0.236899027
5.611691 R32 R125 R134a R227ea Butane Isopentane
0.3412959283 0.1479369689 0.4681129017 0.0261066945 0.0091646081 0.0073828984
5.671217 R32 R1234yf
0.5413599922 0.4586400078
7.075661 R32 R1234yf
0.8292479129 0.1707520871
5.085008 R32 R1234yf
0.3751495466 0.6248504534
5.201627 CO2 R32 R1234yf
0.0596134946 0.3614160546 0.5789704508
4.683894 R32 R134a R1234ze(E)
0.1169645307 0.4472834069 0.4357520624
5.102630 R32 R152a R1234yf
0.3031093141 0.1591594269 0.537731259
5.313177 R32 R125 R134a R227ea R236fa
0.3542035065 0.0299573945 0.5409220779 0.0713696984 0.0035473227
6.981075 R32 R1234yf R1234ze(E)
0.8232654639 0.1435968122 0.0331377238
5.047705 R32 R1234yf R1234ze(E)
0.3681719206 0.5518498459 0.0799782335
5.061734 R32 R125 R134a R1234ze(E)
0.2320451205 0.4358525495 0.1380341583 0.1940681717
5.610778 R32 R125 R134a R1234ze(E)
0.4563905394 0.1766296723 0.1662171911 0.2007625972
4.985811 R12 R152a
0.6061017414 0.3938982586
5.667575 R22 R12
0.8075096782 0.1924903218
5.099363 R22 R115
0.6299944672 0.3700055328
6.482472 R23 R13
0.4997003499 0.5002996501
6.393471 R32 R115
0.7342396326 0.2657603674
4.964259 R125 R143a
0.4118397118 0.5881602882
5.668400 R23 R116
0.5575769664 0.4424230336
5.963930 R23 R116
0.6267510067 0.3732489933
4.819742 R22 R218
0.6307902102 0.3692097898
5.684356 DME Isobutane
0.9024589367 0.0975410633
5.042264 Propane DME
0.9520384894 0.0479615106
5.547529 R134a R152a
0.0329487459 0.9670512541
4.523171 R1234yf R134a
0.5324257559 0.4675742441
4.499503 R1234yf R134a
0.557755201 0.442244799
4.164855 R1234ze(E) R227ea
0.9162025631 0.0837974369
Critical density
(mol/dm^3) Mixture components and mole fractions
1 2 3 4 5 6
Name Name Name Name Name Name
Dc xMole xMole xMole xMole xMole xMole
#MACRO? #MACRO? #MACRO? #MACRO? #MACRO? #MACRO? #MACRO?
#MACRO? #MACRO? #MACRO? #MACRO? #MACRO? #MACRO?
=1 option in the VBA code
ee work.
Butane Isopentane Pentane Hexane
0.001563 0.000321 0.000443 0.000393
Butane Isopentane Pentane
0.003506 0.000509 0.00048
Butane Isopentane Pentane Hexane
0.001007 0.000473 0.000324 0.000664
Butane
0.00152
Butane
0.00104
Butane Isopentane Pentane Hexane
0.00016 0.00014 0.00011 0.00079
7 8 9 10
Name Name Name Name
xMole xMole xMole xMole
#MACRO? #MACRO? #MACRO? #MACRO?
#MACRO? #MACRO? #MACRO? #MACRO?
Calculation of Density Given Temperature and Pressure
=REFPROP(Output property code, Fluid name, Input property code, Units, Value o
Pressure P 1
Equations of St
The phrase "Equation of State" is used to describe an equation developed by scientists around the worl
complex and take months to years to develop. For a good example of a long-period project, see the eq
complex Helmholtz energy mixture model ever developed, see the 555 page work of Kunz and Wagner
http://www.gerg.eu/public/uploads/files/publications/technical_monographs/tm15_04.pdf There is no ch
substantial amount of experimental data that was required to develop the equation. The time and mone
that was required to make the equation.
Equations of state have the unique ability to calculate all thermodynamic properties from a single equati
independent properties are the temperature and density. From this equation and with given values of T
example (and simplified), the pressure is the first derivative of the Helmholtz energy with respect to den
energy with respect to the reciprocal temperature. Properties that cannot be measured such as entropy
measurements for multiple properties (density, vapor pressure, sound speed, etc.) were used in the fittin
be calculated from this equation, but require their own separate formulations.
http://www.gerg.eu/public/uploads/files/publications/technical_monographs/tm15_04.pdf There is no ch
substantial amount of experimental data that was required to develop the equation. The time and mone
that was required to make the equation.
Equations of state have the unique ability to calculate all thermodynamic properties from a single equati
independent properties are the temperature and density. From this equation and with given values of T
example (and simplified), the pressure is the first derivative of the Helmholtz energy with respect to den
energy with respect to the reciprocal temperature. Properties that cannot be measured such as entropy
measurements for multiple properties (density, vapor pressure, sound speed, etc.) were used in the fittin
be calculated from this equation, but require their own separate formulations.
When the state is known to be single phase, the input code "TD&" can be used to avoid the saturation c
this code will be hundreds of times faster. The best practice for obtaining properties is to first determin
and enthalpy). The quality should also be calculated, and if the value is NOT between 0 and 1 (0<q<1,
calculations. But be careful! If the quality indicates that the state is two phase, the code TD& should n
essure
essure.
any of the calculations that follow on the rest of the worksheets.
erty code, Units, Value of 1st input property, Value of 2nd input property)
Units
#MACRO?
#MACRO?
Units
#MACRO?
#MACRO?
Equations of State
by scientists around the world to represent the thermodynamic properties of fluids. These equations are quite
ong-period project, see the equation for propane in J. Chem. Eng. Data, 54:3141-3180, 2009. For the most
ge work of Kunz and Wagner (which required over 10 years to finish) at
s/tm15_04.pdf There is no charge to download the document. When looking through these documents, note the
equation. The time and money required to take the measurements easily exceeds 10 times the amount of work
roperties from a single equation. The equation is typically given in terms of the Helmholtz energy, and the
on and with given values of T and D, other properties are calculated as derivatives of the Helmholtz energy. For
tz energy with respect to density, and the isochoric heat capacity is the second derivative of the Helmholtz
be measured such as entropy are easily and accurately calculated from the equation of state when
ed, etc.) were used in the fitting process. Transport properties such as viscosity and thermal conductivity cannot
ns.
ode "TD&" to Calculate Properties
must be used to determine these values. Once found, all other properties can be quickly calculated. However,
two phase) is not known, another iterative scheme must be used to determine the phase boundary, which is
gorithm and requires substantially more computation time than a simple calculation from the equation of state for
used to avoid the saturation call that would have happened if only "TD" was used as the input code. The use of
properties is to first determine the temperature and density from the known properties (for example, pressure
OT between 0 and 1 (0<q<1, but not including the end points), then the code TD& should be used for all other
hase, the code TD& should never be used except in rare cases where a metastable state is desired.
TD #MACRO? #MACRO?
KV #MACRO? #MACRO?
STN #MACRO? #MACRO?
DE #MACRO? #MACRO?
ion of metastable states (note that pressures are backwards from those above).
ble liquid state TPL
ble vapor state TPV
#MACRO?
e calculations when two states are possible for the given inputs.
Input codes Temperature
h density root TH> 100
density root TH<
density root TH<
JT #MACRO? #MACRO?
A #MACRO? #MACRO?
G #MACRO? #MACRO?
M #MACRO? #MACRO?
MM(1) #MACRO? #MACRO?
MM(2) #MACRO? #MACRO?
MM(3) #MACRO? #MACRO?
d for the following cells to work. Press Alt-F11 to edit the VBA code, then
nstructions.
The REFPROP subroutine can also be used as a simple tool to convert numbers from one unit to another. For ex
convert a temperature of 75 F to celsius, the following command could be used:
=REFPROP("UNITCONV","T","F","C",75)
Valid property codes are listed below, along with examples of converting from one unit to another.
For properties that require the molar mass (molecular weight) for the conversion process, the value of the molar m
be included as the sixth input to the REFPROP routine.
=REFPROP(Output code, Input units, Output units, Input value, Molar Mass)
Property Convert
Properties Input values Codes from Convert to
Temperature 11.11 T C K
Pressure 22.22 P psia MPa
Density or Specific volume 33.33 D kg/m^3 mol/l
Enthalpy 44.44 H Btu/lbm J/mol
Entropy 55.55 S kJ/kg-K (Btu/lbm)-f
Speed of sound 66.66 W m/s ft/s
Viscosity 77.77 VIS uPa-s lbm/ft-s
Thermal conductivity 88.88 TCX Btu/h-ft-F mW/m-K
Surface tension 99.99 STN mN/m lbf/ft
Length 1 L m yd
Area 1 A m^2 ft^2
Total volume 1 V IMPgal gal
Mass 1 M lbm kg
Force 1 F lbf kgf
Energy 1 E cal J
Power 1 Q hp W
Density or Internal
Properties Temperature Pressure* Specific Energy or
Volume Enthalpy
Unit Type Codes T P D H
K Pa mol/dm^3 J/mol
Unit Codes C kPa mol/l kJ/kmol
R MPa mol/cm^3 kJ/mol
F GPa mol/cc mJ/mol
bar mol/m^3 kJ/kg
kbar kg/m^3 J/g
atm kg/dm^3 J/kg
kgf/cm^2 g/dm^3 m^2/s^2
psia g/L ft^2/s^2
psig g/cc cal/mol
psf g/cm^3 kcal/kmol
mmHg g/dm^3 cal/g
torr lbm/ft^3 Btu/lbm
cmHg lbmol/ft^3 Btu/lbmol
inHg slug/ft^3
inH2O lbmol/gal
lbm/gal
dm^3/mol
l/mol
cm^3/mol
cc/mol
m^3/mol
m^3/kg
dm^3/kg
cc/g
cm^3/g
dm^3/g
ft^3/lbm
ft^3/lbmol
ft^3/slug
gal/lbmol
gal/lbm
*To use gage pressure, simple add "_gage" or just "_g" after any o
rom one unit to another. For example, to
unit to another.
ocess, the value of the molar mass must
Converted
Molar mass values
0 #MACRO?
0 #MACRO?
123.456 #MACRO?
78.9 #MACRO?
13.579 #MACRO?
0 #MACRO?
0 #MACRO?
0 #MACRO?
0 #MACRO?
0 #MACRO?
0 #MACRO?
0 #MACRO?
0 #MACRO?
0 #MACRO?
0 #MACRO? (To change the conversion of 1 cal=4.184 J to 1 cal = 4.1868 J, see the VBA code by pressin
0 #MACRO?
Check Sum: #MACRO?
From NIST: 163.15557594
Difference: #MACRO?
A V M F E Q
m^2 m^3 kg N J W
cm^2 cm^3 g mN kJ kW
mm^2 L mg kgf mJ Btu/s
km^2 in^3 lbm dyne kw-h Btu/min
in^2 ft^3 slug lbf cal Btu/h
ft^2 yd^3 ton poundal kcal cal/s
yd^2 gal tonne ozf erg kcal/s
mi^2 IMPgal Btu cal/min
acre qt (quart) ft-lbf kcal/min
hectare pt (pint) ft-lbf/s
cup ft-lbf/min
ounce ft-lbf/h
tbsp hp
tsp
Checks to Ensure that this Excel Workbook is Using the Correct RE
10 If the value that is two cells to the left is less than that in the adjacent cell after pressing Ctrl-Alt-F
10 If the value that is two cells to the left is less than that in the adjacent cell after pressing Ctrl-Alt-F
0.001
Number of functions
with percent difference
> 0.001
#MACRO?
Function
#MACRO? =REFPROP("M","Air")
#MACRO? =REFPROP("T","argon","PD","SI",2,15)
#MACRO? =REFPROP("P","r134a","TD","SI",400,50)
#MACRO? =REFPROP("H","ethylene","TS","SI",370,2.5)
#MACRO? =REFPROP("VIS","oxygen","TP","SI",100,1)
#MACRO? =REFPROP("TCX","nitrogen","Tliq","SI",100)
#MACRO? =REFPROP("D","air","TP","E",70,14.7)
#MACRO? =REFPROP("H","R32;R125|0.3;0.7","PS","molar si",10,110)
#MACRO? =REFPROP("T","ethane;0.5;butane;0.5 mass","DH","E",30,283)
#MACRO? =REFPROP("W","ammonia;0.4;water;0.6","TP","E",300,10000)
#MACRO? =REFPROP("D","r218;.1;r123;.9","PH","cgs",7,180)
#MACRO? =REFPROP("QMASS","methane;40;ethane;60 mass","TD","mks",200,300)
#MACRO? =REFPROP("QMASS","methane;40;ethane;60 mass","TP","mks",200,2814.5509)
#MACRO? =REFPROP("QMOLE","methane;ethane|.4;.6 mass","TP","molar SI",200,2.8145509)
#MACRO? =REFPROP("VIS","butane;hexane|.25;.75","TH>","SI",300,-21)
#MACRO? =REFPROP("TCX","carbon dioxide;nitrogen|.5;.5 mass","TS","molar SI",250,230.7)
#MACRO? =REFPROP("DE","ethane;.5;propane;.5","tvap","SI",300)
#MACRO? =REFPROP("xmole","R410A.MIX",,,1)
#MACRO? =REFPROP("XMASS","R410A.MIX",,,1)
#MACRO? =REFPROP("DLIQ","methane;ethane;propane;butane|0.8;0.15;0.03;0.02","TD","SI",150,200
#MACRO? =REFPROP("F(2)","propane;R125|10;90","TH>","E",-20,72)
#MACRO? =REFPROP("FC(2)","N2;CO2|0.6;0.4","TQ","MKS",200,1)
#MACRO? =REFPROP("xmass(3)","air.mix","TD","molar SI",80,12)
#MACRO? =REFPROP("T","butane","Ssat3","SI",2.5)
#MACRO? =REFPROP("DLIQ","R410A.mix","TD","molar SI",250,10)
#MACRO? =REFPROP("D","butane;propadiene|0.7;0.3 mass","TS","E",150,0.6)
#MACRO? =REFPROP("dHdT_D","argon","TP","MIXED",150,200)
#MACRO? =REFPROP("D","water","Tliq","C",4)
#MACRO? =REFPROP("P","hexane;butane|.6;.4 mass","DE","SI",700,-120)
#MACRO? =REFPROP("vis","argon;co2;propane;acetylene|0.8;0.15;0.03;0.02 mass","TD","SI",450,20
#MACRO? =REFPROP("qmass","argon;co2;propane;acetylene|0.8;0.15;0.03;0.02 mass","TH<","SI",1
#MACRO? =REFPROP("TCRIT(3)","methane;ethane;propane;butane|0.8;0.15;0.03;0.02")
#MACRO? =REFPROP("P","MM;MDM;MD3M|0.8;0.15;0.05","TH<","E",500,177)
#MACRO? =REFPROP("E","D4;D5;D6|0.8;0.15;0.05","TD","molar si",500,1)
#MACRO? =REFPROP("E","XENON","HS","SI",44,0.175)
#MACRO? =REFPROP("JT","CO2;WATER|0.5;0.5","Tvap","SI",400)
ss than that in the adjacent cell after pressing Ctrl-Alt-F9, then you are not using the most recent VBA code. All code in .xlt or .xla files shou
ss than that in the adjacent cell after pressing Ctrl-Alt-F9, then you are not using the most recent REFPROP.DLL file. Search your computer
","molar si",10,110)
mass","DH","E",30,283)
6","TP","E",300,10000)
cgs",7,180)
ane;60 mass","TD","mks",200,300)
ane;60 mass","TP","mks",200,2814.5509)
|.4;.6 mass","TP","molar SI",200,2.8145509)
75","TH>","SI",300,-21)
ogen|.5;.5 mass","TS","molar SI",250,230.7)
","tvap","SI",300)
opane;butane|0.8;0.15;0.03;0.02","TD","SI",150,200)
","TH>","E",-20,72)
Q","MKS",200,1)
molar SI",80,12)
molar SI",250,10)
;0.3 mass","TS","E",150,0.6)
XED",150,200)
ass","DE","SI",700,-120)
cetylene|0.8;0.15;0.03;0.02 mass","TD","SI",450,200)
ne;acetylene|0.8;0.15;0.03;0.02 mass","TH<","SI",160,55)
e;propane;butane|0.8;0.15;0.03;0.02")
15;0.05","TH<","E",500,177)
","TD","molar si",500,1)
"Tvap","SI",400)
All code in .xlt or .xla files should be deleted and replaced with the new VBA code attached to this file.
DLL file. Search your computer for REFPROP.DLL or REFPRP64.DLL (especially in the Windows\System32 directory) and delete all occur
em32 directory) and delete all occurrences except the one in the REFPROP directory.