

The following table shows the user-definable interaction parameters for each Property Package: This feature is optional and should be used only when you know exactly what you are doing. You can directly override the interaction parameters used by Property Packages when calling calculations from Excel by providing n x n matrices containing the values, where n is the number of compounds. First row will contain the phase names ( Vapor, Liquid, Liquid2 and Solid, in this order), the second will contain the phase mole fractions and the other lines will contain the compound mole fractions in the corresponding phases:įor PH, PS, TVF and PVF flash calculation functions, and additional line is returned that will contain the temperature in K or pressure in Pa in the first column. The calculation results will be returned as a (n+2) x (4) matrix, where n is the number of compounds. They are self-explanatory, and will return values listed in a single column, so you probably will have to select some cells in a single column and call the functions using Ctrl+Shift+Enter:įor example, the PTFlash function requires the name of the Property Package to use, the compound names and mole fractions, temperature in K, pressure in Pa and you may optionally provide new interaction parameters that will override the ones used internally by DWSIM. Property and Equilibrium calculation functions require parameters that must be one or more values returned by GetPropPackList, GetCompoundList, GetPropList, GetCompoundPropList and GetPhaseList. Look for DWSIM.xll in DWSIM's installation directory if you're running the 32-bit Excel version, otherwise look for for DWSIM_64.xll if you're running the 64-bit version.įunctions exposed by this add-in will be grouped in a category named DWSIM:

More information: Add or remove add-ins in Excel Remember the location where DWSIM was installed, as you'll use this location to find the Add-In XLL file.Īfter installing DWSIM, open Excel and go to File > Options > Add-Ins > Manage (Excel Add-Ins) > Go > Browse.
REFPROP MATLAB 64 BIT INSTALL
The Excel Add-In is part of DWSIM Simulator for Windows Desktop - you must install it first. Property and Equilibrium calculation functionality is now available to Excel just as any other add-in function. Pressure-Temperature, Pressure-Enthalpy, Pressure-Entropy, Pressure-VaporFraction and Temperature-VaporFraction Flash Calculators, using an algorithm of your choice.Enthalpy, Entropy, Molar Weight, Thermal Conductivity, Viscosity.) Boiling Point, Heat Capacity, Viscosity.) The DWSIM Excel Add-In exposes some of the internal Thermodynamic Property Calculation Routines to Microsoft Excel, including: 7.4 Non-constant single-phase mixture properties.7.3 Single compound pressure-dependent properties.7.2 Single compound temperature-dependent properties.7.1 Single compound constant properties.6.2 Validation of Equilibrium Calculations.6 Flash Algorithms and Results Validation.5 Property Methods and Correlation Profiles.The library implements pure and pseudo-pure fluid equations of state and transport properties for 122 components, mixture properties based on high-accuracy Helmholtz energy formulations, correlations of properties of incompressible fluids and brines.įurthermore, psychrometric routines of the highest accuracy are bundled, all in a user-friendly interface that also provides cubic equations of state (SRK, PR). People will also benefit from calculations for humid air properties, which are based on ASHRAE Research Project-1585. In addition to its refrigerants database, CoolProp also provides a secondary selection of working fluid properties and it can also make use of the REFPROP if applicable. This cross-platform library is based on reference-accuracy equations of state and transport property correlations for refrigerants such as water, CO2, R134a, nitrogen, argon, ammonia, air, R404a, R410a, propane and others. Providing similar functionality to REFPROP, it functions on some of the following programming IDEs: Python, CSharp, Java, Julia, MathCAD, MatLab, PHP, etc. Users who work in the industry of refrigerants and refrigerant agents might be using the REFPROP application for their analysis of thermodynamic and transport properties of fluids.ĬoolProp is an alternative to the program mentioned above, which will offer people a thermophysical property database coupled with wrappers for a selection of various programming environments. Added documentation for the NuGet packages by MadsKirkFoged.
