CHEMICAL ENGINEERING TRANSACTIONS VOL. 61, 2017 A publication of The Italian Association of Chemical Engineering Online at www.aidic.it/cet Guest Editors: Petar S Varbanov, Rongxin Su, Hon Loong Lam, Xia Liu, Jiří J Klemeš Copyright © 2017, AIDIC Servizi S.r.l. ISBN 978-88-95608-51-8; ISSN 2283-9216 Cooperative Game Based Cost Analysis of Multi-Plant Heat Exchanger Network Integration in Chemical Industry Park Yuhui Jin, Shaojun Li*, Da Jiang Key Laboratory of Advanced Control and Optimization for Chemical Processes, East China University of Science and Technology, Shanghai, 200237, China lishaojun@ecust.edu.cn Industrial energy saving is essential to the plant in the chemical industry park. Heat exchanger network of multi-plant can recover more potential energy. To ensure the network construction successfully, co-construct cost must be allocated reasonably. Cooperative game-theory based approach combines “Core” and “Risk- based Shapley value” with the network structure is put forward to give a contribute-equal cost imputation. A case study which includes three chemical plants is used to describe the approach and shows its practice value. The case study used Risk-based Shapley value illustrated plant which is confronted with high risk-loss will participate in the co-construction with lower cost, which means high risk and high yielded side by side. 1. Introduction Industrial energy saving is aimed at achieving the operation of industrial production while minimizing energy use. With the development of industrial manufacturing technology, enterprises are gradually being located in the form of chemical industry park (CIP). As a result, factories in the CIP are becoming concentrated. Heat Exchanger Networks (HEN) synthesis, as one kind of effective energy recovery methods plays a very positive role in reducing energy use and increasing energy efficiency. Many papers related to synthesis of HEN have been published for a single plant (Escobar and Trierweiler, 2013), while only a minority of them concerns about integration of HEN for multi-plant in CIPs. Chen et al. (2016) was concerned with the energy hub approach of multi-plant heat integration, Cheng et al. (2014) use the Nash-equilibrium to solve multi-plant energy trading, and Tan et al. (2016) use cooperative game to solve multi-plant cost allocation problem. The high integration of factories in CIPs offers the opportunity for multi-plant to exchange heat, which means that more potential energy could be recycled, thus reducing the utility consumption. If HEN integration of multi- plant is achieved, it could be a feasible way of energy saving in CIPs. However, the dilemma of multi-plant HEN integration is reflected not only in the optimization of pipeline network, but also in the allocation of co- construction cost (Hiete et al., 2012). Considering the present complex and changeful economic situation, the analytical approach which combines game theory and the risk could provide a more objective and effective way to allocate the cost of this co-construction. In this paper, an approach to allocating the co-construction cost of a HEN by combining “Core” and “Risk- based Shapley Value” is put forward. And a case study which includes three plants is used to introduce the approach. 2. Allocation based on cooperative game theory 2.1 Core – set of allocate solution In cooperative game theory, the core is the set of feasible allocations that cannot be improved upon by a subset (a coalition) of the economy's consumers. It provides a reasonable way for all participants that are included in big coalition to gain their own part from the big coalition payoff. Supposed that a set (of n players) and a function that maps subsets of players to the real number: with , while denotes the empty set. The function is called a characteristic function. If is a coalition of players, then called the worth of coalition , describing the total expected { }1, 2, 3,...,N n= ( )v ⋅ : 2Nv →  ( ) 0v ∅ = ∅ ( )v ⋅ S N⊆ ( )v S S DOI: 10.3303/CET1761201 Please cite this article as: Jin Y., Li S., Jiang D., 2017, Cooperative game based cost analysis of multi-plant heat exchanger network integration in chemical industry park, Chemical Engineering Transactions, 61, 1219-1224 DOI:10.3303/CET1761201 1219 sum of payoffs that the members of can obtain by cooperation. Defined as the payoff of player in coalition , , then vector is called a pre-imputation of coalition . Core means the payoff created by big coalition have an imputation that meets the condition by Individual Rationality, Group Rationality, Coalitional Rationality and No Subsidy Principle. Individual Rationality: pre-imputation vector satisfies . Group Rationality: pre-imputation vector satisfies . Coalitional Rationality: pre-imputation vector for any satisfies . No Subsidy Principle: pre-imputation vector satisfies . The indicates the payoff created by coalition , that in contributed by all players in coalition except the player . No Subsidy Principle inequality shows that the payoff that the player could gain must be lower than his marginal contribution. Bondareva-Shapley theorem demonstrates that if the cooperative game is a balanced game, the Core is non- empty. Generally, in heat exchanger co-construction problem, the game structure is super-additive, balanced, and even convex. Note that, when the problem is concerned about cost allocation, the inequality sign of Individual Rationality, Coalitional Rationality, and No Subsidy Principle must be reversed. 2.2 Shapley Value In cooperative game theory, the Shapley value provides a measure of the “importance” of each player. If it is a cost problem, it can be used as a cost allocation algorithm. Shapley Value also supposed that big coalition can be formed. When calculating the allocation of worth created by big coalition, the payoff of all other sub- coalition formed by players have been concerned, so that final imputation shows equity. Each player’s allocation from the big coalition depends on player ’s contribution for all potential sub-coalition which player could participate. The difference between the Shapley Value and the Core is that the Shapley Value is a “one- point solution”, and if the Core is non-empty, it usually does be a high-dimensional feasible domain. While the Core is non-empty and Shapley Value is in the Core, then the Shapley is located in the barycentre of the Core. Usually, the Shapley Value is defined as every player’s the average marginal contribution to all possible sub- coalition. To a super-additive characteristic function , the Shapley value can be calculated in Eq(1)~(3): ( ) ( ) ( )| | 1 ! | | ! !S S n S nω = − − (1) ( ) ( ) ( )\M S v S v S i= − (2) ( ) ( ) ,i S N i S S M Sω ⊆ ∈ Φ =  (3) is the number of players in coalition , is the weight coefficient of coalition in all coalition. is the marginal contribution of player in coalition . To most cooperative game problems, the Shapley Value can be obtained by Eq(1)~(3). But for some problems, if a player exits from a coalition, it will bring extra loss to other players. Such as a three-plant (P1, P2 and P3) HEN synthesis problem, is the payoff of a coalition between P1 and P2. If the HEN structure is built on three-plant cooperation, for some reasons P3 exits from the coalition (suddenly shutdowns), and are different conception. For production continuity, P1 and P2 would cost more utility to compensate the exit of P3. To this kind of game problem, a risk-based Shapley Value is introduced. To analysis this situation, average marginal contribution of player should be further discussed (Grabisch and Xie, 2007). 2.3 Average contribution of Shapley Value Given player set , there are totally different sequences to order the players. Record each sequence as , and record all sequences set as . Select one sequence from randomly, it may record as , then the marginal contribution vector for this sequence is calculated as follows. This is , where , and other elements in is calculated by Eq(4). ( ) ( ) ( ){ }( ) ( ) ( ){ }( )( ) 1 , , 1 , , 1km v v k v kσσ σ σ σ σπ π π π π= − −  (4) Next, sort the sequence into nature order by player which was originally formed in , and then the marginal contribution sequence can be sorted in a positive order, and obtain sequence . e.g. When and , then should be . After calculating all sequence in , and reordering into , the average marginal contribution can be calculated as Eq(5). S S ix , i S ( )S ii S x v S∈ = , ( )1 2, ,...,s S S S nX x x x= , , , S ( )C v N NX { }( ), N ii N x v i∀ ∈ ≥, ( )N ii N x v N∈ = ,NX ( )N ii S x v S∈ ≥ , ( ) ( ), \N ii N x v N v N i∀ ∈ ≤ −, S N⊆NX NX \N i i N i ( )\v N i N S | |S S ( )M S i S { }( )1, 2v { }( )1, 2v { } { }( )1, 2, 3 \ 3v N n! σπ ( ), ( )N Nσ ∈π π π ( )Sω ( ) ( ) ( )( )1 , 2 , , nσ σ σ σπ π π=π  ( )Nπ ( )vσm σπ ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ){ }1 2, , , , ,k nv m v m v m v m vσ σ σ σσ σ σ σ σπ π π π=m   ( ) ( ){ }( )1 ( ) 1m v vσσ σπ π= ( )vσm ( )vσm σπ { }1, 2, 3,..., n ( )vσO i { }3,1, 4, 2σ =π { }( ) 10, 65, 24, 9vσ =m ( )vσO ( ) { }65, 9,10, 24vσ =O ( )vσm ( )Nπ ( )vσO S ( )v ⋅ iΦ ( )vσm i i 1220 ( ) ( ) 1 ( ) ! N v v n σ σ ∈ =  π π Φ O (5) This is the solution of Shapley Value Vector , and the Shapley Value for each player is , which describe the payoff for player .In cost allocate problem, This refers to expenses. This result is equivalent to calculated by Eq(1)~(3), but it implies more concept details of “contribution-equality”. However, it neglects the potential risks that the players bring to each other and encounter. 2.4 Risk loss – Risk based Shapley Value In actual cooperation, there may be the risk that participants drop out coalition halfway. The risk will cause certain results as follows: the sudden drop-out of some players in coalition brings “risk-loss” to other members of original coalition. In reality, when coalition has already been formed, if a player drop out of the coalition for some reason, then the worth of coalition will not reach the value of character function , this may lead to a situation that the coalition gain loss or cost more. Generally, if this circumstance takes place in probability, the coalition which lose some players would make other members suffer losses, so this is called “risk-loss”. Define as the circumstances that the players in original coalition all drop out except player , which would make player had to work alone. Also define as the payoff of player in this situation. For each player in set , is used to describe the risk possibility for player dropping out of any possible coalition .No matter which sub-coalition from , if player takes part in it, he will drop out of this sub-coalition at probability . The probability has no preference, for any coalition which contain player , thus the drop out probability is equal. In other words, this probability is not to depict the subjective intention of player , but to describe the drop out probability from an objective view. In practice, the drop out are caused by Factory closures, poor management, capital chain broken and so on. Probability could be obtained by statistics similar factory annual collapse rate or calculate by professional risk assessment agency. Given , and supposed that the coalition has been formed. If player can take utopia payoff of marginal contribution, his payoff will be . However, he is also taking the corresponding risks. Considering its most extreme situation, if for some reasons all other players drop out of the , then finally the probability that player works alone will be . Comparing this loss with the case of working alone, then the loss can be recorded in . Considered the probability of this situation is ,so that the expectation of this loss is calculated by Eq(6), and this means the “risk-loss” for player in . { } { }( )( ) { }( )( ):j j S w i i S v iα ∈   ⋅ −    ∏  (6) 2.5 Risk-based Shapley Value calculate In order to consider the risk of Shapley value, the risk-loss can be combined with sorted marginal contribution in Eq(4). Obviously, player obtains his payoff of marginal contribution with “marginal risk” from other members, and he also bring “risk” to others. If the worst risk had happened, his payoff would become , and his expectation of risk loss would be , so his Pure Expectation Payoff would become Eq(7). { }( ) ( )( ) { } { }( )( ) { }( )( ):j j S v i S v S w i i vS iα ∈   − − ⋅ −    ∏  ① ③ ② (7) In this formula, ① refers to payoff of marginal contribution, ② refers to risk probability,③ refers to risk-loss. Next, combine the Eq(7) with the calculation of average marginal contribution Eq(4). In th sequence , pure expectation payoff vector of recorded as ,where and other elements follow Eq(8). ( ) ( ) ( ){ }( ) ( ) ( ){ }( ) ( ) ( ){ } ( ) ( ){ }( ) ( ){ }( )( ) 1 1 ( ) 1 , , 1 , , 1 : 1 , , k k k k h v v k v k w k k v k σ σ σ σ σ σ σπ σ σ σ σπ π π π π α π π π π − = = − −   − ⋅ −    ∏    (8) Next, sort the sequence into nature order by player which was originally formed in , then the marginal contribution sequence can be sorted in a nature positive order, and obtain sequence . After calculating all sequences in , and reordering into , the average risk marginal contribution coefficient vector can be calculated in Eq(9). ( )1 2( ) , , , , ,i nv = Φ Φ Φ ΦΦ   i iΦ i iΦ S s S∈ { }\S s { }( )\v S s :i S { }\S i S i i( ):w i S i { }1, 2, 3,...,N n= [ ]0,1iα ∈ i { } { }, \i S S N i⊆ { }i S N i { }i S iα iα i i iα { }\S N i∀ ⊆ { }i S { }( ) ( )v i S v S− S jj S α ∈∏i { } { }( )( ) { }( ):w i i S iv− i { } { }, \i S S N i⊆ jj S α ∈∏ ( )kσπ :i S ( ):w i S { } { }( )( ) { }( ):w i i S iv− σ σπ ( ) ( ) ( ) ( )1 2( ) { ( ), ( ), , ( ), , ( )}k nv h v h v h v h vσ σ σ σ σ σ σ σ σ π π π π=h  σπ ( ) ( ){ }( )1 ( ) 1h v vσσ σπ π= { }1, 2, 3,..., n i ( )vσh σπ( )v σh ( )vσΘ ( )Nπ( )vσh ( )vσΘ i 1221 ( ) 1 ( ) ( ) ! N v v n σ σ ∈ =  π π Ψ Θ (9) However, this solution doesn’t meet the condition of Group Rationality, so the imputation of big coalition should be calculated by Eq(10). Based on the vectors calculated by Eq(9), the vectors are then be normalized and serve as coefficients of payoff of big coalition. ( ) 1 ( ) '( ) ( ) n v v v N v × = ⋅ ⋅ Ψ Φ Ψ 1 (10) This is the solution of Risk-based Shapley Value Vector , and the Risk base Shapley Value for each player is . Vector in the denominator means n row and one column vector filled with all elements “1”, and donates the payoff of big coalition. It can also be proved that this solution is equivalent with Shapley when risk does not exist or “risk-loss” equals zero. 3. Heat Exchanger Network synthesis Heat exchanger network synthesis (HENS) has a far-reaching practical significance in the chemical engineering industry. In this paper, the HENs are optimized by applying the mathematical programming method proposed by Floudas et al. (1986). Calculating the Risk-based Shapley proposed in this paper needs synthesis all possible plant coalition. When taking the time-consuming algorithm to synthesis HEN, the solution of this complex problem will no longer be time-efficient. Note that: in multi-plant HEN synthesis problem, it is tolerable to take any existing optimization algorithm. However, in case of synthesis of different multi-plant HEN coalition, the same kind of optimization algorithm must be used, so as to guarantee the fairness of solutions. 4. Simulation example for Chemical Industrial Park multi-plant heat exchanger synthesis In order to introduce the process clearly, a case study which includes 3 chemical plants cited from Cheng et al. (2014) is used to explain the analysis. Table 1 shows the stream data. Utility stream could choose cold water (CW), Fuel and High-pressure steam (HP). Their inlet/outlet temperatures are 25 °C / 26 °C, 500 °C / 499 °C and 200 °C/199 °C separately. Their costs are 6.7($/kWy), 110($/kWy) and 79($/kWy) separately. Each heat exchanger cost calculates as 10,000 + 670×Area0.83 ($), Area calculate by Q/(U·LMDT), and the LMDT described by Chen (1987). Coefficient U equals 1 kW/(m2·°C). The drop out probability is α1 = α2 = α3 = α = 0.01. Total cost calculates as: Utility cost + Heat exchanger cost. The rate of interest equals 0%, and all plants lifetime are 10 years. Figure 1: Optimal structure of three-plant HEN synthesis Optimization of multi-plant HEN synthesis is solved by GAMS software under the operation system of Win 7 Ultimate, and Figure 1 is the optimal structure of the example, and Table 2 show all possible coalition co- construction cost which is calculated considering the whole Multi-plant HEN lifetime in 10 y. From the data in Table 2, the three-plant HEN co-construct is the best choice. The advantages are that it recycles potential heat and reduces the use of utility as much as possible. Meanwhile, it satisfies v({1,2,3})≤v({1})+v({2})+v({3}) ( )1 2'( ) ' , ' , , ' , , 'i nv = Φ Φ Φ ΦΦ   i 'iΦ 1n×1 ( )v N 1222 and v({1,2,3})≤v({1})+v({2,3}), which indicates that it is the cheapest way to exchange heat cooperatively with three-plant. In order to ensure the network construction successfully, co-construct cost must be allocated reasonably. Considering each plant has the risk to drop out of the multi-plant coalition. Here the risk-payoff is calculated by illustrating P1. Supposing that P1 and P2 have already been a coalition and then P2 quit halfway for some reason. To continue producing, the remedy for P1 is to use the utility in exchangers that are originally connected with P2, which is illustrated by the dashed line in Figure 2a. In this situation, the expense of P2 can be obtained by the following 3 principles: First, the utility cost is charged by P1. Second, the cost of heat exchanger that connected with P2 is half charged by P1. Third, the cost of the inner heat exchanger in P1 is charged totally by P1 itself. Using the calculation of this concept, risk-payoff of other plants in its possible sub- coalition can also be obtained. The calculation results of all plants are shown in Table 3. With the results in Table 3 and Shapley Value in Table 4, Risk-based Shapley Value can be computed by Eq(7) to Eq(10). By comparing this with Shapley Value, it could be found that P2 bears less cost while P1 & P3 suffer more. The reason is that P2 is confronted with the largest risk-payoff relative to work separately from Table 3. In this three-plant case, it is not friendly to P2. As P1 or P2 or P3 they all know that co-construction is the better choice, with risk analysis, P2 can threaten P1 & P3 by work alone, unless P1 & P3 transfer of profits to avoid the collapse of the coalition. Finally, under the situation of risk probabilities equal to 0.01, the imputation of each plant is that: P1= 542,670.40, P2= 48,649.71, P3= 276,361.9. And this imputation is in the Core. If the cost imputation is further considered with other risk probabilities, then the risk for all plant in this case is equal to α. With the increase of α, the imputation point of Risk-based Shapley Value is shown in Figure 2b. Figure 2b is a regular triangular representation. In a regular triangle, the sum of the distances from a point to its three edges is a constant. For this reason, it is suitable to illustrate this cost allocation problem because the total sum cost for the three-plant HEN construction is equal to 867,682. Note that the distance from the apex to its opposite base is also equal to this fixed value (867,682). Table 1: Datasheet of three-plant process stream Plant & Stream Tin (°C) Tout (°C) Fcp (kW/°C) Plant & Stream Tin (°C) Tout (°C) Fcp (kW/°C) Plant & Stream Tin (°C) Tout (°C) Fcp (kW/°C) P1.H1 150 40 7.0 P2.H1 200 70 5.5 P3.H1 370 150 3.0 P1.C1 60 140 9.0 P2.C1 30 110 3.5 P3.H2 200 40 5.5 P1.C2 110 190 8.0 P2.C2 140 190 7.5 P3.C1 110 360 4.5 Table 2: Co-construction cost of HEN under different multi-plant coalition between three plants Coalition HP ($) Fuel ($) CW ($) Fix cost ($) Area cost ($) Total cost ($) {1} 632,000 0 14,070 40,000 24,434.02 v({1}) = 710,504.02 {2} 79,000 0 10,720 40,000 14,594.40 v({2}) = 144,314.40 {3} 0 280,500 44,890 50,000 20,801.35 v({3}) = 396,191.35 {1,2} 501,650 0 7,035 100,000 57,218.34 v({1,2}) = 665,903.34 {1,3} 371,300 280,500 36,850 120,000 58,394.12 v({1,3}) = 867,044.12 {2,3} 0 280,500 48,910 80,000 39,847.02 v({2,3}) = 449,257.02 {1,2,3} 319,950 280,500 36,515 150,000 80,717.02 v({1,2,3}) = 867,682.02 Table 3: Risk-payoff of each plant (player) when it takes part in all possible sub-coalition Plant P1({1}) P2({2}) P3({3}) Characteristic function v({1}) = 710,504.0 v({2}) = 144,314.4 v({3}) = 396,191.4 Risk-payoff w({1}:{1,2}) = 897,526.3 w({2}:{1,2}) = 621,092.2 w({3}:{1,3}) = 414,631.2 Risk-payoff w({1}:{1,3}) = 735,222.8 w({2}:{2,3}) = 375,818.4 w({3}:{2,3}) = 703,334.0 Risk-payoff w({1}:{1,2,3}) = 863,798.5 w({2}:{1,2,3}) = 614,878.2 w({3}:{1,2,3}) = 415,130.7 Table 4: Imputation of each plant (player) by Shapley Value and Risk-based Shapley Value Plant P1({1}) P2({2}) P3({3}) Shapley Value 541,716.63 49,728.27 276,237.13 Risk-based Shapley Value(α=0.01) 542,670.40 48,649.71 276,361.90 The imputation in Figure 2b can be illustrated by point P, where the distance from point P to each edge represents the imputation of each plant. The boundary line of the Core can be drawn by the four principles of Core. Take P1 as an example, the imputation of P1 from three-plant coalition should not be higher than the 1223 case when P1 work alone which is v{1}, and not be lower than P1’s marginal contribution which is v{1,2,3}- v{2,3}. The thick closed curve is the boundary of the Core in this case. The inner area of the Core is a feasible imputation. The thick Curve with “*” is the Risk-based Shapley Value Curve. The Curve starts at Shapley Value point and ends outside the Core. The point “*” refers to the Risk-based Shapley Value for each additional risk of 20 %. When α = 0.2982, the Risk-based Shapley Value is just in the boundary of the Core, which implies that P2 can allocate the co-construction cost with minimum expense when the risk is up to 0.2982. If the risk is higher than this value, then the cooperation will collapse. (a) (b) Figure 2: (a) The optimal result of P1&P2 HENS and (b) Multi-Plant Risk-based Shapley Value Curve 5. Conclusion In this paper, the economic feasibility of the multi-plant HEN synthesis in CIP has been discussed. With a full combination of the cooperative game and risk analysis, a method was proposed to calculate co-construction cost allocation when risk exists. Simulation results revealed that this method considers the actual status of every plant and the effect brought by risk. This method can give a relatively fair co-construction cost allocation with huge practical value, so that it can ensure the multi-plant cooperation and the environment-friendly heat exchanger network could be taken into practise. Acknowledgments The authors of this paper appreciate the National Natural Science Foundation of China (No. 21406064 and No. 21676086), National Natural Science Foundation of Shanghai (14ZR1410500)and Fundamental Research Funds for the Central Universities under Grant 222201717006. References Chen J.J.J., 1987, Comments on improvements on a replacement for the logarithmic mean, Chemical Engineering Science, 42(10), 2488-2489. Chen X.L., Chang C.L., Wang Y.F., Feng X., 2016, An energy hub approach for multiple-plants heat integration, Chemical Engineering Transactions, 52, 571-576. Cheng S.L., Chang C.T., Jiang D., 2014, A game-theory based optimization strategy to configure inter-plant heat integration schemes, Chemical Engineering Science, 118, 60−73. Escobar M., Trierweiler J.O., 2013, Optimal heat exchanger network synthesis: A case study comparison, Applied Thermal Engineering, 51, 801-826. Floudas C.A., Ciric A.R., Grossmann I.E., 1986, Automatic synthesis of optimum heat exchanger network configurations, AIChE Journal, 32(2), 276-290. Grabisch M., Xie L., 2007, A new approach to the core and Weber set of multichoice games, Mathematical Methods of Operations Research, 66(3): 491-512. Hiete M., Ludwig J., Schultmann F., 2012, Intercompany Energy integration adaptation of thermal pinch analysis and allocation of savings, Journal of industrial ecology, 16, 689-698. Tan R.R., Andiappan V., Wan Y.K., Ng R.T.L., Ng D.K.S., 2016, An optimization-based cooperative game approach for systematic allocation of costs and benefits in interplant process integration, Chemical Engineering Research and Design, 106, 43–58. 1224