The recent explosion of applications of physics-informed neural networks (PINNs) as a discretization-free tool to solve partial differential equations (PDEs) shows great potential for applications in electroanalytical simulations. However, a simple, naive PINN approach may fail to make analytical level predictions in even only moderately complicated systems. Here, we explore eight test cases, spanning 1D to 3D simulations, including both cyclic voltammetry and chronoamperometry, and a wide selection of electrode geometries from macroelectrode, (hemi-)spherical electrode, microband electrode, cube electrode and microdisc electrode to serve the dual-purposes of expanding PINNs to more challenging electrode geometries and to recommend best practices in the context of electroanalytical simulation. These best practices, include the use of dimensionless parameters, non-zero conditioning times, mathematical transformation of PDEs, sequence-to-sequence training, adaptive weights algorithms, optimal batch sizing, domain decomposition, learning rate scheduling and transformation of coordinates. These suggested best practices are the intended key contribution of this paper, as to position future PINN users with a well-informed starting position for generic electroanalytical PINN simulations, to avoid known difficulties and to skip the trial-and-error phase with hyperparameter tuning. We believe that these recommendations can serve as primers for PINN simulations for sophisticated Multiphysics problems, and make PINN simulations more accessible.
Read full abstract