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

Rotating Disk Electrodes beyond the Levich Approximation: Physics-Informed Neural Networks Reveal and Quantify Edge Effects

간접 관련 수소연료전지 · (7) MEA(막전극접합체) (6) PEM(고분자전해질막)

기본 정보

저자
  1. Haotian Chen — Department of Chemistry, Physical and Theoretical Chemistry Laboratory, Oxford University, South Parks Road, Oxford OX1 3QZ, Great Britain
  2. Enno Kätelhön — Accenture GmbH, Campus Kronberg, Kronberg im Taunus 61476, Germany
  3. Richard G. Compton — Department of Chemistry, Physical and Theoretical Chemistry Laboratory, Oxford University, South Parks Road, Oxford OX1 3QZ, Great Britain
DOI
10.1021/acs.analchem.3c01936
저널
Analytical Chemistry
발행년도
2023
발행기관
American Chemical Society
피인용수
13
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1021/acs.analchem.3c01936
토픽
Analytical Chemistry and Sensors
OpenAlex ID
W4385926431

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
(6) PEM(고분자전해질막)
R&D 측면
분석·모델링
확신도
0.80
근거 용어
Physics-informed neural networks, Rotating disk electrode, Mass transport, Electroanalysis, Diffusion equation
판단 근거
본 논문은 물리 정보 신경망(PINN)을 활용하여 회전 원판 전극(RDE)에서의 물질 전달 및 가장자리 효과를 모델링하는 연구입니다. 이는 코오롱인더스트리의 수소연료전지(PEMFC) 핵심 부품인 MEA 및 전해질막 내에서의 이온/물질 이동 현상을 시뮬레이션하고 분석하는 방법론으로 응용될 수 있습니다.
R&D 활용 포인트
PEMFC의 막전극접합체(MEA) 및 이온전도성 고분자막 내에서의 물질 전달(Mass transport) 및 확산 거동을 예측하는 수치 해석 모델링 기술로 활용 가능합니다.
평가 입력
본문 53,073자 중 30,032자 발췌

초록

Physics-informed neural networks are used to characterize the mass transport to the rotating disk electrode (RDE), the most widely employed hydrodynamic electrode in electroanalysis. The PINN approach was first quantitatively verified via 1D simulations under the Levich approximation for cyclic voltammetry and chronoamperometry, allowing comparison of the results with finite difference simulations and analytical equations. However, the Levich approximation is only accurate for high Schmidt numbers (Sc > 1000). The PINN approach allowed consideration of smaller Sc, achieving an analytical level of accuracy (error <0.1%) comparable with independent numerical evaluation and confirming that the errors in the Levich equation can be as high as 3% when Sc = 1000 for rapidly diffusing species in aqueous solution. Entirely novel, the PINNs permit the solution of the 2D diffusion equation under cylindrical geometry incorporating radial diffusion and reveal the rotating disk electrode edge effect as a consequence of the nonuniform accessibility of the disc with greater currents flowing near the extremities. The contribution to the total current is quantified as a function of the rotation speed, disk radius, and analyte diffusion coefficient. The success in extending the theory for the rotating disk electrode beyond the Levich equation shows that PINNs can be an easier and more powerful substitute for conventional methods, both analytical and simulation based.

본문 53,073자

본문 펼치기
This article is licensed under <u>[CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/)</u> pubs.acs.org/ac <mark>Article</mark> ## Rotating Disk Electrodes beyond the Levich Approximation: Physics- Informed Neural Networks Reveal and Quantify Edge Effects #### Haotian Chen, Enno Kätelhön, and Richard G. Compton* Cite This: _Anal._ _Chem._ 2023, 95, 12826−12834 Read [Online](https://pubs.acs.org/doi/10.1021/acs.analchem.3c01936?ref=pdf) ### ACCESS Metrics & More Article Recommendations * sı Supporting Information ABSTRACT: Physics-informed neural networks are used to characterize the mass transport to the rotating disk electrode (RDE), the most widely employed hydrodynamic electrode in electroanalysis. The PINN approach was first quantitatively verified via 1D simulations under the Levich approximation for cyclic voltammetry and chronoamperometry, allowing comparison of the results with finite difference simulations and analytical equations. However, the Levich approximation is only accurate for high Schmidt numbers ( _Sc_ - 1000). The PINN approach allowed consideration of smaller _Sc_, achieving an analytical level of accuracy (error <0.1%) comparable with independent numerical evaluation and confirming that the errors in the Levich equation can be as high as 3% when _Sc_ = 1000 for rapidly diffusing species in aqueous solution. Entirely novel, the PINNs permit the solution of the 2D diffusion equation under cylindrical geometry incorporating radial diffusion and reveal the rotating disk electrode edge effect as a consequence of the nonuniform accessibility of the disc with greater currents flowing near the extremities. The contribution to the total current is quantified as a function of the rotation speed, disk radius, and analyte diffusion coefficient. The success in extending the theory for the rotating disk electrode beyond the Levich equation shows that PINNs can be an easier and more powerful substitute for conventional methods, both analytical and simulation based. easier but not more capable alternatives to traditional # ■ INTRODUCTION numerical methods. To address such concerns, we challenged Recent advances of physics-informed neural networks (PINNs), <sup>1</sup> as a novel partial differential equation (PDE) PINN to unveil the edge effect on a rotating disk electrode solving tool, have started to transform many science and (RDE). Until then, this problem was addressed using the engineering disciplines. <sup>2</sup> PINNs are a unified framework singular-perturbation method by Newman and colleagues, but capable of both data-driven discovery of PDEs (the inverse it was only able to provide a self-confessed (well-) educated problem) and, as addressed in this paper, data-driven solution “guess” as the solution. <sup>11</sup> The complexity of the 2-D problem of PDEs (the forward problem). Training a PINN can be and the discontinuous boundary conditions have discouraged considered an unsupervised strategy by encoding physical laws electrochemists from attempting simulations using finite into the loss function of a neural network. For the forward difference or finite element methods. To date, Newman’s problem, the PINN algorithm is essentially a mesh-free, approach is still state-of-the-art and the best approximation. multidimensional solver that finds the solution to a PDE by The rotating disk electrode is the most popular hydrominimizing the aforementioned loss function. Notable dynamic electrode and is widely used by electro-analysts as examples include solving stiff chemical kinetics, <sup>3,4</sup> non- well as fundamental electrochemists, not least since the device Newtonian fluid modeling <sup>5</sup> and simulating voltammetry in 1- provides a well-defined convective flow of solution (analyte) to D to 3-D electrode geometries, <sup>6,7</sup> convective-diffusion mass the electrode surface, allowing steady-state measurements. <sup>12</sup> A transport, and/or nonlinear chemical kinetics. <sup>8</sup> For the inverse schematic flow profile is shown in Figure 1a,b and the resulting problem, PINNs can accommodate noisy experimental data and make physically consistent predictions. For example, Received: May 5, 2023 PINNs and their variant, extended PINNs (XPINNs), have Accepted: July 31, 2023 solved inverse problems in supersonic flows considered impossible for standard numerical methods. <sup>9</sup> Published: August 17, 2023 easier but not more capable alternatives to traditional numerical methods. To address such concerns, we challenged PINN to unveil the edge effect on a rotating disk electrode (RDE). Until then, this problem was addressed using the singular-perturbation method by Newman and colleagues, but it was only able to provide a self-confessed (well-) educated “guess” as the solution. <sup>11</sup> The complexity of the 2-D problem and the discontinuous boundary conditions have discouraged electrochemists from attempting simulations using finite difference or finite element methods. To date, Newman’s approach is still state-of-the-art and the best approximation. The rotating disk electrode is the most popular hydrodynamic electrode and is widely used by electro-analysts as well as fundamental electrochemists, not least since the device provides a well-defined convective flow of solution (analyte) to the electrode surface, allowing steady-state measurements. <sup>12</sup> A schematic flow profile is shown in Figure 1a,b and the resulting Received: May 5, 2023 Accepted: July 31, 2023 Published: August 17, 2023 Despite PINNs flourishing in fluid dynamics <sup>10</sup> and science/ engineering in general, <sup>2</sup> their applications are still scarce in chemistry. We attribute this to the concern that PINNs are just © 2023 The Authors Published by <u>Analytical</u> <u>Chemistry</u> <u><mark>pubs.acs.org/ac</mark></u> <u><mark>Article</mark></u> Figure 1. (a,b) Rotating electrode with a metal conductive area (golden). Blue arrow shows the hydrodynamic velocity in cylindrical coordinates, _r_, _y_, and _ϕ_ . (c) Illustration of the PINN training to solve the 2-D steady state simulation at a RDE with multiple Schmidt number corrections. Notably, the prediction from a dense neural network is constrained by physical conditions, including PDEs, BCs, and ICs. (d) Analytical results obtained by Newman and colleagues in comparison with the Levich equation. Reproduced with permission from ref 11 Copyright 2017 IOP Publishing. diffusion-controlled currents have long been known, arising from the theoretical work of Levich <sup>13</sup> and rigorously validated experimentally by the Frumkin School of Electrochemistry. <sup>14</sup> In particular, Levich established the following equation for the transport-controlled steady-state current and diffusion layer thickness at the rotating electrode <u>2</u> <u>1</u> <u>1</u> _I_ = 0.62 _nFAc_ × _<u>D</u>_ 3 6 2 <u>1</u> <u>1</u> <u>1</u> = 1.61 _<u>D</u>_ 3 6 2 (1) where the symbols are defined in Table 1. The derivation of eq 1 assumes that the disk is uniformly accessible, implying that convection diffusion normal to the electrode is only considered so that the problem becomes one-dimensional. The Levich approach uses an approximate equation describing the solution velocity as a function of the distance away from the electrode under laminar hydrodynamic conditions, as evaluated by Karmá ń <sup>15</sup> and Cochran <sup>16</sup> retaining only the first term in a series expansion. This approximation is valid for large Schmidt numbers, _Sc_, where the diffusion layer due to electrolysis is small in scale compared to the hydrodynamic layer established by the rotating electrode. The assumption that the rotating electrode is uniformly accessible is strictly correct only in the limit of an electrode of infinite radius. Finite electrodes will show edge effects resulting from radial diffusion, and these effects will become increasingly large at slower rotation speeds where, in the limit of a static disc electrode, the diffusional transport becomes fully Table 1. Definition of the Dimensional Parameters variable(s) symbol(s) definition(s) unit concentration and bulk concentration of any species _j_ _cj_, _c_ - _j_ mol/m <sup>3</sup> diffusion coefficient of any _Dj_ m <sup>2</sup> /s species _j_ applied potential and 0 f V formalpotentialpotentialand _E_, _E_ f frequency of rotation _f_ Hz kinematic viscosity _ν_ (Greek m <sup>2</sup> /s letter) _v_ scan rate fluid velocity in ( _x_, _y_, and _z_ ) direction fluid velocity in the _y_ direction with Levich approximation approximate fluid velocity in the _r_ direction (English letter, bold) V/s _<u>v</u>_ ( _x_, _y_, _z_ ) m/s _vy_,Levich _Ly_ <sup>2</sup> m/s _vr_,approx _Lyr_ m/s rotation speed _ω_ 2 _πf_ rad/s _r_ <u>e2</u> Reynolds number _Re_ dimensionless Schmidt number _Sc_ _D_ dimensionless <u>3</u> <u>1</u> scaling factor for _ν_ _L_ 0.51023 2 2 m <sup>−1</sup> s <sup>−1</sup> <u>Analytical</u> <u>Chemistry</u> <u><mark>pubs.acs.org/ac</mark></u> <u><mark>Article</mark></u> convergent and the steady-state diffusion limited current is described as follows _I_ = 4 _nFc_ × _Dr_ e (2) where the diffusion layer is approximately hemispherical in shape rather than planar. The consequence of the edge effect at the finite rotating electrode is to (slightly) destroy the perfect uniform accessibility of the infinite rotating disc, leading to a greater local current density at the disc edges as compared to the disk center. This causes the overall disk current to increase a little above that predicted by the Levich equation. The primary aim of this paper is to use PINNs to quantify this small enhancement (see Figure 1c) noting that an approximate analytical result was obtained by Newman, <sup>11</sup> which predicts an asymptotic approach to the Levich equation as shown in Figure 1d, where the _x_ axis is _Sc_ <sup>1/3</sup> _Re_ <sup>1/2</sup> (proportional to _ω_ <sup>1/2</sup> ). Recognizing the limitations of their approach, which becomes increasingly obvious for smaller rotation speeds, Newman offered the displayed “guess” (his description), reflecting his physical and mathematical intuition. Note that the intercept on the _y_ axis corresponds to eq 2. The problem is important so as to define the electrode geometry and rotation speed and the solute diffusion coefficients for which the Levich equation applies quantitatively. We show below that the PINN approach quantifies the edge effect and, furthermore, allows easy comparison with the deviation caused by the high Schmidt number correction, with the latter shown to be the more significant effect for most systems. The two factors act in opposite directions on the Levich-predicted current but do not cancel. All simulation programs are available on [https://github.com/nmerovingian/](https://github.com/nmerovingian/PINN4RDE) [PINN4RDE](https://github.com/nmerovingian/PINN4RDE) with neural network weights for users’ convenience. # ■ THEORY In the following, the electrochemical reaction is assumed to be a simple one-electron reduction of the form of A + e ⇄ B, where A and B are stable solution phase species. We assume that there is only A in bulk solution, so that _c_ B* = 0 and that A and B have similar diffusion coefficients, _D_ A = _D_ B; we model only species A since the concentration of species B is readily deduced via _c_ A + _c_ B = _c_ A*. Sufficient electrolyte ensures that the mass transport is exclusively via diffusion and forced convection. To validate simulations using PINNs, results are compared with finite difference simulations, <sup>17</sup> analytical expressions, and/or literature values where applicable. 1-D Simulation of RDE. Assuming a uniformly accessible RDE under laminar flow conditions and neglecting edge effects, the mass transport equation is simplified as onedimensional correction terms are shown in the Schmidt number correction section in Supporting Information. Physically, this is valid when the diffusion layer thickness is much less than the scale of the hydrodynamic layer established by the rotating electrode. The boundary conditions for the simulation of electrochemically reversible (“Nernstian”) linear sweep voltammetry at a RDE are _c_ A = _c_ A <sup>*</sup> _t_ = 0, _y_ = [0, _y_ sim] (5) _c_ A = _c_ A <sup>*</sup> _t_ = [0, _t_ sim], _y_ = _y_ sim (6) i _E_ = _E_ f0(A/B) + lni _c_ <u>A</u> y _t_ = [0, _t_ sim], _y_ = _F_ jjjjj _c_ B zzzzz k { i jjjjj k y zzzzz { f0(A/B) + lni _c_ <u>A</u> y _t_ = [0, _t_ sim], _y_ = 0 _F_ jjjjj _c_ B zzzzz 0 <u>A</u> B sim (7) where _y_ sim is the outer boundary of the simulated space and _t_ sim is the timespan of the voltammetry experiment. _E_ and _E_ 0f are the applied potential and the formal potential of the couple, respectively.,, and _F_ are the gas constant, temperature, and the Faraday constant. Equation 7 is the Nernst equation. Alternatively, for simulating the steady-state limiting current, it is replaced by _c_ A = 0, and the time derivative in eq 3is equated to zero. Steady-State 2-D Simulation of the Rotating Disk Electrode. When the edge effect is not negligible, notably at a low rotational frequency, the RDE simulation becomes twodimensional, and the mass transport equation at the steady state is 2 _cj_ 1 i _cj_ y 2 _cj_ Ä 2 2 É _cj_ _cj_ _cj_ 1 i _cj_ y _cj_ _vr_ _r_ + _vy_ _y_ = _Dj_ _y_ 2 + _r_ jjjjj _r_ zzzzz + _r_ 2 ÅÅÅÅÅÅÅÅÅÅÅÇ k { ÑÑÑÑÑÑÑÑÑÑÑÖ _cj_ Ä i y y zzzzz { 2 Ö (8) É _c_ _r_ 2 _cj_ _cj_ _cj_ _cj_ 1 i _cj_ y _vr_ _r_ + _vy_ _y_ = _Dj_ _y_ 2 + _r_ jjjjj _r_ zzzzz + _r_ ÅÅÅÅÅÅÅÅÅÅÅ k { Ö _j_ _cj_ Ä _j_ ÅÅÅÅÅÅÅÅÅÅÅÇ + _vy_ _r_ _j_ Ç _y_ = _Dj_ _y_ _j_ i jjjjj k _y_ 2 _r_ _cj_ 2 where _vr_ is defined as Ä Ä <u>1</u> É _<u>vr</u>_ = _Lyr_ 1 0.50000 _y_ i y 2 + 0.20533 _y_ 2i y + ··· ÅÅÅÅÅÅÅÅÅ Å Ç 0.51023 jjjk zzz{ 0.51023 jjjk _v_ zzz{ ÑÑÑÑÑÑÑÑÑ Ñ Ö ÄÅÅÅÅÅÅÅÅÅ Å Ç 2 <u>1</u> 2 y zzz { <u>1</u> 2 y zzz { É Ö i jjj k Ç i jjj k (9) Close to the electrode _vr_ is approximated as _vr_,approx = _Lyr_ . Under steady state conditions, the mass transport equation is time independent, and the boundary conditions corresponding to the transport limited current are _c_ A = 0 _r_ = [0, _r_ e], _y_ = 0 (10) d _c_ <u>A</u> = 0 _r_ = [ _r_ e, _r_ sim], _y_ d _y_ _c_ <u>A</u> = 0 _r_ = [ _r_ e, _r_ sim], _y_ = <u>A</u> = 0 _r_ = [ _r_ e, _r_ sim], _y_ = 0 d _y_ e sim (11) d _c_ <u>A</u> = 0 _r_ = 0, _y_ = [0, _y_ d _r_ _c_ <u>A</u> = 0 _r_ = 0, _y_ = [0, _y_ sim] <u>A</u> = 0 _r_ = 0, _y_ = [0, d _r_ sim (12) _cj_ = _cj_ _j_ _j_ _vy_ = _D_ _t_ 2 _cj_ _cj_ _y_ _cj_ _y_ 2 _y_ _y_ (3) _y_ where _vy_ is given in the literature as follows <sup>15,16</sup> Ä Ä <u>1</u> É _vy_ = _Ly_ 2 1 0.3333 _y_ i y 2 + 0.10265 _y_ 2i y + ··· ÅÅÅÅÅÅÅÅÅ Å Ç 0.51023 jjjk zzz{ 0.51023 jjjk zzz{ ÑÑÑÑÑÑÑÑÑ Ñ Ö ÄÅÅÅÅÅÅÅÅÅ Å Ç <u>1</u> 2 y zzz { <u>1</u> 2 y zzz { É Ö 2 0.3333 0.10265 2 i jjj k Ç i jjj k (4) _c_ A = _c_ A <sup>*</sup> _r_ = [0, _r_ sim], _y_ = _y_ sim (13) _c_ A = _c_ A <sup>*</sup> _r_ = _r_ sim, _y_ = [0, _y_ sim] (14) Dimensionless Variables. Electrochemistry simulations commonly adopt dimensionless parameters for multiple advantages. First, dimensionless parameters increase the generality of the simulations, avoiding the need for repetitive simulations for different parameters; in addition, they reduce round-off errors during simulation, as all quantities are near the order of unity. In the context of PINN training, dimensionless PDEs are favorable to the optimizer <sup>18</sup> and crucial to avoid the exploding/diminishing gradient problem. <sup>19</sup> In the Levich approximation, _vy_ is approximated as _vy_,Levich = _Ly_ 2, where _L_ is defined in Table 1. Additional <u>Analytical</u> <u>Chemistry</u> <u><mark>pubs.acs.org/ac</mark></u> <u><mark>Article</mark></u> Using the dimensionless parameters defined in Table 2, the transformed mass transport equation for 1-D simulation is Table 2. Definition of Dimensionless Parameters <sup>_a_</sup> parameter dimensionless form PINN Simulation. PINN simulations of a 1-D RDE require prediction of the concentration _C_ A ( _T_, _W_ ) as a function of the dimensionless coordinate _W_ and time _T_ . The PDE, initial, and boundary conditions for electrochemically reversible voltammetry to be solved by the PINN are 2 _C_ <u>A</u> (20) _cj_ _j_ _C_ concentration _Cj_ = _c_ _C_ <u>A</u> 2 _C_ <u>A2</u> + _<u>VW</u>_ _C_ <u>A</u> = 0 _T_ × _j_ _c_ A* _W_ <u>A2</u> + _<u>VW</u>_ <u>A</u> A _T_ <u>A</u> _W_ 2 _C_ <u>A2</u> + _<u>VW</u>_ _CW_ <u>A</u> = 0 _T_ × _W_ diffusion coefficient _dj_ = _Dj_ _j_ _D_ A A <u>1</u> 3 spatial coordinate in the _y_ direction for 1-D simulation _W_ = i _L_ y 3 _y_ jjjk _D_ zzz{ ijjj k _y_ spatial coordinate in the _y_ direction for 2-D _Y_ = simulation _r_ e _<u>r</u>_ spatial coordinates in the _r_ direction for 2-D _R_ = simulation _r_ e fluid velocity in the _W_ direction under the _V_ _y_ spatial coordinate in the _y_ direction for 2-D _Y_ = simulation _r_ e spatial coordinates in the _r_ direction for 2-D simulation 2 Levichvelocityapproximationin the _W_ direction under the _VW_ <u>,Levich</u> = _W_ approximate fluid velocity in the _R_ direction _VR_,approx = _RY_ fluid velocity in theapproximation _Y_ direction under the Levich _VY_ <u>,Levich</u> = _Y_ 2 time _T_ = ( _L_ 2 _D_ <u>)13</u> _t_ 3 <u>e</u> A <u>e</u> dimensionless auxiliary variable = _L_ <sup>_r_</sup> _D_ A potential = ijjj = ijjj _<u>F</u>_ yzzz( _E_ _E_ f0) k { ijjj k yzzz 0 scan rate = _F_ _v_ ( _L D_ 2 A) <u>1</u> 3 _J_ RDE = _FI_ (RDE _r_ 2) _c_ *( 1.65894 flux _J_ RDE = _F_ ( _r_ e2) _c_ A*( _D_ A2 _L_ <u>RDE</u> e2) _c_ A*( _D_ A2 _L_ <u>)13</u> RDE _F_ ( _r_ e2) _c_ A*( _D_ A2 _L_ <u>)13</u> e _aF_,, and are the Faraday constant, the gas constant, and temperature, respectively. _E_ and _E_ 0f are the potential and the formal potential, respectively. _C_ A = 1 _T_ = 0, _W_ (21) _C_ A = 1 _T_, _W_ = _W_ sim (22) 1 _C_ A = _T_, _W_ = 0 1 + exp( ) (23) where eq 20 represents the PDE embedded in PINN using the automatic differentiation (AD) utility, eq 21 is the initial condition, and eqs 22 and 23 are the boundary conditions. _W_ sim is the outer boundary of the simulation, equal to six times the Levich diffusion layer thickness. Conventional data-driven neural networks are trained with labeled data to map the correlation between inputs and outputs. The PINN, on the contrary, encodes PDEs into its loss function to solve them by minimizing losses on large sets of collocation points. To enforce eq 20, for example, collocation points { _Ti_, _Wi_ } _i_ =1 <sup>are</sup> <sup>generated</sup> <sup>using</sup> <sup>a</sup> <sup>uniform</sup> random distribution on the Ω _T_ × Ω _W_ domain as training inputs. The PINN framework has two parts. The first part is similar to a conventional data-driven neural network that takes ( _Ti_, _Wi_ ) as input and gives _C_ A ( _Ti_, _Wi_ ) as an output. The second part of the framework uses AD to calculate the derivatives of outputs respective to inputs and incorporate them into a loss function in the form of the mean square error (MSE) of the residuals MSEPDE = 1 ijjjjj _CT_ <u>A</u> _W_ 2 _C_ <u>A2</u> + _<u>VW</u>_ _CW_ <u>A</u> PDE 2 _<u>W</u>_ = 1 _i_ 1 ijjjjj _CT_ <u>A</u> _W_ 2 _C_ <u>A2</u> + _<u>VW</u>_ _CW_ <u>A</u> yzzzzz k { i _C_ <u>A</u> _T_ <u>A</u> 2 (24) _W_ 2 _C_ <u>A</u> _C_ <u>A2</u> + _<u>VW</u>_ <u>A</u> y zzzzz { _i_ _i_ = 1 i jjjjj k _C_ <u>A</u> = <u>A</u> = _W_ 2 _C_ <u>A2</u> _<u>VW</u>_ _CW_ <u>A</u> 2 _C_ <u>A</u> _W_ 2 _C_ <u>A2</u> _<u>VW</u>_ <u>A</u> (15) _T_ where _<u>VW</u>_ is defined as _<u>VW</u>_ = _W_ 2i1 0.33333 _W_ jjjjj 0.33333 _W_ 1 <u>1</u> jjjjj 0.51023 (0.51023 _Sc_ <u>)3</u> 2 i i jjjjj k _Sc_ _<u>W</u>_ = <u>1</u> 3 0.10265 _W_ 2 0.51023 (0.51023 _Sc_ <u>)</u> _W_ 2 y y zzzzz { + <u>2</u> + ··· _Sc_ <u>2</u> 3 { (16) For the 2-D simulation of RDE at steady state, the dimensionless mass transport equation becomes _<u>VR</u>_ _CR_ <u>A</u> + _<u>VY</u>_ _CY_ <u>A</u> = _Y_ 2 _C_ 2 + _R_ 1 ijjjk _CR_ yzzz{ + _C_ <u>A</u> + _<u>VY</u>_ _C_ _R_ _Y_ 2 2 _<u>R</u>_ _CR_ <u>A</u> + _<u>VY</u>_ _CY_ <u>A</u> = _Y_ 2 _C_ 2 + _R_ 1 ijjjk _CR_ yzzz{ + _Y_ 2 _C_ 2 i jjj i jjj k y zzz 2 (17) _C_ _R_ _Y_ 2 _C_ 1 _Y_ 2 + _R_ 2 where _<u>VR</u>_ and _<u>VY</u>_ are defined as i jjj <u>12</u> + 0.20533 _Y_ 2 _<u>VR</u>_ = _RY_ i1 0.50000 _YRe_ <u>12</u> + 0.20533 _Y_ 2 _Re_ + ···y jjjk 0.51023 0.51023 zzz{ (18) i jjj k y zzz i jjj _<u>VY</u>_ = _Y_ 2i1 0.33333 _YRe_ <u>12</u> + 0.10265 _Y_ 2 _Re_ + ···y jjjk 0.51023 0.51023 zzz{ i jjj k (19) 2i1 0.33333 _YRe_ <u>12</u> + 0.10265 _Y_ 2 y zzz Equations 20−22 are encoded to the neural network in a similar fashion, allowing a linear combination of the MSE of the governing equations and initial and boundary conditions as the overall loss SE = _w_ PDEMSEPDE + _w_ ICsMSEICs + _w_ BCsMSEBCs where _w_ is the weight of each MSE function to balance their importance during training and the IC and BC subscripts refer to initial and boundary conditions, and a scheme of the setup is shown in Figure 1c. Although loss weights may require special attention, <sup>20,21</sup> during the PINN simulation of RDE, equal weights for all losses provide satisfactory results, possibly because of the adoption of dimensionless parameters. The optimizer used for training was Adam <sup>22</sup> (learning rate = 10 <sup>−3</sup> ) and the activation function for all hidden layers was hyperbolic tangent (tanh). During simulations, was set between 1 and 3 million. The dimensionless coordinates ( _R_ and _Y_ ) for the 2-D simulation are normalized against the radius of the electrode ( _r_ e) such that the dimensionless electrode radius is always unity, so that the neural network can “focus” around _R_ = 1 to better resolve edge effects. In addition, curriculum learning was applied to train the PINN from high _Sc_ <sup>1/3</sup> _Re_ <sup>1/2</sup> values to low values, to increase resolving power, and to facilitate convergence. <sup>23</sup> <u>Analytical</u> <u>Chemistry</u> <u><mark>pubs.acs.org/ac</mark></u> <u><mark>Article</mark></u> The governing 2-D steady-state equation poses a serious 1 challenge to a PINN: as _R_ lim0 _R_ =, the exploding gradient problem will arise when _R_ approaches zero. One possible solution is to upgrade the simulation to 3-D Cartesian coordinates at a cost of significant computational overhead. <sup>7</sup> Instead, we employ a “divide-and-conquer” strategy, assuming that a small area at _R_ ∈ [0, _R_ 0] is unaffected by the edge effect, such that the concentration profile at steady state can be approximated using the analytical equation at a very large ### Schmidt number such that C = ( 13, 13 DL y 3), where Γ is the regularized lower incomplete gamma function. <sup>24</sup> The value of _R_ 0 is a hyperparameter, and _R_ 0 = 0.05 is used throughout the simulations reported. The domain _R_ ∈ [ _R_ 0, _R_ sim] is solved with the PINN. The equation set is 2 2 2 _C_ _R_ 2 2 _<u>VR</u>_ <u>A</u> _<u>VY</u>_ <u>A</u> 2 _C_ 1 _Y_ 2 + _R_ i jjj i jjj k y zzz _C_ _<u>VR</u>_ _C_ <u>A</u> _<u>VY</u>_ _C_ _R_ _Y_ _C_ _R_ 2 + _R_ 1 ijjjk _CR_ yzzz{ + _RC_ 2 _<u>VR</u>_ _CR_ <u>A</u> _<u>VY</u>_ _CY_ <u>A</u> = _R_ 1 ijjjk _CR_ yzzz{ + _R_ 2 _C_ 2 _<u>VR</u>_ _CR_ <u>A</u> _<u>VY</u>_ _CY_ <u>A</u> = 0 _R_ × _Y_ (25) high-throughput simulations compared to other numerical methods. # ■ RESULTS AND DISCUSSION First, PINN simulations for cyclic voltammetry and chronoamperometry at an RDE with the Levich approximation are reported. These are compared with FD and/or literature reports, thus validating the approach. Second, Schmidt number corrections are added to the velocity profile so that the PINN can accurately solve the steady state flux at low _Sc_ values, and the predicted flux is quantitatively compared with the literature. Third, the PINN approach was further progressed to novelly solve edge effects at an RDE at slow rotational frequency by employing PINN 2-D steady state simulations. Lastly, Schmidt number corrections are shown to be easily implemented for 2-D simulations. To convert between dimensional and dimensionless variables, the following variables are assumed, unless otherwise specified: _f_ = 50 Hz, _D_ = 10 <sup>−9</sup> m <sup>2</sup> s <sup>−1</sup>, _ν_ = 10 <sup>−6</sup> m <sup>2</sup> s <sup>−1</sup>, _r_ e = 10 _μ_ m at 298 K. 1-D Simulation of Cyclic Voltammetry and Chronoamperometry. First, PINN simulations of electrochemically reversible cyclic voltammetry using the Levich approximation were performed at different dimensionless scan rates from _σ_ = 0.1 to _σ_ = 100, corresponding to _v_ from 0.1 to 51.5 V/s and validated with FD simulation and independent simulation results from Strutwolf and Schoeller after adjusting for different normalizations of scan rates. <sup>25</sup> The PINN (solid lines) and FD (dashed lines) simulations are overlaid in Figure 2a, showing a good agreement between the two methods, and the PINN simulated peak fluxes agree well with results reported by Strutwolf and Schoeller, as shown in the inset of Figure 2a. Figure 2b shows the concentration profile at _σ_ = 40. Potential step chronoamperometry at a RDE was also simulated using PINN and compared with an independent simulation reported by Bruckenstein and Prager <sup>26</sup> and shown in Figure 2c. Note that a conditioning time is adopted such that the excitation waveform is applied after _T_ - 0.2. The good agreement of PINN with analytical and/or FD simulations proves the viability of using PINN to simulate hydrodynamic voltammetry at the RDE. The quantitative success encourages the exploration of more accurate (but more complex) governing equations, to which we next turn. Schmidt Number Corrections in the 1D Simulation of the RDE. We next consider the inclusion of additional Schmidt number correction terms to the fluid velocity profile in eq 9 for the PINN simulation, as the Levich approximation becomes increasingly poor for decreasing Schmidt numbers when _Sc_ < 1000. Specially, the Levich approximation introduces 7.2 or 3.1% error when _Sc_ = 100 or 1000. <sup>28</sup> Two Schmidt number correction terms are included in PINN as shown in eq 16 to facilitate comparison with the literature solution employing the same corrections. <sup>28</sup> PINN simulations were performed at 7 different _Sc_ values from 100 to 1400 at different dimensionless scan rates ( _σ_ = 0.1, 0.5) and up to 6 correction terms. The corresponding dimensional scan rates are 0.05 and 0.25 V/s when _Sc_ = 1000. The simulation results are shown in Figure 3. Each column (a−d) suggests that with Schmidt number corrections ( _n_ corr. - 0), the magnitude of limiting flux at smaller _Sc_ values increasingly deviates from the prediction using the Levich approximation. The two scan rates for each column suggest that PINN can solve more complicated time-dependent problems without restriction to steady state conditions. _C_ A = 0 _R_ = [ _U_ 0, 1], _Y_ = 0 (26) _C_ <u>A</u> = 0 _R_ = [1, _R_ sim], _Y_ = <u>A</u> = 0 _R_ = [1, _R_ sim], _Y_ = 0 _Y_ sim (27) i jjj 3y _R_ = _R_ 0, _Y_ zzz { (28) _C_ A = i 1 _L_ 3y _R_ = _R_ 0, _Y_ jjj 3 <sup>,</sup> <sup>1</sup> 3 _D_ <sup>_y_</sup> zzz k { i jjj k y zzz _C_ A = 1 _R_ = _R_ sim, _Y_ (29) _C_ A = 1 _R_ = [ _R_ 0, _R_ sim], _Y_ = _Y_ sim (30) where _R_ sim and _Y_ sim are the outer boundaries of simulation equal to four times the dimensionless diffusion layer thickness such that Ω _R_ ∈ [ _R_ 0, _R_ sim] and Ω _Y_ ∈ [0, _Y_ sim]. After training, a concentration profile in the two-dimensional domain is obtained, and the flux on the electrode surface is directly given by the neural network using automatic differentiation _J_ = 0 _R_ 0 _J_ Levich d _R_ + _R_ 10 ijjjk _CY_ yzzz{ _Y_ =0 d _R_ i jjj i jjj k = 0 _R_ 0 _J_ Levich d _R_ + _R_ 10 ijjj _CY_ yzzz k { y zzz 0 1 Levich 0 _R_ 0 k _Y_ { _Y_ 0 k _Y_ { _Y_ =0 (31) 0 The theory and derivation of the FD method for 1-D simulation of RDE are provided in the Finite Difference Simulation of Rotating Disk Electrode section in the Supporting Information. The structure and workflow for PINN 2-D simulation of RDE are provided in the PINN [Architecture section in the Supporting Information. A glossary](https://pubs.acs.org/doi/suppl/10.1021/acs.analchem.3c01936/suppl_file/ac3c01936_si_001.pdf) [for PINN is also provided in the Supporting Information. The](https://pubs.acs.org/doi/suppl/10.1021/acs.analchem.3c01936/suppl_file/ac3c01936_si_001.pdf) sensitivity of hyperparameters, including the outer boundary of the simulation, and _R_ 0 is provided in the Hyperparameter Sensitivity section in the Supporting [Information.](https://pubs.acs.org/doi/suppl/10.1021/acs.analchem.3c01936/suppl_file/ac3c01936_si_001.pdf) Simulation Methods. The PINN simulation programs were written with Python, and PINN algorithms were implemented using TensorFlow 2.3. A 1-D finite difference simulation of cyclic voltammetry at a RDE was solved using the implicit Euler method and implemented in Python. The tridiagonal matrix was solved using the Scipy package. Note that for 2-D steady-state simulations and 1-D time-dependent simulations, it took less than 25 min to converge using 15 CPU cores without a GPU on the advanced research computing (ARC) cluster at the University of Oxford. The relatively low hardware requirement (as no GPU was used) and fast convergence speed using PINN signal the applicability of <u>Analytical</u> <u>Chemistry</u> <u><mark>pubs.acs.org/ac</mark></u> <u><mark>Article</mark></u> Figure 2. (a) Cyclic voltammetry at a RDE predicted by PINN (solid lines) is compared with finite difference simulations (dashed line). The inset compares the forward scan peak flux predicted by PINN with the analytical equation established by Strutwolf and Schoeller. <sup>25</sup> Both dimensionless and the corresponding dimensional scan rates are shown in the legend using the parameters mentioned in the text. (b) Time-dependent concentration profile predicted by PINN when _σ_ = 40. The decreased concentration near the electrode surface between _T_ = 0.25 and 0.75 represents electrochemical reaction at the electrode governed by the Nernst equation. (c) Potential step chronoamperogram predicted by PINN is validated with independent work from Bruckenstein and Prager. <sup>26,27</sup> The excitation waveform was applied at _T_ = 0.2, and a small positive peak before the sharp increase in flux magnitude was due to an artifact with the relaxation time before _T_ = 0.2. The time interval between 0 and 0.2 is known as the conditioning time, where no electrochemical reaction happens. Noticeably, the Schmidt number correction terms are easily introduced into the PINN through an auxiliary input without much computational overhead, while retaining the option to easily incorporate more correction terms when necessary. The simulation program provided in the public repository (see Introduction) has implemented six correction terms, providing redundant flexibility in case of need. [Figure](https://pubs.acs.org/doi/suppl/10.1021/acs.analchem.3c01936/suppl_file/ac3c01936_si_001.pdf) S1 illustrates the difference in concentration profile with two or no correction terms ( _Cn_ corr = 2 <sup>−</sup> <sup>_C_</sup> _n_ corr = 0 <sup>)</sup> <sup>and</sup> <sup>shows</sup> <sup>a</sup> <sup>slightly</sup> <sup>more</sup> <sup>depleted</sup> mass transport layer near the electrode surface. The PINN simulation results are then compared with the numerical solution (which used two correction terms) reported in literature, <sup>28</sup> and tabulated in Table 3. Table 3 suggests that three corrections are sufficient to capture the steady state flux, as the effect of the fourth term and beyond is negligible for the Schmidt numbers considered. Note that the effect of the extra convective terms normal to the electrode is to reduce the current as compared to the predictions of the Levich approach. We consider an aqueous (298 K) kinematic viscosity of 10 <sup>−6</sup> m <sup>2</sup> s <sup>−1</sup> and a typical aqueous solution-based diffusion coefficient of 10 <sup>−9</sup> m <sup>2</sup> s <sup>−1</sup> such that _Sc_ = 1000, neglecting edge effects. The Schmidt number of corrected current is 3.04% below the Levich equation, a significant number in the context of analytical chemistry. In the case of lower kinematic viscosity and a higher diffusion coefficient, the deviation will be more significant. For example, a low Schmidt number was reported for gas transport in salt water, suggesting the experimental relevance and importance of Schmidt number corrections. <sup>29</sup> As shown in Table 3, the average absolute error between a full numerical solution and the PINN prediction is as low as 0.02%, suggesting that PINNs can achieve an analytical level of accuracy while easily implementing 6, and likely more, Schmidt number corrections into the governing PDEs. This scenario proves the practicality of PINN to solve time-dependent nonlinear PDEs for chemistry, with the possibility of outdating traditional numerical methods. Unveiling the Edge Effect at the RDE. Edge effects at the RDE, which are not negligible at slow rotational speeds, necessitate a 2-D simulation. First, we report PINN simulations at steady state at a RDE at different dimensionless frequencies ( _Re_ <sup>1/3</sup> _Sc_ <sup>1/2</sup> ) by employing PINN to directly solve the convective-diffusion to a RDE without recourse to mathematical approximations. The velocity profiles in both _y_ and _r_ directions are first described with the Levich equation (i.e., no correction terms) to allow comparison with the literature, <sup>11</sup> and then simulated with additional correction terms as shown in the next section. Figure 4 gives an example of the steady-state concentration profile at ( _Re_ <sup>1/3</sup> _Sc_ <sup>1/2</sup> = 3.01) and the convergent mass transport to the disk where _R_ - 1, such that an enhanced flux density is observed near the electrode edge as shown in Figure 4b (the “edge effect”). Figure 4c visualizes the PINN predictions of the steady state flux, the Newman analytical equation and guesses, and the Levich equation. PINN-predicted fluxes are in between the estimates of the Newman equation and the Levich equation. The red curve with markers (note especially the right-hand _y_ axis) suggests a larger deviation from Levich equation at a lower rotational frequency. For example, when _Sc_ <sup>1/3</sup> _Re_ <sup>1/2</sup> < 3, the edge effect enhances the flux by more than 50%. The second _x_ -axis provides an estimate, as when the rotational frequency is 0.1 Hz, significant edge effects can be observed if _r_ e < 0.5 mm. The critical rotational frequency below which the edge effect causes more than 1% deviation from the Levich equation is estimated at different electrode radii and reported [in the Significance of the Edge Effect section in the Supporting](https://pubs.acs.org/doi/suppl/10.1021/acs.analchem.3c01936/suppl_file/ac3c01936_si_001.pdf) [Information.](https://pubs.acs.org/doi/suppl/10.1021/acs.analchem.3c01936/suppl_file/ac3c01936_si_001.pdf) For example, for an electrode with a 100 _μ_ m radius, the critical frequency is 15.4 Hz. To provide an estimate of the edge effect at different rotational frequencies without further training, a curve was fitted to the following equation based on PINN simulation results and a known intercept, and the fitted equation and parameters are <u>Analytical</u> <u>Chemistry</u> <u><mark>pubs.acs.org/ac</mark></u> <u><mark>Article</mark></u> Figure 3. PINN simulation of voltammetry at RDE at (a,b) _σ_ = 0.1 and (c,d) _σ_ = 0.5, corresponding to _v_ = 0.05 and 0.25 V/s when _Sc_ = 1000, and increasing number of Schmidt number correction terms. There are 0 or 6 correction terms in (a,c) or (b,d), respectively, at different Schmidt numbers ( _Sc_ = 100 to 1400). The red-dashed curve in each plot represents the Levich prediction without considering Schmidt number corrections. Table 3. Limiting Flux Simulated Using PINN with Up to Six Schmidt Number Corrections When _σ_ = 0.1 <sup>_a_</sup> PINN _n_ corr. = 2 PINN _n_ corr. = 6 numerical solution absolute error, % _Sc_ PINN _n_ corr. = 1 100 −0.9222 −0.9336 −0.9330 −0.9332 0.04 200 −0.9413 −0.9477 −0.9474 −0.9476 0.01 500 −0.9588 −0.9614 −0.9614 −0.9615 0.01 800 −0.9649 −0.9674 −0.9673 −0.9672 0.02 1000 −0.9680 −0.9699 −0.9697 −0.9696 0.03 1200 −0.9699 −0.9715 −0.9714 −0.9714 0.01 1400 −0.9720 −0.9724 −0.9729 −0.9729 0.05 _a_ The numerical solutions were calculated with two corrections, thus compared with the PINN simulation with two corrections and the absolute error in comparison with independent numerical simulations <sup>28</sup> is reported in the last column. = 1 _x_ + _a_ e _bx_ + i 4 _a_ y 1.544 jjjk zzz{ i jjj k 1 _x_ + _a_ e _bx_ + i 4 _a_ ye 1.544 jjjk zzz{ _bx_ 4 _cx_ 2 _y_ = _x_ + _a_ e _bx_ + _a_ 2 1/3 1/2 e ss _x_ : _Sc_ 1/3 _Re_ 1/2, _y_ : : _Sc_ 1/3 _Re_ 1/2, _y_ : _r j_ e ss _Dc_ A* _a_ = 2.01, _b_ = 0.35, _c_ = 2.01, _b_ = 0.35, _c_ = 2.01, _b_ = 0.35, _c_ = 0.07 (32) constraints, PINN provides a shortcut to solve chemistry problems that conventional methods are incapable of. 2D Simulation of RDE with Schmidt Number Corrections. To fully exploit the capability of the PINN approach to solve complicated hydrodynamic problems, two Schmidt correction terms (see eqs 18 and 19) in both _R_ and _Y_ directions are incorporated in the velocity profiles for 2-D steady state simulations at different dimensionless rotational frequencies ( _Sc_ <sup>1/3</sup> _Re_ <sup>1/2</sup> ) and shown in Figure 5. The steadystate fluxes are lower, with two additional correction terms. Using this example, we therefore used PINN to solve a multidimensional PDE with complex nonlinear corrections as the governing equation. The problem is solved quantitatively with PINN for the first time, to the best of the author’s knowledge. We conclude that PNN, as an emerging discretization-free framework, may advance chemistry to solve harder problems, including hitherto insoluble problems, with relative ease. In addition, the computational time is reasonably fast: on a 20-core workstation, each 2-D simulation takes less than 30 min. # ■ CONCLUSIONS We implemented PINNs to quantify convective-diffusion mass transport to a rotating disk electrode (RDE), first approximately in 1-D to mirror the Levich approach and then in 2-D to include radial diffusion effects, to evaluate a long-lasting challenge in computational electrochemistry, namely the edge effect at the rotating disk. <sup>11</sup> Specifically, we rigorously introduced the background to Newman’s approach and his “guessed” solution, the mathematical formulations, and underlying principles of PINNs, followed by the PINN solution of these problems. First, PINN 1-D simulations of voltammetry and chronoamperometry were validated with the 1 where 1.544 _x_ is the steady state flux predicted by the Levich equation, and the two additional terms following it present addition flux contributed by the edge effect. The fitting equation is enforced with a known intercept at <sup>4</sup>, and the fitted curve is shown in Figure 4c. The fitted curve quantifies the edge effect at an RDE using a more definitive and systematic approach than was available to Newman. By incorporating complicated PDEs into loss <u>Analytical</u> <u>Chemistry</u> <u><mark>pubs.acs.org/ac</mark></u> <u><mark>Article</mark></u> Figure 5. Comparing steady-state flux for 2-D simulation at a RDE at different dimensionless rotational speeds with no Schmidt number correction (red) and with two Schmidt number corrections (blue). The corrections are in both the _R_ and _Y_ directions. The reported flux ( _J_ PINN) is normalized against the Levich equation ( _J_ Levich). the first time, provided a PINN data-generated working curve to quantify the deviation from the Levich equation. Lastly, Schmidt number corrections were also introduced in the 2-D simulations. Figure 4. (a) Steady-state concentration profile predicted by PINN when _Sc_ <sup>1/3</sup> _Re_ <sup>1/2</sup> = 3.01. Red and black rectangles represent the electrochemical active electrode and insulating materials, respectively, and (b) flux density at the electrode surface, which shows significant edge contribution near _R_ = 1. (c) Comparing the PINN prediction (blue scatter points from _Sc_ <sup>1/3</sup> _Re_ <sup>1/2</sup> = 1.24 to 7.27), Smyrl and Newman’s work (orange solid and dashed lines) and the Levich equation’s (green line) prediction of the steady-state flux at different dimensionless rotation rates, _Sc_ <sup>1/3</sup> _Re_ <sup>1/2</sup> . PINN prediction was fitted (yellow line) along with a known intercept at 4 to give a general e x p r e s s i - n - f p e a k c u r r e n t a s _y_ = 1.5441 _x_ + 2.01 exp( 0.35 _x_ ) 0.74 exp( 0.07 _x_ 2). The righthand _y_ -axis and red line with markers present the ratio of the PINNpredicted current (with edge effect) to the relative Levich prediction. The lower _x_ -axis provides guidance in real experiments, assuming a rotational frequency of 0.1 Hz. Note that when _Sc_ <sup>1/3</sup> _Re_ <sup>1/2</sup> < 1.24, it is not possible to distinguish the currents at a rotating disk from a stationary disk; the designed PINN is not designed to solve the stationary disk problem. finite difference method and independent reports where applicable. Second, up to six Schmidt number corrections were successfully introduced to the 1-D simulations. Using PINNs, we report the ease of novelly implementing up to six nonlinear correction terms to solve time-dependent problems while achieving an analytical level of accuracy (absolute error ≈ 0.02%). Finally, we showed how a PINN quantifies the edge effects expected at an RDE for a slow rotational speed and, for The work demonstrates the ability of PINN-based simulation approaches to solve multidimensional and highly complex PDEs in the context of electrochemistry. Results are achieved with high accuracy and relative ease, where the numerical method adopted by Smyrl and Newman has been challenged to solve the edge effect at RDE and stands in contrast to the common assumption that PINNs are solely a tool to produce data-driven estimates of the state of the system and its evolution rather than exact solutions to well-defined problems. While this is a relevant insight for itself, the understanding that PINNs have the capability of modeling complex electrochemical systems with relative ease and high accuracy points even further toward opportunities in electrochemistry beyond the here-presented modeling of RDEs and purely theoretical simulations, especially if the PINNs’ capability of highly accurate electrochemical modeling is combined with other capabilities of PINNs, in which the approach excels more classical approaches like finite elementor finite difference simulations. The latter often include the ability of PINNs to infer the state of a system and predict its temporal evolution even in scenarios where data is only available at a low quality, for instance, if it is affected by statistical fluctuations induced by the measurement process or if individual values are missing or false. The approach may hence be extended to the modeling of electrochemical systems other than RDEs that are governed by similar equations and where, at least in part, experimental data is used as a boundary condition to the simulation. While the problem of modeling electrochemical systems based on limited or noisy data may be less common in academic research, where experiments can often be conducted under laboratory conditions at high accuracy, it is becoming increasingly important as an application in various industries. With the continuously more widespread use of Internet-ofThings (IoT) technology and cost-efficient methods to process large amounts of data, it has become possible and often economically viable to acquire and utilize data from individual electrochemical devices such as batteries or potentially fuel cells, even if these devices are to be connected in large numbers and their costs are low. A particularly relevant application is herein the development of battery digital twins, <sup>30−32</sup> which may become an important tool in the management of batteries in electric vehicles. Approaches <u>Analytical</u> <u>Chemistry</u> <u><mark>pubs.acs.org/ac</mark></u> <u><mark>Article</mark></u> similar to the here-discussed PINNs approach may then act as a powerful analytics tool to understand processes within each of these electrochemical devices and to enable a bespoke operation strategy that is specific to an individual device, its usage, and its environment to enable a more sustainable and cost-efficient operation via accurate virtual representations of the physical assets and their functionality in the form of digital twins. In conclusion, we recommend using PINNs, not only as an easier but also a more capable alternative to traditional numerical methods for many convective-diffusion problems, and look forward to seeing them being used more widely in academic research and beyond. # ■* sı Supporting ASSOCIATED Information CONTENT The Supporting Information is available free of charge at [https://pubs.acs.org/doi/10.1021/acs.analchem.3c01936.](https://pubs.acs.org/doi/10.1021/acs.analchem.3c01936?goto=supporting-info) Glossary; finite difference simulation of rotating disk electrode; Schmidt number corrections; concentration profile with/without Schmidt number corrections; PINN architecture; hyperparameter sensitivity; and significance of the edge effect. The code repository is available at [https://github.com/nmerovingian/](https://github.com/nmerovingian/PINN4RDE) [PINN4RDE(PDF)](https://github.com/nmerovingian/PINN4RDE) # ■ Corresponding AUTHOR INFORMATION Author Richard G. Compton - _Department_ _of_ _Chemistry,_ _Physical_ _and_ _Theoretical_ _Chemistry_ _Laboratory,_ _Oxford_ _University,_ _Oxford_ _OX1_ _3QZ,_ _Great_ _Britain;_ [orcid.org/0000-0001-](https://orcid.org/0000-0001-9841-5041) [9841-5041;](https://orcid.org/0000-0001-9841-5041) Email: [Richard.compton@chem.ox.ac.uk](mailto:Richard.compton@chem.ox.ac.uk) [Authors](https://pubs.acs.org/action/doSearch?field1=Contrib&text1="Haotian+Chen"&field2=AllField&text2=&publication=&accessType=allContent&Earliest=&ref=pdf) Haotian Chen - _Department_ _of_ _Chemistry,_ _Physical_ _and_ _Theoretical_ _Chemistry_ _Laboratory,_ _Oxford_ _University,_ _Oxford_ _OX1_ _3QZ,_ _Great_ _Britain;_ [orcid.org/0000-0003-](https://orcid.org/0000-0003-1788-6605) [1788-6605](https://orcid.org/0000-0003-1788-6605) Enno Kätelhön - _Accenture_ _GmbH,_ _Kronberg_ _im_ _Taunus_ _61476,_ _Germany_ Complete contact information is available at: [https://pubs.acs.org/10.1021/acs.analchem.3c01936](https://pubs.acs.org/doi/10.1021/acs.analchem.3c01936?ref=pdf) Notes The authors declare no competing financial interest. # ■ ACKNOWLEDGMENTS H.C. and R.G.C. thank the use of the University of Oxford Advanced Research Computing (ARC) facility for resources used in carrying out this work [(10.5281/zenodo.22558).](http://dx.doi.org/10.5281/zenodo.22558) H.C. thanks Lady Margaret Hall for a 2022/2023 postgraduate scholarship. # ■(1) REFERENCES Raissi, M.; Perdikaris, P.; Karniadakis, G. E. J. Comput. Phys. 2019, _378_, 686−707. (2) Cuomo, S.; Di Cola, V. S.; Giampaolo, F.; Rozza, G.; Raissi, M.; Piccialli, F. _J._ _Sci._ _[Comput.](https://doi.org/10.1007/s10915-022-01939-z)_ 2022, _92_, 88. (3) Ji, W.; Qiu, W.; Shi, Z.; Pan, S.; Deng, S. _[J. Phys. Chem. A](https://doi.org/10.1021/acs.jpca.1c05102?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as)_ 2021, _125_ (36), [8098−8106.](https://doi.org/10.1021/acs.jpca.1c05102?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) (4) De Florio, M.; Schiassi, E.; Furfaro, R. _Chaos_ [2022,](https://doi.org/10.1063/5.0086649) _32_ (6), [063107.](https://doi.org/10.1063/5.0086649) (5) Mahmoudabadbozchelou, M.; Karniadakis, G. E.; Jamali, S. _[Soft](https://doi.org/10.1039/D1SM01298C)_ _Matter_ 2022, _[18](https://doi.org/10.1039/D1SM01298C)_ (1), 172−185. (6) Chen, H.; Kätelhön, E.; Compton, R. G. _J._ _Phys._ _[Chem.](https://doi.org/10.1021/acs.jpclett.1c04054?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as)_ _Lett._ 2022, _13_ [(2),](https://doi.org/10.1021/acs.jpclett.1c04054?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) 536−543. (7) Chen, H.; Batchelor-McAuley, C.; Kätelhön, E.; Elliott, J.; Compton, R. G. _J._ _Electroanal._ _Chem._ 2022, _925_, 116918. (8) Chen, H.; Kätelhön, E.; Compton, R. G. _Analyst_ [2022,](https://doi.org/10.1039/D2AN00456A) _147_ (9), [1881−1891.](https://doi.org/10.1039/D2AN00456A) (9) Jagtap, A. D.; Mao, Z.; Adams, N.; Karniadakis, G. E. _[J. Comput.](https://doi.org/10.1016/j.jcp.2022.111402)_ _Phys._ 2022, _[466](https://doi.org/10.1016/j.jcp.2022.111402)_, 111402. (10) Cai, S.; Mao, Z.; Wang, Z.; Yin, M.; Karniadakis, G. E. _[Acta](https://doi.org/10.1007/s10409-021-01148-1)_ _Mech._ _Sin._ 2021, _37_ (12), 1727−1738. (11) Smyrl, W. H.; Newman, J. _J._ _Electrochem._ _[Soc.](https://doi.org/10.1149/1.2408250)_ 1971, _118_ (7), [1079.](https://doi.org/10.1149/1.2408250) (12) Compton, R. G.; Sokolov, S. V. _[J. Solid State Electrochem.](https://doi.org/10.1007/s10008-023-05443-8)_ 2023. (13) Levich, B. _Discuss._ _Faraday_ _Soc._ 1947, _1_ (0), 37−49. (14) Levich, V. G. _Physicochemical_ _Hydrodynamics_ ; Prentice-Hall, 1962. (15) Kármán, T. V. _Z._ _Angew._ _Math._ _[Mech.](https://doi.org/10.1002/zamm.19210010401)_ 1921, _1_, 233−252. (16) Cochran, W. _[Math. Proc. Cambridge Philos. Soc.](https://doi.org/10.1017/s0305004100012561)_ 1934, _30_, 365− [375.](https://doi.org/10.1017/s0305004100012561) (17) Compton, R. G.; Laborda, E.; Kaetelhoen, E.; Ward, K. R. _Understanding_ _Voltammetry:_ _Simulation_ _of_ _Electrode_ _Processes_ ; World Scientific, 2020. (18) Haghighat, E.; Amini, D.; Juanes, R. _Comput._ _[Methods](https://doi.org/10.1016/j.cma.2022.115141)_ _Appl._ _Mech._ _Eng._ [2022,](https://doi.org/10.1016/j.cma.2022.115141) _397_, 115141. (19) Laubscher, R.; Rousseau, P. _Appl._ _Soft_ _[Comput.](https://doi.org/10.1016/j.asoc.2021.108050)_ 2022, _114_, [108050.](https://doi.org/10.1016/j.asoc.2021.108050) (20) Xiang, Z.; Peng, W.; Liu, X.; Yao, W. _[Neurocomputing](https://doi.org/10.1016/j.neucom.2022.05.015)_ 2022, _496_, [11−34.](https://doi.org/10.1016/j.neucom.2022.05.015) (21) McClenny, L.; Braga-Neto, U. Self-adaptive physics-informed neural networks using a soft attention mechanism. 2020, arXiv:2009.04544. arXiv preprint. (22) Kingma, D. P.; Ba, J. Adam: A method for stochastic optimization. 2014, arXiv:1412.6980. arXiv preprint. (23) Krishnapriyan, A.; Gholami, A.; Zhe, S.; Kirby, R.; Mahoney, M. W. Characterizing possible failure modes in physics-informed neural networks. 2021, arXiv:2109.01050v2. [https://doi.org/10.](https://doi.org/10.48550/arXiv.2109.01050) [48550/arXiv.2109.01050.](https://doi.org/10.48550/arXiv.2109.01050) (24) Diard, J. P.; Montella, C. _J._ _Electroanal._ _[Chem.](https://doi.org/10.1016/j.jelechem.2013.05.014)_ 2013, _703_, 52− [55.](https://doi.org/10.1016/j.jelechem.2013.05.014) (25) Strutwolf, J.; Schoeller, W. W. _Electroanalysis_ 1996, _8_ (11), [1034−1039.](https://doi.org/10.1002/elan.1140081111) (26) Bruckenstein, S.; Prager, S. _Anal._ _Chem._ [1967,](https://doi.org/10.1021/ac60254a015?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) _39_ (10), 1161− [1163.](https://doi.org/10.1021/ac60254a015?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) (27) Compton, R.; Laing, M.; Mason, D.; Northing, R.; Unwin, P. _Proc._ _R._ _Soc._ _London,_ _Ser._ _A_ [1988,](https://doi.org/10.1098/rspa.1988.0076) _418_ (1854), 113−154. (28) Newman, J. _J._ _Phys._ _Chem._ 1966, _70_ (4), 1327−1328. (29) Wanninkhof, R.; Asher, W. E.; Ho, D. T.; Sweeney, C.; McGillis, W. R. _Annu._ _Rev._ _Mar._ _[Sci.](https://doi.org/10.1146/annurev.marine.010908.163742)_ 2009, _1_, 213−244. (30) Wu, B.; Widanage, W. D.; Yang, S.; Liu, X. _Energy_ _[AI](https://doi.org/10.1016/j.egyai.2020.100016)_ 2020, _1_, [100016.](https://doi.org/10.1016/j.egyai.2020.100016) (31) Li, W.; Rentemeister, M.; Badeda, J.; Jöst, D.; Schulte, D.; Sauer, D. U. _J._ _Energy_ _Storage_ [2020,](https://doi.org/10.1016/j.est.2020.101557) _30_, 101557. (32) Wang, Y.; Xu, R.; Zhou, C.; Kang, X.; Chen, Z. _J._ _[Manuf.](https://doi.org/10.1016/j.jmsy.2021.11.006)_ _Syst._ 2022, _62_, [124−134.](https://doi.org/10.1016/j.jmsy.2021.11.006)

섹션 본문 24문단 · 4,577자

(제목 없음)

1Table of Contents 1 Glossary .

2ANNs are algorithms inspired by biological neural networks and comprise a network of interconnected nodes that make up a model.They can be understanded as statistical learning models used to estimate or approximate functions that depend on a large number of inputs and outputs.

Fully Connected Layer

3Fully connected layer is a layer with weights and biases used to connect the neurons between two different layers.A neuron is a mathematical function that model the functioning of a biological neuron.

Fully Connected Neural Network

4A fully connected layer refers to a neural network in which each neuron applies a linear transformation to that input vector through a weight matrix.Properly stacking multiple fully connected layers give a fully connected neural network.

Physics-Informed Neural Network (PINN)

5A PINN is a type of universal function approximator that embeds knowledge of physical laws in the form of partial differential equations that govern a given data-set in the learning process.

Collocation Methods and Collocation Points

6In mathematics, a collocation method is a method for numerical solution of ODEs, PDEs and integral equations.Collocation points are a number of points selected in the domain which satisfy the given equation at the collocation points.Automatic Differentiation (AD) AD is the technique to evaluate the partial derivative of a function specified by a computer program.

Loss Function

7A loss function is a function that compares the target and the predicted output values; It measures how well the neural network models the training data.

82 Finite Difference Simulation of Rotating Disk Electrode 1-D simulations of rotating disk electrode (RDE) using PINNs were validated with finite difference simulations for the partial differential equation:

9where ,ℎ is the velocity profile in the direction where with Levich approximation ,ℎ = − 2 .For a better resolution of the problem, Hale transformation 1 offers a convenient approach 2 :

10such that the value = 0 corresponds to electrode surface and = 1 corresponds to a distance infinitely far from electrode.During simulation, the outer boundary of simulation is at = 0.9999 , a distance sufficiently far away from electrode surface and unperturbed by surface reaction there.The boundary conditions after Hale transformation is:

11For simulation of linear sweep voltammetry, the dimensionless potential is linearly increased/decreased as a function of time and dimensionless scan rate as:

12where is the forward scan starting potential and ℎ is the reverse potential of triangular shape potential waveform and the direction of scan is switched when = ℎ .To study reduction process, the sign of is positive, and vice versa for an oxidation process.

13The problem was solved using backward implicit method 3 such that for species at the spatial pint and time point , the solution is given by: S-3

14Thus, the matrix to be solved iteratively during simulation is:

15( 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 … … … 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 … … … 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 ) (

16More information can be found in ref. 4

Schmidt Number Corrections

17For 1-D simulation of the RDE under laminar flow conditions, the velocity profile in the y-direction with 6 Schmidt number correction terms is:

PINN architecture

18The structure of the deep neural network backbone of PINN for 2D simulation at a RDE is shown in the table below along with the activation function, kernel initializer and the number of trainable parameters is tabulated in Table S 1

19To visualize the effect of Schmidt number corrections on, the difference in concentration profile with/without two Schmidt number corrections when = 100, = 0.1 was investigated.With the correction terms, a slightly more depleted concentration near the electrode surface is observed as shown in FigureS1.

Figure S 1 .

20Figure S 1. Comparing the difference in concentration profile with/without two Schmidt number corrections when scan rate is fixed at = 0.1 and = 100.

21. Figure S 2 illustrates the workflow of (a) generating training data, which are collocation points, feeding into a neural network and constraining with physical laws.

Figure S 2 .

22Figure S 2. The complete architecture of PINN simulation of 2-D steady-state simulation at a rotating disk electrode.(a) Collocation points are generated in the spatial domain corresponding to the convective-diffusion mass transport, initial and boundary conditions, then fed (b) into the neural network to predict the corresponding concentration while (c) satisfying the physical constraints.

23Solving an ordinary differential equation (ODE) can find the relationship between and as

Table S 1

24. The structure of the neural network backbone for 2D simulation of RDE using PINN.

참고문헌 29건

  1. Limiting Current on a Rotating Disk with Radial Diffusion Journal of The Electrochemical Society · Institute of Physics · 1971 10.1149/1.2408250
  2. Current transients at a rotating disk electrode produced by a potential step Analytical Chemistry · American Chemical Society · 1967 10.1021/ac60254a015
  3. Linear and cyclic sweep voltammetry at a rotating disk electrode. A digital simulation Electroanalysis · Wiley · 1996 10.1002/elan.1140081111
  4. Re-examination of steady-state concentration profile near a uniformly accessible rotating disk electrode Journal of Electroanalytical Chemistry · Elsevier BV · 2013 10.1016/j.jelechem.2013.05.014
  5. Über laminare und turbulente Reibung ZAMM ‐ Journal of Applied Mathematics and Mechanics / Zeitschrift für Angewandte Mathematik und Mechanik · Wiley · 1921 10.1002/zamm.19210010401
  6. Rotating disc electrodes: the theory of chronoamperometry and its use in mechanistic investigations Proceedings of the Royal Society of London A Mathematical and Physical Sciences · Royal Society · 1988 10.1098/rspa.1988.0076
  7. Advances in Quantifying Air-Sea Gas Exchange and Environmental Forcing Annual Review of Marine Science · Annual Reviews · 2008 10.1146/annurev.marine.010908.163742
  8. The flow due to a rotating disc Mathematical Proceedings of the Cambridge Philosophical Society · Cambridge University Press · 1934 10.1017/s0305004100012561
  9. The theory of concentration polarisation Discussions of the Faraday Society · Royal Society of Chemistry · 1947 10.1039/df9470100037
  10. Schmidt Number Correction for the Rotating Disk The Journal of Physical Chemistry · American Chemical Society · 1966 10.1021/j100876a509
  11. Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations Journal of Computational Physics · Elsevier BV · 2018 10.1016/j.jcp.2018.10.045
  12. Digital twin for battery systems: Cloud battery management system with online state-of-charge and state-of-health estimation Journal of Energy Storage · Elsevier BV · 2020 10.1016/j.est.2020.101557
  13. Battery digital twins: Perspectives on the fusion of models, data and artificial intelligence for smart battery management systems Energy and AI · Elsevier BV · 2020 10.1016/j.egyai.2020.100016
  14. Stiff-PINN: Physics-Informed Neural Network for Stiff Chemical Kinetics The Journal of Physical Chemistry A · American Chemical Society · 2021 10.1021/acs.jpca.1c05102
  15. Physics-informed neural network simulation of multiphase poroelasticity using stress-split sequential training Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2022 10.1016/j.cma.2022.115141
  16. nn-PINNs: Non-Newtonian physics-informed neural networks for complex fluid modeling Soft Matter · Royal Society of Chemistry · 2021 10.1039/d1sm01298c
  17. Application of a mixed variable physics-informed neural network to solve the incompressible steady-state and transient mass, momentum, and energy conservation equations for flow over in-line heated tubes Applied Soft Computing · Elsevier BV · 2021 10.1016/j.asoc.2021.108050
  18. Digital twin and cloud-side-end collaboration for intelligent battery management system Journal of Manufacturing Systems · Elsevier BV · 2021 10.1016/j.jmsy.2021.11.006
  19. Predicting Voltammetry Using Physics-Informed Neural Networks The Journal of Physical Chemistry Letters · American Chemical Society · 2022 10.1021/acs.jpclett.1c04054
  20. Physicochemical Hydrodynamics Journal of The Electrochemical Society · Institute of Physics · 1963 10.1149/1.2425619
  21. Physics-informed neural networks (PINNs) for fluid mechanics: a review Acta Mechanica Sinica · Springer Science+Business Media · 2021 10.1007/s10409-021-01148-1
  22. The application of physics-informed neural networks to hydrodynamic voltammetry The Analyst · Royal Society of Chemistry · 2022 10.1039/d2an00456a
  23. Self-adaptive loss balanced Physics-informed neural networks Neurocomputing · Elsevier BV · 2022 10.1016/j.neucom.2022.05.015
  24. Understanding Voltammetry 2019 10.1142/q0246
  25. Physics-informed neural networks and functional interpolation for stiff chemical kinetics Chaos An Interdisciplinary Journal of Nonlinear Science · American Institute of Physics · 2022 10.1063/5.0086649
  26. Physics-informed neural networks for inverse problems in supersonic flows arXiv (Cornell University) · Cornell University · 2022 10.1016/j.jcp.2022.111402
  27. Scientific Machine Learning Through Physics–Informed Neural Networks: Where we are and What’s Next Journal of Scientific Computing · Springer Science+Business Media · 2022 10.1007/s10915-022-01939-z
  28. A Critical Evaluation of Using Physics-Informed Neural Networks for Simulating Voltammetry: Strengths, Weaknesses and Best Practices Journal of Electroanalytical Chemistry · Elsevier BV · 2022 10.1016/j.jelechem.2022.116918
  29. Electrochemistry needs electrochemists: “goodbye to rotating discs” Journal of Solid State Electrochemistry · Springer Science+Business Media · 2023 10.1007/s10008-023-05443-8