ElectroKitty: A Python Tool for Modeling Electrochemical Data Including Non-Langmuir Adsorption
간접 관련 수소연료전지 · (7) MEA(막전극접합체) (6) PEM(고분자전해질막)
기본 정보
- 저자
- 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자 발췌
초록
본문 32,765자
본문 펼치기
섹션 본문 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건
- The real condition of electrochemically oxidized platinum surfaces Journal of Electroanalytical Chemistry · Elsevier BV · 1973 10.1016/s0022-0728(73)80307-9
- Surface oxidation and reduction of platinum electrodes: Coverage, kinetic and hysteresis studies Canadian Journal of Chemistry · NRC Research Press · 1968 10.1139/v68-149
- A Simulator for Cyclic Voltammetric Responses Analytical Chemistry · American Chemical Society · 1994 10.1021/ac00082a725
- 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
- The electrochemical study of multiple-state adsorption in monolayers Accounts of Chemical Research · American Chemical Society · 1981 10.1021/ar00062a004
- Electrochemical Methods: Fundamentals and Applications Anti-Corrosion Methods and Materials · Emerald Publishing Limited · 2003 10.1108/acmm.2003.12850eae.001
- 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
- Adsorption and anodic oxidation of methanol on iridium and rhodium electrodes Electrochimica Acta · Elsevier BV · 1971 10.1016/0013-4686(71)85057-0
- Changing the Look of Voltammetry Analytical Chemistry · American Chemical Society · 2005 10.1021/ac053370k
- Oxygen reduction on stepped platinum surfaces in acidic media Journal of Electroanalytical Chemistry · Elsevier BV · 2006 10.1016/j.jelechem.2006.05.006
- 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
- 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
- A tutorial on adaptive MCMC Statistics and Computing · Springer Science+Business Media · 2008 10.1007/s11222-008-9110-y
- 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
- Modelling ac voltammetry with MECSim: facilitating simulation–experiment comparisons Current Opinion in Electrochemistry · Elsevier BV · 2017 10.1016/j.coelec.2016.12.001
- 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
- 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
- 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
- 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
- Opportunities and challenges in applying machine learning to voltammetric mechanistic studies Current Opinion in Electrochemistry · Elsevier BV · 2022 10.1016/j.coelec.2022.101009
- Investigating the presence of adsorbed species on Pt steps at low potentials Nature Communications · Nature Portfolio · 2022 10.1038/s41467-022-30241-7
- Interfacial Electrochemistry 2010 10.1007/978-3-642-04937-8
- 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
- Soft Potato: an open source electrochemical simulator and toolkit ChemRxiv · 2022 10.26434/chemrxiv-2022-4bs3w
- A scalable DG solver for the electroneutral Nernst-Planck equations Journal of Computational Physics · Elsevier BV · 2022 10.1016/j.jcp.2022.111859
- The CMA Evolution Strategy: A Tutorial arXiv (Cornell University) · Cornell University · 2016 10.48550/arxiv.1604.00772
- 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
- Python for Electrochemistry: A Free and All-In-One Toolset ECS Advances · Electrochemical Society · 2023 10.1149/2754-2734/acff0b