## Servicios Personalizados

## Revista

## Articulo

## Indicadores

- Citado por SciELO

## Links relacionados

- Similares en SciELO

## Compartir

## Latin American applied research

##
*versión impresa* ISSN 0327-0793

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

**Thermodynamic approach for optimal design of heat and power plants. Relationships between thermodynamic and economics solutions**

**S. F. Mussati, P. A. Aguirre and N. J. Scenna**

*INGAR / CONICET -Instituto de Desarrollo y Diseño-, Avellaneda 3657, (3000) Santa Fe, Argentina. mussati@ceride.gov.ar*

*Abstract* — In this paper, a new procedure for the design and analysis of Heat and Power Plants is presented. In this formulation, thermodynamic solutions obtained by maximizing the plant efficiency are used to find the economic design of the plant. In fact, by applying the Karush-Kuhn-Tucker conditions it is possible to relate thermodynamic and economic solutions. A formal context for the use of thermodynamic models in solving complex optimization problems that arise in the area of synthesis and design of chemical processes is introduced. The proposed methodology has been successfully applied for two plant arrangements. Rigorous models have been used to model the plant equipments. The obtained results are presented in order to illustrate the proposed procedure.

*Keywords* — Thermodynamic Solutions. Optimal Design of Combined Power and Heat Plants. Optimization.

**I. INTRODUCTION**

To address the problem of design of Combined Heat and Power plants, several methods have been reported in the literature. These methods generally follow two basic approaches: those based on thermodynamic targets and heuristic rules (Thermodynamic and Thermo-economic approach), and those based on optimization techniques (Mathematical Optimization).

The traditional way of designing Combined Heat and Power Plants is to maximize the thermal efficiency of the whole system. For this purpose analysis methods based on both the first and second law of thermodynamics have been extensively discussed in the literature (Linnhoff and Townsend, 1982; Linnhoff et.al, 1982, Colmenares and Seider, 1987). The analysis reveals the thermal inefficiencies of the various subsystems of the plant. Once the inefficiencies have been identified, heuristics rules are applied to improve the performance of the plant. These heuristics form the basis for both parameter and structural modifications to the plant. The capital cost of the plant is assessed after the thermally best design is achieved.

Thermo-economic approach (Valero et.al, 1986, 1989; Frangopoulos C., 1990a, 1990b; Tsatsaronis G. 1990, 1991) is an extension of the thermodynamic approach. The capital cost of the units and the prices of product streams of the units are included in the second law analysis model in the plant. This approach tries to address the trade-off between thermal efficiency and capital expenditure.

Mussati et al. (2001) recently presented a "hybrid methodology" involving thermodynamic solutions as starting points to optimize the Multiple Stage Flash (MSF) desalination system. This equiptment was rigorously modelled and the objective was to find the configuration and operating conditions to minimize the total annual cost of the system which is composed by the investment cost (heat transfer area and flashing chamber area) and operating cost (vapour consumption).

In this paper the "hybrid methodology" presented in Mussati et al. (2001) is extended to the case of cogeneration plants. Precisely, an additional term ìn the objective function which includes investment cost of power production is introduced. New relationships between thermodynamic and economic solutions are derived for power and heat production plants. A formal context for the use of thermodynamic models in solving complex optimization problems that arise in the area of chemical processes design is introduced.

This work is organized as follows. Section II introduces the problem definition. Section III briefly describes the processes to be analyzed. Section IV presents the solution procedure and Section V illustrates a numeric example through a case study. Finally, Section VI presents the conclusions and major challenges for further research.

**II. PROBLEM DEFINITION**

The problem is stated as follows. Given are the cost data, the process heat demand (or fresh water production and seawater conditions: temperature and composition). The goal of the problem is to determine the optimal operating conditions of a cogeneration plant at minimum cost per unit time. Note that only the process heat demand (or fresh-water demand) is given while the electricity production is a free variable because a benefit of the electricity produced by the systems is considered.

**III. PROCESS DESCRIPTION **

Figure 1 shows the configuration system to be considered and analyzed in this paper.

**Fig. 1.** A simple configuration of a combined power and heat plant

The configuration system to be considered and analyzed in this paper is illustrated in Fig. 1. As is shown, the cogeneration plant consists of a gas turbine followed by an air pre-heater that uses part of the thermal energy of the gases leaving the turbine, and a heat-recovery steam generator system in which the required steam is generated.

**IV. HYBRID METHODOLOGY **

In this methodology, thermodynamic optimal solutions obtained from problem P2 are used as a starting point to achieve the "economic" optimal solution of problem P1. Both problems are presented in Table 1.1.

**Table 1.** Economic and Thermodynamic problems.

where C_{A}, C_{f}, C_{W} and P_{W} are known and refer to the unitary cost of heat transfer area ($/m^{2}), fuel unitary cost ($/GJ), electricity production cost and sell price of the electricity produced by the system, respectively. W(x), M_{f} (x) and At(x) refer to the generated power (electricity), fuel consumption and total heat transfer area of the system. A_{0} is a model parameter. Finally, the constants K_{1}, K_{2}, K_{3} and K_{4} are unit conversion factors and involve the capital recovery factor, the lower heating value of the fuel and the number of hours of plant operating per year.

Simplified cost functions were assumed to compute capital and operation costs. Both models were implemented in General Algebraic Modeling System GAMS. The generalized reduced gradient algorithm CONOPT 2.041 was used as NLP solver. The mathematical model involves more than 50 variables and 60 constraints (including equality and inequality constraints).

Under certain hypotheses, it is possible to obtain relationships relating the solutions of P1 and P2 problems by applying the classical duality theory and the Karush-Kuhn-Tucker KKT conditions. Refer to Appendix I for the complete derivations.

According to Table 1, the objective of the proposed P2 problem is to find the optimal distribution of the total heat exchange area [At(x)] between the power generation cycle PGC (back-pressure cycle) and the process, in order to obtain the maximum efficiency of the system which is defined as the ratio between W(x) and M_{f}(x). The objective here is to maximize the efficiency of the system subject to different A_{0} values.

Then, a family of thermodynamic solutions can be obtained by solving P2 problem for different At(x) values. Then, these solutions can be efficiently used not only to initialize the "economic" problem P1 but also to predict the range for the optimal values of the main variables of the model (power, total heat transfer area, fuel, among others). The idea is based on the thermodynamic optimization subject to physical size constraints [Mussati et al. (2001), Bejan A. (1999), Aguirre P. and Scenna N. (1991)].

According to Appendix I, the following conditions must hold in order to assure that solutions obtained from problem P1 and problem P2 are identical:

Cf K_{2 }/ [CW K_{3 }- PW K_{4}] = [W(x) / M_{f}] (1)

CA K_{1} / [CW K_{3 }- PW K_{4}] = μ^{*} M_{f} (2)

where μ^{*} refers to the lagrange multipliers related to the constraint (a) of the thermodynamic problem P2.

By solving the problem P2 for different total heat transfer area values (parameter A_{0}) the constitutive parts of the Thermodynamic Costs such as: μ* M_{f} vs. At(x) and W(x)/ M_{f}(x) vs. At(x) are obtained (Fig. 3a, 3b). Then, the "thermodynamic costs" given by (1) and (2) can be computed and the range of values for the main problem variables can be predicted (e.g. total heat transfer area, fuel consumption, generated power).

**Fig. 3a.** Thermodynamic costs vs. total heal transfer area. Case 1

**Fig. 3b.** Thermodynamic costs vs. total heal transfer area. Case 2

Note that the family of "thermodynamic" costs reported in Fig. 3a is universal because it is independent from geographic and contingency factors and they have a general validity.

Given a set of cost parameters (C_{A}, C_{W}, P_{W}, C_{f}), two situations can occur when the relationships (1) and (2) are computed.

In situation (A), the real cost ratio corresponds to only one point of the "thermodynamic costs" (Fig. 3a). In this case, the starting point determined by eq. (1) and eq. (2) satisfies simultaneously the solution of both P1 and P2 problems. Nevertheless, it should be noted that it is a rare case.

Other situation occurs when eq. (1) and eq. (2) determine two points on the curve of the "thermodynamic costs" defining a range of values as initial conditions (Fig. 3b). In this case the relations (1) and (2) "bound" the optimal values for power production, fuel consumption and total heat transfer area. This case is more frequent (Situation B).

According to the situations explained above, several ways are possible to be used in order to initialize efficiently the P1 problem. Two alternative initialization procedures are:

a) Continuation method from the "thermodynamic costs" to the "real cost" based solution. From the values corresponding to one point inside on the range predicted by (1) and (2), a simple Continuation Method is used by perturbing the cost parameter from the thermodynamic costs to the real ones used in the actual objective function. This evolution is easy taking as starting point the solution of P2.

b) To adopt a solution in the range given by eq. (1) and eq. (2) as starting point to solve the problem P1.

Both options have been successfully applied to the configuration systems described in Section 3.

Finally, it is important to notice that both problems (P1 and P2) differ only on the objective function (equal constraints) and they are equally complex to solve. Nevertheless, it is possible to find many useful relationships and properties associated to the thermodynamic model which can be used efficiently to facilitate the initialization of economic problems [Mussati (2003), Scenna and Aguirre (1991)].

**V. RESULTS AND DISCUSSION**

In this section the optimal solution obtained for the system illustrated in Fig. 1 is presented.

Table 2 shows the cost data for the optimization problem.

**Table 2.** Problem Parameters

The following thermodynamic costs are obtained by applying eq. (1) and (2):

C_{A} K_{1}/[C_{W} K_{3}- P_{W} K_{4}] = 0.172

C_{f} K_{2}/[C_{W} K_{3 }- P_{W} K_{4}] = 110800

Then, from Fig. 3b and Fig. 3c and by using the thermodynamic costs, lower-upper bounds for the main problem variables are obtained. Therefore, the economic problem was solved by using the "initialization" procedures mentioned previously.

**Fig. 3c.** W vs At and M_{f} vs At curves

Table 3 shows the lower-upper bounds and the optimal values for the main variables of the problem.

**Table 3.** Optimal values of the main optimization variables

^{*} values corresponding to initialization way b) described in Section 4.

The initial values reported in Table 3 are average values within the range determined by eq. (1) and eq. (2).

According to the results presented in Table 3, a good prediction of the initialization values for the main optimization variables is performed by the proposed methodology.

On the other hand, problem P1 was also solved for situation (A) described in section IV in order to verify the relationships presented in this paper. For this, we fixed an At value and computed the corresponding set of thermodynamic cost using Fig. (3a) and (3b). Then, the problem P1 is solved for these costs and initialized using the solution corresponding to problem P2 for the given At value. From the obtained result, it is possible to verify that both solutions are equal. We emphasize again that the situtation where the real costs are at the same time the thermodynamic costs is not usual in the real world.

Finally, given the cost data, the same procedure has been successfully applied to determine the optimal operating conditions for the process illustrated in Fig. 4. As it is shown, the process consists of a back-pressure steam turbine coupled to the MSF deslator system, resulting in fresh water production.

**Fig. 4.** Back-pressure turbine coupled to MSF desaltor

Again, good lower and upper bounds as well as starting points for the optimization algorithm are determined by applying the developed relationships.

**VI. CONCLUSIONS**

A new strategy involving and "hybrid" algorithmic procedure for the optimization of combined power and heat plants is presented. The procedure uses optimal solutions obtained from a "thermodynamic method" to find the "economic solution". The proposed hybrid methodology has been successfully applied to determine the optimal design for different sets of costs and for structures illustrated in Fig. (1) and (4).

As is shown in the example presented in this paper, a good prediction of the initial values for the main optimization variables is performed by the proposed methodology. However, it should be mentioned that the drawback of this approach could be the number of problems to be solved in order to construct the optimal curve for the "thermodynamic" costs (Fig. 3a, 3b, 3c). Nevertheless, a set of useful thermodynamic heuristics derived from the universal thermodynamic properties (Scenna and Aguirre, 1991) can be applied to construct these curves relatively easily. For example, one of the "thermodynamic heuristics" previously presented in Mussati (2003) is used to solve the system configuration illustrated in Fig. 4. In fact, the following relationship (T_{j} - T_{j-1}) / t_{v} = K, (temperature gradient between stages divided by the temperature of the condensing vapor) remain constant for all the stages. So, knowing the K value it is possible to initialize the temperature profiles for the feed, distillate and brine streams. Then, enthalpies of all streams and stages can be initialized taking into account this profile. Using this property, feasible solutions are found in few iterations for problem P2, facilitating the convergence of the optimization algorithm.

Even though the mentioned property is valid for problem P2, it is difficult to prove it from a mathematical point of view. This heuristic is related with several publications discussing the optimal temperature gradient for heat transfer in several processes [Alebrahim and Bejan (1999) Bejan (1999); Tondeur and Kvaalen (1987)]. Also, useful heuristics that could be used for initialization phase for power cycles (electricity generation) can be found in Scenna and Aguirre (1987) and Mussati et al. (1997).

Although the preliminary results obtained by the "thermodynamic" procedure are good it is necessary to extend it to other functionality costs in order to obtain more realistic solutions. For this, re-derivations of the "thermodynamic" costs should be developed and will be considered in future works.

**APPENDIX**

**Table 4.** Thermodynamic and Lagrange Problems

μ *, g_{i }and h_{j} are the Lagrangian multipliers. Constraints (A.1.1) and (A.1.2) are known as feasibilty conditions while constraints (A.1.3) and (A.1.4) are referred to as a complementary slackness conditions. Note that the multipliers μ * and h_{j }associated with the inequality constraints are nonnegative, whereas the multipliers associated with the equality constraints are unrestricted in sign.

The first term of the condition (A.1) can be re-written as follows:

[W(x*)/M_{f}(x*)] = [∇ [W(x*)/ M_{f}(x*)] - W(x*) / M^{2}_{f} (x*) ∇ M_{f}(x*)] (**A.2)**

Substituting (A.2) into (A.1) and multiplying by M_{f}(x*) ≠ 0 the obtained expression, we obtain:

-∇ [W(x*)] + W(x*) / M_{f}(x*) ∇ [M_{f}(x*)] + M_{f}(x*) [μ *∇ [At(x*)-A_{0}]] + g_{i} ∇ [Gi(x*)] + h_{j} ∇ [H_{j}(x*)] =0

**(A.3)**

**Table 5.** Economic and Lagrange Problems

Taking into account Lagrange function and eq. (A.4), the following expression is obtained:

CA K_{1} ∇ [At(x*)] + Cf K_{2 ∇ }[M_{f}(x*)] **+ **[CW K_{3 }- PW K_{4}] ∇ [W(x*)] + gi ∇ [Gi(x*)] + hj ∇ [Hj(x*)] = 0

**(A.4.1)**

where:

G_{i}(x*) = 0 (A.4.1.1)

H_{j}(x*) ≤ 0 (A.4.1.2)

h_{j} H_{j}(x*) = 0 (A.4.1.3)

μ * ≥ 0 ; h_{j ≥ } 0 (A.4.1.4)

Note that P1 and P2 problems differ between them in the objective function and constraint related to the total heat transfer area (A.1.4).

If eq. (A.4.1) is divided by [CW K_{3 }- PW K_{4}], the following expression is obtained:

- ∇ [W(x*)] + Cf K_{2 }/ [CW K_{3 }- PW K_{4}] ∇ [M_{f}(x*)] +CAK_{1}/[CWK_{3}-PW K_{4}] ∇ [At(x*)]+gi ∇ [Gi(x*)]+hj∇ [Hj(x*)] = 0 ** (A.5)**

By comparing eq. (A.3) and (A.5), problem P1 and P2 have equivalent solutions if the following relationships are satisfied:

Cf K_{2 }/ [CW K_{3 }- PW K_{4}] = [W(x) / M_{f}] **(A.6)**

and

CA K_{1} / [CW K_{3 }- PW K_{4}] = μ^{*} M_{f} **(A.7)**

On the other hand, the Lagrangian Dual for P2 (maximum in this case) provides the following relationship:

∇ [W(x*) / M_{f }(x*)] / ∇ At(x*) = μ * **(A.8)**

[∇ W(x*)/M_{f }(x*)-W(x*)/M^{2}_{f}(x*)∇ M_{f} (x*)]/∇ At(x*)=μ * **(A.9)**

The following expression is obtained by substituting (A.9) into (A.7):

CA K_{1} / [CW K_{3 }- PW K_{4}] = [∇ W(x*) / M_{f }(x*)- W(x*)/M^{2}_{f} (x*) ∇ M_{f} (x*)] / ∇ At(x*) M_{f}

CA K_{1} / [CW K_{3 }- PW K_{4}] = [∇ W(x*) - W(x*)/M_{f} (x*) ∇ M_{f} (x*)] / ∇ At(x*) (**A.10)**

Then, if (A.10) is divided by (A.6), the resulting expression is:

CA K_{1} /[Cf K_{2}] = [M_{f} /W(x)] [∇ W(x*)/∇ At(x*) - [W(x*)/M_{f} (x*)] ∇ M_{f} (x*) / ∇ At(x*)] **(A.11)**

Equations (A.6) and (A.7) or (A.10) and (A.11) provide the necessary conditions to assure the equivalence between the solutions of P1 and P2 problems. CA , K_{1} , Cf , K_{2} , CW , K_{3 }, PW , K_{4} are data of the problem.

**ACKNOWLEDGMENTS**

The authors want to acknowledge the financial support from the Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET), the Agencia Nacional para la Promoción de la Ciencia y la Tecnología (ANPCyT) and the Universidad Nacional del Litoral of Argentina.

**REFERENCES**

1. Alebrahim A. and Bejan A. "Entropy Generation Minimization in a Ram-Air Cross-Flow Heat Exchanger." IJAT **2**, 145 - 157 (1999). [ Links ]

2. Bejan, A. "Thermodynamic optimization alternatives: minimization of physical size subject to fixed power", *International Journal of Energy Research*, **Volume 23, Issue 13**, pp. 1111-1121 (1999). [ Links ]

3. Colmenares, T. and Seider, W., "Heat and Power Integration of Chemical Processes", *AIChe Journal*, **33 (6)**, 898-915 (1987). [ Links ]

4. Frangopoulos C. A., "Thermoeconomic versus thermodynamic design optimization of a simple gas turbine plant. Part A: Thermodynamic Optimization", *International Journal of Mechanical Engineering Education*, **Vol 20, N ^{o} 3**, 149-156 (1990a). [ Links ]

5. Frangopoulos C. A., "Thermoeconomic versus thermodynamic design optimization of a simple gas turbine plant. Part B: Thermoeconomic optimization",

*International Journal of Mechanical Engineering Education*,

**Vol 20, N**, 157-168 (1990b). [ Links ]

^{o}36. Linnhoff, B. and Townsend, D., "Designing Total Energy Systems",

*Chem. Engng Prog.*,

**78 (7)**, 72-80 (1982). [ Links ]

7. Linnhoff, B., Townsend, D., Boland, D., Hewitt, G., Thomas, B., Guy, A., Marsland, R., Flower, J., Hill, J., Turner, J. and Reay, D.,

*User Guide on Process Integration for the Efficient Use of Energy*. The Institute of Chemical Engineers, London (1982). [ Links ]

8. Mussati, S., Aguirre, P. and Scenna, N., "Thermodynamic Synthesis of Cogeneration Systems". International Desalination Association IDA World Congress on Desalination and Water Reuse, Madrid, Spain, Oct. 6-9, 1997. [ Links ]

9. Mussati, S., Aguirre, P. and Scenna, N., "A new strategy for the synthesis and optimization of MSF desalination systems".

*Proceedings of ENPROMER 2001*,

**Vol. 1**, 67-72 (2001). [ Links ]

10. Mussati, S., "Síntesis y Diseño de Sistemas de Desalinización de Agua de Mar por Sistema Doble Propósito Incluyendo Turbinas de Gas". PhD Thesis, Universidad Nacional del Litoral, Santa Fe, Argentina (2003). [ Links ]

11. Scenna, N. And Aguirre, P., "Optimal Thermodynamic Heat Transfer". Ind. & Engn. Chem. Res. 28, pp 873/877 (1989). [ Links ]

12. Scenna, N. And Aguirre, P., "Optimal Thermodynamic Synthesis of Dual-Purpose Desalination Plants. Extraction Vs. Back Pressure Turbines".

*Desalination J.*,

**V. 81**, 419-436 (1991). [ Links ]

13. Tsatsaronis, G., Pisa, J. J. and Lin, L., "The Effect of Assumptions on the Detailed Exergoeconomic Analysis of a Steam Power Plant Design Configuration; Part I: Theoretical Development"; "Part II: Results and Discussion", A Future for Energy, Proceedings of the Florence World Energy Research Symposium, Firenze, Italy, May 28-June 1, pp. 771-792 (1990). [ Links ]

14. Tsatsaronis, G., Tawfik, T., Lin, L. and Gallaspy, D., "Exergetic Comparison of Two KRW-Based IGCC Power Plants". Winter Annual Meeting of the American Society of Mechanical Engineers, Atlanta, Georgia, December 1-6, Second Law Analysis-Industrial and Environmental Applications, ASME, AES-

**Vol. 25**(G. M. Reistad, M. J. Moran, and W. J. Wepfer and N. Lior, editors), pp. 7-18 (1991). [ Links ]

15. Tondeur D., Kvaalen E., Equipartition of entropy production. An optimality criterion for transfer and separation processes,

*Ind. & Eng. Chem. Res.*, 26, 50-56 (1987). [ Links ]

16. Valero A., Lozano A. and Muñoz M., "A General Theory of Exergy Saving: Part I. On the Exergetic Cost: Part II. On the Thermodynamic Cost: Part III. Energy Saving and Thermoeconomic in Computer Aided Engineering of Energy Systems" -

*Second Law Analysis and Modeling*, 1-22 (1986). [ Links ]

17. Valero A., Torres C. and Lozano M., "On the Unification of Thermoeconomic Theories Simulation of Thermal Energy Systems".

*The American Society of Mechanical Engineers*, New York, 63-74 (1989). [ Links ]

**Received: December 21, 2005. Accepted for publication: August 3, 2006. Recommended by Editor A. Bandoni.**