Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
capability to simulate large flowsheets with considerable detail on the desk-top. Process
flowsheet simulators having sophisticated user interfaces, large physi-cal properties databanks,
enough
From a practical standpoint, process simulators provide a ingly unfold in front of us in the real world, and we just go
reliable platform for solving material and energy balances along for the ride.
using variations of the sequential modular- or equation-based Thus, the difference between a talented user of process
approaches. Albeit a few pathological problems still exist simulators and a generator of case studies is the ability to
related to multiple solutions for a flowsheet and poor recycle generate plausible simulations bound by the reality defined
convergence, by and large, an engineer can create a complex by the fundamental laws of chemistry and physics. Here is
flowsheet with minimal difficulty using icons. The user can where a talented author has a significantly easier task than an
then drag and drop unit operations, and he or she expects it engineer, since an engineer has to craft a story to con-form to
to converge without problems. In many cases, this is exactly thermodynamic laws and fluid behavior.
what will happen. These laws and behavior are well known and, therefore,
Given the wide variety of available thermodynamic should be properly packaged and reliably available in simu-
models and unit operations libraries available, and thou- lators; thus, engineers are limited by their creativity in piec-
sands of built-in pure-component and interaction parame- ing together a flowsheet to tell a good story. Indeed, the first
ters (also, the ability of automatically estimating missing and second laws of thermodynamics are well understood and
physical properties and interaction parameters), it seems properly implemented in the model equations used to
that most chemical processing problems can be dealt with describe unit operations and unit operation connectivity.
accurately and reliably. Unfortunately, this is more of a Thermodynamic equilibrium equations have been well
dream than reality. known for more than a century, therefore, all is well, eh?
Perhaps, not.
Science fiction or science fact?
In the same way that a writer can manipulate words A trivial example
and concepts to create stories, engineers can use simula- Let us say we want to model an ethanol production fa-
tors to generate fictional plant stories that describe how di- cility, and we specify a volume fraction of ethanol for the
verse substances interact in the presence of temperature, distillate at 0.96. This is below the azeotropic value of
pressure, heat, and other thermodynamic quantities in the about 0.97 at 60F. The simulator calculates a mass frac-
tale of synthesis and purification. Further, one may claim tion of 0.950, while the correct value is 0.937. If our
that the difference between a talented writer and a word tower is operating at atmospheric pressure, the azeotropic
pusher is the ability to create plausible stories that seem- composition is 0.956 mass. So, the simulator predicts a
mass fraction of ethanol much closer to the
Nomenclature azeotrope than reality, and, therefore, a harder
separation than one would actually have. A
a = van der Waals equation Z = compressibility factor tower designed using this specification will have
attractive factor LK = light key a reflux ratio larger than necessary with corre-
a = Margules interaction parameter HK = heavy key sponding larger capital and energy costs. Natu-
b = van der Waals equation covolume Subscripts rally, for another mixture close to the azeotropic
B = bottoms point, the simulator can calculate a mass frac-
i, j, k = component index in a mixture
Cp = isobaric heat capacity
D = distillate
m = minimum number of trays tion further away from this point, and, depend-
f = fugacity
pure = pure component ing upon the accuracy of the vapor/liquid equi-
solvent = value referring to solvent librium (VLE) model, we could have designed a
G = Gibbs free energy
solvSat = at conditions where the
H = Henrys law constant tower that would never actually operate, because
solvent is at its Psat
H = enthalpy our distillate specification would be beyond the
v = volume
k = equation of state interaction actual azeotrope.
Superscripts
parameter Simulators generally assume that molar vol-
n = number of moles - = partial molar
nc = number of components in 0 = standard state umes are additive. Therefore, what the simulator
mixture = infinite dilution does behind the scenes in a volume fraction
N = number of trays E = excess specification is calculating the molar densities
P = pressure l = liquid of the components at a given temperature (usu-
P
sat = vapor pressure s = at saturation ally, 60F). With that and the volume fractions,
R = gas constant v = vapor mole fractions can be calculated and, from there,
S = entropy
T = absolute temperature
Greek letters mass fractions in a rather straightforward man-
V = Molar volume = relative volatility ner. The problem is that we are assuming that
x = liquid mole or volume fraction = activity coefficient the molar volume of a pure component corre-
= numerical constant
y = vapor mole fraction sponds to the volume the component would have
in a mixture:
x
1 v, i (4) treating-gas flow rate. Two cases were considered, one in
i i V which the oil is very reactive, and another in which the
feed has a low reactivity. The compressor was sized for the
Naturally, this has a catch. The partial molar volume is a first case, and the simulations were set up to maintain a
function of the mole fraction (as well as temperature and, constant flow rate thorough the compressor. Since the recy-
to a lesser extent, pressure). Therefore, we have an iterative cle-gas flow rate is equal to the treating-gas flow rate plus
solution in mole fraction when specifying volume fractions the cooling-gas flow rate, the hydrogen/oil ratio controller
for systems that present excess volumes. Usually, simula- was replaced by a recycle gas flow controller for the sec-
tors do not take this into consideration (for good reasons, ond simulation.
as this is usually small for many important systems), but, Nevertheless, Case 1 was repeated using Case 2s con-
sometimes, this may cost you dearly depending on how troller configuration. In both instances, the reactant conver-
you got your specifications and how you entered them in sion was fixed to an identical value. This time, the simula-
the simulator. tor found a different solution for Case 1, with a hydro-
The heavy in the top caper gen/oil ratio below the minimum required.
The cause was an incorrect root calculation for the
Moura and Carneiro (3) describe a problem where a compressibility factor for some combinations of pressure,
commercial simulator was used for the evaluation of a 1,3- temperature, and composition for the Lee-Kesler (6) cor-
butadiene purification tower. It is well known that 1,2-buta- relation, used to determine enthalpies. This was a problem
diene is less volatile than 1,3-butadiene, and, as expected, with the particular implementation of the root calculation
1,2-butadiene would leave mostly through the tower bot- by the simulator, not the basic thermodynamic model.
toms. Still, the simulation predicted that 1,2-butadiene This incorrect root assignment in turn caused the simula-
would leave through the top. This is a simple system for tor to converge on an incorrect flow rate, as shown in Fig-
which experimental data and reasonable thermodynamic ure 2, where the inlet and outlet stream enthalpies are
models are available. Why the error? plotted vs. the molar flow rate of treating gas. Note the
The simulator used critical properties predicted by the discontinuity in the outlet enthalpy shown as a bump in
Cavett correlation. When applying these estimates, the the curve.
thermodynamic model would predict that 1,2-butadiene
was volatile enough to leave in the distillate. If we tabulate
the physical properties of 1,2-butadiene used by the simu- Table 1. Physical properties of 1,2-butadiene.
lator against the physical properties recommended by
AIChEs Design Institute for Physical Property Data Physical Property Cavett (4) DIPPR (5)
(DIPPR), it is evident that the acentric factor was incorrect
(Table 1). We will see that acentric factors are a funda- Critical Temperature, R 824.5 799.2
mental property when using equation(s) of state (EOS), Critical Pressure, psia 589.7 652.7
because they correlate the vapor pressures calculated by Acentric Factor 0.0987 0.2509
pure components.
where Pref is some reference pressure, usually around 1 atm, at which pressure
effects can be neglected.
Using the definition of fugacity coefficient we have:
exp i dP
P
(11)
vl
i
exp RT
P
ref
Of mice and mixtures When the pressure is low and conditions are far from
Simulation of chemical processes normally involves the critical state, the activity coefficient is essentially inde-
finding the properties of pure components and some ther- pendent of pressure, and it is common to set the reference
modynamic descriptor for the mixture (e.g., EOS and mix-ing pressure to be the saturation pressure of component i,
rules, activity coefficient expressions, and the like). We start Psat,i, and Eq. 11 is cast in the form that is usually shown in
by taking a look at the basics of phase equilibria as the textbooks:
background to which we will pin down the importance of v v P
v
i yiP = ixiPi
related physical properties, pure-component and otherwise. s i
Look at the basic expression for phase equilibrium writ- i exp dP (12)
P RT
ten as the equality of fugacities across phases: ref
For convenience in here we will set the reference pres-
ivyiP = ilxiP (5)
sure to 0. Eq. 11 is written as:
We can write the activity coefficient as:
v v s P
l = il yiP = sat,i v
i
(6) xP exp
RT dP
i i
i
il, pure 0
i i i
and substituting into Eq. 5 we get: (7) exp P
vi dP (13)
v l
i yiP = i i , purexiP
P
ref RT
P Pref P
= exp vi
i i P
ref RT dP Equation 13 is mathematically equivalent to Eq. 5, and,
as long as its terms are correctly computed, it can be used
f
i, pure up to the critical point of the mixture (a fact some-times
= brushed aside to justify the use of EOS in place of activity-
i, pure P
Casting Eq. 7 into the shape shown in textbooks: coefficient-based models). Therefore, what do we gain in
going from Eq. 5 to Eq. 13? From a physical
that negligible. Why can we manage relatively well by ne- exp vi/RT dP
P
glecting this term? In the exercise above, we stretched The integral in sat,i is so close to 0 for
things a bit to show that these ratios are not as benign as modest pressures and components well below their critical
one would initially suspect. point that, despite a poor approximation, it does not matter
Recall that the maximum difference in pressure for a (except when closer to the mixtures critical point).
binary, nonazeotropic system at saturation at a fixed So, how can we model systems with is/ iv different than
temperature is going to be given by the vapor pressure unity by not using it? After all, activity coefficient models are
of the pure components, and that, for many important employed many times with the ideal gas assumption, i.e., the
systems, the differences in vapor pressures for a given above ratio = 1, and Poynting factors are also equal to 1. The
temperature will be much smaller. For example, for answer is simple. The activity coefficients in Eq. 13 can absorb
ethanol and water at 100C, the difference in vapor pres- these effects (to a certain extent) in disguise inside the activity-
sures is about 113 kPa and the corresponding is/ iv is coefficient interaction parameters. This is why you should be
about 0.98, better than 0.92. careful before using interaction parameters someone else re-
How did we get the Poynting factor plot? What about gressed. If your conditions are quite different from those used
the mysterious (and conveniently not mentioned) factor vi to regress the parameters (not only pressure, but also tempera-
This is the partial molar volume of Component i, which is ture and composition), then they likely will extrapolate poorly
a function of the system pressure, temperature, and compo- and you will have a dangerous model in your hands.
sition. Partial molar properties are useful mathematical So, now that we understand how we calculated the
constructs for calculating physical properties in a way that Poynting factor and the is/ iv factor, we can proceed
is formally identical to molar fraction averages, as was with the simplifications of our equilibrium equation and
shown in Eq. 4. get into the form everyone knows:
Ratio
0.95
Factor
0.93 1.00
0.98
Fugacity Coefficien
0.89 0.99
Poyntin
t
0.91 0.96
g
0.87
0.97
0.95
0.85
100 150 200 250 300 350 400 450 500 100 150 200 250 300 350 400 450 500
Figure 3. Ratio of the fugacity coefficients for ethanol at 150C. Figure 4. Poynting factor for ethanol at 150C.
b (18)
P
ln Psat
yi =
sat, i
ixi (16) =a+T
P
And there we have it, the relationship between the pri- a = A + B + C ln T + DT E b (19)
T T
mary factors governing the VLE. This was quite a detour to @Tc
get to what is the obvious. In our journey, we learned that, b = B CT DET E + 1 (20)
as a first approximation, the VLE is dominated by one @Tc
4
Solubilities in mole fraction x 10
(26) Mathematical expression for vapor pressure as a function of temperature usually some type of Antoines equation.
RT
i
P P RT P v
i
ref sat ,j
P P l P v
sat , solv * vi i
Equation 26 H
i , solv i exp RT exp dP 1
P solv , sat RT v
P ref i
Major variables Temperature Temperature and Temperature,
Temperature, pressure,
composition (pressure) pressure and composition
pairs determined from experimental data. Except for simple bon dioxide (byproduct of sugar fermentation), nitrogen,
solutions, the interactions are always based on experimental oxygen, and water. A conventional thermodynamic pack-
data (do not be fooled by UNIFAC its parameters were de- age to choose would be the NRTL with the virial EOS for
termined using experimental data; there is no real fundamen- the gas phase. So let us proceed, step-by-step, to see how
tal theory behind them, but, rather, some clever data-fitting). the simulator is going to get ready to perform the first flash
(see Table 5).
Liquid-phase compressibility The simulator is making a series of decisions for you,
Mathematical model for excess liquid molar volumes which may or may not be adequate for the system you intend
as a function of composition, temperature, and pressure for to model. Naturally, some simulators have sophisticated sets
subcritical components. Usually, this is not known and the of options for the modification of defaults. These options re-
partial molar volumes are assumed to be independent of quire more information being required for the model (which
pressure. Moreover, the partial volumes are supposed to be you may or may not have but, at least have the advantage
independent of composition (a thermodynamic oxymoron) of getting you thinking about what may be important), as well
and equal to the pure-component molar volumes of the as a whole new set of assumptions that you may or may not be
pure components. aware of. It should be becoming clear that Table 5 may be
Mathematical model for the infinite-dilution partial more complicated than what we just suggested.
molar volume of solute in solvent as a function of tempera-
ture and pressure. Except for high-pressure models, this is Is simplification possible?
usually ignored and the infinite-dilution partial molar volume Is there anything thermodynamics can do to help us to
is set to zero. When it has to be used (e.g., when approaching have a simpler, less assumption-dependent model? Un-
the solvent critical temperature and the infinite-dilution par- fortunately, Eq. 5 is as fundamental as possible without
tial molar volume of the solvent cannot be neglected), its having to propose one or more models and, thus, enter into
value is determined using experimental solubility data. the realm of molecular thermodynamics. In that, we
propose models that are based on more fundamental the-
Vapor-phase nonideality ories (usually founded upon statistical thermodynamics),
Mathematical model for the fugacity coefficient (van but are simplified enough to allow their use in ordinary
der Waals, Redlich-Kwong, Soave-Redlich-Kwong, Peng- process calculations as long as they retain their phys-
Robinson, Virial, ). ical flavor.
Physical properties necessary for the EOS (usually, Perhaps, at the risk of being too simplistic, the tech-
but not always critical temperature, critical pressure, niques used to solve most problems being routinely de-
acentric factor, dipole moment, and gas-phase association termined today can be traced back to the work van der
parameters). Waals started in the 1870s (cubic EOS such as Redlich-
Now, you may be asking yourself: Why have we gone Kwong, Soave-Redlich-Kwong, and Peng-Robinson (16),
through all the detail about calculations that are done to mention the most popular forms) and the work started in
routinely by the simulator on your desktop? If you sim-ply the 1930s and 1940s by Hildebrand and Guggenheim
install the software and start running calculations, it is easy (models based on liquid lattices that were cleverly
to gloss over all of the assumptions that were made in the extended by using the local composition as-sumption of
program. For example, say you are modeling an ethanol Wilson (17) and further refined by Praus-nitz, Renon, and
facility. You will need data on ethanol, propanol, butanol, Abrams (18, 19) and others).
pentanols (to model the fuel oils), car- Certainly, more advanced EOS exist other than the
S=S0+
V
P (28) P R dV + R ln Z (30)
T
RT ln = RT dV RT ln Z V,ni V
ni V
T,nji
V
Choose components Define mixtures that will be Retrieve physical properties from a pure-component database.
from component list potentially present in the Retrieved properties may have been already estimated.
simulation. Many times estimation criteria are not available.
Missing properties are estimated. Applicability dependent on
types of chemicals in the mixture.
P sat ,solv
Missing H i ,j are estimated.
Retrieve binary interaction parameters and Henrys constants from a database.
Parameters may or may not be applicable to conditions of interest.
Interaction parameters for subcritical binary pairs are estimated
(ranging from a simple setting to zero to group contribution methods).
Define pressure, temperature, Find Vapor pressures are calculated. Extrapolations are
thermodynamic made if temperature is beyond temperature limits.
and bulk composition state of mixture. Henrys constants are calculated. Extrapolations are
done if temperature is beyond temperature limits.
Activity coefficients are calculated. Extrapolations are done
usually without any check based on actual data used for
determination of interaction parameters.
Enthalpies, entropies, heat capacities are calculated. Depending on the
temperature, subcritical components may be crossing their critical
temperatures and extrapolations for enthalpy of vaporization are done.
Transport properties are calculated. Usually, very little, if any,
experimental mixture information is available to help estimation.
V
T 2 critical point smoothly, thus guaranteeing continuity be-
2
P P tween liquid and gas states.
C p = C p0 + T dV T V R (31) Why do we not solve all problems using Eqs. 2931? We will
T2 V answer this question in Part II, as well as delve more deeply
P into EOS and provide tips for simulations. CEP
V
T
Now, we are getting somewhere. If we have an EOS and
the ideal-gas heat capacities, we can calculate not only < Discuss This Article!>
phase equilibria, but also all the needed thermodynamic To join an online discussion about this article
properties for a comprehensive model of an entire flow- with the author and other readers, go to the
sheet. This has a few additional benefits that may not be ProcessCity Discussion Room for CEP
articles at www.processcity.com/cep.
apparent. For example, we do not have to look for standard
states; sub- and supercritical components can be handled
using the same framework, and the model approaches the
R. AGARWAL is executive vice-president of Virtual Materials Group Inc.,
Calgary, AB, Canada (Phone:(604) 253-9473; Fax: (413) 556-2730; E-mail:
Rajeev@VirtualMaterials.com). He has extensive experience creating
Literature Cited computer models from first-principle mathematical equations. He is an
expert in process optimization, developing unit operation models, and
1. Sulfuric++ Users Manual, Version 2.0, Virtual Materials Group,
modeling large flowsheets, operating both in steady-state and dynamic
Inc., Calgary, AB, Canada (2001).
modes. At Hyprotech Ltd., he was instrumental in the design and
2. Stanley, P., A Technology Update: Simulation Technology, Chem. implementation of the dynamic models in Hyprotechs Process Engineering
Processing (Nov. 1997). System HYSYS. There, he did high-level system design and implemented
3. Moura, C. A. D., and H. P. Carneiro, Common Difficulties in the object-oriented dynamic models for unit operations with emphasis on
Use of Process Simulators, B. Tech. Petrobras, 34 (3/4) (Jul./Dez. operator training. He is a licensed professional engineer and holds an MASc
1991). from the University of Toronto in chemical engineering.
4. Cavett, R. H., Physical Data for Distillation Calculations: Vapor- Y.-K. LI is vice-president, development of Virtual Materials Group, Inc.,
Liquid Equilibria, API Proc., Sec. III, 42 (1962). Calgary, AB, Canada (Phone: (403) 288-3587; Fax: (520) 222-4943; E-mail:
5. Design Institute for Physical Property Data (1989). YauKun@VirtualMaterials.com). He holds an MEng from McGill University
6. Lee, B. Y., and M. G. Kesler, A Generalized Thermodynamic Cor- in chemical engineering and is a registered professional engineer in Alberta,
relation Based on Three Parameter Corresponding States, AIChE J., Canada. Li has extensive experience in computational thermodynamics and
21 (3) (1975). large-scale process and reservoir simulation.
7. Yang, N. S., et al., Determine the Number of Theoretical Plates
O. SANTOLLANI is president of Virtual Materials Group, Inc., Calgary, AB,
with Commercial Simulators, Hydrocarb. Proc. (Aug. 1999).
Canada (Phone:(403) 241-8018; eFax/eVoice: (800) 854-3804; E-mail:
8. Prausnitz, J. M., et al., Molecular Thermodynamics of Fluid Phase oscar@virtualmaterials.com; Website: www.virtualmaterials.com), a
Equilibria, 3rd ed., Prentice-Hall, Englewood Cliffs, NJ (1999). software solution provider for modeling of physical properties. He has 15
9. OConnell, J. P., and J. M. Prausnitz, Thermodynamics of Gas years of experience in various sales, engineering, and marketing positions
Solubility in Mixed Solvents, Ind. Eng. Chem. Fund., 3 (1964). for Soteica S.R.L., Hyprotech Europe S.L., and Hyprotech Ltd. He holds a
10. Carroll, J. J. Whats Henrys Law, Chem. Eng. Progress (Sept. degree in chemical engineering from the University of Buenos Aires and is
1991). an associate member of AIChE.
11. Carroll, J. J., Use Henrys Law for Multicomponent Mixtures, M. A. SATYRO is chief technology officer of Virtual Materials Group, Inc.
Chem. Eng. Progress (Aug. 1992). Calgary, AB, Canada (Phone: (403) 241-3929; Fax: (403) 241-3929; E-mail:
12. Carroll, J. J., Henrys Law A Historical View, J. of Chem. Ed- marco@virtualmaterials.com). He has 16 years of experience in applied
ucation, 70 (2) (Feb. 1993). thermodynamics, distillation design, and scientific software development. He
13. Carroll, J. J., Henrys Law Revisited, Chem. Eng. Progress (Jan. is also the president of SEA++ Inc., where he has developed software for
1999). petroleum refineries and other CPI segments, consulted extensively on
14. Japas, M. L., and J. M. H. Levelt Sengers, Gas Solubility and thermodynamics applied to the solution of industrial problems, and written
several physical property packages. Before that, he was manager of
Henrys Law Near the Solvents Critical Point, AIChE J., 35 (4)
Hyprotechs Applied Thermodynamics and HYCON groups, where he
(1989).
created and supported major commercial process simulation products. He
15. Harvey, A. H., and J. M. H. Levelt Sengers, Correlation of Aque- holds a degree in chemical engineering from the University of Sao Paulo and
ous Henrys Constants from 0C to the Critical Point, AIChE J., 36 a PhD from the University of Calgary. He is a member of AIChE, and ACS,
(4) (1990). and is a licensed professional engineer in Alberta.
16. Peng, D. Y., and D. B. Robinson, A New Two-Constant Equation
A. VIELER heads Simulation Engineering, Krimpen, The Netherlands (Phone:
of State, Ind. Eng. Chem. Fund., 15 (1976). (31180550555; Fax: 31180550220; E-mail:
17. Wilson, G. M., Vapor-Liquid Equilibrium. XI: A New Expression for andrewvieler@compuserve.com). He has been working in steady-state and
the Excess Free Energy of Mixing, J. Am. Chem. Soc., 86 (1964). dynamic process simulation for 20 years. He has supported, trained users,
18. Renon, H., and J. M. Prausnitz, Local Compositions in Thermo- developed plant models, and consulted with most of the major simulation
dynamic Excess Functions for Liquid Mixtures, AIChE J., 14 programs in many areas of the process and pipeline industries, including oil
(1968). and gas production, oil refining, petrochemicals, and chemical and aqueous
19. Abrams, D. S., and J. M. Prausnitz, Statistical Thermodynamics process modelling. He has taught many process modeling and simulation
courses in the Eastern Hemisphere. He is a member of AIChE.
of Liquid Mixtures: A New Expression for the Excess Gibbs Energy
of Partly or Completely Miscible System, AIChE J., 21 (1975).