## Servicios Personalizados

## Articulo

## Indicadores

- Citado por SciELO

## Links relacionados

- Citado por Google
- Similares en SciELO
- Similares en Google

## Bookmark

## Latin American applied research

*versión impresa* ISSN 0327-0793

### Lat. Am. appl. res. v.36 n.4 Bahía Blanca oct./dic. 2006

**Optimal programming of batch distillation: vessel network operations**

**V. Ruiz Ahón and J. Luiz De Medeiros**

* ruiz@eq.ufrj.br, jlm@eq.ufrj.br Escola de Química, UFRJ - Centro de Tecnologia, Bl.E, 21949-900 Rio de Janeiro - Brazil*

*Abstract* — This work presents an alternative structure for multivessel batch distillation and focuses on the determination of an optimal programming for it. The system is composed by a set of heated or cooled vessels connected by total reflux distillation cascades. This structure is able for separating multicomponent mixtures achieving simultaneously desirable specifications for all components, without loss of material and avoiding complex control strategies. An optimization problem is formulated in order to maximize a profit function assigned to a separation task. Transformed decision variables together with a smooth price function, are used to pose the problem according to an unconstrained form. The decision variables are the vapor molar flow rate and the operating time of each column. Batch separations of ideal quaternary mixtures are optimally programmed regarding purity specifications under fixed number of stages in each cascade and with an upper bound on the total rate of heat consumption.

*Keywords* — Batch Distillation. Optimal Programming. Vessel Network.

**I. Introduction**

The recent expansion of specialty chemical industries has led to a renewed interest in batch distillation. This may be attributed to the inherent simplicity of batch distillation and its flexibility to process small volumes. Batch distillation may be divided into single vessel and multivessel. Single vessel batch distillation includes the Batch Rectifier (BR), the Batch Stripper (BS) and the Middle Vessel Column (MVC). Hasebe et al. (1995) extended the MVC concept to a Multivessel Batch Distillation (MVBD). The MVBD uses a single reboiler and a single condenser, operating at total reflux with intermediate vessels (one per product) connected to the liquid downflow circuit of the column. The MVBD separates *Nc* components with *Nc* constant hold-up vessels, calculated from the feed composition. Wittgens *et al.* (1996) pointed that MVBDs have comparative advantages to BRs because there is no need of optimal times for slop cuts. However they mentioned that the constant hold-up policy may hinder the achievement of specifications. To overcome this, Hasebe *et al.* (1995, 1997) controlled composition by manipulating vessel hold-ups, while Skogestad *et al.* (1997) did the same by controlling column temperatures.

The object of this work is an alternative batch distillation scheme, the Vessel Network (VN). VN exhibits comparative advantages to the MVBD. The idea is to by-pass the drawbacks of the MVBD due to the fact that vessels access only *the liquid circuit*. If, for instance, a light impurity goes to a vessel rich in heavy species, it can only be removed by (slow) elution, i.e. the impurity would be protected against a (fast) expulsion by stripping. So, it is no surprise that MVBDs require maneuvers on the vessel streams to meet stringent specifications.

VNs resemble MVBD configurations, but they work differently. For ideal or non-ideal moderate systems, VN separates multicomponent mixtures achieving specifications for all components without flow rate maneuvers, loss of material or slop cuts. It operates with constant mass where heat is continuously supplied to some vessels and removed from others.

An important aspect is that VN vessels are contacted with both vapor and liquid streams, so that stripping and rectifying effects occur inside and around them. A VN is composed by a set of vessels operating with constant hold-up, arranged in a vertical planar frame (Fig. 1) interconnected by total reflux distillation cascades. Total reflux cascades establish true constant hold-up in all vessels, so each vessel must be charged with a hold-up equal to the amount of product designed to be recovered there. The network connectivity is determined by cascades, defining oriented connections according to the flow of vapor phase (arcs) between vessels (vertices). VNs can be represented as digraphs (Mah, 1990) if we choose the orientation of arcs according to the vapor flow. For global separation of a mixture there must exist at least one oriented path for vapor and liquid between any two vessels.

In general, a VN with higher degree of connectivity will accomplish a separation task in a shorter time at expenses of higher capital costs. Assuming, as a basis of reasoning, a certain level of available heating utility, an optimization problem then arises as a compromise between operational time (i.e., productivity) and capital costs. Optimal batch distillation campaigns dealing with cheap products, will probably distort the above compromise to favor the choice for simpler equipment. On the other hand, with gradual increase of the unitary separation reward (i.e. the monetary value difference between specified products and feedstock per unit of feedstock), capital costs tend to become less important compared with productivity. One can then conclude that faster distillation schemes (i.e. using more sophisticated equipment) now become more and more the best economic alternatives in unitary basis of feedstock. It is exactly in connection with the last point that VNs can be justified as engineering devices.

Separation is generated in the VN by the interaction between vessels and cascades. The rate of separation is *naturally regulated* by the rates of enthalpy crossing the VN. This means that there exists a *natural* high degree of thermal integration among the cascades. For mixtures not too far from ideality, each species is naturally enriched in an *unique vessel* defined by its relative volatility: the heaviest component is gradually enriched in the lowest vessel, whereas the lightest one concentrates in the highest vessel. Intermediate components are enriched in intermediary vessels. Exists, thus, an association between a separable species and its destination vessel (and the height of this vessel in the VN). Vessels and species can be both numbered according to the ascending order of relative volatility. This unique species-vessel association allows a convenient sketching of VNs by means of digraph drawings (Fig. 1A), which use oriented arcs (as oriented cascades according to vapor flow) and vertices (as numbered enrichment vessels). Figures 1A and 1B depict a fully connected VN for quaternary separation.

This work also addresses a limited optimization of VN operations as Maximum Annualized Profit Problems under fixed number of stages per cascade, constant vessel hold-ups and a limitation on the available heat duty. Decision variables are the vapor flow rates and operating times of arcs, assuming all proposed arcs active at startup. These variables were transformed in order to pose the problem unconstrained. The economic objective is the unitary profit generated by the annual campaign. Products being enriched in vessels are continuously valued by a separation Price Function (Ahón and Medeiros, 2001). The Price Function is a perfectly smooth and differentiable composition function that associates market prices to specified vessels and penalizes incomplete separations by assigning depreciated prices to under-specified vessels. Nevertheless, it must be realized that our Price Function *is not just another classical arbitrary penalty function* for two main reasons: first, it is naturally compliant with the thermodynamic/market logic which assigns (does not assign) appropriate rewards for accomplished (incomplete) separation tasks; second, it is not a mere artificial negative counterweight to be added to the objective, eventually distorting its physical nature. Finally, we sought *a local optimum* of this problem in terms of: (i) purity of products; (ii) vapor flows and operating times of cascades.

**II. Dynamic Modeling of VN Operations**

The number of vessels of a VN is equal to the number of components (*Nc*). All vessels may be mutually connected so that the maximum number of cascades is *Nc*(*Nc*-1)/2. Heat may be added to (or removed from) each vessel causing changes to the vapor (and liquid) distribution, but without disturbing the total reflux regime of cascades. Due to the ascending numbering, it is only possible to flow vapor phase from vessel *i* to vessel *j*, if *i j*. In the digraph form (Fig. 1A), vertices and arcs correspond, respectively, to vessels and distillation cascades, where arc *i-j* symbolizes a cascade linking vessel *i *to vessel *j*. A VN may be described by the ordered set of initially active arcs, so that the digraph in Fig. 1A sketches the VN {1-2, 1-3, 1-4, 2-3, 2-4, 3-4}. The simplest VN for a quaternary separation has a tree like form {1-2, 2-3, 3-4}. We use vertex adjacency matrices, whose rows and columns correspond to vertices. Element (*i,j*) of an adjacency matrix is nonzero if there is an arc from vertex *i* to vertex *j*. *C _{i,j}* is the identification number of cascade

*i-j*, while

*N*and

_{i,j}*T*are, respectively, its number of stages and operating time.

_{i,j}*L*and

_{j,i}*V*represent liquid and vapor molar flow rates through cascade

_{i,j}*i-j*.

For VN dynamic simulation process parameters and decision variables must be known. Process parameters are: (i) components and levels of purity (*LP*) for specification; (ii) total batch hold-up (*H _{0}*) and feedstock composition; (iii) hold-up and initial composition of vessels; (iv) prices of specified products; (v) number of stages (

*N*) and stage efficiencies of cascades (numbered from top to bottom); and (vi) pressure of vessels. Decision variables are vapor molar flow rates and operating times of cascades. The dynamic system is modeled with simplifying assumptions: (i) VN hold-ups are concentrated in vessels; (ii) Cascade model uses the McCabe-Thiele approximation (Ahón and Medeiros, 2001). These assumptions let us with only

_{ij}*Nc*transient vessel mass balances. The following symbols are also defined (

*Nc*by 1 vectors): (i) are species moles in vessel

*i*; (ii) , are mole fractions of bottom and top products of

*C*; (iii) is the vapor-liquid isobaric equilibrium relationship. Transient mass balances for vessel

_{i,j}*i*then read:

(1a) | |

(1b) |

**Figure 1 - Fully connected Vessel Network with 4 vessels and 6 cascades : [A] Digraph form; [B] Schematic diagram**

Vessel mass balances presume a fully connected VN. If an arc *i-j *(*i j*) is not used or has been turned-off after a certain time, the respective *V _{i,j}, L_{j,i}* terms have to be zeroed. The interactions between vertices and arcs are regulated by cascade specifications and parameters. A Cascade is fed with liquid and vapor streams coming from two vessels. At the same time, it feeds these two vessels with its top and bottom product streams ( and , Eq. (1)). Thus, operational parameters of a cascade consist of its two feed streams. A feed stream entering stage

*n*of cascade

*k*has molar flow rate

*F*, whereas

_{n,k}*and β*

__Z___{n,k}*represent its species mole fractions and vaporized fraction. The heat duty of stage*

_{n,k}*n*on cascade

*k*is

*Q*. We have:

_{n,k} **Cascade specifications:**

(2) |

**Cascade operational parameters:**

(3a) | |

(3b) | |

(3c) | |

(3d) |

Since all active arcs operate at total reflux (*L _{j,i}*=

*V*,

_{j,i}*ij*), vessel hold-ups are constant. Thus vessel

*i*must be charged at

*t*=0 with an initial hold-up () given by the number of moles of product

*i*. If product

*i*is mainly component

*i*, and there is only one feedstock with

*H*moles and molar fraction vector , vessel

_{0}*i*must be initially loaded with

*H*

_{0}

*Z*moles having composition :

_{Fi}(4)

The decision variables for VN optimization comprehends all non-zero elements of the matrix of arc operating times () and their counterparts in the matrix of arc vapor molar flow rates (). These two sets correspond to vectors , obeying *Θ _{k}*=

*T*,

_{ij}*Φ*, where

_{k}=V_{ij}*i-j*(with

*i j*) is the

*k-th*element in the ordered list of active arcs. The number of decision variables is then twice the number of initially active arcs in the VN, represented by

*N*(0). The number of active cascades at time

_{CSC}*t*(

*N*(

_{CSC}*t*)) is given by the number of nonzero elements in greater than or equal to

*t*. An auxiliary vertex-arc incidence matrix, (size

*Nc*by

*N*(

_{CSC}*0*)), describes VN connectivity with reference to the oriented flow of vapor phase as a function of time. Elements of obey: , if Θ

*≥*

_{k}*t*and arc

*k*points to vertex

*i*; , if Θ

*≥*

_{k}*t*and arc

*k*leaves vertex

*i*; otherwise . Assuming McCabe-Thiele heat integration, leads to the vector of vertex generation of vapor phase (ν

*(t)*) at time

*t*, as shown in Eq. (5). VN performance is then obtained integrating Eq. (1) for all

*i*and . The batch time (

*Ω*) is given by the cascade with the largest operating time:

*Ω*= max(

*Θ*).

_{k}(5) |

**III. Formulation for VN Optimization**

Even with McCabe-Thiele cascades and ideal mixtures, VN response is strongly non linear. Its optimization is a highly non-convex problem prone to exhibit multiple optima. This scene can be aggravated if, for the sake of completeness, one realize that VN optimization unavoidably belongs to the class of mixed-integer problems.

On the other hand, this work is by no means intended to approach mixed-integer global optimization of VNs. Our objectives are indeed modest. First, we described and modeled VN systems; and, second, we approached a limited VN optimization based on three simple points: (i) search for a local optimum; (ii) unconstrained non linear continuous optimization; (iii) Maximum annualized profit problem (MaxAPP) formulation.

In this context, VN optimization is constrained by: (A) zero lower bound for and ; (B) upper bound *Θ ^{MAX}* to elements of ; (C) available heating power, Ψ . All available heat is supposed to be used by the VN at

*t=0*, so that the heat duty constraint is posed as an equality constraint satisfied at the initial condition. Coherently with the McCabe-Thiele approximation, this constraint can be replaced by a constraint on the total generation of vapor phase via an average heat of vaporization, λ . Applying Eq. (5) at

*t=0*, constraint (C) can be written as

(6) |

Constraints (A), (B) and (C) can be removed if the decision vectors and are expressed via elementary smooth transformations of continuous unrestricted variables, (*θ _{i}*,

*), as in Eqs (7) and (8). As one can easily see, Eqs. (7) and (8) are not invertible (nor convex) functions, but they are simple and usable for*

_{i}*direct*searches of a

*local*optimum, as we planned above. They also guarantee that (Θ

*, Φ*

_{i}*) satisfy the bounds and the heating constraint, such that variables (*

_{i}*θ*,

_{i}*) can be manipulated by an algorithm for unconstrained*

_{i}*direct*optimization.

(7) | |

(8) |

The annualized unitary profit (*AP*) is given by revenues with products minus annualized capital and costs with raw materials and utilities. The reference year has 7200 hours of operation. All products at time *t* () have their unitary prices (*P _{i}*, US$/gmol) valued by the

*Price Function*proposed by Ahón and Medeiros (2001). The Price Function relationship (Eq. (9)), works with product composition, specification parameters and the unitary price of a mixture in the worst state of separation (

*P*). Parameter

_{0}*P*is the unitary price of feedstock also determined by the Price Function from feedstock composition. If

_{RAW}*i-th*product does not achieve specification, the Price Function assures that

*P*

_{i}≅ P_{RAW}≅*P*. The

_{0}*AP*function is given by Eq. (10).

(9) | |

(10) |

In Eq. (10) *N _{BAT}* is the number of batches per year obtained from the total batch time and the operational year;

*ISBL*is the installed cost of distillation cascades, which can be traduced (Douglas, 1988) as the annualized fixed cost of the process (US$/year); and

*Util*is the annual cost of cold/hot utilities (US$/year). The denominator is the total amount of material processed (gmol/year). Formulae for

*N*,

_{BAT}*ISBL*,

*Util*are presented by Ahón and Medeiros (2001). It must be pointed that

*ISBL*is a function of vectors , , since the

*k-th*element of the ordered list of arcs only generates capital cost if it was active at start-up (

*Φ*> 0).

_{k}, Θ_{k}*Util*is proportional to the integral of generated vapor phase (

*Λ*) during the batch, given by Eq. (11). Matrix is continuously updated, from and , via Eq. (12). The MaxAPP is stated by Eq. (13).

(11) | |

(12) | |

(13) |

Problem Eq. (13) is solved using the well known Simplex Method (Reklaitis et al., 1983) for non-linear unconstrained optimization. Differential equations were integrated via adaptive Runge-Kutta schemes in order to keep mole fraction truncation error below 10^{-5}. The algorithm for computation of the objective *AP*, from the decision variables and process parameters, is summarized below.

- From
*θ*and_{i}supplied by optimization algorithm, calculate_{i}*Φ*,_{i}*Θ*with Eqs. (7),(8)._{i} - Calculate the batch time (
*Ω*) and profiles of flow rates of liquid and vapor in all cascades. - Set initial conditions for all vessels.
- Perform integration of Eqs. (1) determining products at the end of the batch. Price them all.
- Calculate
*N*,_{BAT}*ISBL*,*Util*and*AP*, with Eqs. (9), (10), (11) and (12).

**IV. Results**

For demonstration of VN systems, VN optimizations for 9 case-studies were considered. These cases were mounted from: (i) three ideal quaternary feedstocks F1, F2 and F3 (Table 1) with constant relative volatilities; and (ii) three levels of purity (*LP*=90%, *LP*=95%, *LP*=99%) for product specification. In all cases, the following choices apply: (i) total batch hold-up of 2700 gmol; (ii) cascades {1-2, 2-3, 3-4} with 15 stages, {1-3, 2-4} with 8 stages, and {1-4} with 6 stages; (iii) tray efficiency = 1; (iv) prices of specified products (US$/gmol): *P*_{1}^{Spc}=0.1, *P*_{2}^{Spc}=0.1, *P*_{3}^{Spc}=0.1, *P*_{4}^{Spc}=0.1; (v) *P _{0}=*0 US$/gmol; (vi) Θ

^{MAX}=5h; (vii) available heating ; (viii) average heat of vaporization

*λ =40000*J/gmol.

**Table 1: Feedstock Mixtures and Component Relative Volatilities**

**Table 2: Optimal Annualized Profit ( AP) and Batch Time (Ω) for VN processes **(

*a*: $/100mol)

**Figure 2 - Evolution of Φ/18000 (gmol/h) along simplex search [F3, LP-99%, f-VN]**

**Figure 3 - Evolution of AP along simplex search [F3, LP-99%, f-VN]**

**Figure 4 - Optimal and ^{*} (cumulative operational time) for 9 case-studies (f-VN)**

**Figure 5 - Time trajectories of product composition in Vessel 3 [F3, LP-99%, f-VN]**

Optimization involves structural and operational moves. Operational moves are defined by vectors , , which determine the programmed operating time and vapor flow rate of all arcs. These variables also apply limited structural moves by turning-off an initially active arc or rejecting an "initially active" condition by selecting "near zero" cascade times. For comparing different optimal VN structures, the nine cases of study were submitted to three systems: (i) the fully connected VN {1-2, 1-3, 1-4, 2-3, 2-4, 3-4} (*f*-VN); (ii) a medium connected VN {1-2, 1-4, 2-3, 3-4} (*m*-VN); (iii) the minimally connected (tree) VN {1-2, 2-3, 3-4} (*t*-VN). Optimizations showed that *t*-VN achieved the best objective values in all cases of study, as seen in Table 2. Figures 2 and 3 show the evolution of simplex search for the optimization of *f*-VN with feedstock F3 and level of purity of 99% [F3, *LP*-99%, *f*-VN]. Figure 4 depicts, with 9 rows of bars, the optimal policies (, ) for all 9 cases with *f*-VN. Each row has 6 bars: bar *j* sketches the optimal allocation of cascade *j* - height and color correspond to *Φ _{j}* and width to

*Θ*. Figure 5 shows time trajectories of mole fractions in vessel 3 for optimal [F3,

_{j}*LP*=99%,

*f*-VN]. Although the best economic option in all cases, the

*t*-VN was not always the faster processing. The underlying fact is that more connected (and expensive) VNs can be the best economical choice only if the problem offers a more difficult mission or a more substantial reward (VW-Beetle versus TR-Ferrari dilemma).

**V. Conclusions**

A new batch distillation was presented, the Vessel Network (VN). VNs do not require policies for product withdrawal and separate ideal or moderate non-ideal multicomponent mixtures, achieving desired purity for all products, without losses, slop cuts or control strategies. Local continuous VN optimization was carried out with maximization of the annualized profit of a quaternary (constant relative volatilities) separation under fixed vessel hold ups, fixed number of stages per cascade and fixed heating power. This problem was put unconstrained via transformed variables together with a Price Function for product valuation. We investigated optimization of three VN operations (*t*-VN, *m*-VN, *f*-VN) for nine cases of study built with three brands of feed and three levels of purity (*LP*) for specification. The tree VN (*t*-VN) attained the best objective values. The *m*-VN gives little inferior, but similar, results, being even faster in some instances. Unfortunately, due to strict lack of space, we can not present other examples capable to reveal that optimal densely connected VNs (e.g. *f*-VN) can be eventually the best operational choice. We indeed encountered such examples when, as mentioned in Sec. 1, the separation task is a harder one (*LP>99%*), specified products have higher prices (e.g. 0.5 US$/gmol), and cascades 1-4, 2-4 and 1-3 have 25 or more stages. This suggests that the extra degrees of freedom of *f*-VN could be better exploited when seeking harder goals and/or when the monetary separation reward is more attractive.

**Acknowledgements**

V. R. Ahón and J.L. Medeiros acknowledge financial support from CAPES-Brazil and CNPq-Brazil.

**REFERENCES**

1. Ahón, V.R., Medeiros, J.L., Optimal Programming of Ideal and Extractive Batch Distillation: Single Vessel Operations, Computers & Chem. Eng., 25(7/8), p. 1115-1140, (2001). [ Links ]

2. Douglas, J. M., Conceptual Design of Chemical Proccesses, McGraw-Hill Book Company (1988). [ Links ]

3. Hasebe, S., Kuruooka, T., Hashimoto, I., Comparison of the Separation Performances of a Multi-effect Batch Distillation System and a Continuous Distillation System, DYCORD 95, Denmark, (1995). [ Links ]

4. Hasebe, S., Noda, M., Hashimoto, I., Optimal Operation Policy for Multi-Effect Batch Distillation System, Comp.Ch.Eng., 21, p. S1221-S1226, (1997). [ Links ]

5. Mah, R.S.H., Chemical Process Structures and Information Flow, Butterworths, MA, USA (1990). [ Links ]

6. Reklaitis, G.V., Ravindran, A., Ragsdell, K.M., Engineering Optimization: Methods and Applications, Wiley, USA (1983). [ Links ]

7. Skogestad, S., Wittgens, B., Litto, R. and Sorensen, E., Multivessel batch distillation. AIChE J., 43, p. 971-978, (1997). [ Links ]

8. Wittgens, B., Litto, R., Sorensen E., Skogestad S., Total Reflux Operation of Multivessel Batch Distillation, Comp.Ch.Eng., 20, p. S1041-S1046, (1996). [ Links ]

**Received: December 19, 2005. Accepted for publication: July 27, 2006. Recommended by Editor A. Bandoni.**