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

ElectroKitty: A Python Tool for Modeling Electrochemical Data Including Non-Langmuir Adsorption

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

기본 정보

저자
  1. Ožbej Vodeb — Department of Materials Chemistry, National Institute of Chemistry, Hajdrihova 19, 1000 Ljubljana, Slovenia|||Jozef Stefan International Postgraduate School, Jamova cesta 39, 1000 Ljubljana, Slovenia
  2. Pedro Farinazzo Bergamo Dias Martins — Department of Materials Chemistry, National Institute of Chemistry, Hajdrihova 19, 1000 Ljubljana, Slovenia
  3. Dušan Strmčnik — Department of Materials Chemistry, National Institute of Chemistry, Hajdrihova 19, 1000 Ljubljana, Slovenia
  4. Nejc Hodnik — Department of Materials Chemistry, National Institute of Chemistry, Hajdrihova 19, 1000 Ljubljana, Slovenia|||University of Nova Gorica, Vipavska 13, 5000 Nova Gorica, Slovenia|||Jozef Stefan International Postgraduate School, Jamova cesta 39, 1000 Ljubljana, Slovenia
  5. Miran Gaberšček — Department of Materials Chemistry, National Institute of Chemistry, Hajdrihova 19, 1000 Ljubljana, Slovenia
DOI
10.1021/acselectrochem.4c00218
저널
ACS electrochemistry.
발행년도
2025
발행기관
American Chemical Society
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1021/acselectrochem.4c00218
토픽
Electrocatalysts for Energy Conversion
OpenAlex ID
W4409448311

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
(6) PEM(고분자전해질막)
R&D 측면
분석·모델링
확신도
0.80
근거 용어
electrochemical data analysis, simulation, adsorption, reaction pathways, Python package
판단 근거
이 논문은 전기화학 데이터를 시뮬레이션하고 분석하는 Python 도구(ElectroKitty)에 관한 것으로, 코오롱인더스트리의 수소연료전지(PEMFC) 연구 시 전극 촉매 및 계면 반응 메커니즘을 분석하는 데 활용될 수 있습니다.
R&D 활용 포인트
PEMFC의 전극 촉매(Pt/C 등) 표면에서 발생하는 흡착 및 반응 메커니즘을 수치적으로 모델링하고 실험 데이터와 비교 분석하는 데 활용 가능합니다.
평가 입력
본문 32,765자 중 30,032자 발췌

초록

The use of simulation and various forms of data analysis is becoming more frequent in all areas of electrochemistry. To support this, we have created ElectroKitty, a Python package that can simulate complex reaction pathways. Since experimental data often exhibits non-idealities with adsorbed species, we have programmed ElectroKitty to incorporate such corrections. To demonstrate the versatility of our package we selected four common reaction pathways and validated it against an established simulator. We also demonstrate the Frumkin isotherm and how ElectroKitty can reproduce it. In addition, to demonstrate the more advanced features of our package, we used ElectroKitty to simulate OH adsorption on a Pt(111) surface using a straightforward model.

본문 32,765자

본문 펼치기
This article is licensed under <u>[CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/)</u> pubs.acs.org/electrochem <mark>Technical</mark> <mark>Note</mark> ## ElectroKitty: A Python Tool for Modeling Electrochemical Data Including Non-Langmuir Adsorption #### Ozbeǰ Vodeb,* Pedro Farinazzo Bergamo Dias Martins, Dušan Strmčnik, Nejc Hodnik, and Miran Gaberšceǩ Cite This: _ACS_ _Electrochem._ [2025,](https://pubs.acs.org/action/showCitFormats?doi=10.1021/acselectrochem.4c00218&ref=pdf) 1, 1540−1544 Read [Online](https://pubs.acs.org/doi/10.1021/acselectrochem.4c00218?ref=pdf) ### ACCESS Metrics & More Article Recommendations * sı Supporting Information ABSTRACT: The use of simulation and various forms of data analysis is becoming more frequent in all areas of electrochemistry. To support this, we have created ElectroKitty, a Python package that can simulate complex reaction pathways. Since experimental data often exhibits non-idealities with adsorbed species, we have programmed ElectroKitty to incorporate such corrections. To demonstrate the versatility of our package we selected four common reaction pathways and validated it against an established simulator. We also demonstrate the Frumkin isotherm and how ElectroKitty can reproduce it. In addition, to demonstrate the more advanced features of our package, we used ElectroKitty to simulate OH adsorption on a Pt(111) surface using a straightforward model. KEYWORDS: _simulation,_ _electrochemistry,_ _voltammetry,_ _data_ _analysis_ # ■ INTRODUCTION we give a brief summary The basics of electrochemical data analysis include: finding The basics of electrochemical data analysis include: finding current peaks, performing Tafel analysis, correcting uncompensated resistances, and sometimes even fitting models directly to measured data. <sup>1</sup> Over the years, many different tools have been developed to process or even simulate data. Today, almost every potentiostat program has methods for processing data, with some having more advanced features than others. <sup>2−4</sup> However, direct simulation of experiments is still not very common. A likely reason for this is that it is not straightforward to program a numerical algorithm that solves the governing equations, let alone fits the data. Unless an electrochemist has sufficient background in mathematics and computer science, fitting a model can be a daunting task. <sup>5−7</sup> Numerous software packages have been developed over the years to facilitate simulation and data fitting. Some of the most well-known are DigiElch distributed by Gamry Instruments, <sup>8,9</sup> MECSim developed at Monash University, <sup>10,11</sup> and KISSA. <sup>12</sup> Numerous software packages have been developed over the years to facilitate simulation and data fitting. Some of the most well-known are DigiElch distributed by Gamry Instruments, <sup>8,9</sup> All these simulators offer the possibility to compute electrochemical responses for different electrode geometries and to simulate different mechanistic networks. It is also worth mentioning that many different projects have emerged in recent years. Some of these projects are Soft Potato, <sup>13,14</sup> FreeSim, <sup>15</sup> Polarographica, <sup>16</sup> and ecsim. <sup>17</sup> Two other projects that should be mentioned here are RedoxPySolid, <sup>18,19</sup> which was developed for the simulation of surface heterogeneity, and EchemFEM, <sup>20,21</sup> a finite-element-based solver that can simulate the concentration, potential, and velocity profiles of a variety of geometries but has limitations when simulating different potential programs, adsorption, and surface-confined processes. For our comparison, we will exclude these two projects, as they do not fit well with the others since their use © 2025 The Authors Published by cases are very different compared to other software. In Table 1, we give a brief summary of the features offered by relevant projects and compare them with ElectroKitty, our own Python package. Based on the comparison, we can see that some packages can be quite versatile and can cover most use cases that an average electrochemist might have. However, almost all packages have something that they do not support or are closed sourced making them hard to integrate into larger projects. For this reason, we have developed ElectroKitty, which offers possibilities to simulate complex reaction networks, surface reactions with non-idealities, which are crucial for explaining surface oxidation and electrocatalysis, as well as offering ways to compare experiments with theory. To make ElectroKitty accessible, we have published it in Python, with all the source code and tutorials for the library available on GitHub, so it can be accessed or modified by anyone. <sup>24</sup> To showcase the capabilities of ElectroKitty we demonstrated some of the most popular reaction pathways, before moving on to the effects of interactions between surface species and a “real-world” example of these effects. For such an example, we show the voltammogram of OH <sup>−</sup> adsorption on a Pt(111) surface in 0.1 M HClO4 and attempt to fit the data with a simple model. Our aim is to show that we cannot “a priori” assume, even for a single-crystal electrode, Langmuir Received: December 16, 2024 Revised: March 28, 2025 Accepted: April 2, 2025 Published: April 15, 2025 <u>ACS</u> <u>Electrochemistry</u> <u><mark>pubs.acs.org/electrochem</mark></u> <u><mark>Technical</mark></u> <u><mark>Note</mark></u> Table 1. A brief comparison of different electrochemical simulation packages Name Supported geometries Data fitting Supported mechanisms Availability MECSim Planar, spherical, RDE, cy lindrical DigiElch Planar, spherical, cylindri cal, band, RDE KISSA Planar, hemispherical, hemicylindrical, band, RDE Supported, further ex tended with BIOMEC <sup>22,23</sup> Allows combining dissolved and adsorbed species Free, open-source <sup>10,11,22,23</sup> Supported Allows combining dissolved and adsorbed species, includes adsorbate interaction Not-supported Allows combining dissolved and adsorbed species, includes electrochemiluminescence modeling Proprietary, distributed by Gamry Instruments <sup>9</sup> Distributed by ProSense and BASi or by contacting the team <sup>12</sup> Soft Potato Planar, Band, Microdisk Not-supported Limited to predefined mechanisms Free, open-source <sup>13,14</sup> Polarographica Can be complex Supported Limited to predefined mechanisms Free, open-source <sup>16</sup> ecsim Planar, Disk, Spherical, Cylindrical, Hemispherical FreeSim Planar, Spherical, with var ious boundary conditions Not-supported Allows combining dissolved species Free, open-source <sup>17</sup> Not-supported Limited to predefined mechanisms Free, open-source <sup>15</sup> ElectroKitty Planar, RDE Supported Allows combining dissolved and adsorbed species, includes adsorbate interaction and thermodynamic dispersion Free, open-source <sup>24</sup> Figure 1. Comparison of simulation results for different reaction pathways between MECSim and ElectroKitty. The simulations can be reproduced using the scripts in Supporting [Information](https://pubs.acs.org/doi/suppl/10.1021/acselectrochem.4c00218/suppl_file/ec4c00218_si_001.pdf) section 1. behavior and that models that incorporate surface interactions are necessary for a complete picture of the surface. Through such demonstrations, we wish to show that ElectroKitty can provide the community with a good starting point for the study of surface complexities. Moving forward, we plan to expand its capabilities, incorporating support for complex geometries and additional features to enhance its utility for the community. # ■ CAPABILITIES OF ELECTROKITTY Common Simulation Examples. To demonstrate the basic capabilities of ElectroKitty, we simulate four common reaction pathways and compare them with the results of MECSim. The pathways chosen are the E, EE, Ecat, and ECE reaction pathways (full mechanism show in Figure 1), with the ECE pathway showing the effect of uncompensated resistance. As can be seen in Figure 1, ElectroKitty can reproduce the <u>ACS</u> <u>Electrochemistry</u> <u><mark>pubs.acs.org/electrochem</mark></u> <u><mark>Technical</mark></u> <u><mark>Note</mark></u> Figure 2. a) The effect of a Fumkin isotherm on the CV behavior of an adsorption process. Shown as a normalized current (G = i/nFAΓvf, with i as current, n the number of electrons, F the Faraday constant, A as electrode area, Γ as the maximum surface concentration, v as scan rate, and f = nF/ _RT_, where T is temperature and R the gas constant) versus the potential. Following the convention of Bard, <sup>34</sup> we see that a repulsive interaction leads to a broadening of the peak, while a positive value lengthens the peak. b) Frumkin isotherm modeled with ElectroKitty, without electron transfer, was adapted from a model in Schmickler et al. <sup>35</sup> Here the coverage is plotted against the logarithm of the concentration. The equilibrium constant is assumed to be 1 in all cases, allowing it to be safely disregarded in the calculations. The scripts to recreate Figure 2 can be found in Supporting [Information](https://pubs.acs.org/doi/suppl/10.1021/acselectrochem.4c00218/suppl_file/ec4c00218_si_001.pdf) section 1, where all simulation parameters are listed. currents provided by MECSim very well. The simulation [details have been moved to the Supporting Information section](https://pubs.acs.org/doi/suppl/10.1021/acselectrochem.4c00218/suppl_file/ec4c00218_si_001.pdf) [1,](https://pubs.acs.org/doi/suppl/10.1021/acselectrochem.4c00218/suppl_file/ec4c00218_si_001.pdf) where the curious reader can find complete scripts for running the four examples. For more detailed instructions on how to use ElectroKitty, we refer the reader to ElectroKitty’s GitHub page. <sup>24</sup> Demonstrating the Effect of Adsorbate Interaction. In the literature, studies on various poly- or single-crystal surfaces have shown the importance of the interaction between adsorbed surface species in the observation of electrochemical reactions. Good examples are Hydrogen under-potential deposition and OH adsorption on Pt single-crystal electrodes, <sup>25,26</sup> the oxidation and reduction of platinum, investigated by Conway. <sup>27,28</sup> The authors observed effects of interaction between surface species and also consider these effects more generally. <sup>29</sup> Other examples of electrochemical responses showing adsorbate interaction include the study of adsorption of oxygen on RuO2(110) single crystals, <sup>30</sup> methanol oxidation on Rh and Ir electrodes, <sup>31</sup> and recent studies of the Oxygen evolution reaction on Ir. <sup>32,33</sup> These interactions can be modeled by adding an isotherm term to the rate equations. <sup>29,34,35</sup> This is usually done by multiplying the rate law with an exponent of the coverage multiplied with the interaction parameter (g), see eq 1. In ElectroKitty we currently offer only the Langmuir and Frumkin isotherms, as their effects on electrochemical thermodynamics and dynamics are well documented. In principle, the Frumkin isotherm takes into account interactions between adsorbed species (e.g., repulsive), unlike the Langmuir isotherm, which does not assume such interactions. We note that there is a plethora of other isotherms with different rationales for their use that will be implemented into the package in the future. d _<u>i</u>_ = _kf_ _ie_ _gi_ <sup>_i_</sup> + _kb_ _je_ d _t_ (1) _<u>i</u>_ _g_ _gi_ <sup>_i_</sup> + _k_ _e_ _gj_ <sup>_j_</sup> _b_ _j_ parameter. To further validate our simulator, we can try to reproduce the Frumkin isotherm, for a certain value of the interaction parameter. We demonstrate this in Figure 2b, where we have reproduced three isotherms, with the g value of 0 corresponding to a Langmuir isotherm, and the other two values to a Frumkin isotherm. The code for Figure 2 can be found in Supporting [Information](https://pubs.acs.org/doi/suppl/10.1021/acselectrochem.4c00218/suppl_file/ec4c00218_si_001.pdf) section 1. Demonstrating the Importance of Including Non- Ideal Behavior in Models. As an example of adsorbate interaction we chose to simulate OH adsorption on a Pt(111) single crystal surface. For experimental details, we refer the reader to Supporting [Information](https://pubs.acs.org/doi/suppl/10.1021/acselectrochem.4c00218/suppl_file/ec4c00218_si_001.pdf) section 2. Figure 3 shows experimental data that was used to fit an approximate model. As was discussed previously in the literature, the “butterfly region” of the voltammogram exhibits at least two electrochemical processes, neither of which is ideal. <sup>25,26,36</sup> The first Figure 3. Experimental data of OH adsorption on a Pt(111) surface in 0.1 M perchloric acid (blue curve). The CV is recorded between 0.48 and 0.87 V vs. RHE, with a scan rate of 0.05 Vs <sup>−1</sup> . The mechanism of the simulation is found in the figure. The orange curve represents parameter optimization that includes non-ideality parameters, while in the case of the green curve, those are set to zero, representing adsorption without adsorbate interaction. d _f_ _i_ First, we demonstrate and validate our simulator by reproducing the interaction effect on a CV of a 1e <sup>−</sup> adsorption reaction, as was done in Bard and Faulkner <sup>34</sup> (see Figure 2a). We see that the interaction parameter has a large influence on the voltammogram, as the current peaks “stretch” or “shrink” to different degrees depending on the sign and value of the <u>ACS</u> <u>Electrochemistry</u> <u><mark>pubs.acs.org/electrochem</mark></u> <u><mark>Technical</mark></u> <u><mark>Note</mark></u> process shows a broadened peak, while the second shows a sharp peak, both peaks being a consequence of oxidation of two types of water, structured and unstructured. To fit this data, we employed the covariance matrix adaptation evolution strategy (CMA-ES) algorithm, which ElectroKitty can use as its optimization algorithm. <sup>37,38</sup> The model includes two electrochemical processes linked via a chemical process, that serves as an approximation of the adsorbates ordering. Such a model is far from perfect and serves only as a first approximation; for further discussion on the actual condition of the surface, we refer the reader to the relevant literature. <sup>25,26,36,39−41</sup> The green curve in Figure 3 represents a fit where the interaction parameters were set to zero. Although ElectroKitty can approximate the experimental data to a certain extent, the fit is not entirely accurate. With the orange curve, we allow ElectroKitty to optimize non-ideal parameters as well, resulting in a significantly improved match with the data. This is also confirmed by the fit scores of both cases, with the non-ideal case having a fit score about 4.5 times better than the ideal case. In the ideal case, the relative root mean squared error (RRMSE) is 0.37, while in the non-ideal case, it is 0.08, turning the fit from unacceptable to acceptable. <sup>42</sup> The data analysis can also be extended with Bayesian inference, which is also included with ElectroKitty, based on a procedure found in. <sup>43</sup> We can estimate our parameter uncertainties using Bayesian inference by sampling the distribution of our fitting parameters. The results can be found in the Supporting [Information](https://pubs.acs.org/doi/suppl/10.1021/acselectrochem.4c00218/suppl_file/ec4c00218_si_001.pdf) section 3 (Figure S1) shown by a pairwise plot for all of our parameters and the standard deviation of experimental noise. These sorts of plots can also determine whether our model is suitable, as a model showing high scattering of parameters is likely wrong [(Figure](https://pubs.acs.org/doi/suppl/10.1021/acselectrochem.4c00218/suppl_file/ec4c00218_si_001.pdf) [S1a),](https://pubs.acs.org/doi/suppl/10.1021/acselectrochem.4c00218/suppl_file/ec4c00218_si_001.pdf) as is the case in the model without any non-ideality corrections. An argument would again be that we are overfitting our data by adding additional parameters to our [model; however, as can be seen from the inference plot (Figure](https://pubs.acs.org/doi/suppl/10.1021/acselectrochem.4c00218/suppl_file/ec4c00218_si_001.pdf) [S1b),](https://pubs.acs.org/doi/suppl/10.1021/acselectrochem.4c00218/suppl_file/ec4c00218_si_001.pdf) that is likely not the case as all parameters show a moderate amount of scattering. We refer the reader to Supporting [Information](https://pubs.acs.org/doi/suppl/10.1021/acselectrochem.4c00218/suppl_file/ec4c00218_si_001.pdf) section 3 for further discussion on the result. # ■ CONCLUSIONS AND OUTLOOK With this technical note, we have introduced ElectroKitty, a Python package capable of simulating various mechanisms and then fitting the mechanism to real data. We have demonstrated the basic functionalities of ElectroKitty by simulating four reaction pathways that are common in electrochemistry. We have also shown how to simulate OH adsorption on a Pt(111) surface. We have fitted this simple model to our data and extended the fit with Bayesian Inference. Although ElectroKitty can be a powerful tool, it also has some drawbacks. For example, it requires the user to be able to program in Python. Although some other packages still offer certain advanced functionalities, we believe that ElectroKitty serves as a strong starting toolbox for tackling complex surface reactions. In conclusion, we welcome anyone who would like to contribute to the project in any way. Contributions can be made by submitting a pull request on our GitHub or contacting the corresponding author. <sup>24</sup> There is still a lot to be done. Let this be a project made by the electrochemical community for the electrochemical community. # ■* sı Supporting ASSOCIATED Information CONTENT The Supporting Information is available free of charge at [https://pubs.acs.org/doi/10.1021/acselectrochem.4c00218.](https://pubs.acs.org/doi/10.1021/acselectrochem.4c00218?goto=supporting-info) Experimental details, codes, and further validations [(PDF)](https://pubs.acs.org/doi/suppl/10.1021/acselectrochem.4c00218/suppl_file/ec4c00218_si_001.pdf) # ■ Corresponding AUTHOR INFORMATION Author Ozbej Vodeb ̌ - _Department of Materials Chemistry, National_ _Institute of Chemistry, 1000 Ljubljana, Slovenia; Jozef Stefan_ _International_ _Postgraduate_ _School,_ _1000_ _Ljubljana,_ _Slovenia;_ [orcid.org/0009-0003-7102-2944;](https://orcid.org/0009-0003-7102-2944) Email: [Ozbej.Vodeb@ki.si](mailto:Ozbej.Vodeb@ki.si) Authors Pedro Farinazzo Bergamo Dias Martins - _Department_ _of_ _Materials_ _Chemistry,_ _National_ _Institute_ _of_ _Chemistry,_ _1000_ _Ljubljana,_ _Slovenia;_ [orcid.org/0000-0002-7078-0378](https://orcid.org/0000-0002-7078-0378) Dusan ̌ Strmc ̌ nik - _Department_ _of_ _Materials_ _Chemistry,_ _National_ _Institute_ _of_ _Chemistry,_ _1000_ _Ljubljana,_ _Slovenia;_ [orcid.org/0000-0002-3021-2771](https://orcid.org/0000-0002-3021-2771) Nejc Hodnik − _Department of Materials Chemistry, National_ _Institute of Chemistry, 1000 Ljubljana, Slovenia; Jozef Stefan_ _International Postgraduate School, 1000 Ljubljana, Slovenia;_ _University_ _of_ _Nova_ _Gorica,_ _5000_ _Nova_ _Gorica,_ _Slovenia;_ [orcid.org/0000-0002-7113-9769](https://orcid.org/0000-0002-7113-9769) Miran Gabersc ̌ ̌ ek - _Department_ _of_ _Materials_ _Chemistry,_ _National_ _Institute_ _of_ _Chemistry,_ _1000_ _Ljubljana,_ _Slovenia;_ [orcid.org/0000-0002-8104-1693](https://orcid.org/0000-0002-8104-1693) Complete contact information is available at: [https://pubs.acs.org/10.1021/acselectrochem.4c00218](https://pubs.acs.org/doi/10.1021/acselectrochem.4c00218?ref=pdf) Author Contributions Ožbej Vodeb: writing, programming, testing. Pedro Martins: writing, experimental. Dušan Strmcnik:̌ Review Nejc Hodnik: Review, financing. Miran Gaberšcek:̌ Review, financing. Notes The authors declare no competing financial interest. # ■ ACKNOWLEDGMENTS We would like to acknowledge Ana Rebeka Kamseǩ and Anja Logar for their help on various small tests with the package interoperability. The authors would like to acknowledge the support of the Slovenian Research and Innovation Agency (ARIS) programs P2-0393 and I0-0003; projects N2-0248, N2-0337, J7-4636, J7-4638 and J7-50227; grant Artificial Intelligence for Science (GC-0001); European Research Council (ERC) Starting Grant 123STABLE (grant agreement ID: 852208); and NATO Science for Peace and Security Program (Grant G6230). # ■(1) REFERENCES Zheng, W. Python for Electrochemistry: A Free and All-In-One [Toolset.](https://doi.org/10.1149/2754-2734/acff0b) _ECS_ _Advances_ 2023, _2_ (4), No. 040502. (2) Software from Gamry instruments. [https://www.gamry.com/](https://www.gamry.com/support-2/software/) [support-2/software/](https://www.gamry.com/support-2/software/) (accessed 2024-10-25). (3) NOVA. [https://www.metrohm.com/en/service/software-](https://www.metrohm.com/en/service/software-center/nova.html) [center/nova.html](https://www.metrohm.com/en/service/software-center/nova.html) (accessed 2024-10-25). (4) EC lab. [https://www.biologic.net/topics/ec-lab/](https://www.biologic.net/topics/ec-lab/) (accessed 2024-10-25). <u>ACS</u> <u>Electrochemistry</u> <u><mark>pubs.acs.org/electrochem</mark></u> <u><mark>Technical</mark></u> <u><mark>Note</mark></u> (5) Bond, A. M.; Duffy, N. W.; Guo, S. X.; Zhang, J.; Elton, D. [Changing the Look of Voltammetry.](https://doi.org/10.1021/ac053370k?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) _Anal Chem._ 2005, _77_ (9), 186A. (6) Bond, A. M.; Zhang, J.; Gundry, L.; Kennedy, G. F. Opportunities and Challenges [in](https://doi.org/10.1016/j.coelec.2022.101009) Applying Machine Learning to [Voltammetric Mechanistic Studies.](https://doi.org/10.1016/j.coelec.2022.101009) _Current Opinion in Electrochemistry_ 2022, _34_, No. 101009. (7) Gundry, L.; Guo, S. X.; Kennedy, G.; Keith, J.; Robinson, M.; Gavaghan, D.; Bond, A. M.; Zhang, J. Recent [Advances](https://doi.org/10.1039/D0CC07549C) and Future [Perspectives for Automated Parameterisation, Bayesian Inference and](https://doi.org/10.1039/D0CC07549C) Machine [Learning](https://doi.org/10.1039/D0CC07549C) in Voltammetry. _Chem._ _Commun._ 2021, _57_ (15), 1855−1870. (8) Rudolph, M.; Reddy, D. P.; Feldberg, S. W. A [Simulator](https://doi.org/10.1021/ac00082a725?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) for Cyclic [Voltammetric](https://doi.org/10.1021/ac00082a725?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) Responses. _Anal_ _Chem._ 1994, _66_ (10), 589A− 600A. (9) DigiElch. [https://www.gamry.com/cells-and-accessories/](https://www.gamry.com/cells-and-accessories/digielch-electrochemical-simulation-software/) [digielch-electrochemical-simulation-software/](https://www.gamry.com/cells-and-accessories/digielch-electrochemical-simulation-software/) (accessed 2024-10-25). (10) MECSim webpage. [https://garethkennedy.net/MECSim.html](https://garethkennedy.net/MECSim.html) (accessed 2024-10-25). (11) Kennedy, G. F.; Bond, A. M.; Simonov, A. N. [Modelling](https://doi.org/10.1016/j.coelec.2016.12.001) Ac Voltammetry with MECSim: [Facilitating](https://doi.org/10.1016/j.coelec.2016.12.001) Simulation−Experiment [Comparisons.](https://doi.org/10.1016/j.coelec.2016.12.001) _Current_ _Opinion_ _in_ _Electrochemistry_ ; Elsevier B.V., 2017; pp 140−147. DOI: [10.1016/j.coelec.2016.12.001.](https://doi.org/10.1016/j.coelec.2016.12.001?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) [(12) KISSA group. http://www.kissagroup.com/ (accessed 2024-10-](http://www.kissagroup.com/) 25). (13) Rodríguez, O. Soft Potato: An Open Source Electrochemical Simulator [and](https://doi.org/10.26434/chemrxiv-2022-4bs3w) Toolkit. _ChemRxiv_, 2022. DOI: [10.26434/chemrxiv-](https://doi.org/10.26434/chemrxiv-2022-4bs3w?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) [2022-4bs3w.](https://doi.org/10.26434/chemrxiv-2022-4bs3w?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) (14) Soft Potato. [https://softpotato.xyz/](https://softpotato.xyz/) (accessed 2025-01-30). (15) FreeSim GitHub. [https://github.com/nmerovingian/FreeSim](https://github.com/nmerovingian/FreeSim) (accessed 2025-01-30). (16) Polarographica GitHub. [https://github.com/Polarographica/](https://github.com/Polarographica/Polarographica_program) [Polarographica_program](https://github.com/Polarographica/Polarographica_program) (accessed 2025-01-30). (17) ecsim GitHub. [https://github.com/Limhes/ecsim](https://github.com/Limhes/ecsim) (accessed 2025-01-30). (18) RedoxPySolid. [https://github.com/Aleksei-Marianov/](https://github.com/Aleksei-Marianov/RedoxPySolid) [RedoxPySolid](https://github.com/Aleksei-Marianov/RedoxPySolid) (accessed 2025-01-30). (19) Marianov, A. N.; Kochubei, A. S.; Roman, T.; Conquest, O. J.; Stampfl, C.; Jiang, Y. Modeling and [Experimental](https://doi.org/10.1021/acs.analchem.1c01286?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) Study of the Electron Transfer Kinetics for [Non-Ideal](https://doi.org/10.1021/acs.analchem.1c01286?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) Electrodes Using VariableFrequency Square [Wave](https://doi.org/10.1021/acs.analchem.1c01286?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) Voltammetry. _Anal_ _Chem._ 2021, _93_ (29), 10175−10186. (20) Roy, T.; Andrej, J.; Beck, V. A. A Scalable [DG](https://doi.org/10.1016/j.jcp.2022.111859) Solver for the Electroneutral [Nernst-Planck](https://doi.org/10.1016/j.jcp.2022.111859) Equations. _J._ _Comput._ _Phys._ 2023, _475_, No. 111859. (21) EchemFEM GitHub. [https://github.com/LLNL/echemfem/](https://github.com/LLNL/echemfem/tree/main) [tree/main](https://github.com/LLNL/echemfem/tree/main) (accessed 2025-01-30). (22) BIOMEC GitHub. [https://github.com/lukegun/BIOMEC](https://github.com/lukegun/BIOMEC) (accessed 2025-01-30). (23) Gundry, L.; Kennedy, G.; Keith, J.; Robinson, M.; Gavaghan, D.; Bond, A. M.; Zhang, J. A Comparison of Bayesian Inference Strategies for Parameterisation of [Large](https://doi.org/10.1002/celc.202100391) Amplitude AC Voltammetry Derived from Total Current [and](https://doi.org/10.1002/celc.202100391) Fourier Transformed Versions. _ChemElectroChem._ 2021, _8_ (12), 2238−2258. (24) ElectroKitty GitHub. [https://github.com/RedrumKid/](https://github.com/RedrumKid/ElectroKitty) [ElectroKitty](https://github.com/RedrumKid/ElectroKitty) (accessed 2024-10-25). (25) Rizo, R.; Fernández-Vidal, J.; Hardwick, L. J.; Attard, G. A.; [Vidal-Iglesias, F. J.; Climent, V.; Herrero, E.; Feliu, J. M. Investigating](https://doi.org/10.1038/s41467-022-30241-7) [the Presence of Adsorbed Species on Pt Steps at Low Potentials.](https://doi.org/10.1038/s41467-022-30241-7) _Nat._ _Commun._ 2022, _13_ (1), 2550. (26) Koper, M. T. M.; Lukkien, J. J. Modeling the Butterfly: The Voltammetry of (√3×√3)R30° [and](https://doi.org/10.1016/S0022-0728%0x2800%0x2900109-1) p(2×2) Overlayers on (111) [Electrodes.](https://doi.org/10.1016/S0022-0728%0x2800%0x2900109-1) _Journal of Electroanalytical Chemistry_ 2000, _485_ (2), 161− 165. [(27) Angerstein-Kozlowska, H.; Conway, B. E.; Sharp, W. B. A. The](https://doi.org/10.1016/S0022-0728%0x2873%0x2980307-9) Real Condition of [Electrochemically](https://doi.org/10.1016/S0022-0728%0x2873%0x2980307-9) Oxidized Platinum Surfaces. _J._ _Electroanal_ _Chem._ _Interfacial_ _Electrochem_ 1973, _43_ (1), 9−36. (28) Gilroy, D.; Conway, B. E. Surface [Oxidation](https://doi.org/10.1139/v68-149) and Reduction of [Platinum Electrodes: Coverage, Kinetic and Hysteresis Studies.](https://doi.org/10.1139/v68-149) _Can. J._ _Chem._ 1968, _46_ (6), 875−890. [(29) Conway, B. E.; Angerstein-Kozlowska, H. The Electrochemical](https://doi.org/10.1021/ar00062a004?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) Study of Multiple-State [Adsorption](https://doi.org/10.1021/ar00062a004?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) in Monolayers. _Acc._ _Chem._ _Res._ 1981, _14_ (2), 49−56. (30) Hu, B.; Kuo, D. Y.; Paik, H.; Schlom, D. G.; Suntivich, J. [Enthalpy and Entropy of Oxygen Electroadsorption on RuO2(110) in](https://doi.org/10.1063/1.5139049) [Alkaline](https://doi.org/10.1063/1.5139049) Media. _J._ _Chem._ _Phys._ 2020, _152_ (9). DOI: [10.1063/](https://doi.org/10.1063/1.5139049?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) [1.5139049.](https://doi.org/10.1063/1.5139049?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) (31) Bagotzky, V. S.; Vassiliev, Yu. B.; Khazova, O. A.; Sedova, S. S. Adsorption and Anodic [Oxidation](https://doi.org/10.1016/0013-4686%0x2871%0x2985057-0) of Methanol on Iridium and Rhodium [Electrodes.](https://doi.org/10.1016/0013-4686%0x2871%0x2985057-0) _Electrochim_ _Acta_ 1971, _16_ (7), 913−938. (32) Geppert, J.; Röse, P.; Czioska, S.; Escalera-López, D.; Boubnov, [A.; Saraçi, E.; Cherevko, S.; Grunwaldt, J. D.; Krewer, U. Microkinetic](https://doi.org/10.1021/jacs.2c03561?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) Analysis of the Oxygen Evolution [Performance](https://doi.org/10.1021/jacs.2c03561?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) at Different Stages of Iridium [Oxide](https://doi.org/10.1021/jacs.2c03561?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) Degradation. _J._ _Am._ _Chem._ _Soc._ 2022, _144_ (29), 13205−13217. (33) Vodeb, O.; Loncar,̌ A.; Bele, M.; Hrnjić, A.; Jovanovič, P.; [Gaberšcek, M.; Hodnik, N. Intrinsic Properties of Nanoparticulate Ir-̌](https://doi.org/10.1016/j.electacta.2023.142882) Based Catalysts for Oxygen [Evolution](https://doi.org/10.1016/j.electacta.2023.142882) Reaction by AC Voltammetry. _Electrochim_ _Acta_ 2023, _464_, 142882. (34) Bard, Allen J.; Faulkner, L. R. _Electrochemical_ _Methods:_ _Fundamentals_ _and_ _Applications_, 2nd ed.; Harris, D. S. E., Ed.; John Wiley & Sons, Inc.: New York, 2001. (35) Schmickler, W.; Santos, E. _Interfacial_ _Electrochemistry_ ; Springer Berlin Heidelberg: Berlin, Heidelberg, 2010. DOI: [10.1007/978-3-](https://doi.org/10.1007/978-3-642-04937-8?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) [642-04937-8.](https://doi.org/10.1007/978-3-642-04937-8?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) (36) Kuzume, A.; Herrero, E.; Feliu, J. M. Oxygen [Reduction](https://doi.org/10.1016/j.jelechem.2006.05.006) on [Stepped Platinum Surfaces in Acidic Media.](https://doi.org/10.1016/j.jelechem.2006.05.006) _Journal of Electroanalytical_ _Chemistry_ 2007, _599_ (2), 333−343. (37) Hansen, N. The CMA Evolution Strategy: A Tutorial. _arXiv_, 2016. DOI: [10.48550/arXiv.1604.00772](https://doi.org/10.48550/arXiv.1604.00772?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) (38) cma package GitHub. [https://github.com/CMA-ES/pycma](https://github.com/CMA-ES/pycma) (accessed 2024-10-25). (39) Arenz, M.; Stamenkovic, V.; Schmidt, T. J.; Wandelt, K.; Ross, [P. N.; Markovic, N. M. The Effect of Specific Chloride Adsorption on](https://doi.org/10.1016/S0039-6028%0x2802%0x2902456-1) the Electrochemical Behavior of [Ultrathin](https://doi.org/10.1016/S0039-6028%0x2802%0x2902456-1) Pd Films Deposited on Pt() in [Acid](https://doi.org/10.1016/S0039-6028%0x2802%0x2902456-1) Solution. _Surf._ _Sci._ 2003, _523_ (1−2), 199−209. (40) Sawatari, Y.; Inukai, J.; Ito, M. The Structure of Bisulfate and Perchlorate on a Pt(111) [Electrode](https://doi.org/10.1016/0368-2048%0x2893%0x2980117-5) Surface Studied by Infrared Spectroscopy and Ab-Initio [Molecular](https://doi.org/10.1016/0368-2048%0x2893%0x2980117-5) Orbital Calculation. _J._ _Electron_ _Spectros_ _Relat_ _Phenomena_ 1993, _64_ - _65_, 515−522. (41) Herrero, E.; Feliu, J. M.; Wieckowski, A.; Clavilier, J. [The](https://doi.org/10.1016/0039-6028%0x2894%0x2900730-6) Unusual Adsorption States of [Pt(111)](https://doi.org/10.1016/0039-6028%0x2894%0x2900730-6) Electrodes Studied by an [Iodine Displacement Method: Comparison with Au(111) Electrodes.](https://doi.org/10.1016/0039-6028%0x2894%0x2900730-6) _Surf._ _Sci._ 1995, _325_ (1−2), 131−138. (42) Despotovic, M.; Nedic, V.; Despotovic, D.; Cvetanovic, S. Evaluation of Empirical [Models](https://doi.org/10.1016/j.rser.2015.11.058) for Predicting Monthly Mean Horizontal [Diffuse](https://doi.org/10.1016/j.rser.2015.11.058) Solar Radiation. _Renewable_ _and_ _Sustainable_ _Energy_ _Reviews_ ; Elsevier Ltd, 2016; pp 246−260. DOI: [10.1016/](https://doi.org/10.1016/j.rser.2015.11.058?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) [j.rser.2015.11.058.](https://doi.org/10.1016/j.rser.2015.11.058?urlappend=%3Fref%3DPDF&jav=VoR&rel=cite-as) (43) Andrieu, C.; Thoms, J. A Tutorial on [Adaptive](https://doi.org/10.1007/s11222-008-9110-y) MCMC. _Stat_ _Comput_ 2008, _18_ (4), 343−373.

섹션 본문 14문단 · 13,822자

Codes to simulate the reactions shown in the main text

2Below the codes to simulate the four reactions in Figure 1 of the main text are given.

The E reaction:

3import numpy as np import matplotlib.pyplotas plt from electrokitty import ElectroKitty The code to recreate Figure 2b Please note that the two books cited use different sign conventions when describing repulsive or attractive Frumkin effect.ElectroKitty by default uses the convention that a negative constant corresponds to a repulsive interaction on the surface, as such the model given in Interfacial Electrochemistry is modified slightly to conform to our convention.plt.scatter(np.log10(cs1),theta_sim, label = f"simulated output with g={g}", linewidths = 7.5) plt.grid() plt.legend() plt.xlabel(r"$log_{10}(c) [/]$") plt.ylabel(r"$\theta [/]$") plt.title("Comparing analytical and simulated isotherms")

Experimental details

4Electrochemical measurements were conducted in 0.1 M perchloric acid solution prepared using ultrapure deionized water (R ≥ 18.2 MΩ cm, Milli-Q system) and ultra-high purity HClO4 (OmniTrace Ultra, EMD).The electrolyte, maintained at ~293 K, was purged with ultra-high purity argon gas (99.9999%,Airgas), and the potential sweep rate was set to 50 mV s -1 .A platinum wire (99.997%,Alfa Aesar) served as the counter electrode, and a silver/silver chloride electrode saturated with potassium chloride (BASi) was used as the reference.All potentials are reported against the reversible hydrogen electrode (RHE), which was calibrated separately under identical electrochemical conditions, except the electrolyte was purged with ultra-high purity hydrogen gas (99.9999%,Airgas).The single-crystalline platinum surface, Pt(111), was prepared as described previously. 1 Briefly, a Pt(111) disc (6 mm diameter, 4 mm height, MaTecK GmbH) was annealed at ~1,473 K for 7 min in a controlled 3% H₂/97% Ar atmosphere (~1 atm, Airgas) using a radio frequency induction system (EASYHeat, Ambrell) and cooled slowly (~7 min) under the same conditions.To protect the surface from contamination, a water droplet was placed on the Pt(111) surface before exposure to the laboratory atmosphere.The disc was then carefully mounted in a hanging meniscus configuration to prevent air exposure and attached to a rotating shaft connected to a rotator (MSR, Pine Research).Before electrochemical measurements, the Pt(111) surface was immersed in the electrolyte under a controlled potential of 0.05 V.

Bayesian Inference results for both models

5As was demonstrated in the article including parameters for surface non-ideality is necessary in the case of OH -adsorption on a Pt(111) surface.The parameters correct the model for any potential interaction of the surface-confined species.In this case, the first reaction exhibits a repulsive interaction, while the second is an attractive one.The parameters used here are purely empiric and do not hold much significant physical meaning, besides being a correction to the model.To demonstrate the necessity of including such corrections we compare the results of using Bayesian Inference to sample the parameter distributions of our two models.The constants fitted were in both cases all kinetic constants, the double-layer capacitance, and maximum surface concentration, in the non-ideal case four more constants were added to correct the current response.

6As was noted in the main article the first obstacle for the ideal surface model is the RRMSE value, as it is too high for it to be deemed an acceptable fit.The second obstacle appears when examining the pairwise plot in Figure S1a.We can see that the kf2 and kb2, the constants for the chemical reaction, both exhibit large variance.The same is true for k0,1 and α1 values, the double layer capacitance and maximum surface concentration.Thus, leading us to doubt the validity of such a model.To put it in another way: While there exists a maximum-likelihood value for each parameter, the fact that so many different values were deemed "good enough" makes our model suspicious, as the range of acceptability should be as narrow as possible.

7On the other hand, the model that assumes a non-ideal surface exhibits low variance of its parameters.Thus, we can have high confidence that our fit and thus our model is not entirely wrong.Many parameters exhibit strong correlations, showing that the underlying distribution of the parameters is indeed complex and that fitting all of the parameters at the same time is a difficult process.These correlations do not however implicate that a physical law is the cause of such behavior.Interestingly, the standard deviation of the noise is also about an order of magnitude lower, which is likely the consequence of the model being able to simulate both the sharp and broad peak, thus not assigning points it cannot "reach" as noise.

Verifying the simulator

8A good simulator is only as good as the accuracy with which it can simulate electrochemical data.Here we want to show that the ElectroKitty simulator fulfills the necessary criteria to use it as a simulation tool.To achieve this, we first compare the simulation results with some analytical results from Bard 2 .We start with the simulation of a simple 1-electron process at a planar electrode confined by diffusion.In the reversible limit, the peak currents should follow the Randles-Ševčik equation.The dimensionless current should be -0.4463 and should be found at an overvoltage of ±28.5 mV.As can be seen from Figure S2, the simulator approximates the analytical values in a reasonable way.The dimensionless current has an error of 0.09 %, while the potential is off by about 2.4 %.This is to be expected as determining the correct potential value is much more difficult than estimating the current, as mentioned earlier.Next, we consider the pseudo-capacitive case.The normalized peak currents should be equal to 0.25 for an overpotential of 0 V (Figure S3).From the inserted figure we can see that the simulator does not quite reach the expected value.The simulation error is therefore given as 1.6 %, with 1000 simulation points.It should be noted that in both cases discussed so far, the error can be minimized by increasing the number of points in time.The validation of the Frumkin isotherm is shown in Figure 2 of the main article.Furthermore, we validate that the simulator can accurately predict the behavior of an RDE.This can be easily achieved by comparing the limiting current determined by the simulation with the Levich equation.Figure S4 shows the simulated results for different rotation frequencies, the limiting current given by Levich for each frequency is shown as a dashed black line.The average error for all tests is 0.15 %, with the error increasing with increasing rotational frequency.

9The EE reaction: ................................................................................................................................. S2 The Ecat reaction: .............................................................................................................................. S3 The ECE reaction: ............................................................................................................................... S4 The code to recreate the Figure 2a of the main text........................................................................ S5 The code to recreate Figure 2b ......................................................................................................... S6 2. Experimental details ...................................................................................................................... S8 3. Bayesian Inference results for both models .................................................................................. S8 4. Verifying the simulator ................................................................................................................ S10 5. References ................................................................................................................................... S13

10-5 #m^2/s rot_freq=0 #Hz cell_c=[298, 1000, 1*10**-5, 10**-5] # K, Ohm , F/m^2, m^2 si=[0.001/36,nx, viscosity, rot_freq] Initial potential, also the potential to wich the CV returns [V] Ef=-0.5 #Final potential, we cycle to this potential [V] v=0.01 #scan speed [V/s] freq=9 #In case of ACV this is the frequency of a sine wave [Hz] amp=0.0#In case of ACV this is the amplitude of a sine wave [V] nt=1000 #number of time points problem=ElectroKitty(mechanism) problem.V_potencial(Ei, Ef, v, amp, freq, nt) problem.create_simulation(kin_const,cell_c, D, iso, si, spec_info) problem.simulate()problem.Plot_simulation() The EE reaction: import numpy as np import matplotlib.pyplotas plt from electrokitty import ElectroKitty nx=20 mechanism="E(1): a=b \n E(1):b=c" , 10, 0*10**-5, 10**-5] # K, Ohm , F/m^2, m^2 si=[0.001/36,nx, viscosity, rot_freq] Initial potential, also the potential to wich the CV returns [V] Ef=-0.5 #Final potential, we cycle to this potential [V] v=0.01 #scan speed [V/s] freq=9 #In case of ACV this is the frequency of a sine wave [Hz] amp=0.0#In case of ACV this is the amplitude of a sine wave [V] nt=1000 #number of time points problem=ElectroKitty(mechanism) problem.V_potencial(Ei, Ef, v, amp, freq, nt) problem.create_simulation(kin_const,cell_c, D, iso, si, spec_info) problem.simulate()problem.Plot_simulation(label = "ElectroKitty", x_label = "E [V]", Title = "EE reaction") The Ecat reaction: import numpy as np import matplotlib.pyplotas plt from electrokitty import ElectroKitty nx=20 mechanism="E(1):c*=d* \n C:d*=c*" , 10, 1*10**-6, 10**-5] # K, Ohm , F/m^2, m^2 si=[0.001/36,nx, viscosity, rot_freq] spec_info=[[10**-5,0], Initial potential, also the potential to wich the CV returns [V] Ef=-0.5 #Final potential, we cycle to this potential [V] v=0.01 #scan speed [V/s] freq=9 #In case of ACV this is the frequency of a sine wave [Hz] amp=0.0#In case of ACV this is the amplitude of a sine wave [V] nt=1000 #number of time points problem=ElectroKitty(mechanism) problem.V_potencial(Ei, Ef, v, amp, freq, nt) problem.create_simulation(kin_const,cell_c, D, iso, si, spec_info) problem.simulate()problem.Plot_simulation() The ECE reaction: import numpy as np import matplotlib.pyplotas plt from electrokitty import ElectroKitty nx=20 mechanism="E(1):a=b \n C:b=c \n E(1): c=d" kin_const=[ [0.5, 10**-2, 0.], [10**1,10**-4], [0.5, 10**-2, -0.2], ] D=4*[10**-9] viscosity=10**-5 #m^2/s rot_freq=0 #Hz cell_c=[298, 0, 0*10**-6, 10**-5] # K, Ohm , F/m^2, m^2 si=[0.0001/36,nx, viscosity, rot_freq] spec_info=[[], [1,0,0,0]] iso=[] spe=[[1,1],[1,0]] Ei=0.5 #Initial potential, also the potential to wich the CV returns [V] Ef=-0.5 #Final potential, we cycle to this potential [V] v=0.01 #scan speed [V/s] freq=9 #In case of ACV this is the frequency of a sine wave [Hz] amp=0.0#In case of ACV this is the amplitude of a sine wave [V] nt=1000 #number of time points problem=ElectroKitty(mechanism) problem.V_potencial(Ei, Ef, v, amp, freq, nt) problem.create_simulation(kin_const,cell_c, D, iso, si, spec_info) problem.simulate()problem.Plot_simulation() The code to recreate the Figure 2a of the main text.import numpy as np import matplotlib.pyplotas plt from electrokitty import ElectroKitty F=96485 #As/mol R=8.314 #J/mol/K T=298 #K mechanism="E(1): a+*=a*" kin_const=[ [0.5, 1000, 0], ] D=1*[10**-8] viscosity=10**-5 #m^2/s rot_freq=0 #Hz cell_c=[T, 0, 0*10**-6, 10**-4] # K, Ohm , F/m^2, m^2 si=[0.001/36,20, viscosity, rot_freq] spec_info=[[10**-5,0], [1]] Ei=0.3 #Initial potential, also the potential to wich the CV returns [V] Ef=-0.3 #Final potential, we cycle to this potential [V] v=0.05 #scan speed [V/s] freq=9 #In case of ACV this is the frequency of a sine wave [Hz] amp=0.0#In case of ACV this is the amplitude of a sine wave [V] nt=1000 #number of time points isos = [0, 1, -2] for param in isos: iso=[param, param] problem=ElectroKitty(mechanism) problem.V_potential(Ei, Ef, v, amp, freq, nt) problem.create_simulation(kin_const,cell_c, D, iso, si, spec_info) problem.simulate()plt.plot(problem.E_generated, problem.current/(F**2/R/T*v*cell_c[-1]*spec_info[0][0]),linewidth = 4.5, label=f"g={iso[0]}") plt.xlabel("$(E-E_{1/2}) [V]$") plt.ylabel("$G [/]$") plt.grid() plt.legend()

11import numpy as np import matplotlib.pyplotas plt from electrokitty import ElectroKitty import scipy.optimizeas sciop def eq(x, c, g): f=x/(1-x)*np.exp(-g*x)10**-8]viscosity=10**-5 #m^2/s rot_freq=0 #Hz cell_c=[T, 0, 0*10**-6, 10**-4] # K, Ohm , F/m^2, m^2 si=[0.001/36,20, viscosity, rot_freq] spec_info=[[10**-5,0], [float(cmax)]] iso=[0,float(g)] problem=ElectroKitty(mechanism) problem.C_potential(0, 1000, 1000) problem.create_simulation(kin_const,cell_c, D, iso, si, spec_info) problem.simulate()theta = problem.surface_profilereturn theta[-1,1]/10**-5 cs = np.logspace(-3,1,100)gs = [-2,0,1] for g in gs: thetam = [] for c in cs: sol = sciop.root(eq,[0.1], args=(c,g), tol=10**-12) thetam.append(sol.x[0])plt.plot(np.log10(cs),thetam, linewidth = 4.5, label = f"analytical solution with g={g}") cs1 = np.logspace(-3,1,20)theta_sim=[] for c in cs1: theta_sim.append(calc_coverage(c,g))

Figure S1 :

12Figure S1: Pairwise plots after burn-in for both models presented in the main article.a) The plot for the model assuming an ideal surface.The g parameters were kept at 0 during fitting and inference.b) The plot for the model that assumes a non-ideal surface.The 4 additional parameters are the g parameters that correct for surface non-idealities.

Figure S2 :

13Figure S2: Diffusion limited current with red and green lines showing the overpotential of 28.5 mV.The horizontal line shows the predicted current maxima.The inset is a closeup at the maxima.

Figure S3 :

14Figure S3: Simulation of a reversible pseudo-capacitive response.The inset better demonstrates the deviation from the analytical solution.

Figure S4 :

15Figure S4: Comparing the limiting current of an RDE simulation for different rotational frequencies with the Levich equation.

참고문헌 28건

  1. The real condition of electrochemically oxidized platinum surfaces Journal of Electroanalytical Chemistry · Elsevier BV · 1973 10.1016/s0022-0728(73)80307-9
  2. Surface oxidation and reduction of platinum electrodes: Coverage, kinetic and hysteresis studies Canadian Journal of Chemistry · NRC Research Press · 1968 10.1139/v68-149
  3. A Simulator for Cyclic Voltammetric Responses Analytical Chemistry · American Chemical Society · 1994 10.1021/ac00082a725
  4. The effect of specific chloride adsorption on the electrochemical behavior of ultrathin Pd films deposited on Pt() in acid solution Surface Science · Elsevier BV · 2002 10.1016/s0039-6028(02)02456-1
  5. The electrochemical study of multiple-state adsorption in monolayers Accounts of Chemical Research · American Chemical Society · 1981 10.1021/ar00062a004
  6. Electrochemical Methods: Fundamentals and Applications Anti-Corrosion Methods and Materials · Emerald Publishing Limited · 2003 10.1108/acmm.2003.12850eae.001
  7. Modeling the butterfly: the voltammetry of (√3×√3)R30° and p(2×2) overlayers on (111) electrodes Journal of Electroanalytical Chemistry · Elsevier BV · 2000 10.1016/s0022-0728(00)00109-1
  8. Adsorption and anodic oxidation of methanol on iridium and rhodium electrodes Electrochimica Acta · Elsevier BV · 1971 10.1016/0013-4686(71)85057-0
  9. Changing the Look of Voltammetry Analytical Chemistry · American Chemical Society · 2005 10.1021/ac053370k
  10. Oxygen reduction on stepped platinum surfaces in acidic media Journal of Electroanalytical Chemistry · Elsevier BV · 2006 10.1016/j.jelechem.2006.05.006
  11. The unusual adsorption states of Pt(111) electrodes studied by an iodine displacement method: comparison with Au(111) electrodes Surface Science · Elsevier BV · 1995 10.1016/0039-6028(94)00730-6
  12. The structure of bisulfate and perchlorate on a Pt(111) electrode surface studied by infrared spectroscopy and ab-initio molecular orbital calculation Journal of Electron Spectroscopy and Related Phenomena · Elsevier BV · 1993 10.1016/0368-2048(93)80117-5
  13. A tutorial on adaptive MCMC Statistics and Computing · Springer Science+Business Media · 2008 10.1007/s11222-008-9110-y
  14. Evaluation of empirical models for predicting monthly mean horizontal diffuse solar radiation Renewable and Sustainable Energy Reviews · Elsevier BV · 2015 10.1016/j.rser.2015.11.058
  15. Modelling ac voltammetry with MECSim: facilitating simulation–experiment comparisons Current Opinion in Electrochemistry · Elsevier BV · 2017 10.1016/j.coelec.2016.12.001
  16. Enthalpy and entropy of oxygen electroadsorption on RuO<sub>2</sub>(110) in alkaline media The Journal of Chemical Physics · American Institute of Physics · 2020 10.1063/1.5139049
  17. Recent advances and future perspectives for automated parameterisation, Bayesian inference and machine learning in voltammetry Chemical Communications · Royal Society of Chemistry · 2021 10.1039/d0cc07549c
  18. A Comparison of Bayesian Inference Strategies for Parameterisation of Large Amplitude AC Voltammetry Derived from Total Current and Fourier Transformed Versions ChemElectroChem · Wiley · 2021 10.1002/celc.202100391
  19. Modeling and Experimental Study of the Electron Transfer Kinetics for Non-ideal Electrodes Using Variable-Frequency Square Wave Voltammetry Analytical Chemistry · American Chemical Society · 2021 10.1021/acs.analchem.1c01286
  20. Opportunities and challenges in applying machine learning to voltammetric mechanistic studies Current Opinion in Electrochemistry · Elsevier BV · 2022 10.1016/j.coelec.2022.101009
  21. Investigating the presence of adsorbed species on Pt steps at low potentials Nature Communications · Nature Portfolio · 2022 10.1038/s41467-022-30241-7
  22. Interfacial Electrochemistry 2010 10.1007/978-3-642-04937-8
  23. Microkinetic Analysis of the Oxygen Evolution Performance at Different Stages of Iridium Oxide Degradation Journal of the American Chemical Society · American Chemical Society · 2022 10.1021/jacs.2c03561
  24. Soft Potato: an open source electrochemical simulator and toolkit ChemRxiv · 2022 10.26434/chemrxiv-2022-4bs3w
  25. A scalable DG solver for the electroneutral Nernst-Planck equations Journal of Computational Physics · Elsevier BV · 2022 10.1016/j.jcp.2022.111859
  26. The CMA Evolution Strategy: A Tutorial arXiv (Cornell University) · Cornell University · 2016 10.48550/arxiv.1604.00772
  27. Intrinsic properties of nanoparticulate Ir-based catalysts for oxygen evolution reaction by AC voltammetry Electrochimica Acta · Elsevier BV · 2023 10.1016/j.electacta.2023.142882
  28. Python for Electrochemistry: A Free and All-In-One Toolset ECS Advances · Electrochemical Society · 2023 10.1149/2754-2734/acff0b