Residue Curve Map for Homogeneous Reactive Quaternary Mixtures HOUSAM BINOUS National Institute of Applied Sciences and Technology, BP 676 Centre Urbain Nord, 1080 Tunis, Tunisia

Received 15 September 2005; accepted 8 May 2006

ABSTRACT: We show how one can compute residue curve maps (RCMs) for the methyl acetate and isopropyl acetate chemistries at atmospheric pressure. These computations involve solving a complex system of differential algebraic equations (DAEs). This can be readily achieved using the built-in functions of Mathematica and MATLAB. The governing equations, which depend on transformed compositions, are provided. Equations to compute vaporliquid equilibrium when there is dimerization in the gas phase are given because of the presence of acetic acid in both quaternary mixtures. The occurrence of a chemical reaction leads to the disappearance of an azeotrope in the methyl acetate chemistry. On the other hand, a reactive azeotrope appears in the isopropyl acetate chemistry. Transformed compositions of these azeotropes are provided. The MATLAB programs and Mathematica notebooks are available from the author upon request or via http://library.wolfram.com/infocenter/search/? search_results¼1;search_person_id¼1536 or http://www.mathworks.com/matlabcentral/ fileexchange/loadAuthor.do?objectType¼author&objectId¼1093893. ß 2007 Wiley Periodicals, Inc. Comput Appl Eng Educ 15: 7377, 2007; Published online in Wiley InterScience (www.interscience.wiley.com); DOI 10.1002/cae.20099

Keywords: upper-division undergraduate education; system of differential algebraic equations; reactive distillation

INTRODUCTION For decades reactors were followed by separation units such as distillation columns in order to recycle reactants and to separate products. Reactive distillation, which combines both operations in a single equipment, presents many advantages such as increas-

Correspondence to H. Binous ([email protected]). ß 2007 Wiley Periodicals Inc.

ed selectivity, lower capital investment and operating costs, higher conversion in the case of equilibriumlimited reactions such as the esterification reactions considered in the present article, decreased risks of reaction runaway, separation of close-boiling compounds, and reduction environmental emissions. . . The computation and analysis of residue curve maps (RCMs) is an important tool in the conceptual design of reactive distillation columns. This undertaking may seem to be a haunting task to our undergraduate students. In fact, they have to master chemical and 73

74

BINOUS

phase equilibrium notions, simple distillation theory, and numerical methods to solve the system of differential algebraic equations (DAEs). Fortunately, mathematical softwares such as Mathematica and MATLAB offer a huge number of built-in functions, adds-on packages, and toolboxes that can make RCMs calculation, as well as a large number of chemical engineering problems, easily tractable. We start by giving the governing equations for simple distillation of homogeneous reactive mixtures. Next, we provide the reader with the fundamental relations needed to perform phase equilibrium computations. Esterification reactions of methanol and isopropanol with acetic acid form methyl acetate and isopropyl acetate, respectively. These two products have important industrial applications. Methyl acetate is an active solvent for a broad range of coating and ink resins. In addition, it has a mild odor and a fast evaporation rate. Methyl acetate was produced using a single reactive distillation column for the first time in 1983 by Eastman Chemical Company, Kingsport, Tennessee. Isopropyl acetate is an active solvent for several synthetic resins used in paints and glues such as cellulosics, vinyl copolymers, polyesters, polyamides, acrylics, and alkyds. RCMs concerning both esterification reactions are provided. The last sections give few indications concerning the Mathematica notebooks and MATLAB programs used to perform the RCMs calculations.

GOVERNING EQUATIONS FOR SIMPLE DISTILLATION WITH REACTION We consider simple distillation problems, whose setup is shown in Figure 1, in the presence of a single reaction in the liquid phase: C X

ni A i ¼ 0

ð1Þ

i¼1

Following the treatment of Barbosa and Doherty [1], we define new variables called transformed compositions in each of the liquid and vapor phase: Xi ¼

xi  nnki xk 1  nnTk xk

i ¼ 1; ::; c i 6¼ k

ð2Þ

yi  nnki yk nT nk

These transformed variables obey the following summation rules: C X ð4Þ Xi ¼ 1 i¼1 i 6¼ k and C X ð5Þ Yi ¼ 1 i¼1 i 6¼ k The details of the derivation of the governing equations can be found in the pioneering article by Barbosa and Doherty [1]. These equations are obtained from overall and component material balances. After some algebraic manipulations of the material balances and the definition of new time variable called warped time, t, one obtains the following simple form of DAEs: dXi ¼ Xi  Y i dt

i ¼ 1; ::; c  1

i 6¼ k

ð6Þ

The singular points are either saddle points, stable, or unstable nodes and they appear when the following conditions are verified: Xi ¼ Yi i ¼ 1; ::; c  2

ð7Þ

The reaction equilibrium constant can be written as a function of the activities as follows:

and Yi ¼

Schematic of a simple distillation with reaction setup.

Figure 1

i ¼ 1; ::; c

i 6¼ k

ð3Þ

1  yk P where nT ¼ ci¼1 ni and subscript k corresponds to a reference component that will be placed at the origin in the RCMs diagram.

Keq ¼

C Y

ðxi gi Þni

ð8Þ

i¼1

Equations (9) and (10) give the experimental expressions of the esterification equilibrium constants for the methyl acetate and the isopropyl acetate

RESIDUE CURVE MAP

problems, respectively. The equilibrium constant for the esterification of isopropanol is assumed to be independent of temperature. Keq ¼ eð0:83983þ782:98=TÞ

ð9Þ

Keq ¼ 8:7

ð10Þ

Values of the various parameters for the Wilson and NRTL models and Antoine equation can be found in the programs and notebooks [4,5]. Finally, one has to use modified vaporliquid relations to take into account the dimerization of acetic acid in the vapor phase [6,7]. For the acetic acid, this relation is as follows: zA PyA ¼ Psat A gA x A

VAPORLIQUID EQUILIBRIUM RELATIONS To perform the integration of the DAEs governing the problem, one has to compute the vapor composition in equilibrium with the liquid phase. Since there is deviation from ideality in the liquid phase, appropriate expressions of the activity coefficients must be used. For the methyl acetate chemistry problem, the Wilson model [2] is used: ! m m X X xi Aik ln gk ¼  ln xj Akj þ 1  ð11Þ m P j¼1 i¼1 xj Aij

75

ð16Þ

and zA ¼

 12 1 þ 1 þ 4KPsat A 1

1 þ ð1 þ 4KPyA ð2  yA ÞÞ2

ð17Þ

where the equilibrium constant for the dimerization of acetic acid, K, is taken to be a function of temperature: K ¼ 10ð12:5454þ3166=TÞ

ð18Þ

For the non-associating species, the vaporliquid relations are given by: zi Pyi ¼ Psat i gi x i

j¼1

ð19Þ

and In Equation (11), Aij is the binary interaction parameter, which depends on the molar volumes (vi and vj expressed in cm3/mol) and the energy terms lii and lij (expressed in kcal/kmol),   vj lij  lii Aij  exp  ð12Þ vi RT For the isopropyl acetate chemistry case, the NRTL model [3] is used: 13 t G x kj kj k C7 C 6 B X j¼1 6 xj Gij B C7 k¼1 ln gi ¼ C þ 6C Btij  C C7 4 @ A5 P P P j¼1 Gki xk Gkj xk Gkj xk C P

2

0

tji Gji xj

k¼1

k¼1

C P

k¼1

ð13Þ where xi is the mole fraction of a component and Gij and tij are written as follows, Gji ¼ expð  aji tji Þ

tij ¼

ðgij  gjj Þ RT

ð14Þ

where gij are the energy parameters (expressed in kcal/ kmol) and aij are the non-randomness parameters (nondimensional).

The vapor pressure Psat is obtained using i Antoine’s equation, ln Psat i ¼ Ai 

Bi Ci þ T

ð15Þ

  1 2 1  yA þ ð1 þ 4KPyA ð2  yA ÞÞ2   zi ¼ 1 ð2  yA Þ 1 þ ð1 þ 4KPyA ð2  yA ÞÞ2

ð20Þ

METHYL ACETATE CHEMISTRY Esterification of acetic acid with methanol produces water and methyl acetate according to the following reaction: CH3 COOH þ CH3 OH ! CH3 COOCH3 þ H2 O ð21Þ The residue curves correspond to the solution of the DAEs obtained starting from different initial conditions. These curves, computed with MATLAB, are plotted in Figure 2. The same results are obtained with Mathematica using a different numerical approach that is described in the corresponding section below. The method using MATLAB is far more superior in terms of speed of computation and ease of programming. The azeotrope between methyl acetate and water disappears because of the reaction. This azeotrope is said to be reacted away. There is an azeotrope between methanol and methyl acetate. This azeotrope corresponds to an unstable node and has the following transformed compositions: X1 ¼ 0:6693

and

X2 ¼ 1

76

BINOUS

costly and tedious. Thus, predicting reactive azeotropes computationally represents an attractive alternative that can be employed in conjunction with a smaller number of experimental measurements. In addition to the reactive azeotrope, there are two nonreactive binary azeotropes. The first is between isopropanol and isopropyl acetate while the other is between isopropanol and water. Both non-reactive azeotropes are saddle points.

RCMs USING MATHEMATICA Figure 2 RCMs for methyl acetate chemistry.

ISOPROPYL ACETATE CHEMISTRY Another esterification example, that we consider here, is the reaction of acetic acid with isopropanol to yield water and isopropyl acetate as follows: CH3 COOH þ CH3 CHðOHÞCH3 ð22Þ ! CH3 COOCHðCH3 Þ2 þ H2 O The residue curves, calculated with MATLAB, are plotted in Figure 3. The same figure is obtained with Mathematica. There is a reactive azeotrope that appears. This azeotrope corresponds to an unstable node and has the following transformed compositions: X1 ¼ 0:231

and

X2 ¼ 0:748

These values are in agreement with those found by Maier and coworkers [8] and are slightly different from those reported by Doherty and Malone [9]. The experimental determination of reactive azeotropes is

The procedure used to solve the DAEs with Mathematica is based on the built-in command FindRoot, which allows the computation of the vapor composition and the bubble temperature knowing the liquid composition of the quaternary mixture. One has to input in the notebook the proper model for the calculation of activity coefficients, the reaction equilibrium equation as well as the vaporliquid equilibrium relations. Then, we find the liquid composition, corresponding to the next time step, by using the Euler’s method of integration. The iteration loop is stopped when we reach a singular point, which corresponds to a pure component, a non-reactive azeotrope or a reactive azeotrope. Finally, the list containing the transformed compositions in the liquid phase is plotted using the Mathematica command ListPlot.

RCMs USING MATLAB The method in the MATLAB environment is based on the built-in command named ode15s, which can solve DAEs when correctly called. In fact, this command uses a diagonal mass matrix, which multiplies the time derivatives. In the case of DAEs, this mass matrix is singular because some of its diagonal coefficients are equal to zero. These coefficients correspond to the algebraic equations such as the vaporliquid and chemical equilibrium equations. We have to also provide to MATLAB information about the activity coefficients, the equilibrium constant for the esterification reaction, and the dimerization of acetic acid.

CONCLUSIONS

Figure 3 RCMs for isopropyl acetate chemistry.

In the present article, we have shown how one can easily compute RCMs of quaternary systems undergoing esterification reactions. Both Mathematica and MATLAB can be used to carry out the calculation

RESIDUE CURVE MAP

and we get similar results. The author recommends using MATLAB, which seems to have superior performances for this kind of numerical problems. These calculations constitute an excellent study material for junior and senior level students. DAEs, involved in this study, have been a good opportunity for the author to introduce his students, at the National Institute of Applied Sciences in Tunis, to Mathematica and MATLAB.

NOMENCLATURE c Keq K P Psat i R T xi Xi yi Yi t ni gi

number of mixture components esterification equilibrium constant dimerization equilibrium constant total pressure vapor pressure of component i gas constant temperature liquid mole fraction of component i transformed composition in the liquid phase vapor mole fraction of component i transformed composition in the vapor phase warped time stoichiometric coefficient of component i activity coefficient of component i

BIOGRAPHY Housam Binous is a full time faculty member at the National Institute of Applied Sciences and Technology in Tunis. He earned a diploˆme d’inge´nieur in biotechnology from the Ecole des Mines de Paris and a PhD in chemical engineering from the University of California at Davis. His research interests include the applications of computers in chemical engineering.

77

REFERENCES [1] D. Barbosa and M. F. Doherty, The simple distillation of homogeneous reactive mixtures, Chem Eng Sci 43 (1988), 541550. [2] J. W. Tester and M. Modell, Thermodynamics and its applications (3rd ed.), Prentice Hall, Upper Saddle River, NJ, 1996. [3] J. M. Prausnitz, R. N. Lichtenthaler, and E. G. deAzevedo, Molecular thermodynamics of fluid-phase equilibria (3rd ed.), Prentice Hall, Englewood Cliffs, NJ, 1998. [4] http://library.wolfram.com/infocenter/search/?search_ results¼1;search_person_id¼1536. [5] http://www.mathworks.com/matlabcentral/fileexchange/ loadAuthor.do? objectType¼author&objectId¼1093893. [6] J. Marek and G. Standart, Vaporliquid equilibria in mixtures containing an associating substance. I. Equilibrium relationships for systems with an associating component, Colin Czech Chem Commun Eng Edn 19 (1954), 10741084. [7] J. Marek, Vaporliquid equilibria in mixtures containing an associating substance. II. Binary mixtures of acetic acid at atmospheric pressure, Colin Czech Chem Commun Engl Edn 20 (1955), 14901502. [8] R. W. Maier, J. F. Brennecke, and M. A. Stadtherr, Reliable computation of reactive azeotropes, Comp Chem Eng 24 (2000), 18511858. [9] M. F. Doherty and M. F. Malone, Conceptual design of distillation systems, McGraw-Hill, New York, 2001.

Residue curve map for homogeneous reactive quaternary mixtures

HOUSAM BINOUS. National Institute of Applied Sciences and Technology, BP 676 Centre Urbain Nord, 1080 Tunis, Tunisia ... involve solving a complex system of differential algebraic equations (DAEs). This can be .... ease of programming.

135KB Sizes 1 Downloads 196 Views

Recommend Documents

Residue curve map for homogeneous reactive ... - Wiley Online Library
National Institute of Applied Sciences and Technology, BP 676 Centre Urbain Nord, 1080 Tunis, Tunisia. Received 15 September 2005; accepted 8 May 2006.

Residue curve map for homogeneous reactive ...
The MATLAB programs and Mathematica notebooks are available from the ... Keywords: upper-division undergraduate education; system of differential algebraic equations; reactive ..... the Ecole des Mines de Paris and a PhD in chemical ...

Mixtures of Inverse Covariances
class. Semi-tied covariances [10] express each inverse covariance matrix 1! ... This subspace decomposition method is known in coding ...... of cepstral parameter correlation in speech recognition,” Computer Speech and Language, vol. 8, pp.

Concord: Homogeneous Programming for Heterogeneous Architectures
Mar 2, 2014 - Irregular applications on GPU: benefits are not well-understood. • Data-dependent .... Best. Overhead: 2N + 1. Overhead: N. Overhead: 1. Lazy.

Invariance principles for homogeneous sums ...
to which most information about large random systems (such as the “distance .... analytic structure of f interacts with the specific “shape” of the distribution of the.

An Evolutionary Algorithm for Homogeneous ...
fitness and the similarity between heterogeneous formed groups that is called .... the second way that is named as heterogeneous, students with different ...

Invariance principles for homogeneous sums ...
first N elements of X. As in (1.1), and when there is no risk of confusion, we will drop the dependence on N and f in order to simplify the notation. Plainly, E[Qd(X)] = 0 and also, if. E(X2 i. ) = 1 for every i, ... In the specific case where Z is G

Prioritising quaternary catchments for invasive alien - WIS
We used the Analytic Hierarchy Process. (AHP) to ..... (Working for Water Information Management System) database. .... Protect surface water systems (restore.

Prioritising quaternary catchments for invasive alien - WIS
quaternary catchment is given in parentheses after the project name. ...... Kleynhans, C.J. (2000) Desktop estimates of the ecological importance and sensitivity.

2. Generalized Homogeneous Coordinates for ...
ALYN ROCKWOOD. Power Take Off Software, Inc. ... direct computations, as needed for practical applications in computer vision and similar fields. ..... By setting x = 0 in (2.26) we see that e0 is the homogeneous point corre- sponding to the ...

A Simple Algorithm for Clustering Mixtures of Discrete ...
mixture? This document is licensed under the Creative Commons License by ... on spectral clustering for continuous distributions have focused on high- ... This has resulted in rather ad-hoc methods for cleaning up mixture of discrete ...

The Laffer curve for high incomes
Aug 31, 2017 - India. 2.68 2011. Ireland. 2.88 2010. 1.98 2009. Israel. 2.97 2012. Italy ... Preferences: Evidence from Swedish Local Elections. 30 pp. 2016:6 ...

The Laffer curve for high incomes - DiVA
31 Aug 2017 - Swedish population data show that the simulated curve matches the theoretically derived Laffer curve well, ... the Laffer curve. ∗Department of Economics and Uppsala Center for Fiscal Studies, Uppsala University. Email: ... of this by

Invariance principles for homogeneous sums of free ...
In [6], the authors were motivated by solving two conjectures, namely the Majority Is Stablest ...... Center successively every random variable X mp1 i′ p1 .... we call contraction of f with respect to γ the function Cγ(f) : {1,...,N}n−p → R

Interactive system for local intervention inside a non-homogeneous ...
Feb 8, 2001 - Gonzalez, “Digital Image Fundamentals,” Digital Image Processing,. Second Edition, 1987 ... Hamadeh et al., “Towards Automatic Registration Between CT and .... and Analysis, Stealth Station Marketing Brochure (2 pages).

The Laffer curve for high incomes - DiVA
Aug 31, 2017 - Swedish population data show that the simulated curve matches the theoretically derived Laffer curve ... the Laffer curve. ∗Department of Economics and Uppsala Center for Fiscal Studies, Uppsala University. ...... 2016:15 Felipe Caro

Interactive system for local intervention inside a non-homogeneous ...
Feb 8, 2001 - Tech. Biol. Med., vol. 13, No.4, 1992, pp. 409-424. (Continued) ...... nation Systems, and Support Systems,” Journal of Microsurgery, vol. 1, 1980 ...

Elements Compounds Mixtures Solutions Worksheet.pdf
Chicken Soup. 12. Lemonade. Page 2 of 2. Elements Compounds Mixtures Solutions Worksheet.pdf. Elements Compounds Mixtures Solutions Worksheet.pdf.

MIXTURES OF INVERSE COVARIANCES Vincent ...
We introduce a model that approximates full and block- diagonal covariances in a Gaussian mixture, while reduc- ing significantly both the number of parameters to estimate and the computations required to evaluate the Gaussian like- lihoods. The inve

mixtures of inverse covariances: covariance ... - Vincent Vanhoucke
Jul 30, 2003 - of the software infrastructure that enabled this work, I am very much indebted to. Remco Teunen .... 6.2.2 Comparison against Semi-Tied Covariances . ...... Denoting by ⋆ the Kronecker product of two vectors, the Newton update can be

Learning Reactive Robot Behavior for Autonomous Valve ...
Also, the valve can. be rusty and sensitive to high forces/torques. We specify the forces and torques as follows: 368. Page 3 of 8. Learning Reactive Robot Behavior for Autonomous Valve Turning_Humanoids2014.pdf. Learning Reactive Robot Behavior for

Reactive DVFS Control for Multicore Processors - GitHub
quency domains of multicore processors at every stage. First, it is only replicated once ..... design/processor/manuals/253668.pdf. [3] AMD, “AMD Cool'n'Quiet.

prioritising quaternary catchments for invasive alien ...
quaternary catchments using Expert Choice 11.5 decision support software (Anon. ..... National Protected Areas Database (SANBI)- (Biodiversity GIS 2010).