Using FluidProp from Excel is very easy. Look into the examples provided in:
<FluidProp folder>\Sample Clients\Microsoft Excel
Excel Sample.xls shows examples of FluidProp functions for each available library.
The folder <FluidProp folder>\Sample Thermodynamic Diagrams contains T-s and PTx diagrams realized with FluidProp as a demonstration of the FluidProp capabilities.
Example:
In one cell enter (e.g. A1), set the library and the fluid by inserting the SetFluid function:
=SetFluid(ModelName, FluidName)
e.g: =SetFluid("TPSI","Butane")
for a custom defined mixture: =SetFluid("RefProp",{"Butane","Propane"},{0.5,0.5})
To calculate properties, in another cell insert a function with the appropriate arguments:
=Enthalpy($A$1,"Tq",50,1)
The first argument is the address of the cell in which the SetFluid function was entered. All arguments can be cell addresses.
Example with different units:
In case different units are to be used, then in one cell (e.g. A2), specify these units by inserting the SetUnits function:
=SetUnits(UnitSet, MassOrMole, Properties, Units)
e.g: =SetUnits( "SI", "PerMole", "P,T", "bar,°C")
Then the fluid can be entered:
e.g. =SetFluid("TPSI","Butane"," ",$A$2)
for a custom defined mixture: =SetFluid("RefProp",{"Butane","Propane"},{0.5,0.5},$A$2)
The last argument is the address of the cell in which the SetUnits function was entered.
Remark: In this help file we assume the decimal symbol to be a period ("."), the digital grouping symbol a space (e.g. 10 000) and the list separator a comma (e.g. "CH4","H2O", "N2"). The correct symbol depends on your Regional and Language Options (see Control Panel of the MS-Windows operating system) or your Excel settings (in Excel XP: Tools -> Options: International tab). You can also open the file Excel Sample.xls in the folder Client samples\Microsoft Excel to check which symbols your system is using.