Professional Documents
Culture Documents
INTRODUCTION
The transformation of raw materials into desired products usually cannot be achieved
in a single step in any chemical process. The overall transformation is broken
down into a number of steps that provide intermediate transformations. These are
carried out through reaction, separation, mixing, heating, cooling, pressure change,
particle size reduction and enlargement, etc. So, the synthesis of a chemical process
involves two broad activities. The first is the selection of individual transformation
steps, and the second is finding the interconnections between these individual
transformations to form a complete structure that achieves the required overall
transformation, leading to a flowsheet, which is a diagrammatic representation of
the process steps with their interconnections. The simulation of the process can be
carried out after the flowsheet structure is defined.
Simulation is a mathematical model of a process, which attempts to predict
how the process would behave if it was constructed. After creating a model of the
process, the flow rates, compositions, temperatures, and pressures of the feeds are
assumed. The simulation model can then be used to predict the flow rates,
compositions, temperatures, and pressures of the products. Simulation also allows
the sizing of the individual items of equipment in the process and prediction of the
amount of raw material, energy, etc. required. The performance of the design can
then be evaluated. Once the basic performance of the design has been evaluated,
changes can be made to improve the performance, i.e., optimization. These changes
might involve the synthesis of alternate structures, i.e., structural optimization
(Smith 2000).
As energy consumption expands and resources of material and energy become
more expensive and less certain, substantial changes will be required in many of
2 Process Plant Simulation
are available, short-cut design methods are used as a basis for making decisions.
The five levels of decision hierarchy in conceptual design are
1. Batch versus continuous production
2. Input-output structure of the flowsheet
3. Recycle structure of the flowsheet
4. General structure of the separation system
(a) Vapour recovery system
(b) Liquid recovery system
5. Heat-exchanger network synthesis (energy integration)
A beginner can substitute the evaluation of a number of extra calculations for
experience during the development of a conceptual design by following this
hierarchical decision procedure. However, the penalty paid in the form of time
required to screen more alternatives is not very high, as short-cut calculations are
used. As a designer gains experience, it is possible to recognize alternatives that
should not be considered for a particular type of process, and thereby improve
efficiency.
This entire process synthesis activity is carried out prior to the process analysis
stage to find the best process alternative by systematically screening millions of
possible process alternatives following the above-mentioned hierarchy of design
decisions. But this process synthesis is beyond the scope of the present course on
process plant simulation. Process synthesis itself is vast and is offered as a separate
compulsory course named Process Design Decisions.
w Convergence promotion
w Physical and thermodynamic properties
w Specific-purpose simulation and
w Dynamic simulation
Simulation can be carried out either in the design mode or in the analysis mode.
In the design mode the outputs are specified and the corresponding inputs are
simulated using the system model equations for various units. On the contrary, in
the analysis or performance mode, the inputs are specified and the corresponding
outputs are simulated. Ideally, with an aim of using process simulation as a design
tool, the system inputs andor design parameters should be calculated from the
specified outputs (i,e,, the design mode should be used). But such a simulation in
a design mode is numerically less stable than that in the analysis or performance
mode. The latter is characterized by the fact that all system inputs and design
parameters for the units are specified and the outputs are calculated using the given
information. Thus, the information flow in the analysis mode is in the same direction
as the energy and material flow in a chemical plant. Being numerically more stable,
the analysis mode is more often used to perform design calculations iteratively for
making case studies. Hence, a majority of application packages are written in this
mode of simulation.
Calculating heat and mass balances is the most tedious and repetitive problem
of process design. As mentioned in the previous section on process synthesis,
during the initial stages of a flowsheet study, of a new process or an existing one,
simple material balances alone may suffice. At this level, specifications may be set
from the plant data if an existing plant is being considered, or from engineering
experience or pilot plant data if a new process flowsheet is under development. In
the later stages of design, however, heat and mass balances must be calculated
along with the equilibrium and rate equations, P-V-T relationships, and relations
governing counter-current operations. All these equations are generally strongly
non-linear. Moreover, in the simplest case, if a process is of sequential configuration,
it is easy to proceed from the feed streams until the products are obtained, calculating
sequentially for one process unit after the other. Unfortunately, most chemical
plants are of complex configurations involving recycling of streams, mass and/or
energy; they represent interlinked networks of units. To make the calculation
procedure sequential in such situations, it is essential to decompose the network.
This, in turn, requires convergence promotion.
The necessity of incorporating constraints or specifications other than the natural
parameters while modelling a flowsheet has, of course, been recognized for quite
some time in computer-aided process design. The importance of simulating in the
design mode compared to the analysis mode has been outlined above. This
differentiates rating calculations from design calculations. In the former case, each
Introduction 7
unit is specified and its performance is calculated. In the latter case, performance is
specified and each unit is designed to give the required performance. In the sequential
modular approach, constraints can be accommodated using additional iteration
loops around the module, provided these constraints involve stream quantities
associated with that module. However, if the constraints involve streams not incident
to the underspecified module, then iterations in the outer loops involving the entire
flowsheet are needed; this procedure is quite cumbersome and tedious. For this
reason, the modular approach has not gained popularity for simulation in the design
mode. In the equation-solving approach, the mathematical model of a steady-state
process is organized and handled as one large global set of equations representing
the entire process. This is in contrast to subsets of equations, called modules, used
in the modular approach according to the process units that appear in a given
process. Hence, in the global approach of equation-solving, any number of
constraints can be added in the form of equations to the set defining the problem.
Because the global approach analyses all the equations representing an entire
chemical process, it takes full advantage of the specific features of these equations,
which are ignored in the modular approach. It also generates a tailored computer
program for each new problem, while the same modular-oriented simulator is used
for all the problems. The tailored computer program executes faster and uses less
memory compared to the modular-oriented simulator. However, the major
disadvantage of the global approach is the necessity of manually preparing a new
input description for all the equations of each new problem. This preparation can
become tedious and highly error-prone, since chemical processes can be modelled
using hundreds and thousands of non-linear equations.
Several design organizations started building libraries of computer programs
for various unit operations in the early 1960s. It then became evident that many of
these could be put into a system enabling one to direct calculations for an entire
flowsheet, thus saving considerable engineering time. This resulted in the
development of specific-purpose programs to simulate a particular plant or part of
a plant; these were naturally more detailed in nature but at the same time rigid in
structure. Upon examining these programs, it became clear that a major portion
could be common to all types of plants, i.e., calculations involved in various unit
operations, methods used to compute different physical and thermodynamic
properties, decomposition and convergence algorithms, cost information, as well
as a library of numerical routines. Furthermore, a common approach to diagnostics
might also be beneficial. Ultimately, this gave rise to several general-purpose
simulation packages.
Over the last few years, steady-state simulation has become a significant input
to process analysis. It represents the system under consideration by a mathematical
model and obtains information about the system response by applying different
sets of inputs to the model. The model is often applied in the form of a computer
8 Process Plant Simulation
1.3 Optimization
This is the final step in the development of a process flowsheet. Many constrained
and unconstrained optimization techniques are employed for this purpose. Of late,
nontraditional optimization techniques such as genetic algorithms and differential
evolution are being used. All these interrelated activities should obviously lead to
an optimal design and safe operation of a chemical plant.
The chemical industry has undergone significant changes during the past 15 years
due to the increased cost of energy and increasingly stringent environmental
regulations. Modifications of both plant design procedures and plant operating
conditions have been made in order to reduce costs and meet the constraints. Most
industry observers believe that the emphasis in the near future will be on improving
the efficiency and profitability of existing plants rather than on plant expansion
(Edgar & Himmelblau 1989). One of the most important engineering tools that can
be employed in such activities is optimization. As a result of computers having
become more powerful, the size and complexity of problems, which can be simulated
and solved by optimization techniques, have correspondingly expanded.
The goal of optimization is to find the values of the variables in a process which
yield the best value of the performance criterion. This usually involves a trade-off
between capital and operating costs. Typical problems in chemical engineering
design or plant operation have many, and possibly infinite number of, solutions.
Optimization is concerned with selecting the best among the entire set by efficient
quantitative methods. Unfortunately, no single method or algorithm of optimization
can be applied efficiently to all problems. The method chosen for any particular
case will depend primarily on (i) the character of the objective function and whether
it is known explicitly, (ii) the nature of the constraints, and (iii) the number of
independent and dependent variables. The general objective in optimization is to
choose, keeping in view the various constraints, a set of values of the variables that
will produce the desired optimum response for the chosen objective function.
There are two distinct types of optimization algorithms in use today. First, there
are algorithms that are deterministic, with specific rules for moving from one solution
to the other. These algorithms (also known as traditional methods) have been
successfully applied to some of the engineering design problems. Second, there
are algorithms that are stochastic in nature, with probabilistic transition rules. These
are comparatively new and are gaining popularity due to certain properties which
deterministic algorithms do not have. As stated earlier, most of the traditional
optimization algorithms based on gradient methods are susceptible to getting trapped
Introduction 9
at local optima depending upon the degree of non-linearity and the initial guess.
Unfortunately, none of the traditional algorithms are guaranteed to find the global
optimal solution, but genetic and simulated annealing algorithms are found to have
a better global perspective than traditional methods (Deb 1996). Moreover, when
an optimal design problem contains multiple global solutions, designers are
interested in finding not just one global optimum solution, but as many as possible
for various reasons. First, a design suitable in one situation may not be so in another
situation. Second, designers may not be interested in finding the absolute global
solution. They might instead be interested in a solution that corresponds to a
marginally inferior objective function value but is more amenable to fabrication.
Thus, it is always prudent to know about other equally good solutions for later use.
However, if the traditional methods are used to find multiple optimal solutions,
they need to be applied a number of times, each time starting from a different
initial guess and hoping to achieve a different optimal solution.
During the past two decades there has been a growing interest in algorithms,
that are based on the principle of evolution (survival of the fittest). A common
term, coined recently, refers to such algorithms as evolutionary algorithms (EAs)
or evolutionary computation (EC) methods. The best-known algorithms in this
class include genetic algorithms, evolutionary programming, evolution strategies,
and genetic programming. There are many hybrid systems which incorporate various
features of the above paradigms and consequently are hard to classify, and can be
referred to as just EC methods (Dasgupta & Michalewicz 1997).
Simulated annealing (SA) is a probabilistic nontraditional optimization technique,
which mimics the cooling phenomenon of molten metals to constitute a search
procedure. Rutenbar (1989) gave a detailed discussion of the working principle of
SA and its applications. Since its introduction, SA has diffused widely into many
diverse applications.
Genetic algorithms (GAS)are computerized search and optimization algorithms
based on the mechanics of natural genetics and natural selection. They mimic the
survival of the fittest principle of nature to make a search process. The key control
parameters in GA are N , the population size; pc,the crossover probability; and pm,
the mutation probability (Goldberg 1989).
Price and Storn (1997) have given the working principle of differential evolution
(DE), which is an improved version of GA, along with its application to polynomial
fitting problems. They have also suggested some simple rules for choosing the key
parameters such as the population size NP, crossover constant CR, and the weight
F applied to the random differential (scaling factor) of DE for any given application.
The three interrelated steps mentioned above (process synthesis, process analysis,
and optimization) thus help to generate an optimal process plant design for any
chemical process starting from the initial stage of conception. The flowsheet shown
in Fig. 1.1 describes the strategy for process engineering.
10 P m e s s Plant Simulation
Define process
objective
I_______
I
I
I_______
I
I
I
Collect and store
information
-------
Create alternate
processconcept
L---,--,,,------
-------
Synthesize alternate
flowsheets
L---,-----------
I
I
I
>
I
-
Total R&D
effort
Equipment
operating costs
Optimization
Is the project
+
+
+
Control analysis
Safety analysis
I
Detailed plant design
Operation
1
Product
It constitutes process analysis and optimization stages of process design. This book
deals with the various aspects of process analysis and optimization, in other words,
1
the known inputs or from simulated outputs of the previous unit. This can be done
using models of the individual units.
Similarly, optimization is also a very important aspect in process design. With
reference to some of the other process analysis aspects-such as modular approaches
to process simulation, the equation solving approach, decomposition of networks,
convergencepromotion, physical and thermodynamic properties-specific-purpose
simulationand dynamic simulation are discussed in brief in this text for completeness
of the subject under consideration.There has been no consolidatedliterature available
on modelling and optimization aspects which covers the entire gamut of these
primarily important process design aspects. Hence, the present text focuses on
these two aspects of process plant simulation, and also covers the associated aspects
on treatment of experimental results.
Keeping these objectives in mind, the text is organized as follows. Part I deals
with various aspects of modelling: Chapter 1 gives a brief introduction of the subject.
Chapter 2 gives a brief introduction to modelling, deterministic versus stochastic
processes, physical and mathematical modelling, model formulation principles,
cybernetics, controlled systems, and principles of similarity. Chapter 3 discusses
the classification of mathematicalmodelling, the black box principle, artificial neural
networks, dependent and independent variables, parameters, and boundary
conditions.
Part I1 deals with chemical systems modelling, focusing on different areas of
chemical engineering. The required mathematical techniques for solutions are
emphasized as and when required. Chapters 4,5 , and 6 focus on models in the
areas of mass-transfer, heat-transfer, and fluid-flow (momentum-transfer) opera-
tions. Chapter 7 deals with models on reaction engineering.
Part I11 deals with the treatment of experimental results. Chapter 8 includes
various types of errors and their propagation, and data regression techniques such
as the method of averages and the method of linear least squares.
Part IV focuses on various optimization techniques. Chapter 9 covers the
traditional optimization techniques including analytical methods, constrained
optimization (Lagrangian multiplier), gradient methods such as the method of
steepest descent (ascent)and the sequential simplex method, random search methods
such as the box complex and Rosenbrock methods, etc. Chapter 10 discusses the
nontraditional optimization techniques such as simulated annealing, genetic
algorithms, differential evolution, evolutionary strategies, etc.
PartV deals with the remaining aspects of process analysis. Chapter 11 focuses
on modular approaches to process simulation and the equation solving approach.
Chapter 12 deals with the decomposition of networks and the corresponding tearing
algorithms such as the Barkley and Motard algorithm, basic tearing algorithm, and
list processing algorithms such as the Kehat and Shacham algorithm and various
forms of the Murthy and Husain algorithm. Chapter 13 discusses the convergence
12 Process Plant Simulation
EXERCISES
1.1 Discuss various stages of the development of chemical engineering as a
discipline.
1.2 What are the various unit operations and unit processes? What are the analogies
among these?
1.3 Describe various levels of decision hierarchy in process synthesis?
1.4 What are the aspects covered in process analysis?
1.5 What is the role of optimization in process design?
1.6 Discuss the strategy of process engineering with the help of a neat flow chart.
1.7 What is process plant simulation?