ProcessSimulation 2024 Update 24-04-09
ProcessSimulation 2024 Update 24-04-09
Process simulation
Fabrizio Bezzo
[email protected]
049 8275468
www.dii.unipd.it
Outline
General definitions
Chemical components and property models
Simulation of unit operations
Flowsheeting modelling
Using process simulators
2 Bezzo 2024
References
Towler, G., R. Sinnott (2022), Chemical Engineering Design: Principles, Practice
and Economics of Plant and Process Design (3rd ed.), Butterworth-Heinemann,
Oxford (U.K.), Chapter 4 Available online
Equivalent book: Towler, G., R. Sinnott (2020), Chemical Engineering Design –
Coulson and Richardson’s Chemical Engineering Series (6th ed.), Butterworth-
Heinemann, Oxford (U.K.), Chapter 4
Turton, R., J.A. Shaeiwitz, D. Bhattacharyya (2018). Analysis, Synthesis, and
Design of Chemical Processes (5th ed.). Pearson, Upper Saddle River (U.S.A.),
Chapters 13, 16
Seider, W.D. et al. (2016). Product and Process Design Principles. Synthesis,
Analysis and Evaluation (4th ed.). Wiley, New York (U.S.A.), Chapters 7, 8
Bertucco, A., E. Barbera, G.B. Guarise (2023). Separation Unit Operation and
Process Simulation. CLEUP, Padova (Italy), Chapters 1, 2
Adams II,T.A. (2022). Learn Aspen Plus in 24 hours (2nd ed.).
McGraw Hill, New York (U.S.A.)
Westerberg, A.W., H.P. Hutchison, R.L. Motard, P. Winter (1979). Process
flowsheeting. Cambridge University Press, Cambridge (U.K.)
3 Bezzo 2024
Process simulation
General definitions
What is a flowsheet
A flowsheet is a graphic representation of a process by
means of units that are connected
5 Bezzo 2024
Elements on a flowsheet
Sources: they bring endless material, energy or information into the
flowsheet
Sinks: they are an endless outlet for material, energy or information
Units: units typically change something, e.g. change the temperature
or composition due to reaction or separation
Units
Sink
Sources
6 Bezzo 2024
Elements on a flowsheet
Sources and sinks are simplifications of reality
No need to worry about where they are coming from
(sources) or how they are going to be consumed (sinks)
Example:
Sink of pie:
Source of eggs:
Customers that consume
A basket with infinite eggs
all the pies produced
7 Bezzo 2024
Elements on a flowsheet
Connections: transfer material, energy or information
Material and energy flows are called streams. The minimum variables
representing a stream are temperature, pressure and composition
Port: Start or end point for a connection
Port
Connection
8 Bezzo 2024
Elements on a flowsheet
Dialogue boxes: windows that communicate information
to the user and prompts them for a response
Dialogue
box
9 Bezzo 2024
Building a flowsheet - unit by unit
Add elements (sources, sinks, units) and enter data for
each element
10 Bezzo 2024
Building a flowsheet-unit by unit
Add elements (sources, sinks, units) and change the settings
11 Bezzo 2024
Building a flowsheet-unit by unit
Connect one unit with sources and sink; make sure you
can simulate the flowsheet
Sink
12 Bezzo 2024
Building a flowsheet-unit by unit
Extend to another unit until the whole process is finished
Sink
13 Bezzo 2024
Building a flowsheet-unit by unit
Extend to another unit until the whole process is finished
14 Bezzo 2024
A typical flowsheet in chemical engineering
15 Bezzo 2024
Process simulators
What do they do?
“Flowsheeting (= process simulation) may be defined as the use
of computer aids to perform (steady-state) heat and mass
balances, sizing and costing calculations for a chemical
process” (Westerberg et al, 1979)
Process simulation is a fundamental tool to process design.
The process design effort can be divided into three basic steps
Synthesis: the step where structure is chosen (i.e. the equipment to
be used and its interconnection) and variables completing the DOF
are set
Analysis: the step were we solve heat and mass balances, size the
equipment, evaluate its cost
Optimisation: the step where we perform parameter and
structural optimisation (e.g. by modifying some operating
temperature and pressure levels, or even by altering equipment or its
interconnection)
16 Bezzo 2024
Process simulators
What do they do?
Process simulation software typically does not solve the
momentum balance (which requires ad hoc numerics and
methods computational fluid dynamics)
However, simplified balances, e.g. to estimate pressure drops, or
rigorous calculations in simplified geometries, e.g. a pipe, may
sometimes be available
Note the recent developments make it more difficult to draw
a clear separation line between process simulation software
and general purpose modelling tools such us MatLab or
Python (the gPROMS process simulation environment is a
typical example)
17 Bezzo 2024
Structure of a process simulator
d= m − n
Thus m−n of the variables must receive their values from other
means (e.g. additional equations) before we can solve the problem
What is the minimum number of variables required to specify fully a
stream? Duhem’s theorem states that whatever the number of
phases, of components or of chemical reactions, the equilibrium state of a
closed system, for which we know the initial masses of each component, is
completely determined by two independent variables.
It can be proved (Westerberg et al, 1979) that the same holds for a stream.
In other words, a stream is fully characterised once we know the
molar flowrate of each component and 2 additional variables
(typically temperature and pressure).
19 Bezzo 2024
Process flowsheeting
Degrees of Freedom
Let us consider a flowsheet and assess the number of degrees
of freedom we have:
Let us consider the following block flow diagram assuming it
represents a simplified ammonia production process where four
species (c = 4) are accounted for (NH3, N2, H2, Ar)
s7 s6
splitter
B4
s5
s1 s2 s3 s4
mixer reactor separator
B1 B2 B3
21 Bezzo 2024
Process flowsheeting
Degrees of Freedom
If the separation unit is a distillation column, the two outlet
streams (i.e. since pressure levels are set, 10 unknown variables) are
fully specified once 4 variables are assigned (e.g. two product
specifications, reflux ratio, and feed stage). Apart from the five mass
and energy balances (already considered), it means that the equations
of the distillation models provide the missing relationship to
determine all unknowns ( d = 15−5 = 10)
If the separation unit is a flash unit, 2 variables are assigned (usually
temperature and pressure, but note that pressure has already been
accounted for), whereas 4 additional equations, one per component, are
provided by phase equilibria constraints (again 5 DOF are specified)
One additional equation is provided in the splitter by providing the
split fraction, which determine 4 additional equations (one per each
component); we also constrain the temperatures of streams s6 and s7
to be the same and equal to the temperature of s5; note that one of
these equation is equivalent to the energy balance, thus only one
additional equation is added ( d = 10−5 = 5)
The remaining 5 DOF are set by specifying the c + 1 = 5 feed
variables (pressure was set already)
22 Bezzo 2024
Process flowsheeting
Degrees of Freedom (DOF)
Note that in general we cannot arbitrarily choose the
combination of variables to specify the DOF, and that may not
be a trivial task
However, the great advantage of process simulation software is
that the simulator “tells us” which variables need
specifying so that the number of equations is equal to the
number of unknown variables and we can solve the model
Sometimes alternative options are available (e.g. in a flash unit, we
can select temperature and pressure or temperature and vapour
fraction of the mixture)
The choice of the variables to specify may have an impact on
convergence
23 Bezzo 2024
Process simulation
25 Bezzo 2024
Pure components
Process simulation programs contains a large data bank of
pure component compounds
NOTE: The fact that a pure component is listed in a
simulator data bank does not guarantee that any of the
properties given for that component are based on
measured data. If the properties of a compound are critical to
process performance, then the scientific literature should be
consulted
A key decision is choosing the right number of
components
If too few components are used, the model will not correctly predict
the performance of reactors and separation equipment
If too many components are used, the model can become difficult to
converge, particularly if there are multiple recycles in the design
26 Bezzo 2024
Pure components
Guidelines for choosing them (Towler and Sinnott, 2022)
1. Always include any component that has a specified limit in any of the
products if that component is present in any of the feeds or could be formed in
the process
Critical to determining whether the separations are meeting product specifications
2. Always include any component that has a specified limit in any of the feeds
They can be a source of by-products or can act as catalyst or enzyme inhibitors. They must
be tracked to ensure that they do not accumulate in the process
3. Always include components that are expected to be formed in side reactions
or consecutive reactions
Important to understand where these components will accumulate or leave the process
4. Always include any compounds that are expected to be present and are known
to have significant health, safety, or environmental concerns
They must be tracked to make sure that they do not reach unsafe levels in any stream
5. Usually include any compound that might be present at a mass or mole fraction
greater than 2% in any process stream
6. Do not include isomers unless the process specifically requires distinction
between isomers
Considering all of the possible isomers of organic compounds becomes combinatorically
explosive at high carbon numbers
27 Bezzo 2024
Pure components
Other components
Pseudocomponents
Pseudocomponents are components created to match the boiling curves of petroleum
mixtures. Crude oil, fuels such as gasoline, kerosene and diesel consist of many different
hydrocarbon compounds. (e.g., for diesel, crude oil and heavy fuel oils, the number of
possible compounds can be from 104 to >106)
A large number of compounds with boiling points in a given range are “lumped” together
and represented by a single pseudocomponent with a boiling point in the middle of that
range. A set of ten to thirty pseudocomponents can then be fitted to any petroleum assay
and used to model that oil
Solid and salts
Most chemical and pharmaceutical processes involve some degree of solids handling
(crystals, insoluble salts, cells, coal and ash particles, catalysts…)
The way they are handled depends on the process simulator (often a distinction is made
among i) materials with measurable properties that can participate in any of the phase or
reaction equilibria; ii) materials that can participate only in reaction equilibrium; and iii)
materials that are not involved in either phase or reaction equilibrium and behave like
inerts)
User components
Components not available in the software database can be created by the user, typically
based on the molecular structure. Minimum required information is the molecular weight
and often the normal boiling point (additional data can be added by the user)
28 Bezzo 2024
Physical property models
General comments
In general any property model comprise:
One or more mathematical equations that allow to calculate the property of
interest as a function of the variables of the process stream or unit (such as
temperature, pressure and composition). These equations contain a number of
parameters, which are defined as physical variables whose value is however
related to (and fixed for) the specific component or mixture
The values of the model parameters for the specific component or mixture
A range of applicability of the model (in terms of ranges of relevant process
variables). A model should never be used outside these ranges
Information about the accuracy in the calculation of the property of interest.
This is important to evaluate how much the process calculation is affected by the
property model inaccuracy
It is always a good practice to benchmark the physical properties predicted
using a process simulation program against measured data.
There are many good literature sources of data for properties of individual
compounds, but much less data are available for mixtures
Be careful when inputting external data: the reference state should be
consistent with that used by the simulator: this is especially important with
enthalpy data, particularly in reactive systems
29 Bezzo 2024
Physical property models
Sources for property data
International Critical Tables (1933): probably the most comprehensive compilation of physical properties and
is available in most reference libraries
Touloukian, Y. S. (1970). Thermophysical properties of matter, TPRC data services. Plenum Press. 1977.
The Engineering Sciences Data Unit (ESDU, www.ihsesdu.com) was set up to provide validated data for
engineering design, developed under the guidance and approval of engineers from industry, the universities,
and research laboratories
The NIST (National Institute of Standards and Technology) Source Database comprises over 4 million
experimental data points. It includes data for over 24000 pure components and 30000 binary mixtures
the DECHEMA vapor-liquid and liquid-liquid data collection (DECHEMA, 1977): experimental phase equilibrium
data have been published for several thousand binary and many multicomponent systems.Virtually all the
published experimental data have been collected together in the DECHEMA databank
The Journal of Chemical Engineering Data specializes in publishing physical property data for use in chemical
engineering design
the Physical Property Data Service (PPDS) and the The Design Institute for Physical Properties (DIPPR) databases
PPDS was originally developed in the United Kingdom by the Institution of Chemical Engineers and the
National Physical Laboratory. It is now available as a Microsoft Windows version from NEL, a division of the
TUV Suddeutschland Group (www.tuvnel.com/content/ppds.aspx)
The DIPPR projects are aimed at providing evaluated process design data for the design of chemical processes
and equipment (www.aiche.org/TechnicalSocieties/DIPPR/index.aspx)
Many sources of engineering information are subscription services. The American Chemical Society’s
Chemical Abstracts Service is the best source for chemical properties and reaction kinetics data. Chemical
abstracts can be searched online through the SciFinder subscription service (www.cas.org)
30 Bezzo 2024
Physical property models
Prediction of physical properties
The process simulation programs contain subroutines that predict the physical
properties of pure compounds and mixtures as functions of temperature, pressure,
and composition.
Techniques are available for the prediction of most physical properties, with
sufficient accuracy for use in process and equipment design
However, the accuracy of the predictions should always be assessed by comparing the
model output with data from experiments, pilot plants, or operating units.
Specialized texts on physical property estimation should be consulted, such as those by
Reid et al. (1987), Poling et al. (2000), Bretsznajder (1971), Sterbacek et al. (1979), and
AIChE (1983, 1985), and the data should be confirmed experimentally.
The two most common approaches used in predicting properties are group
contribution methods and the use of reduced properties
Group contribution techniques are based on the concept that a particular physical
property of a compound can be considered to be made up of contributions from the
constituent atoms, groups, and bonds, with the contributions being determined from
experimental data
Reduced property models (also known as method of corresponding states models) predict
properties based on knowledge of the critical conditions of a compound. They are useful if
values for the critical properties are available or can be estimated with sufficient accuracy
31 Bezzo 2024
Group contribution method
Example
Solution
Ethyl bromide CH3CH2Br
32 Bezzo 2024
Pure components
Setting components in a process simulator: hands-on
33 Bezzo 2024
Pure components
User components: hands-on
Use both Aspen Plus and PRO/II to include it in the list of components for simulation.
From the literature, the normal boiling point of C12H16O is equal to 277 °C.
34 Bezzo 2024
Physical property models
Phase equilibrium models
Everything from energy balances to volumetric flowrates to separation in
equilibrium-stage units depends on accurate thermodynamic data
Note that only few data are required to estimate parameters in simple
thermodynamic models
For cubic equations, critical temperature and pressure of pure components are
sufficient to estimate model parameters
However, blindly using thermodynamic models without experimental data will
miscalculate the entire flowsheet!
A safe choice of a thermodynamic model requires knowledge of the
system, of the thermodynamic model, of the calculation options
of the simulator, and the margin of error
If the thermodynamic option used by the simulator is a mystery, the meaning of
the results obtained by the process simulator will be equally mysterious
In real-life practice, the choice and tuning of the thermodynamic model is
often the most demanding and critical step, and may add up to 30-40% of
the overall time needed to set up and converge the model
35 Bezzo 2024
Physical property models
Phase equilibrium models
Whenever possible, phase equilibrium data should be used to
regress the parameters in the model, and the deviations between
the model predictions and the experimental data should be studied
There are two types of fugacity models: equations of state (EoS),
used in the ϕ −ϕ approach for equilibrium calculations, and activity
coefficient models, used in the γ −ϕ approach
An EoS is an algebraic equation for the pressure of a mixture as a
function of composition, temperature, and volume
Activity coefficient models provide algebraic equations for the activity
coefficients (γi) as a function of composition and temperature
For theoretical explanations about main thermodynamic models,
refer to relevant courses attended in the past
A practical user-oriented approach will be considered here
From now on, it will be assumed that EoS are cubic EoS, but different
equations, too, were proposed for specific systems
36 Bezzo 2024
Thermodynamic models
Equations of state
Little known fact: all cubic EoS are comparable in terms of
calculation accuracy, if their parameters are estimated using a
suitable procedure (Bertucco and Fermeglia (2023), Fluid Phase Equilibria, 566,
113678)
Because of “tradition” and the way they are implemented in
commercial simulators, only two EoS are used for most
applications:
The SRK (Soave-Redlich-Kwong) EoS (Soave, 1972)
The PR (Peng-Robinson) EoS (Peng and Robinson, 1976)
Normally they use three pure-component parameters, and one
binary-interaction parameter (BIP) per binary pair
37 Bezzo 2024
Thermodynamic models
Equations of state
Starting from the well-known van der Waals EoS (with ac and bc estimated at
critical conditions):
RT a
= P − 2c
v − bc v
Soave’s intuition was to add a temperature-dependent third parameter α:
RT α (T )ac
=P −
v − bc v2
which can be obtained by solving the isofugacity equation for a given T once the
(experimental) pure vapour pressure Pi* is known
ϕi*,V ( Pi* , T ,α ) = ϕi*, L ( Pi* , T ,α )
A similar approach was proposed by Peng and Robinson with the goal of improving
the molar volume prediction (still not satisfactory) and performance around the
critical point.
RT α (T )ac
= P −
v − bc v ( v + bc ) + bc ( v − bc )
38 Bezzo 2024
Thermodynamic models
Equations of state
For non-polar components Soave proposed the following function for α:
α (T ) =
1 − m 1 − T Tc
m=C1 + C2ω + C3ω 2
where ω is the acentric factor, and C1, C2, and C3 are constants, whose
values were estimated over extensive vapour pressure data
For polar components, α(T) requires a regression on experimental data
Since the iso-fugacity condition cannot be solved for components in super-
critical conditions, suitable functions were proposed to extrapolate alpha values
fitted below the critical temperature (a special equation is needed for hydrogen
(Mathias, 1983))
The problem of evaluating α has no solution when vapour pressure data cannot
be obtained. As a consequence, EoS cannot be used for polymers or
electrolytes
Note that the capability of EoS to represent VLE does not imply that they
can be used to estimate molar volumes, enthalpies, etc. accurately
An additional parameter was introduced to represent molar volume (the so-
called Peneloux translation (Peneloux and Rauzy, 1982); this does not affect the EoS
capability to represent VLE
39 Bezzo 2024
Thermodynamic models
Equations of state
The extension to fluid mixtures is based on the assumption that a a
mixture may be described as a pure fluid, whose properties are a “blend” of
the components in the mixture (one-fluid theory). This implies that
vapour and liquid properties can be calculated using a standard EoS (e.g.,
RKS or PR)
The only difference is that parameters ac and bc are substituted with mixture
parameters am and bm, which are defined according to a mixing rule. The
classical mixing rule is as follows:
NC NC
=am ∑∑ x x i j ac ,i ac , j (1 − kij )
=i 1 =j 1
NC
bm = ∑ xibc ,i
i =1
40 Bezzo 2024
Thermodynamic models
Activity coefficient models
Activity coefficient models are based on the γ −ϕ approach to
represent phase equilibrium:
1 P L
ˆ
ϕi yi P = Pi xiγ iϕi exp ∫ * i
V * *
v d P
RT Pi
Note that values for the pure vapour pressures at the temperature of the
system are needed. For components with a critical temperature lower than the
system temperature, activity coefficients cannot be defined and Henry constants
are used. Such components need to be defined as a “Henry component” in
process simulators.
Available models aims at representing the γ term
As no activity coefficient models available include a pressure dependence, the γ −
ϕ approach is limited to the pressure range between 0 and 30-40 bar
If no BIPs are available, an activity coefficient model will give similar results as
those for an ideal solution
BIPs are typically highly correlated: very different BIPs can lead to similar
fits of experimental data
Parameters regressed from VLE data are often unreliable when used for LLE
predictions (and vice versa)
41 Bezzo 2024
Thermodynamic models
Activity coefficient models
Among the available local composition models, the Non-Random Two-
Liquid (NRTL – Renon and Prausnitz, 1968) and UNIversal
QUAsiChemical (UNIQUAC – Renon and Abrams, 1967) are the best
ones for process simulation purposes. Key assumptions are (Wilson, 1964):
interactions among molecules are expressed in terms of binary parameters only
the temperature dependency of these parameters is made explicit
NRTL is theoretically simpler, but requires three adjustable parameters
per component pair, whereas UNIQUAC has sounder theoretical
foundations and requires two adjustable BIPs only
There are no reliable rules to choose an activity coefficient model a priori
42 Bezzo 2024
Thermodynamic models
Example: setting BIPs to 0
43 Bezzo 2024
Thermodynamic models
Predictive models
The most famous of fully predictive models is the UNIQUAC Functional-
group Activity Coefficients model (UNIFAC, Fredenslund et al, 1977)
UNIFAC was proposed to calculate the activity coefficient γi of a
component i in a liquid mixture starting from the activity coefficients of
functional groups.
It is denoted as fully predictive because it only requires the knowledge of the
chemical structures of all components in the mixture to be applied (plus the
mixture composition)
UNIFAC is based on group contributions, where each functional group in the
molecules contributes to the calculation of γi, which depends on the group
activity coefficients Γk . They are evaluated applying the UNIQUAC models to
groups (group BIPs are based on fitting a large VLE database)
PRACTICAL NOTE: when determining the number of groups in a molecule, always
start with the largest group
UNIFAC main advantage is its applicability in the absence of data. However:
it is impossible to check the calculation accuracy of UNIFAC (there are no
data)
a posteriori validations tests demonstrated that UNIFAC may introduce
large and unpredictable errors
44 Bezzo 2024
Thermodynamic models
Special systems
Electrolyte systems
Several important chemical engineering applications involve electrolytes
Gas treatment processes (e.g. acid gas removal processes with alkaline-salt
solutions)
Wastewater treatment processes (e.g. stripping processes involving ammonia)
Sour water systems: the term sour water is used for water containing carbon
dioxide, hydrogen sulfide, and ammonia encountered in refinery operations.
Electrochemical processes (e.g. fuel cells, batteries, electrolysis, corrosion
modelling)
Separation processes (e.g. extractive distillation, seawater desalination, and
solution crystallization)
When water and salts are present in a mixture, the salts can dissociate into
ions in aqueous solution.
The phase equilibrium model must account for dissociation and the presence of
long-range interactions between charges on ions
Special electrolyte models and databases have been developed for
electrolyte systems. These models are available in the commercial process
simulation programs (they may require an additional fee)
45 Bezzo 2024
Thermodynamic models
Special systems
Equilibria with a solid phase
Solid-liquid equilibrium (SLE) is important in several process operations
(e.g., crystallisation) and metallurgical processes. Some process simulators
have empirical or semi-empirical approaches for calculating SLE.
In terms of activity coefficients, the isofugacity condition can be expressed
as:
T H iL − H iS
x γ = z γ exp ∫
i i
L
i i
S
2
d T
Tmi RT
46 Bezzo 2024
Selecting a thermodynamic model
General guidelines (I)
EoS usage is typically recommended for simple systems (non-polar, small
molecules) and high pressure (including super-critical) conditions
Activity coefficient model are a reasonable choice for polar molecules
and whenever liquid-phase interactions are non-ideal. They should not be
used at high pressure (>10 bar) or when some components are in super-
critical conditions
The UNIFAC method is not recommended for process simulation
applications. The specific limitations of the method are:
Pressure not greater than a few bar (say, limit to 5 bar)
Temperature below 150 °C
No non-condensable components or electrolytes
Components must not contain more than 10 functional groups
Remember that the availability of a VLE model does not imply that
parameters (especially BIPs) are also available for a specific binary system
47 Bezzo 2024
Selecting a thermodynamic model
General guidelines (II)
EoS Activity coefficient models
Good for vapor phase Good for liquid phase modeling
modeling and liquids of low only
polarity Many binary parameters required
Fewer binary parameters Binary parameters are highly
required temperature dependent
Parameters extrapolated Inconsistent in critical region
reasonably with temperature
Can represent highly non-ideal
Consistent in critical region liquids
Typically limited in ability to
represent non-ideal liquids
48 Bezzo 2024
Selecting a thermodynamic model
General guidelines
No
Are there LIGHT gases or
SUPERCRITICAL components
in your system?
No Yes
49 Bezzo 2024
Selecting a thermodynamic model
General guidelines
50 Bezzo 2024
Selecting a thermodynamic model
General guidelines
51 Bezzo 2024
Selecting a thermodynamic model
General guidelines
52 Bezzo 2024
Selecting a thermodynamic model
General guidelines
check parameters
do they NO
get parameters
exist?
YES
53 Bezzo 2024
Selecting a thermodynamic model
10 golden rules (Fermeglia, 2021)
1. Check vapor pressure
2. Check pure and mixture densities – for aqueous mixtures excess
volumes are important
3. Check pure and mixture enthalpy and heat capacities
4. Check transport properties (for heat exchangers and trays)
5. Check surface tension if you design trays for distillation columns
6. Azeotropes: check if they are present
7. Check trace components behavior versus infinite dilution activity
coefficients
8. Talk to people, interact with chemists (new processes), talk to
process simulators vendors
9. Beware of estimation methods for screening alternatives
10. Check the simulation results versus the reality, talk to the plant
personnel, consider the reality (air leaks,…)
54 Bezzo 2024
Thermodynamic models
Final recommendations
Always verify that all BIPs for all binary pairs are available in the
process simulator
If some parameters are not available, look for phase equilibrium data (e.g., from
databanks, articles in the scientific literature, patents, …) to estimate missing
BIPs
For binary pairs with no data, the UNIFAC estimation option of the
simulator can be used (be careful!)
For any section of the process flowsheet it is suggested to select VLE binary data
at pressure and temperature close to the process operating conditions, and to
choose the thermodynamic model that is most suitable to represent those
process conditions (it is possible to use different models in different process
sections)
A key issue that must be considered for accurate thermodynamic modelling
is the calculation of the pure-component vapour pressures
The wrong estimation of vapour pressures may lead to significant errors in the
description of binary vapour–liquid equilibria: these errors cannot be
compensated for by optimally selecting the EoS BIPs
Remember that few data are better than no data at all
For example, data concerning azeotropic compositions are extremely helpful
55 Bezzo 2024
Thermodynamic models
Final recommendations
Never assume that the availability of BIPs in the databank of a process
simulator is an indication that the model is of acceptable accuracy
These parameters are merely the “best” for some specific objective function or
set of data (but they may be the best ones at T and P conditions being considered)
Test different (suitable) models to simulate a unit operation (e.g. a flash
unit): if the calculation gives substantially different stream flows or
compositions, the designer should seek more experimental data to
determine which model is “best”
Simulation differences are a way to quantify model uncertainty
Often no single thermodynamic model can be used reliably to predict the
fugacities of such a wide rage of components as those that can be found in
real processes.
Simulators allow using hybrid models: these may include Henry’s models for
non-condensable gases together with activity coefficient models or the usage of
EoS to describe the vapour phase while activity coefficient models are used to
represent the liquid phase
Keep in mind that the description of VLE at high pressures is not trivial
and special care is needed for choosing and calibrating the thermodynamic
model
56 Bezzo 2024
Thermodynamic models
Compare thermodynamic models: hands-on
Use different thermodynamic models (EoS and activity coefficient models) to
compare the following binary systems (Barolo & Guarise, Esercizi di impianti chimici, 2008):
non poral- ideal behavior EoS
• benzene – toluene
one polar and other not
azeotrope point
non ideal
• ethanol – benzene activity
coefficient model
polarity
H bonds ----------> non ideal
water hydrocarbon
• water – i-butanol
activity
coefficient model
57 Bezzo 2024
Thermodynamic models
Compare thermodynamic models: hands-on (Turton et al, 2018)
Use the PR and SRK EoS to calculate the methane vapour molar flowrate
from a flash at the conditions set in the table.
Variable Value Compare the results for BIPs from the process
Temperature 225 K simulator databank and with BIPs set to zero.
Pressure 60.78 bar
Feed flowrates
CO2 6 kmol/h
H2S 24 kmol/h
CH4 66 kmol/h
C2H6 3 kmol/h
C3H8 1 kmol/h
58 Bezzo 2024
Thermodynamic models
Compare thermodynamic models: hands-on (Fermeglia, 2021)
A chemical plant has a settling tank that they use to decant off the water from
a mixture of water and chlorobenzene; the inlet stream to the tank also
contains some carbon-dioxide and nitrogen; the tank and feed are at ambient
conditions (25 °C, 1 atm) and have the following flow rates:
• Water: 230 kg/hr
• Chlorobenzene: 2000 kg/hr
• CO2: 340 kg/hr
• N2: 20 kg/hr
59 Bezzo 2024
Thermodynamic models
Validation and BIP regression: hands-on
The accuracy of the model parameter values is essential as it provides the
precise prediction of all thermodynamic properties.
The objectives of this exercise are:
a) Evaluate the VLE of a binary combination using the default thermodynamic
model of the process simulator;
b) Regress the binary interaction parameters of a thermodynamic model;
c) Predict the VLE of a binary-mixture at a desired operating condition.
60 Bezzo 2024
Thermodynamic models
As a support to process design choices: hands-on (I)
Produce T-xy VLE diagrams at pressures: 1.01325 bar, 5 bar, and 10 bar.
Now imagine that you wan to separate a stream containing 70%mol methanol
and 30%mol chloroform: what would you do?
(The example is taken from Adams II, Learn Aspen Plus in 24 hours, Tutorial 2)
61 Bezzo 2024
Thermodynamic models
As a support to process design choices: hands-on (II)
62 Bezzo 2024
Process simulation
64 Bezzo 2024
Unit models
Reactors
Conversion reactors
A conversion reactor (or stoichiometric reactor) requires a
reaction stoichiometry and an extent of reaction (usually specified as
an extent of conversion of a limiting reagent)
No reaction kinetics information is needed, so it can be used when
the kinetics are unknown or when the reaction is known to proceed
to full conversion.
Conversion reactors can handle multiple reactions, but care is
needed in specifying the order in which they are solved if they use
the same limiting reagent
Aspen Plus: RStoic ; Pro/II: Conversion Reactor
65 Bezzo 2024
Unit models
Reactors
Equilibrium reactors
An equilibrium reactor finds the equilibrium product distribution
for a specified set of stoichiometric reactions. Phase equilibrium is
also solved
The engineer can enter the outlet temperature and pressure and let
the reactor model calculate the duty needed to reach that condition,
or else enter a heat duty and let the model predict the outlet
conditions from an energy balance
An equilibrium reactor only solves the equations specified, so it is
useful in situations where one or more reactions equilibrate rapidly
while other reactions proceed much more slowly.
A typical example is the steam reforming of methane to hydrogen. In this
process, the water-gas-shift reaction between water and carbon
monoxide reaches equilibrium rapidly at temperatures above 450 °C,
while methane conversion requires catalysis even at temperatures above
800 °C.
Aspen Plus: REquil ; Pro/II: Equilibrium Reactor
66 Bezzo 2024
Unit models
Reactors
Gibbs reactors
The Gibbs reactor solves the full reaction (and optionally phase
equilibrium) of all species in the component list by minimization of the
Gibbs free energy, subject to the constraints of the feed mass balance
and either isothermal or adiabatic operation
A Gibbs reactor can be specified with restrictions such as a temperature approach
to equilibrium or a fixed conversion of one species
The Gibbs reactor is very useful when modelling a system that is known
to come to equilibrium, in particular, high-temperature processes
involving simple molecules. It is less useful when complex molecules
are present, as these usually have high Gibbs energy of formation;
consequently, very low concentrations of these species are predicted
The designer must specify the components carefully when using a Gibbs reactor in
the model. If a component that is actually formed is not listed in the component
set, then the Gibbs reactor results will be meaningless. Furthermore, if some of
the species have high Gibbs free energy, their concentrations may not be properly
predicted by the model.
Aspen Plus: RGibbs ; Pro/II: GIBBS Reactor
67 Bezzo 2024
Unit models
Reactors
Continuous stirred tank reactors
The CSTR is a model of the conventional well-mixed reactor. It can be
used when a model of the reaction kinetics is available and the reactor is
believed to be well mixed
By specifying forward and reverse reactions, the CSTR model can model
equilibrium and rate-based reactions simultaneously.
The main drawback of using the CSTR model is that a detailed
understanding of kinetics is necessary if byproducts are to be predicted
properly
Aspen Plus: RCSTR ; Pro/II: CST Reactor
Plug-flow reactors
A PFR models the conventional plug-flow behaviour, assuming radial
mixing, but no axial dispersion. The reaction kinetics must be specified
and the model has the same limitations as the CSTR model
Most of the simulators allow heat input or removal from a plug-flow
reactor
Aspen Plus: RPlug ; Pro/II: Plug Flow Reactor
68 Bezzo 2024
Unit models
Reactors
Yield shift reactors
The yield shift reactor allows the designer to specify a yield pattern.
Yield shift reactors can be used when there is no model of the kinetics,
but some laboratory or pilot plant data are available, from which a yield
correlation can be established
Yield shift reactors are particularly useful when modelling streams that
contain pseudocomponents, solids with a particle size distribution or
processes that form small amounts of many byproducts. These can all be
described easily in yield correlations, but can be difficult to model with
the other reactor types
The main difficulty in using the yield shift reactor is in establishing the
yield correlation. If a single point, for example from a patent, is all that
is available, then entering the yield distribution is straightforward. If, on
the other hand, the purpose is to optimize the reactor conditions, then a
substantial set of data must be collected to build a response surface
model that accurately predicts yields over a wide enough range of
conditions.
Aspen Plus: RYield
69 Bezzo 2024
Unit models
Reactors
Batch reactors
Batch reactors cannot be represented in steady-state process
simulation models, but process simulators (e.g. Aspen Plus) provide a way
to model batch reactors in continuous processes. A cyclic unit operation
is integrated into a continuous process by means of holding tanks.
As illustrated in the figure, the continuous feed always feed into Tank 1 (never
stopping); Tank 1 is drained periodically, at the start of each batch reactor run; the
batch reactor runs in batches, typically with a fixed run time; when the batch
finishes, the products are drained to Tank 2; the contents of Tank 2 are
continuously drained to downstream process
Batch reactors
Aspen Plus: RBatch
70 Bezzo 2024
Unit models
Summary of reactor models in Aspen Plus
71 Bezzo 2024
Unit models
Reactors
Industrial reactors are usually more complex than the simple simulator
library models
Real reactors usually involve multiple phases and have strong mass transfer,
heat transfer and mixing effects. The residence time distributions of real
reactors can be determined by tracer studies, and seldom match the simple
CSTR or PFR models
Sometimes a combination of library models can be used to model the
reaction system.
For example, a conversion reactor can be used to establish the conversion of
main feeds, followed by an equilibrium reactor that establishes an equilibrium
distribution among specified products. Similarly, reactors with complex mixing
patterns can be modelled as networks of CSTR and PFR models
When using a combination of library models to simulate a reactor, it is a good
idea to group these models in a sub-flowsheet. The sub-flowsheet can be given a
suitable label such as “reactor” that indicates that all the unit operations it
contains represent a single piece of real equipment
Detailed models of commercial reactors are usually written as user models
72 Bezzo 2024
Unit models
Reactors: hands-on (I)
Let us consider the batch reaction of Allyl Alcohol (AA) and Acetone (ACE) to
produce n-Propyl-Propionate (nPP), as shown in the following:
Ea
−
The reaction kinetics is described by the following power-law: − rAA =
ke RT
C AAC ACE
where k = 1.5 × 109 m3 kmol-1 min-1 and Ea = 6 × 107 J kmol-1, and CAA and CACE are
the molar concentration of AA and ACE, respectively.
Task 1: Simulate the process to produce nPP from 200 g/s of AA and 280 g/s of ACE
using an integrated homogeneous liquid-phase batch reactor system. The feed is at 30
°C and 1 bar, and the reactor should have a cooling system that maintains a constant
temperature of 30 °C. Assume no pressure drop and use NRTL model. Each batch
cycle is considered complete when the reaction has achieved 98% conversion of the
limiting reagent.
(The example is taken from Adams II, Learn Aspen Plus in 24 hours, Tutorial 7)
73 Bezzo 2024
Unit models
Reactors: hands-on (II)
Task 2: Assume that a lab technician took 5 g of AA and 7 g of ACE in separate bakers
and placed each baker in a bath of warm water with a heating control system to
maintain the temperature of 30 °C. He left the bakers in the baths until the content
also reached 30 °C. Once that was finished, he poured the contents of the AA baker
into the ACE one, and started the reaction. He collected sample of liquid every 2
minutes and determined the composition of each sample, recording the following data:
Sample time (min) Mole Fraction of AA Mole Fraction of nPP
2 0.2268 0.3513
4 0.1359 0.5320
6 0.0941 0.5724
8 0.0588 0.6632
10 0.0424 0.6517
12 0.0292 0.7017
Use the Regression functionality to find the pre-exponential coefficient k which best
fits the simulation model used with RBatch to the experimental data.
Task 3: Determine the volume of a liquid plug flow reactor to achieve 98.5%
conversion of Allyl Alcohol for the same inlet conditions as in Part 1. Keep the
diameter of the reactor at 40 cm and operate isothermally at 32 °C.
74 Bezzo 2024
Unit models
Reactors: tutorial
Use stoichiometric reactors and Gibbs reactors in Aspen Plus and PRO/II for the
following reaction:
(The example is taken from Adams II, Learn Aspen Plus in 24 hours, Tutorial 7)
75 Bezzo 2024
Unit models
Reactors: a focus on stoichiometric coefficients
From the literature (An and Jung, Case Studies in Thermal Engineering, 21, 100694), we have:
Ea
−
ke pH 2 S pO1.52
− rH 2 S = RT
Let us implement the kinetics in both Pro/II and Aspen Plus, considering a CSTR with a
volume of 1783 L and operating at 850 °C and 1 atm. Consider the following inlet
flowrates for H2S, O2 and H2O, respectively: 200, 300, and 100 kmol/hr
76 Bezzo 2024
Unit models
Heat exchangers
All of the commercial simulators include models for heaters, coolers,
heat exchangers, fired heaters, and air coolers
The only inputs that are usually required on the process side are the
estimated pressure drop and either the outlet temperature or the duty
A good initial estimate of pressure drop is 0.3 to 0.7 bar
Heater, cooler, and heat exchanger models allow the design engineer to enter
estimates of film transfer coefficients and hence calculate the exchanger area
Note that process-to-process heat exchangers (typically used for heat
integration based on, e.g., pinch analysis) introduce a number of recycle loops
making convergence difficult: their analysis via sub-problems simulation is often a
wiser choice
Another problem that is often encountered when simulating heat exchangers is
temperature cross. A temperature cross occurs when the cold stream outlet
temperature is hotter than the hot stream outlet temperature. When this
occurs, many types of shell and tube heat exchangers give a very poor
approximation of counter-current flow, and consequently have low F-factors and
require large surface areas. In some process simulators, models will indicate if
the F factor is low, and the designer should split the exchanger into several shells
in series so that temperature cross is avoided.
77 Bezzo 2024
Unit models
Heat exchangers
Aspen Plus and Pro/II provides several models for heat
exchangers. Only the most commonly used will be reviewed.
In Aspen Plus the main models are Heater and HeatX.
Heater is a sort of “half-heat exchanger”: it models only of the two
fluids in the heat exchange process (typically the process one). It is
convenient for fast calculations during conceptual design and to
estimate heating/cooling duties
HeatX is a complete heat exchanger models and allows for a higher
input/output detail of information
This model will be able to detect if there is a violation of the second law
of thermodynamics leading to a temperature crossover
In Pro/II, the equivalent models are Simple HX and
Rigorous HX
Additional models for air coolers or fired heaters are available, too.
78 Bezzo 2024
Unit models
Heat exchangers
One interesting feature in the Aspen Plus Heater block is
that it can be used to model complete heat exchangers by
increasing numerical robustness, particularly in complex
flowsheets
This is done by exploiting a heat stream (available in Aspen Plus)
Discuss the following example (Adams II, Learn Aspen in 24 hours, Tutorial 4, 2022)
79 Bezzo 2024
Unit models
Heat exchangers: hands-on
80 Bezzo 2024
Unit models
Distillation and separation units
The commercial process simulators contain a range of
distillation models with different degrees of sophistication.
The design engineer must choose a model that is suitable for the
purpose, depending on the problem type, the extent of design
information available, and the level of detail required in the solution.
In some cases, it may make sense to build different versions of the
flowsheet, using different levels of detail in the distillation models, so
that the simpler model can be used to initialize a more detailed
model.
81 Bezzo 2024
Unit models
Distillation and separation units
The simplest distillation models to set up are the shortcut models based
on Fenske-Underwood-Gilliland or Winn-Underwood-Gilliland methods to
determine i) the minimum reflux and number of stages, or ii) the required
reflux given a number of trays, or iii) the required number of trays for a
given reflux ratio
The shortcut models can also estimate the condenser and reboiler duties and
determine the optimum feed tray
Minimum information needed to specify a shortcut distillation model is:
The component recoveries of the light and heavy key components
The condenser and reboiler pressures
Whether the column has a total or partial condenser
In some cases, the designer can specify the purities of the light and heavy
key components in the bottoms and distillate, respectively.
Care is needed when using purity as a specification, as it is easy to specify
purities or combinations of purity and recovery that are infeasible
Shortcut distillation models are robust, and they are often used to initialize
a rigorous simulation
Main drawback of shortcut models is that they assume constant relative
volatility
82 Bezzo 2024
Unit models
Short-cut distillation models: hands-on
(The example is taken from Adams II, Learn Aspen Plus in 24 hours, Tutorial 8, with tips from Tutorial 5)
83 Bezzo 2024
Unit models
Distillation and separation units
Rigorous models carry out full stage-by-stage mass and energy balances
Rigorous models allow many more column configurations, including use of side
streams, intermediate condensers and reboilers, multiple feeds and side strippers
and rectifiers
Rigorous models can be much harder to converge
The two main types of rigorous distillation models are equilibrium-stage
models and rate-based models
Equilibrium-stage models assume either full VLE on each stage or else an
approach to equilibrium based on a stage efficiency entered by the designer.
When using an equilibrium-stage model for column sizing, the stage efficiencies
must be entered
Rate-based models do not assume phase equilibrium, and instead solve the
interphase mass transfer and heat transfer equations. Rate-based models are
more realistic than the idealized equilibrium-stage models, but because it can be
difficult to predict the interfacial area and mass transfer coefficients, rate-based
models are less widely used in practice
Rigorous distillation models can be used to model absorber columns,
stripper columns, refluxed absorbers, three-phase systems such as
extractive distillation columns, …
84 Bezzo 2024
Unit models
Distillation and separation units
Other multistage vapor-liquid separations such as absorption and stripping
can be modeled using variations of the rigorous distillation models, as can
multistage liquid-liquid extraction
Single-stage liquid-liquid or vapor-liquid separation can be modeled as a
flash vessel, but some caution is needed. The simulation programs assume
perfect separation in a flash unless the designer specifies otherwise
If there is entrainment of droplets or bubbles, the outlet compositions of a real
flash vessel will be different from those predicted by the simulation
Most of the simulation programs allow the designer to specify a fraction of each
phase that is entrained with the other phases
The following modules are available:
Aspen Plus: Flash2 and Flash3 (flash units), DSTWU (short-cut column),
RadFrac (equilibrium-stage column or rate-stage column), MultiFrac (3-
phase columns absorber/stripper combinations), PetroFrac (petroleum
refining)
Pro/II: Flash (flash unit), Shortcut (short-cut column), Distillation
(equilibrium-stage or rate-stage columns)
85 Bezzo 2024
Unit models
Distillation and separation units
Convergence of distillation column models is probably the most common
problem in process simulation. Possible causes of convergence problems
are as follows:
Infeasible specifications: care must be taken when using purity as a
specification (e.g., it is not possible to make a 99% pure distillate if the feed
contains 2% of a component that boils lighter than the light key)
Poor initialisation: if the simulation model is set up with fewer than the
minimum number of trays or less than the minimum reflux, it will not converge.
Shortcut models can be used to provide an initial design that is feasible, which
can then be used as a starting point for a rigorous model
Poor initial estimates: The faster distillation column solution algorithms run
much better when provided with a good initial estimate of tray temperatures
A good practice is to start by using simple hand calculations to check
that the column specifications are feasible check mass balances!
A shortcut model can then be used to determine the minimum reflux and the
number of trays and feed tray location. The rigorous model should then be
initialized with the reboiler and condenser temperatures found from the
shortcut simulation, a linear temperature profile, and pressure gradient that
makes an approximate allowance for the pressure drop per tray (about 5 cm of
liquid is typical).
86 Bezzo 2024
Unit models
Distillation and separation units
Different algorithms are available in commercial simulation packages. They
vary in terms of rapidity and robustness.
The inside-out algorithm is the most commonly used in distillation
problems. It decomposes the stage equations into two nested iteration
loops
If it fails, other methods can be tried (e.g., in PRO/II: CHEMDIST can be a good
choice for systems that form two liquid phases or azeotropes, or systems that
have free water (thermodynamic models based on liquid activity coefficients are needed); SURE
is often the method with better convergence, but it is slow – in Aspen Plus: there
is a convergence menu where several parameters can be changed: increasing the
number of maximum number of iterations or turning on the numerical Jacobian
matrix calculation may help)
Note the some design specifications are “easier” than other ones.
For instance, it is good practice to initially run the rigorous model with easy
specifications, such as reflux ratio and either distillate rate or bottoms rate.
Typically, these will guarantee convergence and generate a realistic column
temperature profile that can then be stored as the estimate for future runs. The
model specifications can then be changed to the desired design specifications
(purity or recovery specifications).
Sometimes, adding trays may help convergence
87 Bezzo 2024
Unit models
Distillation: hands-on
Use specifications and results obtained from the short-cut distillation model to
set up a rigorous distillation simulation both in Aspen Plus and Pro/II.
(The example is taken from Adams II, Learn Aspen Plus in 24 hours, Tutorial 8, with tips from Tutorial 5)
88 Bezzo 2024
Unit models
Mixing and splitting units
All process simulation software provides simplified units for
mixing and splitting streams
Mixers solve the following balance (where fij is the flowrate of
component i in stream j): f i,1
fi,2 fi,out
f i ,out = ∑ f ij
fi,S
j
89 Bezzo 2024
Unit models
Fluid pumping
All process simulators contains models for pumps, compressors,
turbines, and valves
For pumps and valves, the minimum requirement is the discharge pressure (or
the pressure increase/drop)
For compressors and turbines, apart from pressure specifications, the mode of
compression/expansion (adiabatic, isentropic, polytropic) is needed, too
Several process simulation programs contain models for pipe segments,
tees, and elbows, which can be used to make an initial estimate of system
pressure drop for the purposes of sizing pumps and compressors.
If a process hydraulic model is built, care must be taken to specify pressure drop
properly in the unit operation models. Rules of thumb are adequate for initial
estimates, but in a hydraulic model these should be replaced with rigorous
pressure drop calculations.
Care is needed when modeling compressible gas flows, flows of vapor-liquid
mixtures, slurry flows, and flows of non-Newtonian liquids. Some simulators use
different pipe models for compressible flow.
In most of these cases, the simulation model should be replaced by a
computational fluid dynamics (CFD) model of the important parts of the plant.
90 Bezzo 2024
Unit models
Solids handling
The commercial simulation programs were originally developed
mainly for petrochemical applications, and none of them has a
complete set of solids-handling operations.
Although models for filters, crystallizers, decanters, and cyclones are
present in many simulators, user models may have to be created for
different operations
Because solids are handled in many commodity chemical processes
as well as pharmaceuticals, polymers, and biological processes, the
simulation software vendors are under pressure from their
customers to enhance the capability of the programs for modeling
solids operations (e.g. gPROMS FormulatedProducts).
91 Bezzo 2024
Unit models
User models
Spreadsheet models
Models that require no internal iteration are easily coded as spreadsheets. Most
of the simulators offer some degree of spreadsheet capability, ranging from
simple calculation blocks to full Microsoft Excel functionality
Sometimes you may simply want to get data from Aspen Plus to Excel
For example, Aspen Plus can exploit spreadsheet capability using Microsoft Excel,
which can be specified as a calculator block. For more sophisticated spreadsheet
models, Aspen Plus allows the user to link a spreadsheet to a simulation via a
user model. Similar functionalities can be found in Pro/II.
You can use Excel to change things inside Aspen Plus, and therefore you can write your
own custom model into Excel or you can even write a program in Visual Basic inside
Excel that runs Aspen Plus, making changes as you go.
User subroutines
Models that require internal convergence are best written as subroutines rather
than spreadsheets, as more efficient solution algorithms can be used. Most user
subroutines are written in FORTRAN or Visual Basic or Python, though some of
the simulators allow other programming languages to be used (e.g. gPROMS is
coded to allow the user create their models using the simulator programming
language).
Detailed instructions on how to write user models to interface with commercial
simulation programs can be found in the simulator manuals.
92 Bezzo 2024
Unit models
Spreadsheet models: hands-on
(The example is taken from Adams II, Learn Aspen Plus in 24 hours, Tutorial 9)
93 Bezzo 2024
Process simulation
Flowsheeting modelling
Computational blocks
Design and calculator blocks
Other than the unit operation blocks, process simulators have two types of
computational blocks that need to be solved (if implemented)
The first type (sometimes called design block) satisfies the design specifications
and works like a feedback controller: it satisfies the design specification by
manipulating an input variable to a block or some specification of a block within
some given bounds
Aspen Plus: Design spec; PRO/II: Controller
The second type (sometimes called calculator block) calculates the value of
some parameter or variable or input condition based on user-defined
calculations. These blocks may be compared to a feedforward controller
Aspen Plus: Calculator; PRO/II: Calculator
Note that differently from control systems, computational blocks do not
consider the system dynamics, and just represent the steady-state
condition reached by the control system
Note that design/calculator blocks may determine relationships between
units that are similar to the ones caused by recycles
95 Bezzo 2024
Design and calculator block
Calculator example: hands-on (I)
We will use the calculator block to overwrite a value, and then to make a
helpful calculation.
(The example is taken from Adams II, Learn Aspen Plus in 24 hours, Tutorial 9)
96 Bezzo 2024
Design and calculator block
Calculator example: hands-on (II)
Step 2:
Step 3:
97 Bezzo 2024
Process flowsheeting
Degrees of Freedom
DOF analysis
While building a flowsheet step by step, we need to make sure the
DOF is satisfied
This can be achieved by entering data in the dialogue boxes:
commercial software issues an error message if DOF is not satisfied
Note that DOF depends on the process configuration: in some
cases the degree of freedom assignment may change
E.g.: forming recycles
?
? ?
Unit3
Unit3
98 Bezzo 2024
Process flowsheeting
Degrees of Freedom (DOF)
Computational blocks may change DOF
Usually, we specify source 1 and 2, simulate the rest of the process
If we know the production, or we have a target of the production (e.g. Product1),
we can use a design block to back-calculate source (Source2): so the software
will adjust the value in the source (Source2) to reach a certain desired value in
the product
Of course you need to make sure that what you adjust really influences what
you try to change
Note that most simulators will still require to satisfy the DOF without the
design block, which intervenes “on top”. But be careful: wrong DOF assignments
in the design block can lead to a simulation crash
Adjust
Block ?
Product1 Design block changes the
Source2 DOF by specifying product
1 instead of source 2
Unit3
Product2
99 Bezzo 2024
Process flowsheeting
Solution algorithms
There are two types of solution algorithms:
In the sequential-modular (SM) approach, the equations describing equipment
units are grouped together and solved in modules, i.e. the process is solved
equipment piece by equipment piece. The executive program sets up the
flowsheet sequence, identifies the recycle loops, and controls the unit operation
calculations, while interacting with the unit operations library, physical property
data bank, and the other subroutines
Note that individual equipment blocks may require iterative solution algorithms
In an equation-oriented (EO) simulator the model equations for all the unit
modules and connecting streams are collected together and solved
simultaneously. The executive program solves the equations using data from the
unit operations library and the physical property data bank and calling on the file
of thermodynamics subroutines
The SM approach is by far the most widely used algorithm for steady-state
simulation software (implemented in Aspen Plus, HYSYS – steady-state, Pro/II,
UniSim). The only fully EO commercial simulator is gPROMS (although EO
solvers and/or functions exist in other commercial software, too)
Dynamic process simulation software (e.g. gPROMS, HYSYS – dynamic, DYNSIM…)
adopt an EO approach
100 Bezzo 2024
Process flowsheeting
Solution algorithms
SM simulators EO simulators
PROs PROs
Easier initialisation Dynamic simulation
Moderate computer power Higher robustness for
needed complex problems
Easier troubleshooting Easier to set up and solve
(convergence failure is easier optimisation problems
to identify) Great flexibility
CONs CONs
Convergence can be difficult Initialisation can be an issue
due to iterative methods (often SM is used to provide
Dynamic simulation are not initial guess)
possible Troubleshooting can be
Less flexibility (optimisation, complicated (no smoking guns)
inclusion of additional Significant computer power
functions) needed
Case study
Acid gas removal (AGR)
using chilled methanol
(Turton et al., 2018)
Figure 1 Figure 2
one may notice that not all three recycles need tearing and that it is
sufficient to tear either stream M3 or stream M4
Now the question whether to tear M3 or M4, which may depend on the
number of variables to be converged (criterion 2.) or the ease in getting an
initial guess (criterion 3.)
E.g. if we assume that U3 is a mixer and U4 is a heat exchanger, then
temperature in M4 is likely to be known, while an initial guess for M3 is probably
not available. According to criterion 3., M4 should be chosen as tear stream.
Let’s assume that the vectors of stream variables (e.g. species flowrates,
temperature, pressure) for M4 and M4′ is denoted by y and x. Then, the problem
is to find the solution to equation: x − y = 0
During a given iteration k, values xk are guesses, whereas yk is obtained by solving
all blocks in the sequence; yk is then used in calculating the next guess for x, i.e.
xk+1. A number of algorithms are available to solve this problem. We will discuss
the main ones.
110 Bezzo 2024
Sequential-modular approach
Step 4
Direct substitution
In this method, an initial estimate, xk, is used to calculate a new value of the
parameter, yk. The estimate is then updated using the calculated value:
x k +1 = y k
This method is simple to code but is computationally inefficient and convergence
is not guaranteed.
Product A
mole fraction
Product B
conversion
(The example is taken from Adams II, Learn Aspen Plus in 24 hours, Tutorial 3)
129 Bezzo 2024
Sensitivity analys and design specification
Example: Guided problem 2 (I)
The process considered consists in a reactor for the conversion of toluene and hydrogen into
benzene, followed by a heat exchanger that cools the reaction products, and subsequently by a
gas-liquid separator.
The vapor fraction is sent to further treatments, while the liquid fraction, which contains the
benzene produced and the non-reacted toluene, goes to a distillation column for the recovery of
benzene and of toluene, which is recycled to the reactor.
Base case
Feed 1: 25°C e 25 bar, total flow-rate: 10000 kg/h (pure toluene).
Feed 2: 25°C e 25 bar; total flow-rate: 820 kg/h (95.02% of hydrogen e 4.98% of methane, molar).
The reactor is operated at a temperature of 600°C and a pressure of 25 bar;
The reaction is the following:
After the reactor, a heat exchanger cools the reaction products to a temperature of 38°C.
The following separator allows to recover a gaseous stream containing only methane and
hydrogen.
The distillation column is made of 20 stages (the inlet stream is fed at stage 10), and operates so
that the residue flow-rate is equal to 28% (by weight) of the feed flow-rate, with a mass reflux
ratio of 0.2.
Design specification
Determine the value of reflux ratio necessary to obtain a distillate having a molar composition of
benzene equal to 99.6%.
Inputs: FEED
Feed flowrate = 100000 kg/h;
T = 90 °C; STEAM
Pressure = 1 atm;
H2O= 0.997 (mol/mol)
CH2Cl2 = 0.003 (mol/mol) STEAM
Steam: Pressure = 4 atm; vapor fraction = 1