EES_COOLPROP Manual
COOLPROP is an open-source thermophysical property library that provides thermodynamic and transport property data for pure fluids and fluid mixtures. The EES_COOLPROP is an interface to the COOLPROP library that has been developed by F-Chart Software so that COOLPROP can be accessed using a 32-bit or 64-bit EES Professional license.
Information about COOLPROP is provided in the following reference:
Ian H. Bell, Jorrit Wronski, Sylvain Quoilin,
"Pure and Pseudo-pure Fluid Thermophysical Property Evaluation and the Open-Source Thermophysical Property Library CoolProp Vincent Lemort "
Ind. Eng. Chem. Res. (2014) 53 (6): 2498-2508. https://doi.org/10.1021/ie4033999
Version
To determine the version of the EES_COOLPROP interface and the COOLPROP library, enter the following line after installing and starting EES.
CALL EES_COOLPROP('Version':V_EC,V_CP)
V_EC is the version of the EES_COOLPROP interface, which is 1.1 at the time of this writing; V_CP is the COOLPROP.DLL version which is 8.0 at the time of this writing.
Using the EES_COOLPROP Interface
The general format of the an EES_COOLPROP property call is:
Call EES_COOLPROP('Fluid', MF[1],..MF[N-1], MODE, Input1, Input2 : Output1, Output2, ...)
The Inputs and Outputs depend on the MODE. Click on the links below for each MODE to see a list of the inputs and outputs and an example call.
'Fluid'
The first argument in the EES_COOLPROP Call statement is a string constant or string variable that identifies the fluid system. The fluid system may be a pure fluid or a mixture of up to 5 components. The table below shows the pure fluid names that COOLPROP will recognize. A mixture is specified by inserting a + symbol between the pure component names, e.g., 'Ethane+Propane' with no spaces. Fluid many be designated with an EES string variable, e.g., R$= 'Ethane+Propane'; As with all EES variables, Fluid is case-insensitive. Note that EES provides property data for most of these substances. The advantage of using the EES_COOLPROP interface is that it can determine properties for a mixture of these components with specified composition.
1-Butene Acetone Air Ammonia
Argon Benzene CarbonDioxide CarbonMonoxide
CarbonylSulfide Chlorine cis-2-Butene CycloHexane
Cyclopentane CycloPropane D4 D5
D6 Deuterium Dichloroethane DiethylEther
DimethylCarbonate DimethylEther Ethane Ethanol
EthylBenzene Ethylene EthyleneOxide Fluorine
HeavyWater Helium HFE143m Hydrogen
HydrogenChloride HydrogenSulfide IsoButane IsoButene
Isohexane Isopentane Krypton m-Xylene
MD2M MD3M MD4M MDM
Methane Methanol MethylLinoleate MethylLinolenate
MethylOleate MethylPalmitate MethylStearate MM
n-Butane n-Decane n-Dodecane n-Heptane
n-Hexane n-Nonane n-Octane n-Pentane
n-Perfluorobutane n-Perfluorohexane n-Perfluoropentane n-Propane
n-Undecane Neon Neopentane Nitrogen
NitrousOxide Novec649 o-Xylene OrthoDeuterium
OrthoHydrogen Oxygen p-Xylene ParaDeuterium
ParaHydrogen Propylene PropyleneGlycol Propyne
R11 R1123 R113 R1130(E)
R1132(E) R114 R115 R116
R12 R1224YDZ R123 R1233zd(E)
R1234yf R1234ze(E) R1234ze(Z) R124
R1243zf R125 R13 R1336mzz(E)
R1336mzz(Z) R134a R13I1 R14
R141b R142b R143a R152A
R161 R21 R218 R22
R227EA R23 R236EA R236FA
R245ca R245fa R32 R365MFC
R40 R404A R407C R41
R410A R507A RC318 SES36
SulfurDioxide SulfurHexafluoride Tetrahydrofuran Toluene
trans-2-Butene VinylChloride Water Xenon
MF[1],..MF[N-1]
Following Fluid are N-1 mole fractions, where N is the number of fluids in the mixture. If a pure fluid is specified, do not provide any entries for mole fraction. The mole fractions must sum to 1. EESC_COOLPROP will internally compute MF[N] as 1 - Sum(MF[i],i=1,N-1)
MODE
MODE is an integer that identifies the calculations to be done and the necessary inputs and outputs. Rather than specify an integer for MODE, however, it is more convenient to use a text code in the form of an EES variable. For example, MODE=12 indicates that thermodynamic properties corresponding to specified inputs of temperature and pressure are to be calculated. Variable TP (which is set to 12) can be used rather than 12 itself for MODE for program readability. The file EES_COOLPROP.TXT includes EES variables for each of the modes listed below. To make use of these codes, place the EES_COOLPROP.TXT file in the..\USERLIB\ sub-directory (use ..\USERLIB64 for the 64-bit version) and include the following line in your EES file.
$INCLUDE C:\EES32\USERLIB\EES_COOLPROP\EES_COOLPROP.TXT {for the 32-bit license}
or
$INCLUDE C:\EES64\USERLIB\EES_COOLPROP\EES_COOLPROP.TXT {for the 64-bit license}
You may need to modify the file name in the $INCLUDE directive if your version of EES is stored in a different directory.
EES_COOLPROP will return thermodynamic property information for a specified state depending on the value of the parameter MODE. The required inputs and calculated outputs differ for different values of MODE. Click on a MODE to bring up inputs and output information for that mode.
MODE = MASSTOMOLE (110)