원시데이터 수집 시스템
선정목록으로

Global Optimization via Quadratic Disjunctive Programming for Water Networks Design with Energy Recovery

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Tristán, Carolina
  2. Fallanza, Marcos
  3. Ibanez Raquel
  4. Grossmann, Ignacio E.
  5. Bernal, David E.
DOI
10.48550/arxiv.2407.19543
저널
arXiv (Cornell University)
발행년도
2024
발행기관
Cornell University
피인용수
0
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.48550/arxiv.2407.19543
토픽
Membrane Separation Technologies
OpenAlex ID
W6910521771

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Generalized disjunctive programming (GDP) models with bilinear and concave constraints, often seen in water network design, are challenging optimization problems. This work proposes quadratic and piecewise linear approximations for nonlinear terms to reformulate GDP models into quadratic GDP (QGDP) models that suitable solvers may solve more efficiently. We illustrate the benefits of the quadratic reformulation with a water treatment network design problem in which nonconvexities arise from bilinear terms in the mixers' mass balances and concave investment cost functions of treatment units. Given the similarities with water network design problems, we suggest quadratic approximation for the GDP model for the optimal design of a large-scale reverse electrodialysis (RED) process. This power technology can recover energy from salinity differences between by-product streams of the water sector, such as desalination brine mixed with regenerated wastewater effluents. The solver Gurobi excels in handling QGDP problems, but weighing the problem's precision and tractability balance is crucial. The piecewise linear approximation yields more accurate, yet larger QGDP models that may require longer optimization times in large-scale process synthesis problems.

본문 19,294자

본문 펼치기
## Global Optimization via Quadratic Disjunctive Programming for Water Networks Design with Energy Recovery Carolina Trist´an <sup>1</sup>, Marcos Fallanza <sup>2</sup>, Raquel Ib´a˜nez <sup>2</sup>, Ignacio E. Grossmann <sup>3</sup> and David E. Bernal Neira <sup>1,4,5</sup> 1Davidson School of Chemical Engineering, Purdue University, West Lafayette, IN, USA 2Department of Chemical and Biomolecular Engineering, University of Cantabria, Santander, Spain 3Department of Chemical Engineering, Carnegie Mellon University, Pittsburgh, PA, USA 4USRA Research Institute for Advanced Computer Science, Mountain View, CA, USA 5NASA Ames Research Center, Moffett Field, CA, USAight dbernaln@purdue.edu Abstract Generalized disjunctive programming (GDP) models with bilinear and concave constraints, often seen in water network design, are challenging optimization problems. This work proposes quadratic and piecewise linear approximations for nonlinear terms to reformulate GDP models into quadratic GDP (QGDP) models that suitable solvers may solve more efficiently. We illustrate the benefits of the quadratic reformulation with a water treatment network design problem in which nonconvexities arise from bilinear terms in the mixers’ mass balances and concave investment cost functions of treatment units. Given the similarities with water network design problems, we suggest quadratic approximation for the GDP model for the optimal design of a large-scale reverse electrodialysis (RED) process. This power technology can recover energy from salinity differences between by-product streams of the water sector, such as desalination brine mixed with regenerated wastewater effluents. The solver Gurobi excels in handling QGDP problems, but weighing the problem’s precision and tractability balance is crucial. The piecewise linear approximation yields more accurate, yet larger QGDP models that may require longer optimization times in large-scale process synthesis problems. Keywords: water networks, salinity gradient, renewable energy, bilinear programming, piecewise linear approximation, quadratic approximation, superstructure optimization #### 1 Introduction Water network design often involves bilinear mass balances and nonlinear investment cost functions that lead to nonconvex generalized disjunctive programming (GDP) with bilinear and concave constraints [1]. This work proposes replacing the nonlinear equations with piecewise or quadratic approximations to define a quadratic generalized disjunctive program (QGDP) for GDP problems. These problems feature bilinearities that commercial solvers, such as Gurobi, can efficiently solve to global optimality [2]. The general form of a process superstructure GDP optimization model reads as follows: minx,Y <sup>z =</sup> <sup>f</sup> <sup>(x)</sup> s.t. g(x) ≤ 0 Yu �hu(x) ≤ 0 (1) ∨ ¬ Yu �B <sup>u</sup> x = 0 ∀ u ∈ U Ω(Y1,Y2,...,Y|U|) = True x ∈ X ⊆ R <sup>n</sup> Yu ∈{True, False} where continuous bounded variables x optimize an objective function f (x) subject to global constraints, g(x) ≤ 0, and a set of disjunctions that determines whether unit u is selected or not. Boolean variables, Yu, in each disjunct activate constraints hu(x) ≤ 0 relative to that unit when it is selected (Yu = True); otherwise, (¬Yu) ignore equations in the inactive disjunct and fix some variables to zero B <sup>u</sup> x = 0, involved in the inactive unit. The logic constraints (Ω(Y ) = True) set conditions for selecting specific units. Water networks involve water-using process and treatment units, offering several water integration alternatives that reduce freshwater consumption and wastewater generation while minimizing the total network cost subject to a specified discharge limit [3]. Reverse electrodialysis (RED) can recover the salinity gradient energy (SGE) embedded in the mixing of the water network’s streams of different salinities, providing a sustainable supply of clean, base-load electricity to regeneration or water-supply processes [4]. In previous work [5], we developed a GDP model of the RED process that incorporates a detailed model of the RED unit. This GDP resembles the water network design model. Bilinear mass balances in the mixers and nonlinearities in the RED unit model give rise to a nonlinear GDP model. To solve to global optimality, we apply the Global Logic-based Outer Approximation (GLOA) algorithm [6], which decomposes the solution to the GDP into a sequence of mixed-integer linear programming (MILP) master problems and reduced nonlinear-programming (NLP) subproblems that need to be solved global optimality to guarantee a global optimum convergence. We explore how the GDP reformulation into a QGDP approach affects the tractability and fidelity of the optimization model, assessing the computational time and accuracy of the optimal solutions for two case studies: water treatment network design and a large-scale RED process synthesis problem. #### 2 Case Study 1. Water Treatment Network Design 2.1 Problem Statement Given is a set of water streams with known concentrations of contaminants and flow rate. The objective is to find the set of treatment units and interconnections that minimize the cost of the WTN while satisfying maximum concentrations of contaminants in the reclaimed outlet stream. The WTN superstructure consists of a set of treatment units t ∈ TU, contaminated feed streams f ∈ FU carrying a set of contaminants j ∈ J, and a discharge unit disch. The fouled feed waters can be allocated to one or more treatment units or disposed of in the sink unit. Upon treatment, the reclaimed streams can be recycled, forwarded to other treatment units, or discharged into the sink unit. 2.2 Model formulation The WTN design GDP problem reads as (1). The mass balances are defined in terms of total flows, Fs, and contaminants concentration, C j,s [7, 8]. Together with the treatment unit cost CTUt, these determine the continuous variables of the problem, i.e., x = [Fs,C j,s,CTUt]. The treatment units have fixed recoveries, αj,t is the recovery of contaminant j in treatment unit t; C j,mt,t and C j,t,st are contaminant concentration at the inlet and the outlet of t. The treatment unit cost CTUt consists of a linear operating cost term and a concave capital cost term. Nonconvexities arise from bilinear terms “flows times concentration” in the mixers’ mass balances and concave investment cost functions of treatment units. Following Eq. (1), the objective is to minimize the total treatment unit costs f (x) = ∑t∈TU CTUt, the equations set for inexisting units become B <sup>t</sup> x = ∑i∈Smt Fi,CTUt = 0 ∀ t ∈ TU, and the model the equations set for inexisting units become B <sup>t</sup> x = ∑i∈Smt Fi,CTUt = 0 ∀ t ∈ TU, and the model constraints become - �∑i∈Smt Fi,CTUt ### Fk C j,k = ∑ i∈Si⊆S ### Fk C j,k = ∑ Fk ∀ i ∈ Si ⊆ S Fi C j,i ∀ j ∈ J, k ∈ Sk ⊆ S ### Fk = ∑ i∈Si⊆S ### Fk = ∑ Fi ∀ k ∈ Sk ⊆ S g(x) ≤ 0 → ht (x) ≤ 0 →                                     ### Ft,st = ∑ k∈Sst ⊆S ### Ft,st = ∑ C j,k = C j,i ∀ j ∈ J, k ∈ Sk ⊆ S, i ∈ Si ⊆ S , (2) ### Fi = ∑ k∈Sk⊆S ### Fi = ∑       i        ### ∑ i∈Sdm⊆S Fi C j,i ≤ Tj ∀ j ∈ J C j,t,st = (1 - αj,t ) C j,mt,t ∀ j ∈ J ### Fmt,t C j,mt,t = ∑ i∈Si⊆S ### Fmt,t C j,mt,t = ∑ Fi C j,i ∀ j ∈ J ### Fmt,t = ∑ i∈Si⊆S ### Fmt,t = ∑ Fi C j,t,st = C j,i ∀ j ∈ J, i ∈ Si ⊆ S ∀ t ∈ TU (3)                     Fk Fmt,t = Ft,st Fmt,t ≥ Lt CTUt = βt Fmt,t + γt + θt Fmt <sup>0.7</sup>,t mt,t #### 3 Case Study 2. RED Process Design 3.1 Problem Statement Given is a set of candidate RED units and the high- and low-salinity feeds’ concentration, flow rate, and temperature. The objective is to determine the hydraulic topology and operational conditions of the RED units that maximize the net present value (NPV) of the process. The superstructure definition and notation are outlined in [5]. 3.2 Model Formulation From Eq. (1), f (x) maximizes the NPV of the RED process. The variables x are the molar concentration and flow rate of the streams and the internal variables of the active RED units. The decision variables are the active RED stacks’ operating conditions. The global constraints, g(x) ≤ 0, specify mass balances that must hold for any selection of alternatives. The set of disjunctions determines whether the RED unit r is active, enforcing hr(x) ≤ 0, the RED unit model equations. These factor in the capital and operating costs and set bounds on the RED unit’s internal variables and the inlet and outlet streams’ concentration and flow rate. Nonconvexities arise from bilinear mass balances in the mixers and the RED unit model, the concave investment cost of pumps, and the Nernst electric potential and gross power equations in the RED unit model. #### 4 Results and Discussion We implement the GDP models using the algebraic modeling language Pyomo [9] and the Pyomo.GDP extension [6] for logic-based modeling and optimization. We solve the problems on a Windows 10 (x64) machine with 6 cores processor (Intel <sup>®</sup> Core™i7-8700 CPU @3.2 GHz) and 16 GB of RAM using the solver versions from GAMS 34.1.0, and setting a 0.01 % optimality gap and 3600 s time limit. We use two proposed reformulation strategies for the nonlinear terms in Eq. (1): (a) Problem (QGDP-q): fitting a quadratic function, i.e., f (x) ≈ x <sup>′</sup> Q x with Q potentially nonconvex, using the curve fit() function from the SciPy. (b) Problem (QGDP-pwl): using a piecewise linear approximation using the Piecewiselinear Pyomo functionality. We opted for the incremental model for the piecewise function [10] and split the domain into 101 segments which adds binary variables to the GDP problem. 4.1 Water Treatment Network Design The WTN comprises five inlet streams with four contaminants and four treatment units. The contaminant concentration and flow rate of the feed streams, contaminant recovery rates (αj,t ), minimum flow rate (Lt) and cost coefficients (βt, γt, θt ) of the treatment units, and the upper limit on the molar flow of contaminant j in the purified stream (Tj), are reported in [11]. To solve the WTN problem, we convert the GDP models into MINLPs using the Big-M reformulation [6]. The MINLP model with the concave investment cost is solved with BARON and the MINLPs with the quadratic and piecewise linear approximations with Gurobi and BARON. The QGDP models and the GDP with the concave capital cost term yield the same optimal WTN design, in which all the polluted streams but one are treated in units one and four [11]. Table 1 compares the size, computational time, and optimal solution of the WTN design problem for each modeling approach and solution strategy. With a relative error of 0.35 %, Gurobi yields an optimal QGDP-q solution in just half the time it takes BARON to solve the original GDP model with the same number of variables and constraints. BARON requires more time than Gurobi to find the optimal solution of the QGDP-q model. Under the pwl approximation’s better fit to the concave capital cost term, Gurobi and BARON obtain the same global optimum to the QGDP-pwl model as BARON does for the GDP. While the pwl approximation offers more accurate models, the increase in size may also render them intractable. For instance, BARON requires almost an hour to find the optimal WTN design. By contrast, Gurobi solves the instance in about the same time as for the QGDP-q. Table 1. Model size of the WTN GDP with the concave cost term (original) and the quadratic and piecewise linear (pwl) QGDPs, and MINLP solvers’ computational time, minimum WTN cost, and relative error between QGDP and GDP optimal cost Original GDP Quadratic QGDP-q pwl QGDP-pwl # cont. vars 239 239 749 # binary vars 10 10 510 # const (nl) 329 (33) 329 (33) 1339 (28) Solver BARON BARON Gurobi BARON Gurobi CPU time [s] 16.12 16.86 6.44 2543 10.06 Objective $348,337 $349,556 $349,562 $348,337 $348,337 Relative error [%] n.a. 0.35 0.35 0.00 0.00 4.2 RED Process Design The process consists of a set of candidate RED units, which draw energy from the effluent of a real desalination plant that rejects 733 m <sup>3</sup> /h of brine (1.67 M NaCl, 20 <sup>◦</sup> C) [12]. A wastewater treatment plant provides an equal volume of low-salinity feedwater (20 mM NaCl) [13] for SGE conversion. Prior work [5] showed that the most time-consuming steps in the GLOA algorithm involve the discretized RED unit model, i.e., the initial linearization of the GDP and resolution of the NLP subproblems. As the number of candidate RED units in the process grows, which is expected in large-scale systems, these steps become even more expensive. Therefore, approximating it as a QP model could accelerate the GDP solution without sacrificing fidelity. We compare the solution that maximize the net power from the QP-q and QP-pwl models with the NLP model (with Nernst potential and gross power nonlinear equations) to appraise the QP models’ fidelity and tractability in Table 2. Table 2. Model size of the RED unit’s NLP without reformulations (original), quadratic and piecewise linear (pwl) QPs, and solver’s computational time, maximum net power, and relative error between QPs and NLP optimal solution. Original NLP Quadratic QNLP-q pwl QNLP-pwl # cont. vars 179 180 1608 # binary vars n.a. n.a. 1400 # const (nl) 182 (101) 183 (103) 3011 (89) Solver BARON BARON Gurobi BARON Gurobi CPU time [s] 3600 306 115 3600 1986 Objective [kW] 1.013 1.043 1.043 1.008 1.016 Relative error [%] n.a. 2.9615 2.9615 0.4936 0.2961 The quadratic approximation’s inaccurate fitting of natural logarithms within the Nernst potential leads to errors in the optimal solution for the NLP (Table 2). Despite this, the computational time is decreased with Gurobi and BARON, with Gurobi outperforming, while keeping almost the same number of variables and constraints. The piecewise linear approximation provides a better fit but significantly increases the size. After an hour, BARON could only reach a suboptimal solution to the QP-pwl with an 27 % optimality gap. Despite the increase in the size of the QP-pwl, Gurobi even outperforms BARON solving the rigorous NLP model (original NLP), which finds the optimal net power with a 24 % optimality gap within an hour. The outcomes of this study provide the drive to transform the RED process GDP model into a quadratic one, a subject of future work. #### 5 Conclusions Water network design problems generally involve bilinearities and concave functions that may lead to multiple local optima. Solving global optimality thereby requires computationally expensive global optimization approaches. This work presents quadratic and piecewise linear approximations for nonlinearities in GDP models involving bilinearities to derive a quadratic GDP model that solvers like Gurobi can efficiently solve. The implications are far-reaching for problems where bilinear constraints are present with constraints that fit well with quadratic functions or piecewise linear (or even piecewise quadratic) approximations. For handling this type of problem, Gurobi is a powerful solver, though carefully considering the trade-off between fidelity and tractability is paramount. Using piecewise linear approximations grants higher accuracy, but also introduces additional variables and constraints to the original problem, making it challenging to find the global optimum within an acceptable timeframe, especially for larger-scale problems that may require advanced decomposition strategies. #### Acknowledgements Projects TED2021-129874B-I00, PDC2021-120786-I00, and PID2020-115409RB-I00 through EU NextGenerationEU/PRTR and MCIN/AEI/ 10.13039/501100011033. C.T. acknowledges PRE2018-086454 fellowship, ”ESF Investing in your future”, and, with D.B.N., the School of Chemical Engineering at Purdue University’s startup grant. D.B.N. acknowledges the NASA Academic Mission Services, Contract No. NNA16BD14C. #### References [1] Juan P. Ruiz and Ignacio E. Grossmann. Global optimization of non-convex generalized dis junctive programs: a review on reformulations and relaxation techniques. Journal of Global Optimization, 67(1):43–58, jan 2016. [2] Victoria G. Achkar, Braulio B. Brunaud, H´ector D. P´erez, Rami Musa, Carlos A. M´endez, and Ignacio E. Grossmann. Extensions to the guaranteed service model for industrial applications of multi-echelon inventory optimization. European Journal of Operational Research, 21:47, aug 2023. [3] Elvis Ahmetovi´c, Ignacio E. Grossmann, Zdravko Kravanja, and Nidret Ibri´c. Water Optimization in Process Industries. In Prasenjit Mondal and Ajay K. Dalai, editors, Sustainable Utilization of Natural Resources, chapter 17, pages 487–512. CRC Press, Boca Raton, 1st edition, mar 2017. [4] Aishwarya Rani, Seth W. Snyder, Hyunook Kim, Zhongfang Lei, and Shu Yuan Pan. Pathways to a net-zero-carbon water sector through energy-extracting wastewater technologies. npj Clean Water 2022 5:1, 5(1):1–17, sep 2022. [5] Carolina Trist´an, Marcos Fallanza, Raquel Ib´a˜nez, Inmaculada Ortiz, and Ignacio E. Grossmann. A generalized disjunctive programming model for the optimal design of reverse electrodialysis process for salinity gradient-based power generation. Computers & Chemical Engineering, 174:108196, jun 2023. [6] Qi Chen, Emma S. Johnson, David E. Bernal, Romeo Valentin, Sunjeev Kale, Johnny Bates, John D. Siirola, and Ignacio E. Grossmann. Pyomo.GDP: an ecosystem for logic based modeling and optimization development. Optimization and Engineering, 23:607–642, apr 2022. [7] Ramkumar Karuppiah and Ignacio E. Grossmann. Global optimization for the synthesis of inte grated water systems in chemical processes. Computers and Chemical Engineering, 30(4):650– 673, feb 2006. [8] Ignacio Quesada and Ignacio E. Grossmann. Global optimization of bilinear process networks with multicomponent flows. Computers & Chemical Engineering, 19(12):1219–1242, dec 1995. [9] William E. Hart, Carl D. Laird, Jean-Paul Watson, David L. Woodruff, Gabriel A. Hackebeil, Bethany L. Nicholson, and John D. Siirola. Pyomo - Optimization Modeling in Python, volume 67 of Springer Optimization and Its Applications. Springer International Publishing, Cham, second edi edition, 2017. [10] Juan Pablo Vielma, Shabbir Ahmed, and George Nemhauser. Mixed-Integer Models for Non separable Piecewise-Linear Optimization: Unifying Framework and Extensions. Operations Research, 58(2):303–315, 2010. [11] Juan Ruiz and Ignacio E. Grossmann. Water Treatment Network Design. In Available from Cyber Infrastructure for MINLP a collaboration of Carnegie Mellon University and IBM Research at: www.minlp.org/library/problem/index.php?i=24. 2009. [12] Carolina Trist´an, Marcos Fallanza, Raquel Ib´a˜nez, and Inmaculada Ortiz. Reverse Electrodialy sis: Potential Reduction in Energy and Emissions of Desalination. Applied Sciences, 10(20):7317, oct 2020. [13] Jos´e L. P´erez Talavera and Jos´e J. Quesada Ruiz. Identification of the mixing processes in brine discharges carried out in Barranco del Toro Beach, south of Gran Canaria (Canary Islands). Desalination, 139(1-3):277–286, sep 2001.

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.