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

A rapid-convergent particle swarm optimization approach for multiscale design of high-permeance seawater reverse osmosis systems

간접 관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기) (6) PEM(고분자전해질막)(7) MEA(막전극접합체)

기본 정보

저자
  1. Kexin Chen — School of Computer Science and Engineering, Sun Yat-sen University, Guangzhou, China
  2. Jiu Luo — School of Future Science and Engineering, Soochow University, Suzhou, China. luojiu@suda.edu.cn
  3. Junzhi Chen — School of Computer Science and Engineering, Sun Yat-sen University, Guangzhou, China
  4. Yutong Lu — School of Computer Science and Engineering, Sun Yat-sen University, Guangzhou, China. luyutong@mail.sysu.edu.cn
  5. Yi Heng — School of Computer Science and Engineering, Sun Yat-sen University, Guangzhou, China. hengyi@mail.sysu.edu.cn
DOI
10.1038/s44172-024-00289-y
저널
Communications Engineering
발행년도
2024
발행기관
–
피인용수
5
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1038/s44172-024-00289-y
토픽
Electrostatics and Colloid Interactions
OpenAlex ID
W4403639720

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
(6) PEM(고분자전해질막), (7) MEA(막전극접합체)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
seawater reverse osmosis, membrane module, water permeability, surrogate model, optimization
판단 근거
해수 역삼투(SWRO) 시스템의 막 모듈 설계를 최적화하기 위한 수치 모델링 및 입자 군집 최적화(PSO) 알고리즘을 다루고 있습니다. 이는 코오롱인더스트리의 수소연료전지용 중공사막(5) 및 분리막 기술의 설계/성능 최적화 원리와 공학적으로 유사합니다.
R&D 활용 포인트
막(Membrane) 모듈의 기하학적 구조 최적화 및 투과 성능(Permeance) 향상을 위한 수치 해석 및 AI 기반 설계 방법론으로 활용 가능합니다.
평가 입력
본문 21,319자

초록

Directly solving sophisticated partial differential equation constrained optimization problems is not only extremely time-consuming, but also very hard to find unique optimal solutions. Here, we propose stable and efficient surrogate models for seawater reverse osmosis desalination processes that enable thorough quantitative description of hydrodynamics and local transport characteristics in narrow flow channels. Without iteratively solving complex multi-physics simulation problem taking several hours, the proposed multi-scale design optimization framework significantly reduces the problem complexity by computing the surrogate models in seconds. Moreover, a fast-converging active subspace particle swarm optimization framework is proposed to address the optimal design problem. Compared to the standard particle swarm optimization algorithm, the proposed method enhances the average optimum by 14% and the standard deviation of optimum results for multiple runs is reduced by no less than ten times. The optimized desalination system achieves 9% reduction on energy consumption and 30% improvement on water production efficiency.

본문 21,319자

본문 펼치기
### 1 Supplementary information for 2 ### 3 A rapid-convergent particle swarm optimization approach for multiscale 4 design of high-permeance seawater reverse osmosis systems 5 6 Ke Chen <sup>1</sup>, Jiu Luo <sup>2*</sup>, Junzhi Chen <sup>1</sup>, Yutong Lu <sup>1*</sup>, Yi Heng <sup>1*</sup> 7 8 1 School of Computer Science and Engineering, Sun Yat-sen University, Guangzhou, 510006, 9 China 10 2 School of Future Science and Engineering, Soochow University, Suzhou, 215222, China 11 12 *Corresponding Authors: Jiu Luo (E-mail: luojiu@suda.edu.cn); Yutong Lu (E-mail: 13 [luyutong@mail.sysu.edu.cn); Yi Heng (E-mail: hengyi@mail.sysu.edu.cn)](mailto:hengyi@mail.sysu.edu.cn) 14 15 16 17 18 19 20 21 22 23 24 This PDF file includes: 25 Supplementary Information Text 26 Figures S1-S5 27 Tables S1-S2 28 Algorithm S1 29 References 1-6 1 30 #### Supplementary Information Text 31 1. Model details in Methods 32 _1.1.3D nonlinear PDEs problem at sub-millimeter scale_ 33 The boundary conditions of the high-fidelity CFD model are mathematically formulated as ì _u_ = _f_ ( _U_ 0 ), _v_ = _w_ = 0, _c_ = ï ï _P_ = 0, n × (- _D_ sÑ _c_ + _c_ u ) = ï _u_ = _f_ ( _U_ 0 ), _v_ = _w_ = 0, _c_ = _c_ 0, on _Γ_ 1 _P_ = 0, n × (- _D_ sÑ _c_ + _c_ u ) = 0, on _Γ_ ##### w = L p [D P 0 - f os × c ], n × (- D sÑ c + c u ) = 0, on Γ ( _U_ 0 ), _v_ = _w_ = 0, _c_ = _c_ 0, on _Γ_ 1, 0 0 1 0, n × (- _D_ sÑ _c_ + _c_ u ) = 0, on _Γ_ 2, n × (- _D_ sÑ _c_ + _c_ u s 2 ##### [D P 0 - f os × c ] ##### w = L p [D P 0 - f os × c ], n × (- D sÑ c + c u ) = ïïí , n × (- _D_ sÑ _c_ + _c_ u ) = 0, on _Γ_ 3, n × (- _D_ sÑ _c_ + _c_ u 34 _w_ = _L_ p D _P_ 0 - _f_ os × _c_, n × (- _D_ sÑ _c_ + _c_ u ) = 0, on _Γ_ 3, ïïí (S1) p 0 os s 3 ##### [D P 0 - f os × c ] ##### ï w = - L p [D P 0 - f os × c ], n × (- D sÑ c + c u ) = ï ##### w = - L p [D P 0 - f os × c ], n × (- D sÑ c + c u ) = 0, on Γ , n × (- _D_ sÑ _c_ + _c_ u ) = 0, on _Γ_ 4, n × (- _D_ sÑ _c_ + _c_ u p 0 os s 4 ï u 5 = u 6, _P_ 5 = _P_ 6, _c_ 5 = _c_ 6, on _Γ_ 5 È ï u 5 = u , _P_ 5 = _P_ 6, _c_ 5 = _c_ 6, on _Γ_ 5 È _Γ_ 6, _P_ 5 = _P_ 6, _c_ 5 = _c_ 6, on _Γ_ 5 È _Γ_ 5 6 5 6 5 6 5 6 ïî u = 0, n × (- _D_ sÑ _c_ + _c_ u ) = u = 0, n × (- _D_ sÑ _c_ + _c_ u , n × (- _D_ sÑ _c_ + _c_ u ) = 0, on _Γ_ 7, _D_ sÑ _c_ + _c_ u ) = 0, on _Γ_ s 7 35 where <sup>_Γ_</sup> _i_ ( _i_ = 1, 2, …7) denote various boundaries of the computational domain. _L_ p, D <sup>_P_</sup> 0, _f_ os, <sup>_c_</sup> 0 36 refer to salt diffusivity, water permeability, inlet transmembrane pressure, van’t Hoff factor and 37 inlet molar concentration respectively that are constant in this work (see Table S1). A fully 38 developed velocity distribution under a laminar flow condition is applied at inlet boundary ( _Γ_ 1 ) 39 [1]. 40 _1.2.1D DAEs problem at meters-scale_ ##### 41 In system-level SWRO model, the total membrane area, A tot of the RO system can be 42 calculated by ## 43 A tot = N pv n mem ( n sp / n sp, 0 )( L mem / L mem, 0 ) A 0, (S2) #### 44 where n sp, 0, L mem, 0, A 0 denote number of spacers per module, module length and membrane area 45 #### for a typical commercial RO membrane module. Normalized design parameters β ⌣ (Î [0,1]) can 46 be calculated as below ⌣ _i_ = β _i_ β, max _<u>i</u>_ - - β _<u>i</u>_ β <u>, min</u> _i_, min, _i_ = 1, 2, ××× _<u>i</u>_ _<u>i</u>_ <u>, min</u>, _i_ = 1, 2, ×××10, <u>, min</u> β ⌣ _i_ = β _i_ β, max _<u>i</u>_ - - β _<u>i</u>_ β 47 β _i_ = _<u>i</u>_ _<u>i</u>_ <u>, min</u>, _i_ = 1, 2, ×××10, (S3) , max _i_, min ### 48 where β i, min, β i, max are the minimum and maximum values of i th design parameter for the β . The ##### 49 average velocity, U avg at feed channel can be converted to total flow rate, Q using 50 _Q_ = 3600 × _N_ pv _n_ sp _U_ avg _ε_ . (S4) 51 ### Porosity ( ε ), F 1 and F 2 can be estimated by surrogate models 2 ##### 52 ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ ## ε ( β 1) = f 3 ( D 1,A, D 2,A, D 1,B, D 2,B, D tot, α ), (S5) 53 ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ _F_ ( γ ) = _F_ β, _U_ = _f_ _D_, _D_, _D_, _D_, _D_, _α_ ; _U_, (S6) ## ( ) ( ) ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ γ ) = _F_ β, _U_ = _f_ _D_, _D_, _D_, _D_, _D_, _α_ ; _U_ ## ( ) ( ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ ## F 1( γ ) = F 1( β 1, U avg ) = f 1 ( D 1,A, D 2,A, D 1,B, D 2,B, D tot, α ; U avg ), 54 and ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ γ ) = _F_ β, _U_ = _f_ _D_, _D_, _D_, _D_, _D_, _α_ ; _U_ ## ( ) ( ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ ## F 2( γ ) = F 2 ( β 1, U avg ) = f 2 ( D 1,A, D 2,A, D 1,B, D 2,B, D tot, α ; U avg ), 55 ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ _F_ ( γ ) = _F_ β, _U_ = _f_ _D_, _D_, _D_, _D_, _D_, _α_ ; _U_, (S7) ## ( ) ( ) 56 respectively that are identified by numerous simulated results with respect to various normalized ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ 57 parameters β <sup>⌣</sup> 1 or γ <sup>⌣</sup> é _D_ 1,A, _D_ 2,A, _D_ 1,B, _D_ 2,B, _D_ tot, _α_ ; _U_ avg ù, see the section of _Regularized High_ = ë û β <sup>⌣</sup> 1 ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ γ <sup>⌣</sup> é _D_ 1,A, _D_ 2,A, _D_ 1,B, _D_ 2,B, _D_ tot, _α_ ; _U_ avg ù = ë û 58 _Dimensional Model Representation_ in Materials and Methods of this work. 59 _1.3.Optimal design problem_ 60 In objective function, specific energy consumption, SEC (kWh/m <sup>3</sup> ) can be formulated by [2] ##### 0 é Y ( P 0 - P in ) + (1- Y )( P 0 - P in ) - (1- Y ) η PX ( PX =1 - P out ) ##### = Q 0 éê Y ( P 0 - P in ) + (1- Y )( P 0 - P in ) - (1- Y ) η PX ( PX =1 - P out ) ùú 36 _η_ EM × _<u>J</u>_ W × _A_ ë _η_ HPP _η_ BP _η_ BP û ##### SEC = Q 0 éê Y ( P 0 - P in ) + (1- Y )( P 0 - P in ) - (1- Y ) η PX ( PX =1 - P out ) ùú. 36 _η_ EM × _<u>J</u>_ W × _A_ ë _η_ HPP _η_ BP _η_ BP û ##### Q 0 éê Y ( P 0 - P in ) + (1- Y )( P 0 - P in ) - (1- Y ) η PX ( PX =1 - P _η_ EM × _<u>J</u>_ W × _A_ ë _η_ HPP _η_ BP _η_ BP ##### 61 Q 0 é Y ( P 0 - P in ) (1- Y )( P 0 - P in ) (1- Y ) η PX ( PX =1 - P out ) ù SEC = ê + - ú. (S8) EM W ë HPP BP BP ##### 62 P 0, PX =1 are the bulk hydraulic pressure and concentrate hydraulic pressure. P in and P out denote ##### 62 P 0, PX =1 are the bulk hydraulic pressure and concentrate hydraulic pressure. P in and P out denote 63 the pressure at inlet and outlet respectively. η EM, η HPP, η BP, η PX are efficiencies with respect to ##### 63 the pressure at inlet and outlet respectively. η EM, η HPP, η BP, η PX are efficiencies with respect to 64 the electric motor (EM), the high pressure pump (HPP), the booster pump (BP) and the isobaric 65 ##### pressure exchanger (PX) (see Table S1) [2]. The average permeation flux of water, J W is 66 calculated by 1 ##### [ J W × A tot ] 1 ##### [ J W × <u>0</u> # = ò 1 tot , d _X_ ##### [ J W × A tot ]d X # J W = ò 0 1 _J_ W × _A_ tot d _X_ 67 <u>0</u> # J W = ò, (S9) W tot <u>0</u> # W = ò 1 d # ò _A_ totd _X_ tot 0 ##### 68 where the permeation flux of water, J W can be obtained by solving the hybrid surrogate/system 69 model in Eq. 3. Furthermore, the following inequality constraints, ##### { D 1,A, D 1,B} - D tot ìmax{ _D_ 1,A, _D_ 1,B} - _D_ tot £ ï max{ _D_ 1,A, _D_ 1,B} - _D_ tot £ 0, _D_ 1,A, _D_ 1,B} - _D_ ï _D_ tot - ( _D_ 1,A + _D_ 1,B -10 μm) £ 0, ï £ 0 := íï _R_ r, min - _R_ r £ 0, ïCPF( _X_ ) - CPFmax £ 0, 0 £ _X_ £ ï-ï _J_ W ( _X_ ) £ 0, 0 £ _X_ £ ïî _<u>U</u>_ avg, in - _<u>U</u>_ avg, max £ 0, _D_ tot - ( _D_ 1,A + _D_ ( _D_ 1,A + _D_ 1,B -10 μm) £ 0, tot 1,A 1,B := íï _R_ r, min - _R_ r £ 0 _R_ r, min - _R_ r J £ 0 := íï _R_ r, min - _R_ r £ 0, 70 ï _R_ r, min - _R_ r £ 0, J £ 0 := í (S10) r, min r CPF( _X_ ) - CPFmax £ 0, 0 £ _X_ £1, _X_ ) - CPFmax £ 0, 0 £ _X_ max _J_ W ( _X_ ) £ 0, 0 £ _X_ W ( _X_ ) £ 0, 0 £ _X_ £ 1, _<u>U</u>_ avg, in - _<u>U</u>_ avg, in avg, max 0, 71 need to be satisfied. Minimum recovery rate ( _R_ r, min ), maximum allowable CPF ( CPFmax ), maximum 3 72 inlet velocity magnitude ( _<u>U</u>_ avg, max ) are given parameters in Table S1. Inlet velocity magnitude 73 ( _<u>U</u>_ avg, in ) can be calculated using Eqs. S 4 and S 5 combining with the given inlet flow rate ( _Q_ 0 ) and 74 ⌣ ⌣ ⌣ ⌣ ⌣ ⌣ normalized geometrical parameters ( _D_ 1,A, _D_ 2,A, _D_ 1,B, _D_ 2,B, _D_ tot, _α_ ). 75 76 2. Algorithm details in Methods 77 _2.1.Regularized High Dimensional Model Representation_ ⌣⌣ ⌣ 78 In Eq. 5, _f_ 12... _k_ ( γ 1, γ 2,..., γ _k_ ) could be expressed as the polynomial formula [3], _l_ _l_ _l_ _l_ _l_ _l_ ⌣⌣ ⌣ ⌣ _ip_ ⌣ _jp_ ⌣ ##### γi, γ j,�, γk ) = åå ...å wi, j,..., k ; ip, jp,..., kpγi γ j ... γ _ip_ =1 _jp_ =1 _kp_ =1 _l_ _l_ _l_ ⌣⌣ ⌣ ⌣ _ip_ ⌣ _jp_ ⌣ _kp_ ##### ... k ( γi, γ j,�, γk ) = åå ...å wi, j,..., k ; ip, jp,..., kpγi γ j ... γk . _ip_ =1 _jp_ =1 _kp_ =1 _l_ _l_ _l_ 79 ⌣⌣ ⌣ ⌣ _ip_ ⌣ _jp_ ⌣ _kp_ ##### fij ... k ( γi, γ j,�, γk ) = åå ...å wi, j,..., k ; ip, jp,..., kpγi γ j ... γk . (S11) ⌣⌣ ⌣ ⌣ _ip_ ⌣ _jp_ ⌣ _kp_ ##### ij ... k ( γi, γ j,�, γk ) = åå ...å wi, j,..., k ; ip, jp,..., kpγi γ j ... γk _ip_ =1 _jp_ =1 _kp_ =1 ##### fij ... k ( γi, γ j,�, γk ) = åå ...å wi, j,..., k ; ip, jp,..., kpγiipγ jjp ... γ _ip_ =1 _jp_ =1 _kp_ =1 #### 80 In the above equation, ip, jp and kp represent the order of variables, is the highest order set l 81 for the polynomial formula, and _wi_, _j_,..., _k_ . _ip_, _jp_,..., _kp_ is the corresponding coefficient of the term. 82 _2.2.Active subspace particle swarm optimization with mutation_ 83 In fundamental PSO with mutation [4], each particle i in algorithm can be described with an 84 1 2 _m_ 1 2 _m_ ##### m-dimension position vector xi = ( xi, xi,..., xi ) and the velocity vector vi = ( vi, vi,..., vi ) . In the 85 beginning, each particle is assigned a randomized position and velocity, maintaining them within 86 the feasible area. Then evaluate the fitness value finding the global best and personal historical 87 best. Based on personal best and global best, update individual velocity and position (See Fig. S1) 88 and then perform the mutation operation. Repeat the above steps until the stopping criteria are 89 satisfied. The basic idea of velocity and position updating and mutating process is expressed as, 90 _k_ 1 _k_ _k_ _k_ _k_ _k_ _vi_ + = _ωkvi_ + _c r_ 1 1( _pi_ - _xi_ ) + _c_ 2 _r_ 2 <sup>(</sup> _pg_ - _xi_ ), (S12) 91 _k_ 1 _k_ _k_ _xi_ + = _xi_ + _vi_, (S13) 92 _k_ +1 _k_ +1 #### xi, m = xi (1+ Gauss ( η )), (S14) ##### xi = ( xi 1, xi 2,..., xim ##### i = ( xi 1, xi 2,..., xim ) _vi_ = ( _vi_ 1, _vi_ 2,..., _vim_ _i_ = ( _vi_ 1, _vi_ 2,..., _vim_ ) 93 _k_ _k_ _k_ +1 where <sup>_v_</sup> _i_ and <sup>_x_</sup> _i_ represent the velocity and position vector of particle in iteration k. _i_ <sup>_v_</sup> _i_, <sup>_v_</sup> _ik_ <sup>_x_</sup> _ik_ represent the velocity and position vector of particle in iteration k. _i_ <sup>_v_</sup> _ik_ +1 +1, <sup>_x_</sup> _ik_ +1 +1 94 _k_ +1 and _xi_, _m_ are the velocity, position and position after mutation of particle in iteration _i_ _k_ +1. #### m +1 are the velocity, position and position after mutation of particle in iteration i k +1. ω _xik_, _m_ +1 95 #### denotes inertia coefficient. c 1 and c 2 are the individual and global acceleration factor. r 1 and r 2 96 _k_ #### are the random vector ranging from 0 to 1. p i is the historical best position of particle in i 96 _k_ #### are the random vector ranging from 0 to 1. p i is the historical best position of particle in i 97 iteration k . p gk is the best position of all particles in iteration k . Gauss( η ) returns a random _k_ #### p gk is the best position of all particles in iteration k . Gauss( η ) #### 98 number obeying the Gaussian distribution, where η denotes the standard deviation. 4 99 In order to enhance the performance of each particle, damping inertia coefficient is adopted in 100 each iteration during the progress [5]. And the following is a slightly improved damping criterial 101 of the original one owing to the intention of keeping exploitation ability of population near the end 102 of searching process. ìïí _ωk_ +1 = _ωk_ - _<u>ωk</u>_ _<u>k</u>_, if _k_ £ _β_ × _k_ +1 = _ωk_ - _<u>ωk</u>_ _<u>k</u>_ , if _k_ £ _β_ × _Maxiter_ _ωk_ +1 = _ωk_ - _<u>ωk</u>_ _<u>k</u>_, if _k_ £ _β_ + 1 _k_ - _β_ × _Maxiter_ ïí _ωk_ +1 = _ωk_ ï _k_ +1 _k_ î _ω_ = _ω_ , , if Maxiter if 103 _ωk_ +1 = _ωk_ -, if _k_ £ _β_ × _Maxiter_ ïí Maxiter (S15) + _k_ +1 = _ωk_ 1 _ωk_ +1 = _ω_ ##### 104 where Maxiter denotes the max number of iterations and β represents a ratio ranging from 0 to 105 1. After updating the position and velocity of particles, the best position of all individuals and 106 historical best position of each particle are updated. The specific algorithm process of PSO could 107 be found in Algorithm S1. 108 For AS technic, the gradient is approximated by central difference approach Ñ _x_ _j_ _f_ ( _xi_ _j_ ) » _<u>f</u>_ <u>(</u> _<u>xi</u>_ _j_ <u>+</u> _<u>h</u>_ <u>)2-</u> _h_ _<u>f</u>_ <u>(</u> _<u>xi</u>_ _j_ <u>-</u> _<u>h</u>_ _x_ _j_ _f_ ( _xi_ _j_ ) » _<u>f</u>_ <u>(</u> _<u>xi</u>_ _j_ <u>+</u> _<u>h</u>_ <u>)2-</u> _h_ _<u>f</u>_ <u>(</u> _<u>xi</u>_ _j_ 109 _j_ _<u>f</u>_ <u>(</u> _<u>xi</u>_ _j_ <u>+</u> _<u>h</u>_ <u>)</u> <u>-</u> _<u>f</u>_ <u>(</u> _<u>xi</u>_ _j_ <u>-</u> _<u>h</u>_ <u>)</u> Ñ _j_ _f_ ( _xi_ ) », (S16) _j_ ( _xi_ _j_ ) » _<u>f</u>_ <u>(</u> _<u>xi</u>_ _j_ <u>+</u> _<u>h</u>_ <u>)2-</u> _h_ _<u>f</u>_ <u>(</u> _<u>xi</u>_ _j_ <u>-</u> _<u>h</u>_ <u>)</u>, 110 where the superscript _j_ denotes the jth dimension of the vector. sampling amount _M_ and 111 decomposition of matrix C are as follows, 112 _M_ = _γ_ × nAS× log( _p_ ), (S17) 113 where _p_ is the dimension of input space and is the oversampling factor. And the variable _γ_ y Î _n_ 114 _m_ - _n_ ##### in active subspace η Î in inactive subspace can be formulated as 115 T T y = W x, η= W x . (S18) y = W 1T x, η= W 2T x . ## x could be reconstructed as, 116 ## Inversely, x could be reconstructed as, [ W W 1 2 ] éêêë WW 12TT ùúúû x = W y + W 1 2 η . T x = [ W W ] é W 1T x = WW T x = [ W W 1 2 ] éêêë WW 12TT ùúúû x = W y + W 1 2 η . 117 T é W 1 ù x = WW x = [ W W 1 2 ] ê ú x = W y + W 1 2 η . (S19) 118 5 119 120 Fig. S1. Conception of particle position update. 121 122 6 123 124 Fig. S2. The estimated concentration profiles (mol/m <sup>3</sup> ) using the both typical feed spacer geometries at various 125 _yz_ slices and at the top membrane surfaces. (a) Case 1. (b) Case 2. (Inlet velocity parameter _U_ 0 = 0.1 m/s for the 126 case 1 and case 2). 127 7 128 129 Fig. S3. The permeation flux of water (m/s) using the both typical feed spacer geometries. (a) Case 1: at the top 130 membrane surface ( _z_ = 1/2 _H_ 1). (b) Case 2: at the top membrane surface ( _z_ = 1/2 _H_ 1). (c) Case 1: at the bottom 131 membrane surface ( _z_ = -1/2 _H_ 1). (d) Case 2: at the bottom membrane surface ( _z_ = - 1/2 _H_ 1). (Inlet velocity 132 parameter _U_ 0 = 0.1 m/s for the case 1 and case 2). 133 134 8 135 136 Fig. S4. Convergence plot of particle swarm optimization (PSO) and active subspace particle swarm 137 optimization (ASPSO) over 15 runs with multi-objective optimization parameter _β_ equals to 1e-5 and population 138 of (a) 40, (b) 80, (c) 120, (d) 160 and (e) 200. 139 9 Type _D_ 1,A <sup>(m)</sup> _D_ 2,A <sup>(m)</sup> _D_ 1,B <sup>(m)</sup> _D_ 2,B <sup>(m)</sup> _D_ tot <sup>(m)</sup> _α_ (� ) _L_ mem <sup>(m)</sup> _n_ sp _n_ mem _N_ pv Original 3.54e-4 2.21e-4 4.49e-4 2.89e-4 7.11e-4 90 1 23 7 30 Optimized 3e-4 3e-4 2.28e-4 3e-4 5e-4 120 0.25 60 8 31 140 141 Fig. S5. Parameters and visualization of feed spacer geometries for spiral-wound membrane module 142 corresponding to the original and optimized situations. 143 144 10 145 Table S1. The relations or parameters [2, 6] used in this work. Parameters Relations or value _ρ_ (kg m <sup>-3</sup> ) 995.7+0.03854 _c_ _μ_ (Pa s) (1.004+8×10 <sup>-5</sup> _c_ )×10 Property of brine Density, _ρ_ (kg m <sup>-3</sup> ) 995.7+0.03854 _c_ Viscosity, _μ_ (Pa s) (1.004+8×10 <sup>-5</sup> _c_ )×10 <sup>-3</sup> Inlet concentration, <sup>_c_</sup> 0 (mol m <sup>-3</sup> ) 611 Diffusion coefficient of salt, _D_ s (m <sup>2</sup> s <sup>-1</sup> ) 1.45×10 <sup>-9</sup> Van’t Hoff factor, _f_ os (bar mol <sup>-1</sup> m <sup>3</sup> ) 0.04793 Membrane Water permeability, <sup>_L_</sup> p (L m <sup>-2</sup> hour <sup>-1</sup> bar <sup>-1</sup> ) 2.74 properties <sup>_c_</sup> 0 _D_ s _f_ os <sup>_L_</sup> p RO system Inlet transmembrane pressure, D <sup>_P_</sup> 0 (bar) 55 Recovery rate, _R_ r, min (-) 0.35 D <sup>_P_</sup> 0 _R_ r, min CPFmax Maximum allowable CPF, CPFmax (-) 1.15 Maximum inlet velocity magnitude, _<u>U</u>_ avg, max (m s <sup>-1</sup> ) 0.19 Efficiency of the electric motor, _η_ EM (-) 0.98 Efficiency of the high pressure pump, _η_ HPP (-) 0.80 Efficiency of the booster pump, _η_ BP (-) 0.60 Efficiency of the isobaric pressure exchanger, _η_ PX (-) 0.95 Surrogate model Regularization parameter of model <sup>_F_</sup> 1, <sup>_λ_</sup> 1 (-) 0.0631 Mean MSE of model <sup>_F_</sup> 1 when _λ_ = _λ_ 1 8.2079×10 <sup>-5</sup> Regularization parameter of model _F_ 2, <sup>_λ_</sup> 2 (-) 0.0776 Mean MSE of model _F_ 2 when _λ_ = _λ_ 2 2.1844×10 <sup>-4</sup> ASPSO algorithm Oversampling factor, ( _γ_ -) 5 Dimension of active subspace, nAS (-) 10 Dimension of original input space, _p_ (-) 10 Differential step, ( _h_ -) 0.001 Maximum iteration number, Maxiter (-) 100 Initial inertial coefficient, _ω_ 0 (-) 0.5 Individual acceleration factor, <sup>_c_</sup> 1 (-) 0.3 Individual acceleration factor, <sup>_c_</sup> 2 (-) 0.3 Mutation scale, _σ_ (-) 0.5 Mutation probability, ( _η_ -) 0.3 Damping parameter, _β_ (-) 0.5 146 147 148 _<u>U</u>_ avg, max _η_ EM _η_ HPP _η_ BP _η_ PX <sup>_F_</sup> 1, <sup>_λ_</sup> 1 <sup>_F_</sup> 1 when _λ_ = _λ_ 1 _F_ 2, <sup>_λ_</sup> 2 _F_ 2 when _λ_ = _λ_ 2 _γ_ -) nAS _p_ _h_ Maxiter _ω_ 0 <sup>_c_</sup> 1 <sup>_c_</sup> 2 _σ_ _η_ _β_ 11 149 Table S2. The optimized results using active subspace genetic algorithm (ASGA) and active 150 subspace particle swarm optimization (ASPSO) in small population size for the benchmark 151 problems, where dimension of active subspace is set as 2. Benchmark Method Problem Optimal value Standard Best Average Worst <u>deviation</u> Rastrigin function Sphere function Rosenbrock function Ackley function Bohachevsky function ASGA 3.842×10 <sup>-6</sup> 5.110×10 <sup>-3</sup> 0.02168 7.303×10 <sup>-3</sup> ASPSO 4.576×10 <sup>-11</sup> 9.264×10 <sup>-7</sup> 1.348×10 <sup>-5</sup> 3.47510 <sup>-6</sup> ASGA 3.542×10 <sup>-7</sup> 1.584×10 <sup>-3</sup> 0.01992 5.101×10 <sup>-3</sup> ASPSO 4.991×10 <sup>-14</sup> 7.885×10 <sup>-6</sup> 1.177×10 <sup>-4</sup> 3.037×10 <sup>-5</sup> ASGA 38.99 39.00 39.03 8.627×10 <sup>-3</sup> ASPSO 38.90 38.98 39.00 0.02807 ASGA 1.923×10 <sup>-5</sup> 8.153×10 <sup>-3</sup> 0.05137 0.01619 ASPSO 1.270×10 <sup>-8</sup> 1.270×10 <sup>-5</sup> 5.876×10 <sup>-5</sup> 1.613×10 <sup>-5</sup> ASGA 3.813×10 <sup>-5</sup> 0.04880 0.6338 0.1622 <u>ASPSO</u> <u>1.053×10</u> <sup>-12</sup> <u>3.239×10</u> <sup>-6</sup> <u>4.825×10</u> <sup>-5</sup> <u>1.245×10</u> <sup>-5</sup> 152 153 154 12 <u>Algorithm S1.</u> <u>PSO with mutation operator</u> Input: acceleration factor <sup>_c_</sup> 1 and <sup>_c_</sup> 2, initial coefficient _ω_, max iteration number Maxiter, population size _N_, bounds of input variables VarBound, bounds of velocity VelBound, mutation probability and mutation _η_ scale . _σ_ 1. Randomly initialize the position and the velocity of the population. Evaluate the initial population. 2. Update the global best of the whole population and personal best of each particle. 3. Update the velocity of each particle through Eq. S12. 4. Update the position of each particle through Eq. S13. 5. Mutation operation of each particle through Eq. S14. 6. Evaluate the fitness of each particle. 7. Update the damping coefficient _ω_ through Eq. S15. 8. Repeat 2-7 until the stopping criterion is satisfied. <u>9.</u> <u>Return the global best in the last iteration.</u> 155 156 13 157 References 158 [1] Luo J, Li M, Heng Y. A hybrid modeling approach for optimal design of non-woven membrane channels in 159 brackish water reverse osmosis process with high-throughput computation, Desalination 489 (2020) 114463. 160 [2] Kim J, Hong S. Optimizing seawater reverse osmosis with internally staged design to improve product water 161 quality and energy efficiency, Journal of Membrane Science 568 (2018) 76-86. 162 [3] Pan M, Sikorski J, Akroyd J, Mosbach S, Lau R, Kraft M. Design technologies for eco-industrial parks: From 163 unit operations to processes, plants and industrial networks, Applied Energy 175 (2016) 305-323. 164 [4] Andrews PS. An Investigation into Mutation Operators for Particle Swarm Optimization, IEEE Congress on 165 Evolutionary Computation (2016) 1044-1051. 166 [5] Poli R, Kennedy J, Blackwell T. Particle swarm optimization, Swarm Intelligence 1 (2007) 33-57. 167 [6] Su X, Li W, Palazzolo A, Ahmed S. Concentration polarization and permeate flux variation in a vibration 168 enhanced reverse osmosis membrane module, Desalination, 433 (2018) 75-88. 169 14

섹션 본문 52문단 · 36,558자

(제목 없음)

1Directly solving sophisticated partial differential equation constrained optimization problems is not only extremely time-consuming, but also very hard to find unique optimal solutions.Here, we propose stable and efficient surrogate models for seawater reverse osmosis desalination processes that enable thorough quantitative description of hydrodynamics and local transport characteristics in narrow flow channels.Without iteratively solving complex multi-physics simulation problem taking several hours, the proposed multi-scale design optimization framework significantly reduces the problem complexity by computing the surrogate models in seconds.Moreover, a fast-converging active subspace particle swarm optimization framework is proposed to address the optimal design problem.Compared to the standard particle swarm optimization algorithm, the proposed method enhances the average optimum by 14% and the standard deviation of optimum results for multiple runs is reduced by no less than ten times.The optimized desalination system achieves 9% reduction on energy consumption and 30% improvement on water production efficiency.

2The progress in multiscale optimal design techniques have demonstrated their significant utility in scientific and engineering applications, such as materials design 1,2 , protein structure design 3,4 and aircraft topology optimization 5,6 .Through efficient, robust, global and multi-objective optimization algorithms, optimal design could provide better solutions for further decision making.Meanwhile, knowledge of the optimal results provides new insights into the mechanisms of the system achieving better understanding.In water resource, the advanced membrane materials, e.g., high permeability seawater reverse osmosis (SWRO) membranes have attracted widespread attention in the past several decades 7,8 .Fane et al. pointed out that the fluid mechanics and transport performance for current module is limited, and does not match with the development of membrane technologies, which defeats the advantage of high permeability SWRO membranes 9 .For high permeability SWRO systems, optimization of membrane module (at sub-millimeter scale) is critical to mitigate scaling and fouling 10 (e.g., biofouling), and system design (at meter scale) has significant potential to improve the energy efficiency 11 .The optimal design problem of SWRO desalination system with advanced membrane material is a typical multiscale optimization problem that couples spacer design at sub-millimeter scale and system design at meter scale.Fastly obtaining optimal solution for the sophisticated optimization problem is extremely difficult owing to the complex nature of the system itself 12 .Hence, the fundamental question is how to develop an efficient and robust optimization approach to find the best solutions and realize optimal designs as fast as possible.

3The benchmark optimal design problem considered in this paper, widely applied in multi-disciplinary fields, can be mathematically described as a partial differential equations (PDEs) model constrained optimization problem as below: min x Jðx; mÞ s:t: Fðx; mÞ ¼ 0 Cðx; mÞ ≤ 0 ð1Þ where x and m denote design variable and state variable, J is an objective of interest, the constraints F and C are usually related to high dimensional, multiscale, multi-physics PDEs system subject to realistic initial and boundary conditions in practice.PDE-constrained optimization has broad and important applications in engineering and science domains, including optimal design 13 , optimal control 14 and inverse problems 15 .The research is mainly focused on the computation of feasible local optima due to the analytical complexity, computational intractability and nonconvexity nature of the system.To address the complex PDE-constrained optimization problem, it may need to iteratively solve hundreds or more PDEs using traditional gradient-based optimization approaches, e.g., the conjugate gradient, Gauss-Newton (G-N) and Levenberg-Marquardt (L-M) methods, which are extremely time-consuming and expensive in computational cost.Particularly, mixed integer PDE-constrained optimization combines the difficulties of integer programming and PDEs handling.Traditional algorithms, such as Branch-and-Bound and Cutting-Plane method, usually face the curse of dimensionality and require large amounts of storage when controlling the discrete variables 16 .One of the main difficulties for addressing mixed-integer PDE-constrained optimization problems is how to solve the PDEs accurately and efficiently.

4There are many solution frameworks when treating PDEs referring to gradient-based approaches.The relatively common ones are discretizethen-optimize approaches or optimize-then-discretize approaches.For the former one, PDEs are discretized completely, reducing the infinitedimensional optimization problem into the finite-dimensional optimization problem, and solving it with efficient nonlinear programming solvers 17,18 .This framework typically leads to a large and sparse optimization system to solve, and usually faces the curse of dimensionality 19 .Inversely, the optimize-then-discretize framework derives the continuous optimality condition analytically and then discretizes the adjoint differential equations with appropriate methods, such as finite difference and finite element 20,21 .However, these type of methods could lead to more numerically complexity and cause convergence problems due to inaccurate gradients 18 .Furthermore, directly performing large-scale complex simulations would be timeconsuming owing to the tedious mesh generation and numerical iterations.Therefore, surrogate model techniques for PDEs, such as Gaussian response surfaces, physical-informed kriging models, support vector machines, and artificial neural networks [22][23][24][25] , have been extensively utilized to rapidly evaluate complex systems.Moreover, the surrogate model approach could be combined with mechanism model to obtain more accurate results 26 that can contribute to remove gaps between different scales.Among these approaches, high-dimensional-model-representation (HDMR) is promising and easy-to-implement when dealing with high-dimensional inputs 27 .

5In engineering practice, module improvement for SWRO desalination usually adopts manual design with experience and comparisons, which only considers a few design values 28 and is hard to find the optimal solution due to its strong nonlinearity.Taking it as objective-based optimization process, the feasible region of the problem is usually rugged with many local minima 29 .Gradient-based optimization greatly relies on the choice of initial value and is easily stuck in the local optimum.Without relevant experience, it is tough to have a reasonable result unless a good initial guess is available.In general, gradient-based methods are not robust enough to tackle complex engineering optimal design problem 30 .In recent years, derivative-free optimization has aroused great attention.The multi-agent systems without using derivative information improve the efficiency of the optimization procedure.Population-based optimization methods, such as particle swarm optimization (PSO) and genetic algorithm (GA), show robustness with less possibility to be trapped at a local minimum owing to the stochastic section.Population-based algorithm is frequently utilized in complex optimization problem.Qi et al. 31 utilized PSO to tackle inverse transient radiation problem, which is proved to be fast, accurate and robust.However, the main drawback of population-based stochastic method is the premature convergence, which would cause poor accuracy in constrained optimization based on penalty function method.Meanwhile, when dealing with complex optimization problems, the population-based methods require many fitness function evaluations during exploration process, which will markedly increase the computational cost and weaken the advantage of these methods.In this paper, we introduce the active subspace (AS) to enhance the performance of population-based stochastic method.AS is firstly proposed in the field of uncertainty quantification for eliminating dimensions of the surrogate model's inputs to reduce the number of sampling and raise the fitting accuracy [32][33][34] .It generalizes the idea of deciding vital variables through sensitive analysis.AS technique presents a more fluctuant structure of the function's output by rotating the original input space with a lower or the same dimension 35 , which has been successfully utilized in engineering applications such as shape optimization in vehicle design 36,37 .

6In this paper, AS method is integrated with the PSO process, which develops the so-called active subspace based particle swarm optimization (ASPSO) approach below, to efficiently and accurately tackle PDEconstrained optimization problems.The integer variables in this problem is handled by the penalty method for continuity assumption of AS method.The main idea of AS is linearly mapping the original input space into the AS through the analysis of covariance matrix of the gradients.The AS method identifies the direction that barely fluctuates, thus the velocity and position update process of ASPSO is performed in the projected subspace to avoid meaningless evolution.Recently, AS method combined with GA is put forward to achieve faster convergence and proves to perform better in the high dimensional problems 38 .GA and PSO both belong to the biologically inspired optimization framework.It was reported that PSO has a better computational efficiency in both constrained and unconstrained optimization problems 39 , while GA could treat discrete variables naturally through binary coding 40 .These two approaches have their own advantages and application areas.Therefore, it is still important to evaluate the effectiveness of AS approach applied in PSO process.On the whole, a surrogate-model based optimization framework is proposed in this paper for the solution of the reverse osmosis (RO) desalination multiscale optimal design problem.The main contributions of this paper are as follows:

7(1) A regularized HDMR, which is hybrid with the holomorphic embedding method to solve simulation-based differential algebra equations (DAEs), is proposed to enhance the robustness and accuracy of the surrogate models through many high-fidelity, multi-physics computational fluid dynamics (CFD) simulations with highthroughput parallel computing.(2) A framework of ASPSO for solving DAEs constrained optimization problem is proposed to improve the convergence rate.And it is proved to have higher performance than the usual population-based evolutionary optimization algorithms.

Methods

8Multiscale optimal design problem for SWRO desalination system In this paper, the multiscale optimal design problem for SWRO desalination system involves the feed spacer design at sub-millimeter scale and system design at meter scale.However, it is computationally intractable to simulate such a complicated three-dimensional (3D) multi-physics model for the whole RO system.Fortunately, the typical membrane module consists of repeated pattern structures, and thus the local hydrodynamics, transport characteristic may be captured using small scale CFD simulations.Therefore, a multiscale modeling methodology is adopted that couples 3D nonlinear PDEs problem at sub-millimeter scale (CFD model) and onedimensional (1D) DAEs problem at meter scale (system-level model).

9The optimal design framework for SWRO desalination is shown in Fig. 1.After obtained the accurate and robust HDMR surrogate models with numerous parallel-computed high-fidelity CFD simulation data in submillimeter scale, we randomly initialize a set of the spacer geometrical and systematic parameters, solve the surrogate-mechanism 1D model employing holomorphic embedding solver at meter scale and then compute energy consumption at plant level.Utilizing the ASPSO framework, the purpose of the optimal design problem is to find appropriate feed spacer geometry and system parameters (module length and module arrangement) for the minimum energy consumption and membrane area.

3D nonlinear PDEs problem at sub-millimeter-scale

10A high-fidelity, multi-physics model at sub-millimeter scale is established that couples flow and diffusion-convection and forms a 3D nonlinear PDEs problem, which can be formulated as

11where the 3D computational domain, Ω is determined by given geometric parameters D 1; A ; D 2; A ; D 1;B ; D 2;B ; D tot ; α (see Fig. 1a).u ðu; v; wÞ and P are velocity vector along x ðx; y; zÞ and hydraulic pressure.ρ ðcÞ,μ ðcÞ denote density and viscosity of fluid that are related to concentration of salt c.Salt diffusivity D s is considered as a constant in this paper.U 0 denotes inlet velocity parameter.The detailed mathematical description about boundary conditions and model parameters can be found in Supplementary Information Text "3D nonlinear PDEs problem at sub-millimeter scale" and Table S1 respectively.

1D DAEs problem at meters-scale

12The 1D DAEs problem for the hybrid surrogate-mechanism model can be mathematically described as

13where ΔP, Q, J W are the transmembrane pressure, flow rate and the permeation flux of water in a one-stage SWRO system.X ðX 2 ½0; 1Þ denotes dimensionless length.A tot is total membrane area.Q 0 , Δπ 0 are inlet flow rate and inlet transmembrane osmotic pressure of the SWRO system.Normalized design parameters β (2½0; 1) is calculated by Eq.S3.

14Surrogate models F 1 and F 2 are obtained using the method of regularized HDMR, see the section of "Regularized High Dimensional Model Representation" of this paper.The detailed description for the systemlevel SWRO model is found in Supplementary Information Text "1D DAEs problem at meters-scale".

Optimal design problem

15In this paper, the hybrid surrogate/system model constrained optimization problem is mathematically described as

16where the objective function consists of the specific energy consumption, SEC (kWh/m 3 ) 41 (Eq.S8) and the total membrane area, A tot (Eq.S2).β represents the multi-objective optimization parameter.To make the optimized scheme practicable, the inequality constraints J ≤ 0 for e.g., spacer geometrical parameters, recovery rate and concentration polarization factor need to be satisfied.The detailed description can be found in Supplementary Information Text "Optimal design problem".Design parameters, β consist of spacer geometrical parameters β 1 ¼ ½D 1b).An AS based optimization algorithm is developed applied to solve the hybrid model constrained optimization problem.The detailed description is found in the section of "ASPSO with mutation".Regularized high dimensional model representation Interpolation or fitting of a multivariate function is a common issue in natural science and engineering.However, when input variables are in highdimension spaces, the problem would be difficult to solve utilizing common interpolation or expansion methods.HDMR 42 provides an efficient function map to approximate the nonlinear, implicit and high dimensional relations between sets of input and output variables.The main feature of HDMR model is decomposing the full function into summands of different dimensions.Due to the computational complexity and the numerical error of CFD simulation, the sample data for training HDMR coefficients is not very comprehensive.Therefore, we introduce regularization during the training procedure to enhance the robustness and accuracy of the surrogate models 43 .Let the normalized vector γ represents the input of the HDMR model and F as the output.The common decomposition could be expressed as follows,

17where γ ¼ ½ γ 1 ; γ 2 ; :::; γ n , f 0 denotes the constant term, n is the dimension of input vector, and f 12:::k ð γ 1 ; γ 2 ; :::; γ k Þ could be expressed as the polynomial formula 44 , see Eq. S11.The goal is to obtain all coefficients through minimizing the errors between CFD simulation results F and predicted values Fð γÞ.In this paper, we only consider the univariate, bivariate and three-variable terms.The highest order of all variables is set as quadratic.The following optimization target considering regularization term is formulated,

18where λ represents the regularization parameter and w is the coefficient matrix.A 10-fold cross-validation is performed to choose the suitable regularization parameter 45 .Cross-validation is a commonly used criteria to perform model selection.In this method, the original data set is divided into several subsets and in each fitting process, a single subset is retained as the test data and the remaining subsets are treated as training data.The mean square error (MSE) of test data in several fitting processes with different training and test data sets can be averaged to represent the quality of a specific model.

Fast and flexible holomorphic embedding method

19A fast and flexible holomorphic embedding (FFHE) method could be used to numerically solve a lot of common equations.It usually includes 3 important steps, which are deriving series expansions and rational approximants, segmenting intervals adaptively, and constructing approximate global solution.The FFHE method is for the first time applied in this application field and it provides new insights for solving the DAEs system for the optimal design problem of SWRO process in this paper.The details of the FFHE method can be found in the ref.46, which calculates power flow in power systems successfully and demonstrates its effectiveness in engineering problems.

ASPSO with mutation

20PSO is an intelligence optimization method inspired by the social behavior of biotic population, which is proposed by Kennedy and Eberhart 47 .This algorithm emulates the interaction between individuals to share information and find near-optimal as a result.Each particle keeps changing the search pattern based on the learning experience of itself and others.The concrete details of PSO with mutation algorithm can be found in Supplementary Information Text "Active subspace particle swarm optimization with mutation".One of this paper's contribution is the introduction of AS method to identify important direction of the input space, so as to improve the convergence of PSO with mutation.If the AS of inputs is known, the searching process would depend on the meaningful directions where the objective significantly fluctuates.In the AS approach 35 , we define the uncentered covariance of the gradient vector C as follows,

21where E ½Á denotes the expectation operator and ∇ x f ðx i Þ is the gradient vector of objective function.The subscript i represents the i-th sample and M is sampling amount.The matrix C defines the expectation of outer product of gradient vectors, where the diagonal elements are the mean of squared partial derivatives.The expected value could be approximated by various sampling method, like Monte Carlo Sampling and Latin Hypercube Sampling 48,49 .Since C is symmetric and positive semidefinite, the eigenvalue decomposition of C can be expressed as,

22where W represents for the orthogonal matrix containing eigenvectors representing the rotation of the original input space, Λ denotes the diagonal matrix where eigenvalues are arranged in descending order.The eigenvalues demonstrate the variation extent of f when the small perturbation along the related eigenvector direction in x occurs.Therefore, the eigenvalues and eigenvectors can be divided into active portion and inactive portion, Λ 1 and Λ 2 , W 1 and W 2 , through the energy decay.Then the vector in AS could be expressed by y ¼ W 1 T x.The specific transformation and recovery process of input space and other algorithmic details can be found in Supplementary Information Text "Active subspace particle swarm optimization with mutation".Algorithm 1. ASPSO with mutation operator Input: acceleration factor c 1 and c 2 , initial coefficient ω, max iteration number Maxiter, sampling amount M, differential step h, dimension of AS nAS, population size N, bounds of input variables VarBound, bounds of velocity VelBound, mutation factor η and mutation scale σ.

231. M samples are taken from the input space through Latin Hypercube sampling method.2. Construct the AS and select the reduced dimension through Eqs.7 and 8. 3. Randomly initialize the position and the velocity of the population.

24Evaluate the initial fitness value.4. Update the global best of the whole population and personal best of each particle.AS projection of each particle.5. Update the velocity of each particle in AS through Eq. 9. 6. Update the position of each particle through Eq. 10. 7. Mutation operation of each particle in AS through Eq.S14. 8. Reversely map to the original space.Evaluate the fitness of each particle.9. Update the damping coefficient ω through Eq.S15. 10.Repeat 2-7 until the stopping criterion is satisfied.11.Return the global best in the last iteration.

25In this paper, we combined AS method with PSO.The overall algorithms can be checked in Algorithm 1.In ASPSO, the update of velocity and position should be rewritten as,

26where the index AS denotes that the variable is projected into active subspace.As for the back mapping from AS to the original space when function evaluation, we utilize the simple inversely mapping scheme through the eigenvector matrix W 1 .It should be noted that the back projection would probably bring about the loss of information.

Benchmark function test

27The PSO, GA, Ant Colony Optimization (ACO), active subspace genetic algorithm (ASGA) and ASPSO are applied to solve the typical benchmark problems for testing Rastrigin, Sphere, Rosenbrock, Ackley, and Bohachevsky functions 38,50 .The variable dimension is fixed as 40 and the variable range is [−5.12,5.12] d .All the test functions have the same minimum of zero.For the GA and ACO, the hyperparmeters are chosen as the default values in MATLAB toolbox.It has the same hyperparmeters for PSO and ASPSO, GA, and ASGA for the fair comparison.The dimension of AS is chosen as 3 and population size is fixed as 200.

28The optimized results using PSO, GA, ACO, ASGA and ASPSO are shown in Table 1 for the five benchmark problems.The average and standard deviation are calculated over 15 runs of the algorithms.As we can see, ASPSO and ASGA performs significantly better than PSO, GA and ACO for all benchmark functions, indicating the effectiveness of introducing AS.Moreover, with subspace projection, the algorithms can achieve better numerical stability since the standard deviation for different experiments is much lower than the other population-based intelligent algorithms.ASPSO outperforms ASGA in four benchmarks and they performs consistently in one on the average minimum, indicating ASPSO has greater exploration ability than ASGA.Experiments of small population size, which is set as 10, are also performed on ASPSO and ASGA shown in Table S2.The results indicate that ASPSO is relatively unaffected by population size, achieving better global optimum and algorithm stability than ASGA.

CFD simulated results

29In this paper, we use a Latin hypercube-like sampling method proposed in our previous work 51 to obtain typical design parameters that are applied to parametric CFD modeling and generate the required training data for data-driven surrogate modeling.A high throughput computing approach is used to efficiently solve the established 734 CFD models with respect to various γ ¼ ½D 1;A ; D 2;A ; D 1;B ; D 2;B ; D tot ; α; U avg 52 .The computational scale in theoretically reaches 885 nodes (21,240 cores in total).The simulated hydraulic results (pressure and velocity profiles), are shown in Fig. 2 for both typical cases (case 1 and case 2) that have different feed spacer geometries (G1, G2) and have the same inlet velocity parameter (U 0 = 0.1 m/s).The pressure drop per unit length for case 1 (0.047 bar/m) is just 55% than that of the case 2 (0.086 bar/m).The concentration on membrane walls are much higher than that of the bulk concentration due to the selective leaking for water.The average mass transfer coefficient (8.27 × 10 −5 m/s) of the case 1 is higher than that of the case 2 (7.92 × 10 −5 m/s).It results in a more serious salt accumulation in case 2 (Fig. S2), which leads to the reduction of the water flux on the membrane surfaces (Fig. S3).Therefore, feed spacer design can mitigate the concentration polarization and reduce the flow resistance to some extent.The spacer optimization can be considered as a tradeoff between both factors.In this work, 3D CFD simulations with respect to various design parameters are still expensive in total computational cost although the high throughput computing approach is applied to significantly accelerate computing process.Machine learning with embedded physical information will be further developed to accurately and efficiently solve the 3D PDEs of this work, which can greatly reduce the total computational cost for solving the parametric 3D multi-physical problems.

Evaluation of surrogate models

30Regularized HDMR method is utilized in this paper to obtain surrogate models for the goal of avoiding overfitting and improve stability.The training and test data are obtained by high-fidelity CFD parallel simulations described above.In this section, the results and discoveries of surrogate models are demonstrated.The choice of regularization parameter λ and cross-validation method are demonstrated.The standard L 2 norm is added to objective function to suppress the model parameters and improve model generalization and we minimize the sum of relative errors and regularization term using BARON solver in GAMS 53 .The mean test MSE of 10-fold cross-validation varied with regularization parameter λ is shown in Fig. 3, which is a U-shaped curve and the shade region denotes the maximum and minimum test MSE.

31Regularization parameter λ controls the trade-off between the accuracy of training data and generalization ability of the model.When λ is too small or too large, the surrogate models is overfitting or underfitting leading to the larger test MSE.The best choice of λ is obtained from the minimal average MSE, which can be found in Table S1. Figure 4 represents the fitting trend for part of inputs before and after regularization with differently divided data sets in 10-fold cross-validation.As shown in the figures, the training process without regularization could cause the tendency instability, whereas the training process with suitable regularization parameter could obtain basically same trend in 10-flod cross-validation and ensure the stability and better prediction accuracy of the HDMR model.The final model parameters are calculated through averaging parameters of the ten training models to reduce accidental error.In further work, we will develop efficient model identification approach with data fusion mechanism to decrease the required training data, which can efficiently reduce the total computational cost.

Analysis of AS in the optimal design problem

32The ASPSO algorithm is proposed to solve the optimal design problem in SWRO desalination.The input variable x is the 10-dimensional vector with specific ranges including integer variables.Since it is a mixed-integer constrained optimization problem, the penalty function method is utilized to treat integer variables 54 .The DAEs in optimal design problem are solved by the FFHE solver.

33The purpose of AS technic is rotating high-dimensional input space to reveal the most fluctuant direction.To better construct and understand the AS approach, we scale the input vector x to ½0; 1 × R 10 .Latin hypercube sampling strategy is taken 50,55 to approximate expectation of gradient's covariance matrix.The eigenvalue decay and bootstrap resampling interval of AS in this problem is presented in Fig. 5a.From the figure, the ten eigenvalues have no prominent gap.

34In addition, considering the information loss during the reduction process, the dimension of AS is chosen as ten in this case.The sufficient summary plot is displayed in Fig. 5b, where η 1 and η 2 are the first and last eigenvectors corresponding to the maximum and minimum eigenvalues of covariance matrix W. As we can see, the AS method discovers the univariate character of the original high-dimensional data.Along the active direction, the fitness changes dramatically (see the blue line in Fig. 5b), while along the inactive direction, the surface is relatively constant (see the red line in Fig. 5b).All the corresponding parameters could be found in Table S1.

Optimized solutions using ASPSO framework

35Obtaining the AS representation, the multiscale RO desalination system optimization problem including surrogate models and differential equation constraints are optimized by the proposed ASPSO framework using MATLAB R2021a.The stopping criteria of this algorithm is the difference within fifty iterations doesn't exceed the tolerance value, which is set as 10 −4 in this case.Figure 6 denotes the energy consumption reduction, total membrane area reduction and water permeation flux improvement of optimized results compared to modified feed spacer in previous work 56 under standard commercial conditions.

36From the figures, the SEC of optimized results is very close to the theoretical optimum of the RO system that ignores the effect of friction losses and concentration polarization.Meanwhile A tot achieves 23% reduction, which is related to the economic benefit, and J W is improved by 30% indicating that the water production efficiency is greatly enhanced.Comparison of optimized feed spacer unit and original one that is based on a commercial feed spacer geometry with thickness of 28 mil could be found in Fig. S5.

37Figure 7a reports the convergence rate enhancement of ASPSO compared to PSO with multi-optimization parameter β equals to zero, where the solid lines denote the average global best value in each iteration and the shade regions represent the standard deviation intervals of 15 runs with different starts.We can see that as the iteration grows, the overlapping region of PSO and ASPSO is decreasing and the standard deviation of ASPSO gradually damps to zero while the standard deviation of PSO remains large, which indicates that ASPSO ensures greater stability and achieves a better solution than original PSO.When considering the membrane area in the objective function, ASPSO has a better performance than single-objective optimization (see Fig. 7b), where the standard deviation interval of PSO is gradually separated from which of ASPSO.

38Figure 8 represents the convergence rate of ASPSO for using different dimensions of AS, which shows the information loss when dimension of AS is relatively small leading to the slow convergence rate (see the green line).What can be noticed from the results is that ASPSO damps greater between the first and second generation and with less possibility stuck in the local optimum.From Table 2, the average optimum of ASPSO is smaller than that of PSO by 14% when population size is 120 and the standard deviation of the last iteration in 15 runs is much lower, which indicates immense numerical stability of our algorithm.With the increase of population size, the average and worst optimal value of ASPSO are stable ranging from 2.19 to 2.27 while PSO fluctuates from 2.19 to 2.9.And we can find that the computation time of ASPSO is a little bit higher than PSO, which may be caused by the projection and back-projection process of ASPSO and premature phenomenon of PSO.The details of optimization parameters and optimized results can be found in Fig. S4.

39In summary, solving high-dimensional PDE constrained optimization problems is usually computationally very expensive owing to the intractable and nonlinear nature of complex PDEs and complex computational domains to be tackled.To improve the efficiency of an optimal design procedure, accurate and stable surrogate models or faster solvers are inevitably required.This paper proposes a universal optimization approach based on AS technic that can efficiently, accurately and stably solve optimization problems, where regularized HDMR method and FFHE solver are utilized to tackle surrogate modeling and differential equation discretization problems.

40In this paper, 734 high-fidelity and multi-physics CFD simulations with respect to various design parameters are performed efficiently using high-throughput computing approach to create training and test data sets.The total computational scale reaches 21,240 cores on the "Tianhe-2" supercomputer.Then the regularized HDMR method is proposed to establish surrogate models.It has better prediction accuracy and stability with the use of the 10-flod cross-validation compared to the predicted results without regularization.For optimal design problem in SWRO desalination system, ASPSO is proposed to overcome the low convergent rate and stagnancy problems in intelligent optimization field.The original input space is projected by uncentered covariance matrix of gradients through supervised learning method.The proposed framework significantly outperforms the other population-based intelligent algorithms on global optimization performance, convergence rate and stability with the use of five typical benchmark optimization problems and multiscale design optimization problems in SWRO desalination.The optimized results using the ASPSO are stable ranging from 2.19 to 2.27 while the PSO fluctuates from 2.19 to 2.9 with respect to various population sizes of 40, 120 and 200 for the SWRO system.

41ASPSO algorithm achieves better performance than the classic PSO and has abundant potential of application in many other high-dimensional optimal design problems.The future improvement of this framework could be focused on the information loss when high-dimensional input space is reduced to a lower structure.The better strategy of constructing the original space and the selection of dimension of AS should be considered for greater accuracy.Due to the fact that the multi-physics CFD simulations with high-fidelity are time-consuming and expensive in computational cost, we will further develop physics-informed neural network-based framework to solve the sophisticated 3D PDEs efficiently and accurately in the next work.

42Table 2 | Optimization results of particle swarm optimization (PSO) and active subspace particle swarm optimization (ASPSO) when β (1)

Fig. 1 |

43Fig. 1 | Multiscale optimal design framework for the seawater reverse osmosis desalination system.a Sub-millimeter scale simulation.b Meter scale system design.c Search reduced design space using active subspace method.

Fig. 2 |

44Fig. 2 | The estimated hydraulic results using both typical feed spacer geometries.a Case 1: 3D pressure distribution (Pa).b Case 2: 3D pressure distribution (Pa).c Case 1: 3D velocity magnitude (m/s) and streamlines at various yz slices.d Case 2: 3D velocity magnitude (m/s) and streamlines at various yz slices.(Inlet velocity parameter U 0 = 0.1 m/s for the case 1 and case 2).

Fig. 3 |

45Fig. 3 | Optimizing regularization parameter λ for surrogate models through 10-fold crossvalidation plot.a Surrogate model pressure drop per unit length (F 1 ).b Surrogate model cell-average mass transfer coefficient (F 2 ).The vertical lines refer to the λ with minimal mean mean-square error (MSE).

Fig. 4 |

46Fig. 4 | Fitting trend of pressure drop per unit length (F 1 ) and cell-average mass transfer coefficient (F 2 ) for 5 different data sets.a F 1 (bar/m).b F 2 (m/h).The top is after regularization and the bottom is without regularization in each subfigure.

Fig. 5 |

47Fig. 5 | Results of active subspace construction.a Eigenvalues decay of active subspace with shaded region representing bootstrap resampling interval.b Sufficient summary plot of the first eigenvector η 1 and the last eigenvector η 2 in W, where X represents input variables varying along the specific eigenvector direction.

Fig. 6 |

48Fig. 6 | Optimized results of multiscale seawater reverse osmosis desalination system.a Comparison of specific energy consumption SEC between commercial, optimized and theoretical results.b Comparison of total membrane area A tot

Fig. 7 |

49Fig. 7 | Convergence plot of particle swarm optimization (PSO) method (blue line) and active subspace particle swarm optimization (ASPSO) method (red line) with different multi-objective optimization parameter β. a β equals to zero.b β equals to 10 −5 .

Fig. 8 |

50Fig. 8 | Convergence plot of particle swarm optimization (PSO) method (red line) and active subspace particle swarm optimization (ASPSO) method with subspace dimension of 4, 7 and 10 (green, yellow and blue lines).The multi-objective parameter β equals to 10 −5 .

Table 1 |

51The optimized results using particle swarm optimization (PSO), genetic algorithm (GA), ant colony optimization (ACO), active subspace genetic algorithm (ASGA) and active subspace particle swarm optimization (ASPSO) for the benchmark problems

52equals to 10 −5

참고문헌 49건

  1. Exploiting active subspaces to quantify uncertainty in the numerical simulation of the HyShot II scramjet Journal of Computational Physics · Elsevier BV · 2015 10.1016/j.jcp.2015.09.001
  2. Regularized random-sampling high dimensional model representation (RS-HDMR) Journal of Mathematical Chemistry · Springer Science+Business Media · 2007 10.1007/s10910-007-9250-x
  3. Information-Guided Genetic Algorithm Approach to the Solution of MINLP Problems Industrial & Engineering Chemistry Research · American Chemical Society · 2007 10.1021/ie060727h
  4. Adaptive Hessian-Based Nonstationary Gaussian Process Response Surface Method for Probability Density Approximation with Application to Bayesian Solution of Large-Scale Inverse Problems SIAM Journal on Scientific Computing · Society for Industrial and Applied Mathematics · 2012 10.1137/110851419
  5. Osmotic water transport through carbon nanotube membranes Proceedings of the National Academy of Sciences · National Academy of Sciences · 2003 10.1073/pnas.1633354100
  6. Learning solutions to partial differential equations using LS-SVM Neurocomputing · Elsevier BV · 2015 10.1016/j.neucom.2015.02.013
  7. Discretely Exact Derivatives for Hyperbolic PDE-Constrained Optimization Problems Discretized by the Discontinuous Galerkin Method Journal of Scientific Computing · Springer Science+Business Media · 2014 10.1007/s10915-014-9890-5
  8. Second-Order Runge--Kutta Approximations in Control Constrained Optimal Control SIAM Journal on Numerical Analysis · Society for Industrial and Applied Mathematics · 2000 10.1137/s0036142999351765
  9. Optimal control of the convection-diffusion equation using stabilized finite element methods Numerische Mathematik · Springer Science+Business Media · 2007 10.1007/s00211-007-0067-0
  10. Topology Optimization in Aircraft and Aerospace Structures Design Archives of Computational Methods in Engineering · Springer Science+Business Media · 2015 10.1007/s11831-015-9151-2
  11. A benchmark of kriging-based infill criteria for noisy optimization Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2013 10.1007/s00158-013-0919-4
  12. Inverse transient radiation analysis in one-dimensional non-homogeneous participating slabs using particle swarm optimization algorithms Journal of Quantitative Spectroscopy and Radiative Transfer · Elsevier BV · 2011 10.1016/j.jqsrt.2011.06.013
  13. Active Subspace Methods in Theory and Practice: Applications to Kriging Surfaces SIAM Journal on Scientific Computing · Society for Industrial and Applied Mathematics · 2014 10.1137/130916138
  14. The Future of Seawater Desalination: Energy, Technology, and the Environment Science · American Association for the Advancement of Science · 2011 10.1126/science.1200488
  15. High Dimensional Model Representations The Journal of Physical Chemistry A · American Chemical Society · 2001 10.1021/jp010450t
  16. Application of the hybrid particle swarm optimization algorithms for simultaneous estimation of multi-parameters in a transient conduction–radiation problem International Journal of Heat and Mass Transfer · Elsevier BV · 2014 10.1016/j.ijheatmasstransfer.2014.12.022
  17. Effect of different commercial feed spacers on biofouling of reverse osmosis membrane systems: A numerical study Desalination · Elsevier BV · 2013 10.1016/j.desal.2013.11.007
  18. Computational protein design as an optimization problem Artificial Intelligence · Elsevier BV · 2014 10.1016/j.artint.2014.03.005
  19. Estimation of prediction error by using K-fold cross-validation Statistics and Computing · Springer Science+Business Media · 2009 10.1007/s11222-009-9153-8
  20. Exact Penalty Functions for Nonlinear Integer Programming Problems Journal of Optimization Theory and Applications · Springer Science+Business Media · 2010 10.1007/s10957-010-9700-7
  21. Aircraft design optimization Mathematics and Computers in Simulation · Elsevier BV · 2007 10.1016/j.matcom.2007.07.001
  22. Global sensitivity indices for nonlinear mathematical models and their Monte Carlo estimates Mathematics and Computers in Simulation · Elsevier BV · 2001 10.1016/s0378-4754(00)00270-6
  23. Comparison of Particle Swarm Optimization and the Genetic Algorithm in the Improvement of Power System Stability by an SSSC-based Controller Journal of Electrical Engineering and Technology · Springer Science+Business Media · 2011 10.5370/jeet.2011.6.2.182
  24. Synthetic Membranes for Water Purification: Status and Future Angewandte Chemie International Edition · Wiley · 2015 10.1002/anie.201409783
  25. A Comparison of Particle Swarm Optimization and the Genetic Algorithm 54th AIAA/ASME/ASCE/AHS/ASC Structures, Structural Dynamics, and Materials Conference · 2005 10.2514/6.2005-1897
  26. Active Subspaces for Shape Optimization 2014 10.2514/6.2014-1171
  27. Design technologies for eco-industrial parks: From unit operations to processes, plants and industrial networks Applied Energy · Elsevier BV · 2016 10.1016/j.apenergy.2016.05.019
  28. Automatic design of fiber-reinforced soft actuators for trajectory matching Proceedings of the National Academy of Sciences · National Academy of Sciences · 2016 10.1073/pnas.1615140114
  29. The effect of feed spacer geometry on membrane performance and concentration polarisation based on 3D CFD simulations Journal of Membrane Science · Elsevier BV · 2016 10.1016/j.memsci.2016.12.058
  30. Latin hypercube sampling and the propagation of uncertainty in analyses of complex systems Reliability Engineering & System Safety · Elsevier BV · 2003 10.1016/s0951-8320(03)00058-9
  31. Forward and backward uncertainty quantification with active subspaces: Application to hypersonic flows around a cylinder Journal of Computational Physics · Elsevier BV · 2019 10.1016/j.jcp.2019.109079
  32. A Novel Fast and Flexible Holomorphic Embedding Power Flow Method IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2017 10.1109/tpwrs.2017.2750711
  33. Multifunctional structural design of graphene thermoelectrics by Bayesian optimization Science Advances · American Association for the Advancement of Science · 2018 10.1126/sciadv.aar4192
  34. Optimizing seawater reverse osmosis with internally staged design to improve product water quality and energy efficiency Journal of Membrane Science · Elsevier BV · 2018 10.1016/j.memsci.2018.09.046
  35. Time-dependent manufacturing processes lead to a new class of inverse problems Proceedings of the National Academy of Sciences · National Academy of Sciences · 2019 10.1073/pnas.1900420116
  36. Optimal control strategies for inhibition of protein aggregation Proceedings of the National Academy of Sciences · National Academy of Sciences · 2019 10.1073/pnas.1904090116
  37. Non-commutative discretize-then-optimize algorithms for elliptic PDE-constrained optimal control problems Journal of Computational and Applied Mathematics · Elsevier BV · 2018 10.1016/j.cam.2018.07.028
  38. Advances in protein structure prediction and design Nature Reviews Molecular Cell Biology · Nature Portfolio · 2019 10.1038/s41580-019-0163-x
  39. The relative insignificance of advanced materials in enhancing the energy efficiency of desalination technologies Energy & Environmental Science · Royal Society of Chemistry · 2020 10.1039/d0ee00341g
  40. A Machine Learning Framework for Solving High-Dimensional Mean Field Game and Mean Field Control Problems arXiv (Cornell University) · Cornell University · 2019 10.1073/pnas.1922204117
  41. Multi-scale membrane process optimization with high-fidelity ion transport models through machine learning Journal of Membrane Science · Elsevier BV · 2020 10.1016/j.memsci.2020.118208
  42. A Supervised Learning Approach Involving Active Subspaces for an Efficient Genetic Algorithm in High-Dimensional Optimization Problems SIAM Journal on Scientific Computing · Society for Industrial and Applied Mathematics · 2021 10.1137/20m1345219
  43. APIK: Active Physics-Informed Kriging Model with Partial Differential Equations SIAM/ASA Journal on Uncertainty Quantification · Society for Industrial and Applied Mathematics · 2022 10.1137/20m1389285
  44. Physics-Informed Feature-to-Feature Learning for Design-Space Dimensionality Reduction in Shape Optimisation AIAA SCITECH 2022 Forum · 2021 10.2514/6.2021-1235
  45. High-performance combinatorial optimization based on classical mechanics Science Advances · American Association for the Advancement of Science · 2021 10.1126/sciadv.abe7953
  46. Tunable membranes incorporating artificial water channels for high-performance brackish/low-salinity water reverse osmosis desalination Proceedings of the National Academy of Sciences · National Academy of Sciences · 2021 10.1073/pnas.2022200118
  47. An improved data-free surrogate model for solving partial differential equations using deep neural networks Scientific Reports · Nature Portfolio · 2021 10.1038/s41598-021-99037-x
  48. Strength through defects: A novel Bayesian approach for the optimization of architected materials Science Advances · American Association for the Advancement of Science · 2021 10.1126/sciadv.abk2218
  49. Supercomputing and machine learning-aided optimal design of high permeability seawater reverse osmosis membrane systems Science Bulletin · Elsevier BV · 2023 10.1016/j.scib.2023.01.039