XSEOS Spreadsheet
XSEOS Spreadsheet
Version 12.10.21
Please refer to the Worksheet "GNU GPL License" for the license t
Developed by:
Marcelo Castier
Chemical Engineering Program
Texas A & M University at Qatar
PO Box 23874
Doha, Qatar
E-mails: [email protected] [email protected]
E. See the
Preamble
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
0. Definitions.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
7. Additional Terms.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
8. Termination.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
Notes and comments
Literature references:
Some of the models implemented in XSEOS are relatively new and are not discussed in textbooks.
In such cases, references to scientific journals are provided.
Other models implemented in XSEOS are commonly used by the oil/gas/chemical industry and are discussed in ma
Given that XSEOS is primarily intended for education and access to scientific journals may not be immediate for all
reference to a textbook was preferred in these cases. In the case of the most popular models, many textbooks actu
but a single reference is provided, as example.
Version history:
7.11.29:
(a) fixed r and q values of methanol in the UNIQUAC sheet.
8.01.17:
(a) fixed function rkp (previously called srkp by mistake)
(b) included Margules model.
(c) included reference to the MTC equation of state
8.01.29:
(a) included function eosresidual to compute gr/(RT),.hr/(RT), sr/R, and cpr/R given T,v,x.
(b) included specific functions for each EOS that interface the function eosresidual.
8.04.24
(a) uses a less tight convergence criterion in the EOS root-finding procedure to reduce numerical crashes.
(b) fixed a comment about isenthalpic expansion in the SRK worksheet.
8.05.20
(a) included a version of the Peng-Robinson EOS with a quadratic mixing rule for the b-parameter.
(b) included the following methods to predict Tc, Pc, acentric factor, and molar mass of oil fractions
b.1: Whitson interpolation functions
b.2: Kesler-Lee correlations
b.3: Edminster correlation for acentric factor
8.09.22
(a) enhanced compatibility with Excel 2007.
9.04.01
(a) included several methods to predict critical temperature, critical pressure, and acentric factor of oil fractions
9.11.17
(a) included the parachor, Miqueu, and Danesh methods to predict surface tension
(b) included functions to compute liquid or vapor molar volume with each equation of state
10.03.22
(a) the surface tension examples were moved to a separate file because they were slowing down all spreadsheet calc
10.05.12
(a) corrected the temperature used to compute the properties of stream III in the adiabatic mixing example of the UNIQ
10.10.04
(a) included an extended Peng-Robinson model for confined fluids.
This required several code changes to include the optional argument "extracells" in several Subs and Functions.
10.10.11
(a) included an option to compute EOS properties with the root that gives the lowest value of the molar Gibbs energy a
11.10.13
(a) included the Patel-Teja-Valderrama and the electrolattice equations of state
11.11.13
(a) The van der Waals, Redlich-Kwong, Peng-Robinson, Soave-Redlich-Kwong, Stryjek-Vera equations of state were
They now return the residual entropy divided by R.
Acknowledgements to Dema Almasri and Mary Katebah (TAMUQ students) and Dr. Aaron Scurto (University of Ka
12.04.20
(a) Two versions of the electrolattice equation of state were implemented: with ions of equal diameter and of unequal d
12.10.21
(a) Removed DLL calls forgotten inside the package after some experimental runs.
Acknowledgements to Dr. Ali Khalaf Al-matar, Chemical Engineering Department, University of Jordan, for spotting
Calculation of activity coefficients and excess properties in binary mixtures using the 2-, 3-
Reference:
Reid, R.C., J.M. Prausnitz, and B.E. Poling
The Properties of Gases and Liquids
4th ed., McGraw-Hill, New York, 1987.
(1) Unlike other models in XSEOS, the Margules model is implemented for binary mixtures only;
(2) To use Margules 2-suffix formula, set the values of B and C to zero;
(3) To use Margules 3-suffix formula, set the value of C to zero;
(4) Acitivity coefficients were derived from the following form of the Margules molar excess Gibbs free energy (Reid et al., 1987
gE
RT
xx
1 2 A B x1 x2 C x1 x2
RT
2
methyl ethyl ketone(1)+toluene(2)
Example taken from Smith, J.M., H.C. van Ness, and M.M. Abbott, Introduction to Chemical Engineering Thermodynam
Comment: Smith, van Ness, and Abbott write the Margules equation in a form different from the one above. There
cannot be used directly and must be converted to the above representation. The values of parameters
R (J/(mol.K)) 8.314
T (K) 323.15
Model parameters
A 765.7007
B -233.7402
C 0
These 2 columns were calculated These two columns were calculated
with array function margules. with spreadsheet formulas.
x1 x2 lngama(1) lngama(2) gama(1)
0 1 Err:511 Err:511 Err:511
0.05 0.95 Err:511 Err:511 Err:511
0.1 0.9 Err:511 Err:511 Err:511
0.15 0.85 Err:511 Err:511 Err:511
0.2 0.8 Err:511 Err:511 Err:511
0.25 0.75 Err:511 Err:511 Err:511
0.3 0.7 Err:511 Err:511 Err:511
0.35 0.65 Err:511 Err:511 Err:511
0.4 0.6 Err:511 Err:511 Err:511
0.45 0.55 Err:511 Err:511 Err:511
0.5 0.5 Err:511 Err:511 Err:511
0.55 0.45 Err:511 Err:511 Err:511
0.6 0.4 Err:511 Err:511 Err:511
0.65 0.35 Err:511 Err:511 Err:511
0.7 0.3 Err:511 Err:511 Err:511
0.75 0.25 Err:511 Err:511 Err:511
0.8 0.2 Err:511 Err:511 Err:511
0.85 0.15 Err:511 Err:511 Err:511
0.9 0.1 Err:511 Err:511 Err:511
0.95 0.05 Err:511 Err:511 Err:511
1 0 Err:511 Err:511 Err:511
The values highlighted with a pink background are the activity coefficients of methyl ethyl ketone(1) and toluene(2) at
They are in perfect agreement with the values reported by Smith, van Ness, and Abbott.
ary mixtures using the 2-, 3- or 4-suffix Margules model
m different from the one above. Therefore, the parameters they provide
esentation. The values of parameters A and B below represent these conversions.
Reference:
Reid, R.C., J.M. Prausnitz, and B.E. Poling
The Properties of Gases and Liquids
4th ed., McGraw-Hill, New York, 1987.
R (J/(mol.K)) 8.314
T (K) 344
Model parameters
12
10
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7
Mole fraction n-pentane
12
10
RT)
12
10
ge/(RT)
8
0
0 0.1 0.2 0.3 0.4 0.5 0.6
Mole fraction of n-pentane
sing Regular Solution Theory
wo columns were calculated These 4 columns were calculated with array function regsolxs.
eadsheet formulas.
gama(n-octane) ge/(RT) he/(RT) se/R cpe/R
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
n-pentane
n-octane
Reference:
Reid, R.C., J.M. Prausnitz, and B.E. Poling
The Properties of Gases and Liquids
4th ed., McGraw-Hill, New York, 1987.
R (cal/(mol.K)) T(K)
1.987 344
Size parameter 1 5
Chi parameter (symmetrical matrix) 0 0.1
0.1 0
12
10
0
0 0.1 0.2 0.3 0.4 0.5
Mole fraction of com
2
0
0 0.1 0.2 0.3 0.4 0.5
Mole fraction of com
12
10
ge/(RT)
8
0
0 0.1 0.2 0.3 0.4 0.5 0
Mole fraction of compon
Huggins model
ecifications.
These two columns were calculated These 4 columns were calculated with array function fhxs.
with spreadsheet formulas.
gama(1) gama(2) ge/(RT) he/(RT) se/R cpe/R
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Component 1
Component 2
Reference:
Reid, R.C., J.M. Prausnitz, and B.E. Poling
The Properties of Gases and Liquids
4th ed., McGraw-Hill, New York, 1987.
Acetone(1)+Water(2)
R (cal/(mol.K)) T(K)
1.987 344
V (cm3/mol) 74.05 18.07
Binary interactions (cal/mol) 0 291.27
1448.01 0
Parameter fitting in the Wilson model from vapor-liquid equilibrium data using Excel Solver
Modified version of problem 12.1: Smith, van Ness, and Abbott, Introduction to Chemical Engineering Thermodynami
Objective:
Fit the binary interaction parameters of the Wilson model using experimental vapor-liquid equilibrium data minimizing the summ
methanol(1)+water(2)
R (cal/(mol.K)) T(K)
1.987 333.15
Molar volume (cm3/mol) 40.73 18.07
Binary interactions 0 200
600 0
The first five columns are experimental data for the mixture.
e 2 columns were calculated These two columns were calculated These 4 columns were calculated with array function wils
array function wilson. with spreadsheet formulas.
lngama(2) gama(1) gama(2) ge/(RT) he/(RT)
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
hemical Engineering Thermodynamics, 6th edition, Mc-Graw-Hill, 2001 (reference to the data points available there).
id equilibrium data minimizing the summation of the squared difference between experimental and calculated pressures.
ntal data for the mixture. These 2 columns were calculated These final columns were calculated w
with array function wilson.
y2exp Pexp(kPa) lngama1 lngama2 gama1
1 19.953 Err:511 Err:511 Err:511
0.4286 39.223 Err:511 Err:511 Err:511
0.3732 42.984 Err:511 Err:511 Err:511
0.3057 48.852 Err:511 Err:511 Err:511
0.2655 52.784 Err:511 Err:511 Err:511
0.2258 56.652 Err:511 Err:511 Err:511
0.1915 60.614 Err:511 Err:511 Err:511
0.1617 63.998 Err:511 Err:511 Err:511
0.1267 67.924 Err:511 Err:511 Err:511
0.1078 70.229 Err:511 Err:511 Err:511
0.0859 72.832 Err:511 Err:511 Err:511
0 84.562 Err:511 Err:511 Err:511
alculated with array function wilsonxs.
se/R cpe/R
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
ulated pressures.
R (cal/(mol.K)) T(K)
1.987 344
V (cm3/mol) 74.05 18.07 Parameters for a hypothetical mixture
Binary interactions (cal/mol) 0 291.27
1448.01 0
specifications.
alculations.
These two columns were calculated These 4 columns were calculated with array function tkwilsonxs.
with spreadsheet formulas.
gama(1) gama(2) ge/(RT) he/(RT) se/R
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
ay function tkwilsonxs.
cpe/R
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Calculation of activity coefficients and excess properties using the NRTL model
Reference:
Reid, R.C., J.M. Prausnitz, and B.E. Poling
The Properties of Gases and Liquids
4th ed., McGraw-Hill, New York, 1987.
R (cal/(mol.K)) T(K)
1.987 333.15
alfa 0.3 0.3
0.3 0.3
Binary interactions (cal/mol) 0 -270.3
840.8 0
12
10
0
0 0.1 0.2 0.3 0.M
Parameter fitting in the NRTL model from isothermal vapor-liquid equilibrium data using
Modified version of problem 12.1: Smith, van Ness, and Abbott, Introduction to Chemical Engineering Thermodyn
Objective:
Fit the binary interaction parameters of the NRTL model using experimental vapor-liquid equilibrium data minimizing the su
methanol(1)+water(2)
R (cal/(mol.K)) T(K)
1.987 333.15
alfa 0.3 0.3
0.3 0.3
Binary interactions (cal/mol) 0 -100
100 0
The first five columns are experimental data for the mixture.
90
80
70
60
50
40
30
20
10
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8
Mole fraction of methanol
Parameter fitting in the NRTL model from isobaric vapor-liquid equilibrium data using Ex
Objective:
Fit the binary interaction parameters of the NRTL model using experimental vapor-liquid equilibrium data minimizing the su
Experimental data
Radhamma, M. , Cheng-Ting Hsieh, P. Venkatesu, M. V. Prabhakara Rao, Ming-Jer Lee, and Ho-mu Lin
Isobaric Vapor–Liquid Equilibrium for Dimethylsulfoxide with Chloroethanes and Chloroethenes
J. Chem. Eng. Data 2008, 53, 374–377
1,2-DCE DMSO
C1 85.45 49.37
C2 -6920.4 -7620.6
C3 0 0
C4 0 0
C5 -10.65 -4.63
C6 9.140E-06 4.380E-07
C7 2 2
470
Temperature (K)
450
430
410
470
Temperature (K)
450
430
410
390
370
350
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8
x1
sing the NRTL model
re results of calculations.
columns were calculated These two columns were calculated These 4 columns were calculated with array function n
ay function nrtl. with spreadsheet formulas.
lngamma(2) gamma(1) gamma(2) ge/(RT) he/(RT)
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
n to Chemical Engineering Thermodynamics, 6th edition, Mc-Graw-Hill, 2001 (reference to the data points available there).
r-liquid equilibrium data minimizing the summation of the squared difference between experimental and calculated pressures.
P1sat 84.562
P2sat 19.953
al data for the mixture. These 2 columns were calculated These final columns were calculated
with array function nrtl.
y2exp Pexp(kPa) lngamma1 lngamma2 gamma1
1 19.953 Err:511 Err:511 Err:511
0.4286 39.223 Err:511 Err:511 Err:511
0.3732 42.984 Err:511 Err:511 Err:511
0.3057 48.852 Err:511 Err:511 Err:511
0.2655 52.784 Err:511 Err:511 Err:511
0.2258 56.652 Err:511 Err:511 Err:511
0.1915 60.614 Err:511 Err:511 Err:511
0.1617 63.998 Err:511 Err:511 Err:511
0.1267 67.924 Err:511 Err:511 Err:511
0.1078 70.229 Err:511 Err:511 Err:511
0.0859 72.832 Err:511 Err:511 Err:511
0 84.562 Err:511 Err:511 Err:511
1,2-DCE: 1,2-dichloroethane
DMSO: dimethylsulfoxide
Experimental
Calculated
With the fitted parameters, the experimental and
Experimental
calculated values are undistinguishable in the
Calculated
phase diagram.
se/R cpe/R
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
ge/(RT)
he/(RT)
se/R
0.8 0.9 1
Sum((delta^2)) 1.718777
Use Solver to minimize this cell by cha
In the minimization,impose the constraint
cells (grey cells) should be equal to zero.
ers, the experimental and
ndistinguishable in the
y2calc
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
e function cell
delta P
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Reference:
Reid, R.C., J.M. Prausnitz, and B.E. Poling
The Properties of Gases and Liquids
4th ed., McGraw-Hill, New York, 1987.
R T(K)
1 318.49
r 1.87 3.19 5.17
q 1.72 2.4 4.4
Binary interactions 0 60.28 23.71
89.57 0 -135.9
545.8 245.4 0
x1 x2 x3 lngama(1)
0.1311 0.033 0.8359 Err:511
0.91187173126508 0.01974239773325 0.06838587100168 Err:511
Parameter fitting in the UNIQUAC model from vapor-liquid equilibrium data using Excel So
Modified version of problem 12.1: Smith, van Ness, and Abbott, Introduction to Chemical Engineering Thermodynami
Objective:
Fit the binary interaction parameters of the UNIQUAC model using experimental vapor-liquid equilibrium data minimizing the s
methanol(1)+water(2)
R T(K) P1sat
1 333.15 P2sat
r 1.4311 0.92
q 1.432 1.4
Binary interactions 0 -213.69613994818 It is common to report UNIQUAC
358.550089418951 0 In this case, use R=1 in the spre
The first five columns are experimental data for the mixture.
Isothermal flash calculation by direct minimization of the system's Gibbs free energy
A 10 mol/s stream of a mixture of methanol(1)+water(2), with mole fractions of 0.67 and 0.33, respectively,
is fed to a continuous separation vessel (flash) that operates at 333.15 K and 60 kPa.
Determine the flowrates and compositions in the liquid and vapor output streams from the separation vessel. Assum
(1) ideal vapor phase behavior;
(2) activity coefficient given by the UNIQUAC model with the parameters provided;
(3) Poynting factors and saturated liquid fugacity corrections are negligible.
methanol(1)+water(2)
R T(K) P1sat (kPa)
1 333.15 P2sat (kPa)
r 1.4311 0.92 P (kPa)
q 1.432 1.4
Binary interactions 0 -213.69613994818 It is common to report UNIQUAC
358.550089418951 0 In this case, use R=1 in the spre
Spreadsheet
Spreadsheet
formula formula
Methanol Water Total
Mole fraction (1)
Feed flow (mol/s) 6.7 3.3 10 0.67
Liquid out (mol/s) 2.38550382505431 2.24336530324091 4.62886912829522 0.5153534824461
Vapor out (mol/s) 4.31449617494569 1.05663469675909 5.37113087170478 0.8032751906446
Hints:
Liquid out flow to be calculated using Solver.
Vapor out is the feed flow minus the liquid out flow.
Two methanol(1)+water(2) streams, I and II, each with a flowrate of 1 mol/s and tempera
K, are continuously mixed. In stream I, the methanol mole fraction is 0.2 and, in stream II
0.6. The output stream from the mixer, stream III, is also at 333.15 K. Determine the heat
mixer.
Solution:
The global and component mass balances readily give that the flowrate of stream III is eq
and its methanol mole fraction is 0.4. Excess properties with UNIQUAC are calculated usin
spreadsheet functions.
Comment: since all streams are at the same temperature, the pure component heat capacities cancel in the energy balance (t
methanol(1)+water(2)
R T(K)
1 333.15
r 1.4311 0.92
q 1.432 1.4
Binary interactions 0 -213.69613994818 It is common to report UNIQUAC
358.550089418951 0 In this case, use R=1 in the spre
x1 x2 Ge/(RT)
stream I 0.2 0.8 Err:511
stream II 0.6 0.4 Err:511
stream III 0.4 0.6 Err:511
Two methanol(1)+water(2) streams, I and II, each with a flowrate of 1 mol/s and tempe
K, are continuously mixed in an adiabatic mixer. In stream I, the methanol mole fraction
stream II, it is equal to 0.6. Determine the temperature output stream from the mixer, s
Data: heat capacities for liquid methanol and water are equal to 79.5 and 75 J/(mol.K) ,
Solution:
Two methanol(1)+water(2) streams, I and II, each with a flowrate of 1 mol/s and tempe
K, are continuously mixed in an adiabatic mixer. In stream I, the methanol mole fraction
stream II, it is equal to 0.6. Determine the temperature output stream from the mixer, s
Data: heat capacities for liquid methanol and water are equal to 79.5 and 75 J/(mol.K) ,
Solution:
The global and component mass balances readily give that the flowrate of stream III is e
and its methanol mole fraction is 0.4. Excess properties with UNIQUAC are calculated u
spreadsheet functions. The energy balance is solved iteratively to find out the final tem
methanol(1)+water(2)
R T(K)
1 333.15
r 1.4311 0.92
q 1.432 1.4
Binary interactions 0 -213.69613994818 It is common to report UNIQUAC
358.550089418951 0 In this case, use R=1 in the spre
x1 x2 ge/(RT)
stream I 0.2 0.8 Err:511
stream II 0.6 0.4 Err:511
stream III 0.4 0.6 Err:511
Original reference
Letcher, T.M., G.G. Redhi, S.E. Radloff, U. Domanska
Liquid-Liquid Equilibria of the Ternary Mixtures with Sulfolane at 303.15 K
J. Chem. Eng. Data 1996, 41, 634-638
Z (coordination number) 10
R (J/(mol.K)) T(K)
8.314 303.15
Experimental Experimental
n-heptane rich phase Sulfolane rich phase
x1h x2h x3h x1s x2s
0.008 0.118 0.874 0.928 0.054
0.011 0.295 0.694 0.85 0.13
0.021 0.485 0.494 0.803 0.177
0.071 0.599 0.33 0.752 0.228
0.155 0.624 0.221 0.707 0.272
0.341 0.562 0.097 0.571 0.397
x1 x2
0.008 0.118
0.928 0.054
0.011 0.295
0.85 0.13
0.021 0.485
0.803 0.177
0.071 0.599
0.752 0.228
0.155 0.624
0.707 0.272
0.341 0.562
0.571 0.397
0.9
0.8
0.7
Benzene
0.6
0.5
0.4
0.3
0.2
0.1
0
Letcher et al., 1996 0 0.1 0.2
UAC model
It is common to report UNIQUAC binary interaction parameters as a12/R, a21/R, etc… in Kelvin.
In this case, use R=1 in the spreadsheet; otherwise use units compatible with the aij values.
neering Thermodynamics, 6th edition, Mc-Graw-Hill, 2001 (reference to the data points available there).
um data minimizing the summation of the squared difference between experimental and calculated pressures.
84.562
19.953
mmon to report UNIQUAC binary interaction parameters as a12/R, a21/R, etc… in Kelvin.
case, use R=1 in the spreadsheet; otherwise use units compatible with the aij values.
These 2 columns were calculated These final columns were calculated with spreadsheet form
with array function uniquac.
Pexp(kPa) lngamma1 lngamma2 gamma1 gamma2
19.953 Err:511 Err:511 Err:511 Err:511
39.223 Err:511 Err:511 Err:511 Err:511
42.984 Err:511 Err:511 Err:511 Err:511
48.852 Err:511 Err:511 Err:511 Err:511
52.784 Err:511 Err:511 Err:511 Err:511
56.652 Err:511 Err:511 Err:511 Err:511
60.614 Err:511 Err:511 Err:511 Err:511
63.998 Err:511 Err:511 Err:511 Err:511
67.924 Err:511 Err:511 Err:511 Err:511
70.229 Err:511 Err:511 Err:511 Err:511
72.832 Err:511 Err:511 Err:511 Err:511
84.562 Err:511 Err:511 Err:511 Err:511
3, respectively,
84.562
19.953
60
mmon to report UNIQUAC binary interaction parameters as a12/R, a21/R, etc… in Kelvin.
case, use R=1 in the spreadsheet; otherwise use units compatible with the aij values.
l in the energy balance (try to prove that) and are not necessary.
mmon to report UNIQUAC binary interaction parameters as a12/R, a21/R, etc… in Kelvin.
case, use R=1 in the spreadsheet; otherwise use units compatible with the aij values.
mmon to report UNIQUAC binary interaction parameters as a12/R, a21/R, etc… in Kelvin.
case, use R=1 in the spreadsheet; otherwise use units compatible with the aij values.
0.9
0.8
0.1
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Sulfolane
xgama(1) xgama(2) xgama(3)
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
x1 x2
0.00114 0.11782
0.93214 0.05437
0.00949 0.29311
0.85058 0.13206
0.03676 0.46843
0.78412 0.19471
0.09345 0.58925
0.75105 0.22587
0.16017 0.63076
0.72921 0.24675
0.30476 0.60298
0.66911 0.30551
Calculated: ln(gamma) in Calculated: ln(gamma) in Calculated: n(i)*ln(x(i)*gamma(i))
n-heptane rich phase sulfolane rich phase n-heptane rich phase
1 2 3 1 2 3 1
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511 Err:511 Err:511
culated: n(i)*ln(x(i)*gamma(i)) in Calculated: n(i)*ln(x(i)*gamma(i)) in
eptane rich phase sulfolane rich phase
2 3 1 2 3
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Calculated: deltaG
Sum (n*ln(x*gamma) for all
components in all phases
Err:511 Use Solver to minimize this cell in each row by changing the blue cells of the same row.
Err:511
Err:511
Err:511
Err:511
Err:511
cells of the same row.
Calculation of activity coefficients and excess properties using the UNIFAC model
Reference:
Reid, R.C., J.M. Prausnitz, and B.E. Poling
The Properties of Gases and Liquids
4th ed., McGraw-Hill, New York, 1987.
acetone(1)+n-pentane(2)
Example taken from Reid, R.C., J.M. Prausnitz and B. Poling, The Properties of Gases and Liquids, 4th edition, McGraw
R 1 The unit of R should be compatible with the unit of the UNIFAC binary intera
T (K) 307
diethylamine(1)+n-heptane(2)
Example taken from Smith, J.M., H.C. Van Ness, and M.M. Abbott, Introduction to Chemical Engineering Thermodynam
R 1 The unit of R should be compatible with the unit of the UNIFAC binary intera
T (K) 308.15
of the UNIFAC binary interaction parameters. These are normally given in Kelvin. In this case, use R=1, as done here.
wo columns were calculated These 4 columns were calculated with array function unifacxs.
eadsheet formulas.
gama(2) gert hert ser cper
Err:511 Err:511 Err:511 Err:511 Err:511
There is a small discrepancy with respect to the values reported in the Reid et al., possibly caused by round-offs.
of the UNIFAC binary interaction parameters. These are normally given in Kelvin. In this case, use R=1, as done here.
wo columns were calculated These 4 columns were calculated with array function unifacxs.
eadsheet formulas.
gama(2) gert hert ser cper
Err:511 Err:511 Err:511 Err:511 Err:511
There is perfect agreement with the activity coefficient values reported by Smith et al.
as done here.
aused by round-offs.
as done here.
Calculation of activity coefficients and excess properties using the Modified UNIFAC model
References:
n-pentane(1)+ benzene(2)
R 1 The unit of R should be compatible with the unit of the Modified UNIFAC b
T (K) 298.15
12
10
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
10
0
Natural logarithm of activity coefficient 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Mole fraction of n-pentane
12
n-pentane
10
benzene
h the unit of the Modified UNIFAC binary interaction parameters. These are normally given in Kelvin. In this case, use R=1, as done here.
Reference:
Reid, R.C., J.M. Prausnitz, and B.E. Poling
The Properties of Gases and Liquids
4th ed., McGraw-Hill, New York, 1987.
R 83.14
T(K) 300 Compute using Solver
n-hexane
Tc(K) 507.5
Pc(bar) 30.1
kij 0
R (SI) 8.314
Spreadsheet Spreadsheet
formula formula
x Pespec (bar) Pespec(Pa) cpig (J/(mol.K))
1 1.0132 101320 2.92E+01
1 1.5132 151320 2.92E+01
1 2.0132 201320 2.92E+01
1 2.5132 251320 2.92E+01
1 3.0132 301320 2.92E+01
1 3.5132 351320 2.92E+01
1 4.0132 401320 2.92E+01
1 4.5132 451320 2.92E+01
1 5.0132 501320 2.92E+01
1 5.5132 551320 2.92E+01
1 6.0132 601320 2.92E+01
1 6.5132 651320 2.92E+01
1 7.0132 701320 2.92E+01
1 7.5132 751320 2.92E+01
1 8.0132 801320 2.92E+01
1 8.5132 851320 2.92E+01
1 9.0132 901320 2.92E+01
1 9.5132 951320 2.92E+01
1 10.0132 1001320 2.92E+01
1 10.5132 1051320 2.92E+01
1 11.0132 1101320 2.92E+01
1 11.5132 1151320 2.92E+01
1 12.0132 1201320 2.92E+01
1 12.5132 1251320 2.92E+01
1 13.0132 1301320 2.92E+01
1 13.5132 1351320 2.92E+01
1 14.0132 1401320 2.92E+01
1 14.5132 1451320 2.92E+01
1 15.0132 1501320 2.92E+01
1 15.5132 1551320 2.92E+01
1 16.0132 1601320 2.92E+01
1 16.5132 1651320 2.92E+01
1 17.0132 1701320 2.92E+01
1 17.5132 1751320 2.92E+01
1 18.0132 1801320 2.92E+01
1 18.5132 1851320 2.92E+01
1 19.0132 1901320 2.92E+01
1 19.5132 1951320 2.92E+01
1 20.0132 2001320 2.92E+01
1 20.5132 2051320 2.92E+01
1 21.0132 2101320 2.92E+01
1 21.5132 2151320 2.92E+01
1 22.0132 2201320 2.92E+01
1 22.5132 2251320 2.92E+01
1 23.0132 2301320 2.92E+01
1 23.5132 2351320 2.92E+01
1 24.0132 2401320 2.92E+01
1 24.5132 2451320 2.92E+01
1 25.0132 2501320 2.92E+01
1 25.5132 2551320 2.92E+01
m = 1.0132 bar)
Computed with
spreadsheet
function.
deltalnphi
Err:511 Use Solver to zero this cell by changing T.
These 4 columns were calculated with array function svsoundspeedv. These columns were calculated using spreads
rho (mol/m3) dpdrho (Pa/(mol/m3)) cprr (K) dpdt (Pa/K) cpresidual (J/(mol.K))
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
mns were calculated using spreadsheet formulas
cp (J/(mol.K)) cv (J/(mol.K)) gama=cp/cv sound speed (m/s)
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Physical properties from the Redlich-Kwong equation of state
Reference:
Reid, R.C., J.M. Prausnitz, and B.E. Poling
The Properties of Gases and Liquids
4th ed., McGraw-Hill, New York, 1987.
R 83.14
T(K) 300 Compute using Solver
n-hexane
Tc(K) 507.5
Pc(bar) 30.1
kij 0
R (SI) 8.314
e 4 columns were calculated with array function svsoundspeedv. These columns were calculated using spreadsheet formu
Reference:
Reid, R.C., J.M. Prausnitz, and B.E. Poling
The Properties of Gases and Liquids
4th ed., McGraw-Hill, New York, 1987.
R 83.14
T(K) 300 Compute using Solver
n-hexane
Tc(K) 507.5
Pc(bar) 30.1
omega 0.299
kij 0
x Pespec
1 1.0132
R (SI)
x Pespec (bar)
1 1.0132
1 1.5132
1 2.0132
1 2.5132
1 3.0132
1 3.5132
1 4.0132
1 4.5132
1 5.0132
1 5.5132
1 6.0132
1 6.5132
1 7.0132
1 7.5132
1 8.0132
1 8.5132
1 9.0132
1 9.5132
1 10.0132
1 10.5132
1 11.0132
1 11.5132
1 12.0132
1 12.5132
1 13.0132
1 13.5132
1 14.0132
1 14.5132
1 15.0132
1 15.5132
1 16.0132
1 16.5132
1 17.0132
1 17.5132
1 18.0132
1 18.5132
1 19.0132
1 19.5132
1 20.0132
1 20.5132
1 21.0132
1 21.5132
1 22.0132
1 22.5132
1 23.0132
1 23.5132
1 24.0132
1 24.5132
1 25.0132
1 25.5132
When a substance (or mixture) is present in a large system with depths of hundreds of meters the effect of position
This is formulated by modifying the formula for the fugacity (ln fug (CO2)) in the table below) to account for the effe
R (bar.cm3/(mol.K)) 83.14
T(K) 333
CO2
Molar mass 44
Tc(K) 304.1
Pc(bar) 73.8
omega 0.239
kij 0
The CO2 pressure is specified at level 0 m. Find its pressure 200 m below.
Isenthalpic expansion
The expansion of a fluid stream (pure substance or mixture) from a high pressure to a low pressure condition in a p
Consider the expansion of a Nitrogen stream, initially at 250 K and 100 bar, to a final condition at 10 bar, and deter
Use SI units throught the calculation
Nitrogen
Tc(K) 126.2
Pc(Pa) 3.39E+06
omega 0.039
kij 0
Isentropic expansion
The expansion of a fluid stream (pure substance or mixture) from a high pressure to a low pressure condition in a p
Consider the expansion of a Nitrogen stream, initially at 250 K and 100 bar, to a final condition at 70 bar, and deter
Observe that the final temperatures of the isenthalpic and isentropic expansions are similar (about 226 K),
even though the specified final pressures are very different. Try to undestand this by looking at a PH diagram.
n of state
tm = 1.0132 bar)
using Solver
300
28.013
0.028013
cp coefficients 31.15 -1.36E-02 2.68E-05
8.314
Spreadsheet Spreadsheet These 4 columns were calculated with array function srksoundspeedv.
formula formula
Pespec(Pa) cpig (J/(mol.K)) rho (mol/m3) dpdrho (Pa/(mol/m3)) cprr (K)
101320 2.92E+01 Err:511 Err:511 Err:511
151320 2.92E+01 Err:511 Err:511 Err:511
201320 2.92E+01 Err:511 Err:511 Err:511
251320 2.92E+01 Err:511 Err:511 Err:511
301320 2.92E+01 Err:511 Err:511 Err:511
351320 2.92E+01 Err:511 Err:511 Err:511
401320 2.92E+01 Err:511 Err:511 Err:511
451320 2.92E+01 Err:511 Err:511 Err:511
501320 2.92E+01 Err:511 Err:511 Err:511
551320 2.92E+01 Err:511 Err:511 Err:511
601320 2.92E+01 Err:511 Err:511 Err:511
651320 2.92E+01 Err:511 Err:511 Err:511
701320 2.92E+01 Err:511 Err:511 Err:511
751320 2.92E+01 Err:511 Err:511 Err:511
801320 2.92E+01 Err:511 Err:511 Err:511
851320 2.92E+01 Err:511 Err:511 Err:511
901320 2.92E+01 Err:511 Err:511 Err:511
951320 2.92E+01 Err:511 Err:511 Err:511
1001320 2.92E+01 Err:511 Err:511 Err:511
1051320 2.92E+01 Err:511 Err:511 Err:511
1101320 2.92E+01 Err:511 Err:511 Err:511
1151320 2.92E+01 Err:511 Err:511 Err:511
1201320 2.92E+01 Err:511 Err:511 Err:511
1251320 2.92E+01 Err:511 Err:511 Err:511
1301320 2.92E+01 Err:511 Err:511 Err:511
1351320 2.92E+01 Err:511 Err:511 Err:511
1401320 2.92E+01 Err:511 Err:511 Err:511
1451320 2.92E+01 Err:511 Err:511 Err:511
1501320 2.92E+01 Err:511 Err:511 Err:511
1551320 2.92E+01 Err:511 Err:511 Err:511
1601320 2.92E+01 Err:511 Err:511 Err:511
1651320 2.92E+01 Err:511 Err:511 Err:511
1701320 2.92E+01 Err:511 Err:511 Err:511
1751320 2.92E+01 Err:511 Err:511 Err:511
1801320 2.92E+01 Err:511 Err:511 Err:511
1851320 2.92E+01 Err:511 Err:511 Err:511
1901320 2.92E+01 Err:511 Err:511 Err:511
1951320 2.92E+01 Err:511 Err:511 Err:511
2001320 2.92E+01 Err:511 Err:511 Err:511
2051320 2.92E+01 Err:511 Err:511 Err:511
2101320 2.92E+01 Err:511 Err:511 Err:511
2151320 2.92E+01 Err:511 Err:511 Err:511
2201320 2.92E+01 Err:511 Err:511 Err:511
2251320 2.92E+01 Err:511 Err:511 Err:511
2301320 2.92E+01 Err:511 Err:511 Err:511
2351320 2.92E+01 Err:511 Err:511 Err:511
2401320 2.92E+01 Err:511 Err:511 Err:511
2451320 2.92E+01 Err:511 Err:511 Err:511
2501320 2.92E+01 Err:511 Err:511 Err:511
2551320 2.92E+01 Err:511 Err:511 Err:511
quilibrium.
ssure to a low pressure condition in a perfectly insulated valve (throtlting) is an isenthalpic process.
ssure to a low pressure condition in a perfectly insulated reversible turbine is an isentropic process.
-1.17E-08
nction srksoundspeedv. These columns were calculated using spreadsheet formulas
The flowrates before and after the valve are equal (steady-state assumption).
Therefore, if the enthalpies are equal, the molar enthalpies must be equal.
The flowrates before and after the valve are equal (steady-state assumption).
Therefore, if the entropies are equal, the molar entropies must be equal.
gama=cp/cv sound speed (m/s)
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511
ssumption).
ssumption).
ust be equal.
Physical properties from the Peng-Robinson equation of state
Reference:
Reid, R.C., J.M. Prausnitz, and B.E. Poling
The Properties of Gases and Liquids
4th ed., McGraw-Hill, New York, 1987.
R 83.14
T(K) 300 Compute using Solver
n-hexane
Tc(K) 507.5
Pc(bar) 30.1
omega 0.299
kij 0
Computed with
function
prlnphil
x Pespec lnphiL
1 1.0132 Err:511
R (SI) 8.314
Spreadsheet
formula
x Pespec (bar) Pespec(Pa)
1 1.0132 101320
1 1.5132 151320
1 2.0132 201320
1 2.5132 251320
1 3.0132 301320
1 3.5132 351320
1 4.0132 401320
1 4.5132 451320
1 5.0132 501320
1 5.5132 551320
1 6.0132 601320
1 6.5132 651320
1 7.0132 701320
1 7.5132 751320
1 8.0132 801320
1 8.5132 851320
1 9.0132 901320
1 9.5132 951320
1 10.0132 1001320
1 10.5132 1051320
1 11.0132 1101320
1 11.5132 1151320
1 12.0132 1201320
1 12.5132 1251320
1 13.0132 1301320
1 13.5132 1351320
1 14.0132 1401320
1 14.5132 1451320
1 15.0132 1501320
1 15.5132 1551320
1 16.0132 1601320
1 16.5132 1651320
1 17.0132 1701320
1 17.5132 1751320
1 18.0132 1801320
1 18.5132 1851320
1 19.0132 1901320
1 19.5132 1951320
1 20.0132 2001320
1 20.5132 2051320
1 21.0132 2101320
1 21.5132 2151320
1 22.0132 2201320
1 22.5132 2251320
1 23.0132 2301320
1 23.5132 2351320
1 24.0132 2401320
1 24.5132 2451320
1 25.0132 2501320
1 25.5132 2551320
R 83.14
T(K) 366.500598277624 Compute using Solver
P (bar) 1.0132
C atoms 11.6
n-hexane pseudocomponent
Tc(K) 507.5 Err:511 calculated using Whitson interpolation tab
Pc(bar) 30.1 Err:511 calculated using Whitson interpolation tab
omega 0.299 Err:511 calculated using Whitson interpolation tab
kij 0.00 0.00
0.00 0.00
Advanced example
Assumption: the probability density distribution function of the continuous family is a decaying exponential function
delta 6.51472634196551
Find delta -7.800980925121E-08 Use Solver to zero this by cell changing delta.
D 0.167044265178603
C 0.495481056327553
I F(I)
6.5 0.167292101946369
7 0.15388710749312
7.5 0.141556245495624
8 0.130213446501444
8.5 0.119779537740768
9 0.110181690500242
9.5 0.101352911778347
10 0.0932315766740458
10.5 0.0857609982448032
11 0.078889031831558
11.5 0.0725677110888538
Probability density
12 0.0667529131796083
12.5 0.0614040507975833 0.18
13 0.056483788867869
13.5 0.0519577839479537 0.16
14 0.0477944445103951
14.5 0.0439647104338675 0.14
15 0.040441850163431
15.5 0.0372012741242006
0.12
16 0.034220363086042
16.5 0.0314783102812802
0.1
17 0.0289559761734006
17.5 0.0266357548630289
0.08
18 0.0245014511987026
18.5 0.0225381677346665
19 0.0207322007466587
0.06
19.5 0.0190709445798751
20 0.0175428036614629 0.04
0.02
1.04083408558608E-17
0
-0.02
0.08
0.06
0.04
20.5 0.016137111563388
21 0.0148440565507371
0.02
21.5 0.0136546130957787
22 0.0125604788797543 1.04083408558608E-17
22.5 0.0115540168426688 0
23 0.0106282018765901 -0.02
23.5 0.00977657179037499
24 0.0089931822035565
24.5 0.00827256505455102
25 0.00760969043357253
25.5 0.00699993147384782
26 0.00643903205607297
26.5 0.0059230771006883
27 0.0054484652406117
27.5 0.00501188368368601
28 0.00461028508938013
28.5 0.00424086629834332
29 0.0039010487663448
29.5 0.00358846056602756
30 0.00330091983084855
30.5 0.00303641952564389
31 0.00279311343751763
31.5 0.00256930328927034
32 0.00236342688541941
32.5 0.00217404720807001
33 0.00199984238652606
33.5 0.00183959647062893
34 0.00169219094342178
34.5 0.00155659691389803
35 0.0014318679353391
35.5 0.00131713339911361
36 0.00121159245782657
36.5 0.00111450843540231
37 0.00102520368508328
37.5 0.000943054859453741
38 0.00086748855947301
38.5 0.000797977332148481
39 0.00073403598891222
39.5 0.000675218219003348
40 0.000621113474217645
40.5 0.000571344103279891
41 0.000525562715836875
41.5 0.000483449757671725
42 0.000444711280214544
42.5 0.000409076888780547
43 0.000376297855214376
43.5 0.000346145381766854
44 0.000318409004086037
44.5 0.000292895122175425
45 0.000269425649065429
45.5 0.000247836767765804
A more sophisticated integration method can be used (e.g., Rochocz, G.L., M. Castier, and S.I. Sandler,
Critical point calculations for semi-continuous mixtures, Fluid Phase Equilibria 139 (1997) 137-153) but
here we use Simpson's rule to locate the collocation points.
# of intervals 6
phi-eta 39
deltan 6.5
Pseudo-components 1 2 3
I 6.5 13 19.5
R (bar.cm3/(mol.K)) 83.14
T (K) 601.368684778884
P (bar) 1.0132
Assumption: liquid phase follows the distribution above, as in a dew point calculation
= 1.0132 bar)
y is a decaying exponential function with finite lower and upper limits of the independent variable
0.18
0.16
0.14
0.12
0.1
0.08
0.06
0.04
0.02
1.04083408558608E-17
0 5 10 15 20 25 30 35 40 45 50
-0.02
0.08
0.06
0.04
0.02
1.04083408558608E-17
0 5 10 15 20 25 30 35 40 45 50
-0.02
Number of Carbon atoms
and S.I. Sandler,
7) 137-153) but
4 5 6 7
26 32.5 39 45.5 (approximated as 45 because this
45
Err:511 Err:511 Err:511 Err:511 Critical properties and acentric fa
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
Reference:
Reid, R.C., J.M. Prausnitz, and B.E. Poling
The Properties of Gases and Liquids
4th ed., McGraw-Hill, New York, 1987.
(1) This version of the Peng-Robinson EOS is identical to the original model with exception of the b parameter, which is given
c
b bj
c
b xi x j i 1 ij
i 1 j 1 2
Flash separation of a binary mixture of CO2 and a pseudocomponent that represents clove oil.
Reference
Souza, A.T., M.L. Corazza, L. Cardozo-Filho, R. Guirardello, and M.A.A. Meireles
Phase Equilibrium Measurements for the System Clove (Eugenia caryophyllus) Oil + CO2
J. Chem. Eng. Data 2004, 49, 352-356
R 83.14
T(K) 318.2
P (bar) 100
Gliquid Err:511
Gvapor Err:511
Gtotal Err:511
uadratic mixing rule for the b-parameter
Reference:
Unpublished work by Travalloni, L., F.W. Tavares, M. Castier, and S.I. Sandler
R (J/(mol.K)) 8.314
T(K) 298
Nitrogen
Tc(K) 126.2
Pc(Pa) 3.39E+06
omega 0.039
kij 0
Adsorbent JX101 Data from: Qin Wu, Li Zhou, Jiaquan Wu, and Yaping Zhou, J. Chem. Eng. Data 2005, 5
Specific pore volume (mL/g) 0.52
Specific pore volume (m3/kg) 0.00052
Experimental data
P bulk (bar) Adsorbed amount (mmol/g) x
0.18 0.04 1
Confined fluid 0.39 0.0942 1
0.57 0.1566 1
0.84 0.2278 1
1.095 0.2964 1
1.47 0.388 1
1.845 0.4729 1
2.19 0.5437 1
2.52 0.6141 1
2.88 0.6897 1
3.27 0.7661 1
3.69 0.8565 1
4.35 0.9705 1
4.965 1.079 1
5.565 1.176 1
6.135 1.2655 1
6.69 1.3457 1
7.35 1.4329 1
8.04 1.5298 1
8.955 1.6365 1
9.81 1.735 1
1.8
1.6
1.4
1.2
1.0
0.8
0.6
0.4
0.2
0.0
0 0.1
f state for confined fluids
em specifications.
of calculations.
Unconfined fluid
P (Pa) Pore radius (m) delta/sigma Ep/k lnphiV
1.80E+04 100 0 0 Err:511
3.90E+04 100 0 0 Err:511
5.70E+04 100 0 0 Err:511
8.40E+04 100 0 0 Err:511
1.10E+05 100 0 0 Err:511
1.47E+05 100 0 0 Err:511
1.85E+05 100 0 0 Err:511
2.19E+05 100 0 0 Err:511
2.52E+05 100 0 0 Err:511
2.88E+05 100 0 0 Err:511
3.27E+05 100 0 0 Err:511
3.69E+05 100 0 0 Err:511
4.35E+05 100 0 0 Err:511
4.97E+05 100 0 0 Err:511
5.57E+05 100 0 0 Err:511
6.14E+05 100 0 0 Err:511
6.69E+05 100 0 0 Err:511
7.35E+05 100 0 0 Err:511
8.04E+05 100 0 0 Err:511
8.96E+05 100 0 0 Err:511
9.81E+05 100 0 0 Err:511
Adsorbed amount (mol/kg)
2.0
1.8
1.6
1.4
1.2
1.0
0.8
0.6
0.4
0.2
0.0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7
Pressure (MPa)
Use Solver to zero this cell by changing P of the confined fluid
Confined fluid
ln fug = ln phi + ln P x P (Pa) Pore radius (m)
Err:511 1 2.42E+05 6.93E-10
Err:511 1 5.20E+05 6.93E-10
Err:511 1 7.56E+05 6.93E-10
Err:511 1 1.10E+06 6.93E-10
Err:511 1 1.42E+06 6.93E-10
Err:511 1 1.89E+06 6.93E-10
Err:511 1 2.34E+06 6.93E-10
Err:511 1 2.75E+06 6.93E-10
Err:511 1 3.13E+06 6.93E-10
Err:511 1 3.54E+06 6.93E-10
Err:511 1 3.98E+06 6.93E-10
Err:511 1 4.43E+06 6.93E-10
Err:511 1 5.13E+06 6.93E-10
Err:511 1 5.77E+06 6.93E-10
Err:511 1 6.37E+06 6.93E-10
Err:511 1 6.93E+06 6.93E-10
Err:511 1 7.45E+06 6.93E-10
Err:511 1 8.07E+06 6.93E-10
Err:511 1 8.70E+06 6.93E-10
Err:511 1 9.50E+06 6.93E-10
Err:511 1 1.02E+07 6.93E-10
Calculated
Experimental
Reference:
J. O. Valderrama, Ind. Eng. Chem. Res. 42 (2003) 1603–1618.
R 83.14
T(K) 300 Compute using Solver
x Pespec
1 1.0132
R (SI)
x Pespec (bar)
1 1.0132
1 1.5132
1 2.0132
1 2.5132
1 3.0132
1 3.5132
1 4.0132
1 4.5132
1 5.0132
1 5.5132
1 6.0132
1 6.5132
1 7.0132
1 7.5132
1 8.0132
1 8.5132
1 9.0132
1 9.5132
1 10.0132
1 10.5132
1 11.0132
1 11.5132
1 12.0132
1 12.5132
1 13.0132
1 13.5132
1 14.0132
1 14.5132
1 15.0132
1 15.5132
1 16.0132
1 16.5132
1 17.0132
1 17.5132
1 18.0132
1 18.5132
1 19.0132
1 19.5132
1 20.0132
1 20.5132
1 21.0132
1 21.5132
1 22.0132
1 22.5132
1 23.0132
1 23.5132
1 24.0132
1 24.5132
1 25.0132
1 25.5132
When a substance (or mixture) is present in a large system with depths of hundreds of meters the effect of position
This is formulated by modifying the formula for the fugacity (ln fug (CO2)) in the table below) to account for the effec
R (bar.cm3/(mol.K)) 83.14
T(K) 333
The CO2 pressure is specified at level 0 m. Find its pressure 200 m below.
Isenthalpic expansion
The expansion of a fluid stream (pure substance or mixture) from a high pressure to a low pressure condition in a pe
Consider the expansion of a Nitrogen stream, initially at 250 K and 100 bar, to a final condition at 10 bar, and determ
Isentropic expansion
The expansion of a fluid stream (pure substance or mixture) from a high pressure to a low pressure condition in a pe
Consider the expansion of a Nitrogen stream, initially at 250 K and 100 bar, to a final condition at 70 bar, and determ
300
28.013
0.028013
31.15 -1.36E-02 2.68E-05
8.314
Spreadsheet Spreadsheet These 4 columns were calculated with array function svsoundspeedv.
formula formula
Pespec(Pa) cpig (J/(mol.K)) rho (mol/m3) dpdrho (Pa/(mol/m3)) cprr (K)
101320 2.92E+01 Err:511 Err:511 Err:511
151320 2.92E+01 Err:511 Err:511 Err:511
201320 2.92E+01 Err:511 Err:511 Err:511
251320 2.92E+01 Err:511 Err:511 Err:511
301320 2.92E+01 Err:511 Err:511 Err:511
351320 2.92E+01 Err:511 Err:511 Err:511
401320 2.92E+01 Err:511 Err:511 Err:511
451320 2.92E+01 Err:511 Err:511 Err:511
501320 2.92E+01 Err:511 Err:511 Err:511
551320 2.92E+01 Err:511 Err:511 Err:511
601320 2.92E+01 Err:511 Err:511 Err:511
651320 2.92E+01 Err:511 Err:511 Err:511
701320 2.92E+01 Err:511 Err:511 Err:511
751320 2.92E+01 Err:511 Err:511 Err:511
801320 2.92E+01 Err:511 Err:511 Err:511
851320 2.92E+01 Err:511 Err:511 Err:511
901320 2.92E+01 Err:511 Err:511 Err:511
951320 2.92E+01 Err:511 Err:511 Err:511
1001320 2.92E+01 Err:511 Err:511 Err:511
1051320 2.92E+01 Err:511 Err:511 Err:511
1101320 2.92E+01 Err:511 Err:511 Err:511
1151320 2.92E+01 Err:511 Err:511 Err:511
1201320 2.92E+01 Err:511 Err:511 Err:511
1251320 2.92E+01 Err:511 Err:511 Err:511
1301320 2.92E+01 Err:511 Err:511 Err:511
1351320 2.92E+01 Err:511 Err:511 Err:511
1401320 2.92E+01 Err:511 Err:511 Err:511
1451320 2.92E+01 Err:511 Err:511 Err:511
1501320 2.92E+01 Err:511 Err:511 Err:511
1551320 2.92E+01 Err:511 Err:511 Err:511
1601320 2.92E+01 Err:511 Err:511 Err:511
1651320 2.92E+01 Err:511 Err:511 Err:511
1701320 2.92E+01 Err:511 Err:511 Err:511
1751320 2.92E+01 Err:511 Err:511 Err:511
1801320 2.92E+01 Err:511 Err:511 Err:511
1851320 2.92E+01 Err:511 Err:511 Err:511
1901320 2.92E+01 Err:511 Err:511 Err:511
1951320 2.92E+01 Err:511 Err:511 Err:511
2001320 2.92E+01 Err:511 Err:511 Err:511
2051320 2.92E+01 Err:511 Err:511 Err:511
2101320 2.92E+01 Err:511 Err:511 Err:511
2151320 2.92E+01 Err:511 Err:511 Err:511
2201320 2.92E+01 Err:511 Err:511 Err:511
2251320 2.92E+01 Err:511 Err:511 Err:511
2301320 2.92E+01 Err:511 Err:511 Err:511
2351320 2.92E+01 Err:511 Err:511 Err:511
2401320 2.92E+01 Err:511 Err:511 Err:511
2451320 2.92E+01 Err:511 Err:511 Err:511
2501320 2.92E+01 Err:511 Err:511 Err:511
2551320 2.92E+01 Err:511 Err:511 Err:511
-1.17E-08
svsoundspeedv. These columns were calculated using spreadsheet formulas
The flowrates before and after the valve are equal (steady-state assumption).
Therefore, if the enthalpies are equal, the molar enthalpies must be equal.
Spreadsheet Spreadsheet
formula formula
cpr/R Residual s (J/(mol.K))Molar s (J/(mol.K))
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Delta s (J/(mol.K)) Err:511 Use Solver to zero this cell
The flowrates before and after the valve are equal (steady-state assumption).
Therefore, if the entropies are equal, the molar entropies must be equal.
sound speed (m/s)
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
Err:511
e assumption).
st be equal.
e assumption).
must be equal.
delta^2 0 0
Sum (delta^2) 0
0 0 0 0 0
Physical properties from the Stryjek-Vera equation of state
Reference:
Stryjek, R. and Vera, J.H.,
PRSV: An Improved Peng-Robinson Equation of State for Pure Compounds and Mixtures
Can. J. Chem. Engng. (1986) 64, 323-333.
R ((bar.cm3/(mol.K)) 83.14
T(K) 300 Compute using Solver
n-hexane
Tc(K) 507.5
Pc(bar) 30.1236
omega 0.30075
K1 0.05104
kij 0
R (SI) 8.314
Spreadsheet Spreadsheet
formula formula
x Pespec (bar) Pespec(Pa) cpig (J/(mol.K))
1 1.0132 101320 2.92E+01
1 1.5132 151320 2.92E+01
1 2.0132 201320 2.92E+01
1 2.5132 251320 2.92E+01
1 3.0132 301320 2.92E+01
1 3.5132 351320 2.92E+01
1 4.0132 401320 2.92E+01
1 4.5132 451320 2.92E+01
1 5.0132 501320 2.92E+01
1 5.5132 551320 2.92E+01
1 6.0132 601320 2.92E+01
1 6.5132 651320 2.92E+01
1 7.0132 701320 2.92E+01
1 7.5132 751320 2.92E+01
1 8.0132 801320 2.92E+01
1 8.5132 851320 2.92E+01
1 9.0132 901320 2.92E+01
1 9.5132 951320 2.92E+01
1 10.0132 1001320 2.92E+01
1 10.5132 1051320 2.92E+01
1 11.0132 1101320 2.92E+01
1 11.5132 1151320 2.92E+01
1 12.0132 1201320 2.92E+01
1 12.5132 1251320 2.92E+01
1 13.0132 1301320 2.92E+01
1 13.5132 1351320 2.92E+01
1 14.0132 1401320 2.92E+01
1 14.5132 1451320 2.92E+01
1 15.0132 1501320 2.92E+01
1 15.5132 1551320 2.92E+01
1 16.0132 1601320 2.92E+01
1 16.5132 1651320 2.92E+01
1 17.0132 1701320 2.92E+01
1 17.5132 1751320 2.92E+01
1 18.0132 1801320 2.92E+01
1 18.5132 1851320 2.92E+01
1 19.0132 1901320 2.92E+01
1 19.5132 1951320 2.92E+01
1 20.0132 2001320 2.92E+01
1 20.5132 2051320 2.92E+01
1 21.0132 2101320 2.92E+01
1 21.5132 2151320 2.92E+01
1 22.0132 2201320 2.92E+01
1 22.5132 2251320 2.92E+01
1 23.0132 2301320 2.92E+01
1 23.5132 2351320 2.92E+01
1 24.0132 2401320 2.92E+01
1 24.5132 2451320 2.92E+01
1 25.0132 2501320 2.92E+01
1 25.5132 2551320 2.92E+01
Computed with
spreadsheet
function.
deltalnphi
Err:511 Use Solver to zero this cell by changing T.
rho (mol/m3) dpdrho (Pa/(mol/m3)) cprr (K) dpdt (Pa/K) cpresidual (J/(mol.K))
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511 Err:511
mns were calculated using spreadsheet formulas
Reference:
Horstmann, S., A. Jabloniec, J. Krafczyk, K. Fischer, J. Gmehling
PSRK group contribution equation of state: comprehensive revision and extension IV: including critical con
Fluid Phase Equilibria 227 (2005) 157-164.
HCl Cl2
Tc (K) 324.6 417
Pc (bar) 83.0865 77.007
c1 0.66635 0.55192
c2 0.35497 0.01934
c3 -1.3766 0.59414
HCl Cl2
r 1.056 1.53
q 1.256 1.44
HCl 0 2.0069
a Cl2 132 0
HCl 0 0
b Cl2 0 0
HCl 0 0
c Cl2 0 0
HCl 1 0
Cl2 0 1
R ((bar.cm3)/(mol.K)) 83.14
T (K) 273.15
Calculated as
(1-x1) with
spreadsheet These 2 columns were calculated with
formula array function psrklnphil.
x1 x2 ln phi 1 l ln phi 2 l
0.02 0.98 Err:511 Err:511
0.05 0.95 Err:511 Err:511
0.1 0.9 Err:511 Err:511
0.15 0.85 Err:511 Err:511
0.2 0.8 Err:511 Err:511
0.25 0.75 Err:511 Err:511
0.3 0.7 Err:511 Err:511
0.35 0.65 Err:511 Err:511
0.4 0.6 Err:511 Err:511
0.45 0.55 Err:511 Err:511
0.5 0.5 Err:511 Err:511
0.55 0.45 Err:511 Err:511
0.6 0.4 Err:511 Err:511
0.65 0.35 Err:511 Err:511
0.7 0.3 Err:511 Err:511
0.75 0.25 Err:511 Err:511
0.8 0.2 Err:511 Err:511
0.85 0.15 Err:511 Err:511
0.9 0.1 Err:511 Err:511
0.95 0.05 Err:511 Err:511
0.99 0.01 Err:511 Err:511
HCl+Cl2 at 273.15
Pressure (MPa)
3
2.5
1.5
0.5
0
0 0.2 0.4 0.6
Mole fraction of HCl
HCN H2O
Tc (K) 456.8 647.3
Pc (bar) 53.9049 220.48321
c1 1.62716 1.0783
c2 -5.00731 -0.58321
c3 10.34189 0.54619
HCN H2O
r 1.2 0.92
q 1.19 1.4
HCN 0 79.524
a H2O 261.73 0
HCN 0 0
b H2O 0 0
HCN 0 0
c H2O 0 0
HCN 1 0
H2O 0 1
R ((bar.cm3)/(mol.K)) 83.14
T (K) 291.15
Calculated as
(1-x1) with
spreadsheet These 2 columns were calculated with
formula array function psrklnphil.
x1 x2 ln phi 1 l ln phi 2 l
0.01 0.99 Err:511 Err:511
0.05 0.95 Err:511 Err:511
0.1 0.9 Err:511 Err:511
0.15 0.85 Err:511 Err:511
0.2 0.8 Err:511 Err:511
0.25 0.75 Err:511 Err:511
0.3 0.7 Err:511 Err:511
0.35 0.65 Err:511 Err:511
0.4 0.6 Err:511 Err:511
0.45 0.55 Err:511 Err:511
0.5 0.5 Err:511 Err:511
0.55 0.45 Err:511 Err:511
0.6 0.4 Err:511 Err:511
0.65 0.35 Err:511 Err:511
0.7 0.3 Err:511 Err:511
0.75 0.25 Err:511 Err:511
0.8 0.2 Err:511 Err:511
0.85 0.15 Err:511 Err:511
0.9 0.1 Err:511 Err:511
0.95 0.05 Err:511 Err:511
0.99 0.01 Err:511 Err:511
HCN+H2O at 291.15K
Pressure (kPa)
90
80
70
60
50
40
30
20
10
0
0 0.2 0.4 0.6 0
Mole fraction of HCN
Vapor-liquid equilibrium and residual properties of the mixture n-pentane+benzene
n-pentane benzene
Tc (K) 469.7 562.1
Pc (bar) 33.69056 48.93997
c1 0.92983 0.8356
c2 -0.57909 -0.375
c3 1.1375 0.9715
CH3 CH2 ACH
r 0.9011 0.6744 0.5313
q 0.848 0.54 0.4
CH3 0 0 61.13
a CH2 0 0 61.13
ACH -11.12 -11.12 0
CH3 0 0 0
b CH2 0 0 0
ACH 0 0 0
CH3 0 0 0
c CH2 0 0 0
ACH 0 0 0
n-pentane 2 3 0
benzene 0 0 6
Calculated as
(1-x1) with
spreadsheet These 2 columns were calculated with
formula array function psrklnphil.
x1 x2 ln phi 1 l ln phi 2 l
0.71 0.29 Err:511 Err:511
Chemical Equilibrium
This is an advanced example with four simultaneous chemical reactions, originally discussed in th
The four reactions are:
H2 C2H4 C3H6
Tc (K) 33.2 282.35 365
Pc (bar) 12.9696 50.41628 46.2042
c1 0.1252 0.61252 0.7091
c2 0 0 -0.10396
c3 0 0 0.14989
CH3 CH2 CH2=CH
r 0.9011 0.6744 1.3454
q 0.848 0.54 1.176
CH3 0 0 86.02
CH2 0 0 86.02
a CH2=CH -35.36 -35.36 0
CH2=CH2 -35.36 -35.36 0
CH4 68.141 68.141 18.78
H2 315.96 315.96 399.44
CH3 0 0 0
CH2 0 0 0
b CH2=CH 0 0 0
CH2=CH2 0 0 0
CH4 -0.7386 -0.7386 0
H2 -0.4563 -0.4563 -0.5806
CH3 0 0 0
CH2 0 0 0
c CH2=CH 0 0 0
CH2=CH2 0 0 0
CH4 0 0 0
H2 -0.00156 -0.00156 0
H2 0 0 0
C2H4 0 0 0
Description C3H6 1 0 1
by groups CH4 0 0 0
C2H6 2 0 0
C3H8 2 1 0
Parameters of the chemical reaction equilibrium constants were taken from the work Carrero-Mantilla and L
T (K) 700
Equilibrium constants
A B*10^3 C*10^6 D
Reaction 1' 0.131000 -0.624000 0.123300 0.000000
Reaction 2' -3.673000 2.828500 -0.318167 -4150.000000
Reaction 3' -2.5660 2.947000 -0.400333 0.000000
Reaction 4' -1.913000 2.655000 -0.378000 0.000000
Stoichiometric coefficients
R (bar.cm3/(mol.K)) 83.14
P (bar) 50
Numerical solution
The initial amounts are specified. The unknowns are the extents of reaction.
For a given estimate of the extents of reaction, the amounts of all components can be computed, and then, their mo
If the extents of reaction are not correct, the chemical equilibrium equations will not be satisfied and there will be a r
Excel Solver was used to minimize this residue by simultaneously changing the values of the four extents of reaction
This is a difficult example because the calculations are sensitive to the initial values used for the extents of reaction.
These initial values should be carefully chosen in such a way that the component amounts and mole fractions are a
The extents of reaction provided in this file are good initial estimates for the problem conditions and will lea
You may try other initial values to observe it is not easy to provide initial values in this problem.
Initial amounts
H2 C2H4 C3H6 CH4
1 2 2 0
Equilibrium mole fractions
H2 C2H4 C3H6 CH4
2.55753821600315E-06 0.05115076432 0.69309541407823 0.179027675121036
Fugacities
H2 C2H4 C3H6 CH4
Err:511 Err:511 Err:511 Err:511
Calculated as
(1-y2) with
These columns were calculated with spreadsheet The values in these two columns
spreadsheet formulas. formula were computed using Excel Solver.
Ln(x1)+ ln phi1 l Ln(x2)+ ln phi2 l y1 y2 P(bar)
Err:511 Err:511 0.1815864913 0.818413508687414 4.61572300324668
Err:511 Err:511 0.352012917 0.647987082953871 5.7627795809123
Err:511 Err:511 0.5128624169 0.487137583121595 7.49840961340244
Err:511 Err:511 0.6059511509 0.394048849134297 9.04508578654254
Err:511 Err:511 0.6674625011 0.33253749890697 10.4350489534193
Err:511 Err:511 0.7118313132 0.288168686794287 11.6964260312948
Err:511 Err:511 0.7459566681 0.254043331860097 12.8536671753386
Err:511 Err:511 0.77356105 0.226438949997582 13.9280242799278
Err:511 Err:511 0.7968392431 0.203160756858554 14.9379992509921
Err:511 Err:511 0.8171781992 0.182821800775776 15.8997465094198
Err:511 Err:511 0.8355062153 0.164493784724533 16.8274268557619
Err:511 Err:511 0.8524766539 0.147523346118951 17.7335138489737
Err:511 Err:511 0.8685711384 0.131428861583498 18.6290553278784
Err:511 Err:511 0.8841607717 0.115839228302277 19.5238931929382
Err:511 Err:511 0.8995442238 0.100455776173736 20.4268445495399
Err:511 Err:511 0.914972488 0.085027511986706 21.3458469818022
Err:511 Err:511 0.9306656738 0.0693343262011447 22.2880702505211
Err:511 Err:511 0.94682492 0.0531750799809583 23.2599960864105
Err:511 Err:511 0.9636412757 0.0363587242912237 24.2674671061886
Err:511 Err:511 0.9813027078 0.0186972922415351 25.3157051336705
Err:511 Err:511 0.996168283 0.0038317169812885 26.1867534589038
HCl+Cl2 at 273.15K
Bubble line
Dew line
0.6 0.8 1
ole fraction of HCl
Calculated as
(1-y2) with
These columns were calculated with spreadsheet Computed using These 2 columns were calculated with
spreadsheet formulas. formula. Excel Solver. array function psrklnphiv.
Ln(x1)+ ln phi1 l Ln(x2)+ ln phi2 l y1 y2 ln phi 1 v
Err:511 Err:511 0.7280824512 0.271917548784948 Err:511
Err:511 Err:511 0.9198676064 0.0801323935940837 Err:511
Err:511 Err:511 0.9504081555 0.0495918444702415 Err:511
Err:511 Err:511 0.9604572116 0.0395427884182031 Err:511
Err:511 Err:511 0.9651329703 0.0348670297332549 Err:511
Err:511 Err:511 0.9676416693 0.0323583307140729 Err:511
Err:511 Err:511 0.9690914183 0.0309085816614731 Err:511
Err:511 Err:511 0.9699789274 0.0300210725832992 Err:511
Err:511 Err:511 0.970571543 0.0294284570129543 Err:511
Err:511 Err:511 0.9710372107 0.028962789276528 Err:511
Err:511 Err:511 0.9714977162 0.0285022838000407 Err:511
Err:511 Err:511 0.972053883 0.0279461169551092 Err:511
Err:511 Err:511 0.9727991976 0.0272008023794421 Err:511
Err:511 Err:511 0.9738283176 0.0261716823576178 Err:511
Err:511 Err:511 0.9752433417 0.0247566582667951 Err:511
Err:511 Err:511 0.9771593133 0.0228406867087534 Err:511
Err:511 Err:511 0.9797098696 0.0202901303660564 Err:511
Err:511 Err:511 0.9830537619 0.0169462380696422 Err:511
Err:511 Err:511 0.9873829974 0.0126170026496363 Err:511
Err:511 Err:511 0.9929335527 0.0070664473116269 Err:511
Err:511 Err:511 0.9984488458 0.0015511542341897 Err:511
HCN+H2O at 291.15K
Bubble line
Dew line
0.6 0.8 1
action of HCN
e+benzene
These 4 columns were calculated with array function psrkresl. These columns were calculated with
spreadsheet formulas.
gr/(RT) liquid hr/(RT) liquid sr/R liquid cpr/R liquid Ln(x1)+ ln phi1 l
Err:511 Err:511 Err:511 Err:511 Err:511
E*10^(-3) F ln K
1.426171 0.220200 2.73939566674783
14.127914 7.665200 5.60139499734476
8.028224 -0.543700 -4.01814388114995
9.588485 -4.958900 -2.12000096665232
C2H6 C3H8
1 -1
0 1
2 0
0 1
uted, and then, their mole fractions, fugacity coefficients, and fugacities.
Extents of reaction
C2H6 C3H8 csi 1 csi 2 csi 3
0 0 1.71 0.99999 -0.79
Fugacity coefficients
C2H6 C3H8 H2 C2H4 C3H6
0.033247996808192 0.04347559213404 Err:511 Err:511 Err:511
C2H6 C3H8
Err:511 Err:511
Residue
Err:511
These 2 columns were calculated with These columns were calculated with
array function psrklnphiv. spreadsheet formulas.
ln phi 1 v ln phi 2 v Ln(y1)+ ln phi1 v Ln(y2)+ ln phi2 v
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511
Solver was used to
minimize this residue
by changing P and y1.
Equilibrium amounts
csi 4 H2 C2H4 C3H6
0.88 9.999999999954E-06 0.2 2.71001
0
coefficients
CH4 C2H6 C3H8
Err:511 Err:511 Err:511
Solver was used
to minimize this Unit conversion
residue by using
changing y2 spreadsheet
and P (bar). formula
residue P (Mpa)
Err:511 0.46157230032467
Err:511 0.57627795809123
Err:511 0.74984096134024
Err:511 0.90450857865425
Err:511 1.04350489534193
Err:511 1.16964260312948
Err:511 1.28536671753386
Err:511 1.39280242799278
Err:511 1.49379992509921
Err:511 1.58997465094198
Err:511 1.68274268557619
Err:511 1.77335138489737
Err:511 1.86290553278784
Err:511 1.95238931929382
Err:511 2.04268445495399
Err:511 2.13458469818022
Err:511 2.22880702505211
Err:511 2.32599960864105
Err:511 2.42674671061886
Err:511 2.53157051336705
Err:511 2.61867534589038
Reference:
Mattedi, S., Tavares, F. W., Castier, M., 2002. High pressure phase equilibrium calculations for hydrocarbon system
using an equation of state based on the lattice fluid theory. Fluid Phase Equilibria 194, 599–607.
R (bar.cm3/(mol.K)) 83.14
Group 1
Vinf (cm3/mol) 20.204
Qa 3.347
B (Kelvin) 9.268
u00 (Kelvin) -152.118
Nitrogen 1 Group description of Nitrogen: 1 N2.
35
30
25
20
15
10
0
60 70 80 90 100 110 120 130
Temperature (K)
15
10
0
60 70 80 90 100 110 120 130
Temperature (K)
R (bar.cm3/(mol.K)) 83.14
Group 1
Vinf (cm3/mol) 20.204
Qa 3.347
B (Kelvin) 9.268
u00 (Kelvin) -152.118
Nitrogen 1 Group description of Nitrogen: 1 N2.
Spreadsheet
formula
x Temperature (K) Pespec (bar) cpig (J/(mol.K))
1 150 1.0132 2.97E+01
1 155 1.0132 2.96E+01
1 160 1.0132 2.96E+01
1 165 1.0132 2.96E+01
1 170 1.0132 2.96E+01
1 175 1.0132 2.95E+01
1 180 1.0132 2.95E+01
1 185 1.0132 2.95E+01
1 190 1.0132 2.95E+01
1 195 1.0132 2.94E+01
1 200 1.0132 2.94E+01
1 205 1.0132 2.94E+01
1 210 1.0132 2.94E+01
1 215 1.0132 2.94E+01
1 220 1.0132 2.93E+01
1 225 1.0132 2.93E+01
1 230 1.0132 2.93E+01
1 235 1.0132 2.93E+01
1 240 1.0132 2.93E+01
1 245 1.0132 2.93E+01
1 250 1.0132 2.93E+01
1 255 1.0132 2.92E+01
1 260 1.0132 2.92E+01
1 265 1.0132 2.92E+01
1 270 1.0132 2.92E+01
1 275 1.0132 2.92E+01
1 280 1.0132 2.92E+01
1 285 1.0132 2.92E+01
1 290 1.0132 2.92E+01
1 295 1.0132 2.92E+01
1 300 1.0132 2.92E+01
1 305 1.0132 2.92E+01
1 310 1.0132 2.92E+01
1 315 1.0132 2.92E+01
1 320 1.0132 2.92E+01
1 325 1.0132 2.92E+01
1 330 1.0132 2.92E+01
1 335 1.0132 2.92E+01
1 340 1.0132 2.92E+01
1 345 1.0132 2.92E+01
1 350 1.0132 2.92E+01
Speed of sound (m/s)
400
380
360
340
320
300
280
260
240
220
200
100 150 200 250 300 350
Temperature (K)
R (bar.cm3/(mol.K)) 83.14
Group 1
Vinf (cm3/mol) 19.176
Qa 2.841
B (Kelvin) 17.594
u00 (Kelvin) -192.186
Oxygen 1 Group description of Oxygen: 1 O2.
Spreadsheet
formula
x Temperature (K) Pespec (bar) cpig (J/(mol.K))
1 150 1.0132 28.466
1 155 1.0132 28.489
1 160 1.0132 28.513
1 165 1.0132 28.537
1 170 1.0132 28.562
1 175 1.0132 28.587
1 180 1.0132 28.613
1 185 1.0132 28.639
1 190 1.0132 28.667
1 195 1.0132 28.694
1 200 1.0132 28.722
1 205 1.0132 28.751
1 210 1.0132 28.781
1 215 1.0132 28.810
1 220 1.0132 28.841
1 225 1.0132 28.872
1 230 1.0132 28.903
1 235 1.0132 28.935
1 240 1.0132 28.968
1 245 1.0132 29.001
1 250 1.0132 29.034
1 255 1.0132 29.068
1 260 1.0132 29.102
1 265 1.0132 29.137
1 270 1.0132 29.172
1 275 1.0132 29.208
1 280 1.0132 29.244
1 285 1.0132 29.281
1 290 1.0132 29.318
1 295 1.0132 29.355
1 300 1.0132 29.393
1 305 1.0132 29.431
1 310 1.0132 29.469
1 315 1.0132 29.508
1 320 1.0132 29.548
1 325 1.0132 29.587
1 330 1.0132 29.627
1 335 1.0132 29.668
1 340 1.0132 29.709
1 345 1.0132 29.750
1 350 1.0132 29.791
1 355 1.0132 29.833
1 360 1.0132 29.875
1 365 1.0132 29.917
1 370 1.0132 29.959
1 375 1.0132 30.002
1 380 1.0132 30.045
1 385 1.0132 30.089
1 390 1.0132 30.132
1 395 1.0132 30.176
1 400 1.0132 30.221
Speed of sound (m/s)
400
380
360
340
320
300
280
260
240
220
200
100 150 200 250 300 350 400
Temperature (K)
or hydrocarbon systems
2000
1900
1800
1700
1600
1500
1400
1300
1200
1000
1600
1500
1400
1300
1200
1000
60 70 80 90 100 110 120 130
Temperature (K)
0 350 400
28.11 -3.680E-06 1.746E-05 -1.065E-08
50 400 450
srrl cprrl grrtv hrrtv
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
110 120 130
Reference:
Work in progress
vcell 5
sum q 1.742253
Fractional q 0.492302209 0.408785062
Vinf 5.290993373 4.393397011
R (J/(mol.K)) 8.314
r 2.14949
Water
D-group alpha group
Vinf (m3/mol) 0.000005290993373 0.000004393397011
Qa 0.857715 0.712207
B (Kelvin) D-group 700.671 700.671
alpha group 700.671 700.671
beta group 700.671 0
Na+ (group) 0 0
Cl- (group) 0 0
u00 (Kelvin) D -535.864 -535.864
alpha -535.864 -535.864
beta -535.864 -2625.69
Na+ (group) -277.068 -277.068
Cl- (group) -277.068 -277.068
Frequency water 1 1
Na+ ion 0 0
Cl-ion 0 0
Charge 0 0
Sigma (meters) 1 1
Dielectric coeff 1 -19.29050 0
Dielectric coeff 2 29814.5 0
Dielectric coeff 3 -0.019678 0
Dielectric coeff 4 0.00013189 0
Dielectric coeff 5 -0.0000003 0
T(K) P (Pa) H2O
373.331565497864 1.01E+05 1.00E+00
373.200461247694 1.01E+05 9.90E-01
372.447044086154 1.01E+05 9.80E-01
371.21701642726 1.01E+05 9.70E-01
369.561114846716 1.01E+05 9.60E-01
0.09891273
1.063059616
1.063059616 5 5
12.7 12.7
x liquid
Na+ Cl- H2O
1.00E-04 1.00E-04 Err:511
5.10E-03 5.10E-03 Err:511
1.01E-02 1.01E-02 Err:511
1.51E-02 1.51E-02 Err:511
2.01E-02 2.01E-02 Err:511
???????
???????
ln fi y vapor
Na+ Cl- H2O Na+ Cl- H2O
Err:511 Err:511 1.00E+00 1.00E-20 1.00E-20 Err:511
Err:511 Err:511 1.00E+00 1.00E-20 1.00E-20 Err:511
Err:511 Err:511 1.00E+00 1.00E-20 1.00E-20 Err:511
Err:511 Err:511 1.00E+00 1.00E-20 1.00E-20 Err:511
Err:511 Err:511 1.00E+00 1.00E-20 1.00E-20 Err:511
ln fi
Na+ Cl- delta ln fugacity delta^2
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
sum Err:511
Physical properties from the electrolattice equation of state for ions of unequal diameters
Reference:
Work in progress
vcell 5
sum q 1.742253
Fractional q 0.492302209 0.408785062 0.09891273
Vinf 5.290993373 4.393397011 1.063059616
R (J/(mol.K)) 8.314
r 2.14949 12.7
Water
D-group alpha group beta group Na+ (group)
Vinf (m3/mol) 5.290993E-06 0.000004393397011 1.06306E-06 0.0000635
Qa 0.857715 0.712207 0.172331 10.36
B (Kelvin) D-group 700.671 700.671 700.671 0
alpha group 700.671 700.671 0 0
beta group 700.671 0 700.671 0
Na+ (group) 0 0 0 0
Cl- (group) 0 0 0 0
u00 (Kelvin) D -535.864 -535.864 -535.864 -277.068
alpha -535.864 -535.864 -2625.69 -277.068
beta -535.864 -2625.69 -535.864 -277.068
Na+ (group) -277.068 -277.068 -277.068 -468.877
Cl- (group) -277.068 -277.068 -277.068 -468.877
Frequency water 1 1 1 0
Na+ ion 0 0 0 1
Cl-ion 0 0 0 0
Charge 0 0 0 1
Sigma (meters) 1 1 1 2.536E-10
Dielectric coeff 1 -19.29050 0 0 0
Dielectric coeff 2 29814.5 0 0 0
Dielectric coeff 3 -0.019678 0 0 0
Dielectric coeff 4 0.00013189 0 0 0
Dielectric coeff 5 -0.0000003 0 0 0
x
T(K) P (Pa) H2O Na+ Cl-
373.331565497864 1.01E+05 1.00E+00 1.00E-04 1.00E-04
373.200461247694 1.01E+05 9.90E-01 5.10E-03 5.10E-03
372.447044086154 1.01E+05 9.80E-01 1.01E-02 1.01E-02
371.21701642726 1.01E+05 9.70E-01 1.51E-02 1.51E-02
369.561114846716 1.01E+05 9.60E-01 2.01E-02 2.01E-02
of unequal diameters
pecifications.
5 ???????
12.7
Cl- (group)
0.0000635 ???????
10.36
0
0
0 red: for now just arbitrary values
0
0
-277.068
-277.068
-277.068
-468.877
-468.877
0
0
1
-1
2.536E-10
0 Yellow: always zero
0
0 Green: always non-zero, any value
0
0
liquid ln fi y vapor ln fi
H2O Na+ Cl- H2O Na+ Cl- H2O Na+
Err:511 Err:511 Err:511 1.00E+00 1.00E-20 1.00E-20 Err:511 Err:511
Err:511 Err:511 Err:511 1.00E+00 1.00E-20 1.00E-20 Err:511 Err:511
Err:511 Err:511 Err:511 1.00E+00 1.00E-20 1.00E-20 Err:511 Err:511
Err:511 Err:511 Err:511 1.00E+00 1.00E-20 1.00E-20 Err:511 Err:511
Err:511 Err:511 Err:511 1.00E+00 1.00E-20 1.00E-20 Err:511 Err:511
Cl- delta ln fugacitydelta^2
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
sum Err:511
Physical properties and phase equilibrium of petroleum fractions and lumps
Bubble point of a mixture of carbon dioxide, n-hexane, and an oil fraction characterized by its norm
R (bar.cm3/(mol.K)) 83.14
T (K) 400
P(bar) 5
Mole fractions ln phi
CO2 n-hexane oil fraction CO2 n-hexane oil fraction CO2
Liquid 0.05 0.7 0.25 Err:511 Err:511 Err:511 Err:511
Vapor 0.55 0.4 0.05 Err:511 Err:511 Err:511 Err:511
delta Err:511
delta ^ 2 Err:511
Isothermal flash calculation for a mixture of carbon dioxide, n-hexane, and an oil fraction character
Mole numbers
CO2 n-hexane oil fraction Total
Total 0.8 0.79 0.9 2.49
Liquid 0.2 0.64 0.85 1.69
Vapor 0.6 0.15 0.05 0.8
T (K) 350
P(bar) 5
Mole fractions ln phi
CO2 n-hexane oil fraction CO2 n-hexane oil fraction CO2
Liquid 0.1183432 0.3786982 0.50295858 Err:511 Err:511 Err:511 Err:511
Vapor 0.75 0.1875 0.0625 Err:511 Err:511 Err:511 Err:511
cterized by its normal boiling point and specific gravity
cience and Technology – Rev. IFP, Vol. 63 (2008), No. 2, pp. 229-237.
ln fugacity
n-hexane oil fraction
Err:511 Err:511
Err:511 Err:511
Err:511 Err:511 Difference between ln fugacity in the liquid and vapor phases
Err:511 Err:511 The values above raised to power 2 so that all are not negative.
sum delta^2 Err:511 Use solver to minimize this cell by changing the blue cells
Total (liquid+vapor) Err:511 Use solver to minimize this cell by changing the blue cells
do the following:
wns (blue cells) are
tic scaling".
IN PREPARATION
Azeotrope in the 2-propanol (1) + water (2) mixture
R (cal/(mol.K)) T(K)
1.987 353.15
2-propanol water
V (cm3/mol) 76.92 18.07
Binary interactions (cal/mol) 0.00 437.98
1238.00 0.00
x1
0
0.005
0.01
0.015
0.02
0.025
0.03
0.035
0.04
0.045
0.05
0.055
0.06
0.065
0.07
0.075
0.08
0.085
0.09
0.095
0.1
0.105
0.11
0.115
0.12
0.125
0.13
0.135
0.14
0.145
0.15
0.155
0.16
0.165
0.17
0.175
0.18
0.185
0.19
0.195
0.2
0.205
0.21
0.215
0.22
0.225
0.23
0.235
0.24
0.245
0.25
0.255
0.26
0.265
0.27
0.275
0.28
0.285
0.29
0.295
0.3
0.305
0.31
0.315
0.32
0.325
0.33
0.335
0.34
0.345
0.35
0.355
0.36
0.365
0.37
0.375
0.38
0.385
0.39
0.395
0.4
0.405
0.41
0.415
0.42
0.425
0.43
0.435
0.44
0.445
0.45
0.455
0.46
0.465
0.47
0.475
0.48
0.485
0.49
0.495
0.5
0.505
0.51
0.515
0.52
0.525
0.53
0.535
0.54
0.545
0.55
0.555
0.56
0.565
0.57
0.575
0.58
0.585
0.59
0.595
0.6
0.605
0.61
0.615
0.62
0.625
0.63
0.635000000000001
0.640000000000001
0.645000000000001
0.650000000000001
0.655000000000001
0.660000000000001
0.665000000000001
0.670000000000001
0.675000000000001
0.680000000000001
0.685000000000001
0.690000000000001
0.695000000000001
0.700000000000001
0.705000000000001
0.710000000000001
0.715000000000001
0.720000000000001
0.725000000000001
0.730000000000001
0.735000000000001
0.740000000000001
0.745000000000001
0.750000000000001
0.755000000000001
0.760000000000001
0.765000000000001
0.770000000000001
0.775000000000001
0.780000000000001
0.785000000000001
0.790000000000001
0.795000000000001
0.800000000000001
0.805000000000001
0.810000000000001
0.815000000000001
0.820000000000001
0.825000000000001
0.830000000000001
0.835000000000001
0.840000000000001
0.845000000000001
0.850000000000001
0.855000000000001
0.860000000000001
0.865000000000001
0.870000000000001
0.875000000000001
0.880000000000001
0.885000000000001
0.890000000000001
0.895000000000001
0.900000000000001
0.905000000000001
0.910000000000001
0.915000000000001
0.920000000000001
0.925000000000001
0.930000000000001
0.935000000000001
0.940000000000001
0.945000000000001
0.950000000000001
0.955000000000001
0.960000000000001
0.965000000000001
0.970000000000001
0.975000000000001
0.980000000000001
0.985000000000001
0.990000000000001
0.995000000000001
1
Original reference
Calvo, Beatriz, I. Collado, and E.A. Cepeda
Solubilities of Palmitic Acid in Pure Solvents and Its Mixtures
J. Chem. Eng. Data, 2009, 54 (1), 64-68.
Mr. Mohammed Faraj Al Falahi and Mr. Mohammed Al Shekaili assisted in the preparation of this example
where the subscript "f" indicates fusion properties. This is the formula used here.
Palmitic acid
delta hf (J/mol) 53711
Tf (K) 335.8
R (J/(mol.K))
8.314
Palmitic acid (1) ethanol (2)
0 0.3
alfa 0.3 0
0 -2111.4
Binary interactions (J/mol) 6427.06 0
0.45
0.4
0.35
0.3
0.25
0.2 Experimental
Calculated
0.15
0.1
0.05
0
285 290 295 300 305 310 315 320 325 330
Temperature (K)
Original reference
Vapor-Liquid Equilibrium for Binary Systems of Diacetyl with Methanol and Acetone
Soni, M., D. Ramjugernath, and J.D. Raal
J. Chem. Eng. Data 2006, 51, 2083-2087
R (J/(mol.K))
8.314
alfa 0 0.3
0.3 0
Binary interactions (cal/mol) 0 -2724.817
3921.795 0
sed here.
Calculated Calculated Simplified solubility (Simplified solubility
ln (gamma1) ln (gamma1) equation equation)^2
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 Err:511
Experimental
Calculated
P (kPa)
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 65
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 60
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 55
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
50
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 45
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511 40
Err:511 Err:511 Err:511 0 0.1 0.2 0.3 0.4 0.5 0.6
Err:511 Err:511 Err:511 x1,y1
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
Err:511 Err:511 Err:511
l by changing the blue cells
ll data points are found in a
P (kPa) y1 y2
Err:511 Err:511 Err:511
0.4 0.5 0.6 0.7 0.8 0.9 1
x1,y1