Optimal distributed load allocation and resource utilisation in evaporation plants
Abstract
Producción Científica
Full text
Anton A. Kiss, Edwin Zondervan, Richard Lakerveld, Leyla Özkan (Eds.) Proceedings of the 29th European Symposium on Computer Aided Process Engineering June 16th to 19th, 2019, Eindhoven, The Netherlands. © 2019 Elsevier B.V. All rights reserved. Optimal distributed load allocation and resource utilisation in evaporation plants Maria P. Marcosa,b,*, Jose L. Pitarcha, Christian Jaschcand Cesar de Pradaa,b aSystems Engineering and Automatic Control Department, EII, Universidad de Valladolid. C/ Real de Burgos S/N, Valladolid, 47011, Spain. bSustainable Processes Institute (IPS), Universidad de Valladolid. cLenzing AG. Werkstraße 2, Lenzing, 4860, Austria * maria.mar[email protected] Abstract This work aims to optimise the operation of an evaporation network with shared resources in real time. The goal is minimising the resource utilisation (live steam and cooling water) while satisfying a set of operational constrains. Hence, problems of optimal load allocation of feeds to plants and cooling-water distribution among them arise. The work bases on plants surrogate models, experimentally obtained, and analyses different formulation alternatives of the optimisation from the practical point of view: centralised vs distributed approaches. In particular for the distributed approach, we propose a problem decomposition which allows us to solve the problem in two iterative ways: 1) as two independent optimisations or 2) via price-coordination schemes. Keywords: decomposition methods, RTO, evaporation network, resource efficiency 1. Description of the case study Manufacture of viscose fibers in Lenzing AG bases on a continuous spinning process where cellulose pulp transforms into very thin threads. This process performs in an acid bath (“spinbath” from now on) which is progressively degraded. Consequently, it must be continuously recovered. Therefore, a side evaporation process is performed in parallel to remove part of water. For this task, an evaporation network of 15 plants is available to serve in 5 different types of spinbath, where a single plant is formed by several equipment. See Pitarch et al. (2017b) for a deeper description. Plants efficiency depends on several factors: the evaporation flow removed from the spinbath (plant load) EC, the spinbath temperature Tand circulating flow Fs, the fouling state in the heat exchangers and the performance of the cooling system (see Figure 1a). In particular, the more cooling water (shared resource) is provided to the surface condenser, the less live steam consumption (utility) is needed to achieve the evaporation setpoint. Denote the specific steam consumption (SSC) by the live steam usage per unit of evaporated water (Pitarch et al., 2017a). Then, the absolute steam consumption (ASC) in each plant is computed by ASC =SSC ·EC. This research is funded by the European Union’s Horizon 2020 research and innovation programme under grant agreement No. 723575. The first author also acknowledges the European Social Fund and the “Consejería de Educación de la Junta de Castilla y León”. http://dx.doi.org/10.1016/B978-0-12-818634-3.50214-9
M.P. Marcos et al. (a) Evaporation plant (b) Evaporation network Figure 1: Systems simplified schemes. Plant surrogate models were developed to estimate the SSC in Kalliski et al. (2019), which, after straightforward manipulations, is found to depend on EC and on the cooling capacity of the surface condenser Cpow, as shown in (1). The cooling system performance is also modelled experimentally: the outlet cooling-water temperature of the condensers Tout is estimated by a polynomial function up to degree 3 on the cooling-water flow Fw and affine in its inlet temperature Tin, as proposed in (Marcos et al., 2018): SSC =β2·EC +β1·Cpow +β0;Cpow =4.18·Fw(Tout −Tin)/3600 (1) Tout =α0+α1Fw+α2F2 w+α3F3 w+Tin (2) Here, θ={β0,β1,β2,α0,α1,α2,α3}are experimental regression parameters. According to the physical layout of the evaporation network, the plants can be grouped in two subnets, each one directly supplied by an independent water source. The water distribution among plants is done in parallel and, additionally, the exceeding water in Subnet 1 (Fc) can go to Subnet 2 but not backwards (see Figure 1b). Further details on the evaporation network can be found in Palacín et al. (2018); Marcos et al. (2018). 2. Problem formulation The objective is to allocate feeds to plants and distribute the cooling-water in the network at minimum cost. This cost is a trade-off between the usage of resources: live steam and cooling water, times their respective “prices” (Psand Pw). Three sets of decision variables are defined: Xe,p∈{0,1}to link product pto plant e,ECe,p∈Rdefining the evaporation flow of pto be achieved in plant e, and Fwe∈Rdefining the water sent to plant e. Further, an additional variable Fc∈Rindicates the flow of water sent from Subnet 1 (SN1) to Subnet 2 (SN2). Hence, for a given set of e∈Eevaporation plants that have to process p∈Pspinbaths, the centralised formulation of the optimisation problem is: min Xe,p,ECe,p,Fwe,Fc J= E ∑ eP ∑ p ASCe,p·Ps+Fwe·Pw(3a) s. t.: P ∑ p Xe,p≤1∀e∈E;Xe,p=0(e,p)∈N(3b) 1280
Optimal distributed load allocation and resource utilisation in E ∑ e ECe,p≥SPp∀p∈P(3c) ESN1 ∑ e Fwee +Fc≤FS1; ESN2 ∑ e Fwe−Fc≤FS2;Fc≥0 (3d) ECe,p·Xe,p≤ECe,p≤ECe,p·Xe,p∀e∈E,∀p∈P(3e) P ∑ p Xe,p·Fwe≤Fwe≤Fwe· P ∑ p Xe,p∀e∈E(3f) Tout e≤Tmax +(1− P ∑ p Xe,p)·M∀e∈E(3g) Where the sets ESN1and ESN2(E=ESN1∪ESN2) include the plants belonging to SN1 and SN2 respectively, the set Nrepresents connections between some plants and spinbaths that are forbidden due to the factory layout, and M is a big enough number. The problem constraints are: (3b) each plant can only serve in one spinbath loop at a time; (3c) total evaporation demands per spinbath (SPp) have to be fulfilled; (3d) total water consumption in each subnet has to be lower than the available at the sources (Fs), considering that exceeding water can go from SN1 to SN2 but not backwards; (3e)-(3f) evaporation and water flows are bounded and; (3g) outlet water temperatures have to be lower than a limit (Tmax), stated by the environmental regulation. The presence of discrete and continuous variables as well as the nonlinear dependency of (3a) and (2) on them, makes (3) become an MINLP problem. 3. Problem decomposition In order to avoid the issues that commonly arise with MINLP (slow convergence, high computational demands, etc.), we propose a suitable decomposition of (3) in two local optimisation subproblems, according to the physical layout of the evaporation network. In fact, the overall equipment can be grouped in two sets or networks: 1) the spinbath allocation one, composed by the evaporation plants and the spinbath loops themselves, and 2) the water distribution from the sources to the respective plant surface condensers. Hence, a first local problem can handle the plants load allocation whereas a second one optimises the water distribution. By this decomposition, only the magnitudes EC and Cpow are shared between problems 1) and 2). 1. Load-allocation problem: min Xe,p,ECe,p J1= E ∑ e P ∑ p SSCe,p·ECe,p·Pss. t.: (3b),(3c),(3e) (4) In this way, (4) is a mixed integer quadratic programming (MIQP) problem, provided that Cpow in (1) is assumed known. 2. Cooling-water distribution problem: min Fwe,Fc J2= E ∑ eSSCe· P ∑ p ECe,p·Ps+Fwe·Pws. t.: (3d),(3f),(3g) (5) evaporation plants 1281
M.P. Marcos et al. Thus, assuming that the load allocation (ECe,p) is known, (5) is an non linear programming (NLP) problem. Now, we can solve the original problem in two iterative ways: sequentially as two fully independent optimisations, or in a price-coordination fashion. See next section. 4. Implementation The above formulated optimisation problems (3), (4) and (5) are coded in Pyomo (Hart et al., 2017). The centralised version (3) uses Bonmin as MINLP solver (Bonami et al., 2008), whereas Gurobi Optimization (2018) is used to solve the MIQP (4) and Ipopt (Wächter and Biegler, 2006) to solve the NLP (5). In order to implement the decomposition approach in an iterative fashion, we propose the following. 4.1. Sequential approach Take Cpow eas known (computed by (1)-(2) and from given flows Fwe) and solve (4). Then, from the obtained solution, take the values of ECe,pand solve (5), getting a new set of values Fweto compute the Cpow eand so on. The procedure is formalised in: Algorithm 1 Sequential optimisation 1: Compute the Cpow efrom current (measured) Fwe,Tout e,Tin and set ε=1 2: while ε>0.001 do 3: Solve (4) and save the computed allocation ECe,p 4: Solve (5) using the ECe,pfrom Step 3 and get a water distribution Fwe,Tout e 5: Compute ε=∑E e Cpow e−4.18Fwe·(Tout e−Tin)/3600 2 2 6: Update Cpow e=4.18Fwe·(Tout e−Tin)/3600 with values from Step 4 4.2. Distributed approach In a distributed fashion, we need to decouple problems (4) and (5) to allow a “true” parallel implementation. Thus, we make use of the well-known Lagrangean or price-driven decomposition approaches (Cheng et al., 2007). Indeed, now Cpow ewill be also local decision variables in (4) and ECewill be so in (5) as well1. Then, we have to add a coordination layer to progressively force both sets of magnitudes to be equal in both local optimisations (shared constraints). As usual in Lagrangean decomposition, these constraints will be added as a penalty in the respective objective functions: J1= E ∑ eP ∑ p SSCe,p·ECe,p·Ps+1 2p11e(Cpow e−C∗ pow e)2+p12e( P ∑ p ECe,p−EC∗ e)2(6) J2= E ∑ eSSCe·ECe·Ps+Fwe·Pw+1 2p21e(Cpow e−C∗ pow e)2+p22e(ECe−EC∗ e)2(7) 1Note that variables ECeequivalently replace ∑P pECe,pin (5) to reduce the problem size. 1282
Where pije ∈R+are the shadow prices for “resource” utilisation and R∗:={C∗ pow e,EC∗ e} are the reference values, computed somehow from the local solutions of both optimisations in in the previous iteration. In this way, both problems will be managed by a coordinator which, in each iteration k, will receive the values got for the shared variables Re:={Cpow e,ECe}, and it will update the prices as well as the reference values for the next iteration k+1 according to the following rules: p[k+1] ije =p[k] ije+(R[k] ije−R∗[k])2·μ[k];Rije ∈R,R∗∈R(8) μ[k+1]=μ[k]·λ;λ>1 (9) C∗[k+1] pow e=C[k] pow e(2);EC∗[k+1] e=EC[k] e(1)(10) Where notation R[k] e(i)denotes the values of variables Re, solution of subproblem iat iteration k. Progressive hedging (Rockafellar and Wets, 1991) is used in (9) to update the factor μin each iteration, via the user-defined parameter λ. The procedure to solve the distributed optimisation is summarized below. Algorithm 2 Distributed optimisation 1: Set R∗to the current values measured from the plants and pije =ε=0.1 2: while ε>0.001 do 3: Solve subproblems (4) and (5), and get new values for Rije 4: Compute ε= Rije−R∗ 2 2 5: Update prices pije and references R∗with (8)-(10) Of course, due to the non-convex nature of the problem, global optimality is not guaranteed in either of the implementations, centralised or distributed. 5. Results and discussion For the sake of comparison/analysis, we have solved the problem from a particular network situation following the three presented ways. Table 1 shows a brief summary. Table 1: Optimised cost and computational effort for the 3 approaches. Total CPU Time (s) Optimal cost (e/h) Iterations Centralised 29.64 962.82 - Sequential 0.89 964.81 3 Distributed 1.73 964.33 6 We can conclude that the three approaches are able to reach nearly the same (local) optimal solution2. However, as expected, the centralised problem elapses more time to reach the solution. This is not a major issue in this application (the execution period for realtime optimisation is about 30 min.) but, it will be so if the problem grows by considering fouling predictions over time or by including more parts of the factory (the water network is larger and also serves to other processes, and there is a heat-recovery network which also interacts with the evaporation one). 2Values p[0] ije =0.1, μ[0]=1 and λ=1000 were set for the distributed approach. Optimal distributed load allocation and resource utilisation in evaporation plants 1283
M.P. Marcos et al. 6. Conclusions In this work we addressed a medium-scale real-time optimisation problem (∼200 variables, it depends on the approach) on resource efficiency in an industrial evaporation network with shared resources. The proposed approaches will support the operators to take better decisions in real time, thus, improving the operation of the overall network: product-plant allocation and water distribution to the cooling systems. The plant models are incorporated in three different optimisation schemes, analysing the convenience of the decomposition approaches vs the centralised one. In this case study, the three approaches solve the problem in acceptable CPU time for real-time purposes, although the iterative sequential approach has arisen as the most efficient one. The key is the proposed decomposition for the original centralised problem, which allows us to formulate two effortless independent problems (MIQP and NLP), solved efficiently by modern optimisation algorithms. Apparently, the price-coordination approach does not have any advantage here: the optimal cost is slightly higher than the one reached by the centralised and it elapses double time than the sequential. This is because the centralised problem is not so large-scale, many constraints are affine in the decision variables, and the advantages of parallel computation cannot be exploited with just two local optimisation subproblems. Nevertheless, this approach will clearly beat the other two if the problem is extended to consider uncertainty in an explicitly way via, for instance, two-stage stochastic optimisation. References P. Bonami, L. T. Biegler, A. R. Conn, G. Cornuéjols, I. E. Grossmann, C. D. Laird, J. Lee, A. Lodi, F. Margot, N. Sawaya, A. Wächter", 2008. An algorithmic framework for convex mixed integer nonlinear programs. Discrete Optimization 5 (2), 186–204. R. Cheng, J. Forbes, W. Yip, 2007. Price-driven coordination method for solving plant-wide mpc problems. Journal of Process Control 17 (5), 429 – 438. L. L. C. Gurobi Optimization, 2018. Gurobi optimizer reference manual. http://www.gurobi.com. W. E. Hart, C. D. Laird, J.-P. Watson, D. L. Woodruff, G. A. Hackebeil, B. L. Nicholson, J. D. Siirola, 2017. Pyomo–optimization modeling in python, 2nd Edition. Vol. 67. Springer Science & Business Media. M. Kalliski, J. L. Pitarch, C. Jasch, C. de Prada, 2019. Apoyo a la toma de decisión en una red de evaporadores industriales. Revista Iberoamericana de Automática e Informática industrial 16 (1), 26–35. M. P. Marcos, J. L. Pitarch, C. de Prada, C. Jasch, Oct 2018. Modelling and real-time optimisation of an industrial cooling-water network. In: 2018 22nd International Conference on System Theory, Control and Computing (ICSTCC). pp. 591–596. C. G. Palacín, J. L. Pitarch, C. Jasch, C. A. Méndez, C. de Prada, 2018. Robust integrated productionmaintenance scheduling for an evaporation network. Computers & Chemical Eng. 110, 140 – 151. J. L. Pitarch, C. G. Palacín, C. de Prada, B. Voglauer, G. Seyfriedsberger, 2017a. Optimisation of the resource efficiency in an industrial evaporation system. Journal of Process Control 56, 1–12. J. L. Pitarch, C. G. Palacín, A. Merino, C. de Prada, 2017b. Optimal operation of an evaporation process. In: H. G. Bock, H. X. Phu, R. Rannacher, J. P. Schlöder (Eds.), Modeling, Simulation and Optimization of Complex Processes HPSC 2015. Springer International Publishing, Cham, pp. 189–203. R. T. Rockafellar, R. J.-B. Wets, 1991. Scenarios and policy aggregation in optimization under uncertainty. Mathematics of operations research 16 (1), 119–147. A. Wächter, L. T. Biegler, Mar 2006. On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming. Mathematical Programming 106 (1), 25–57. 1284