Python-Based Program for Error Structure Analysis and Regression of Impedance Data

Author:

Watson William,Orazem Mark E.ORCID

Abstract

The measurement model described in this presentation is based on a program developed in the 1990s by Prof. Mark Orazem and his group using a Matlab front-end and FORTRAN executables.[1] The objective of the present work was to completely rebuild the original measurement model into a stand-alone program. This program was to have more features, be more user-friendly, and be free of proprietary code in order to enable its distribution. The new code was written from the ground up in Python, although some portions of the backend libraries, such as numpy, use C. The working part of the program has five tabs. The File Tools and Conversion part of the program is used to convert files to a program-usable format. The Measurement Model part of the program is used to fit a Voigt measurement model to the impedance data. The Voigt measurement model is the foundation of the error structure analysis performed by the program. The measurement model can be used to filter replicated measurements to extract the standard deviation of the stochastic part of the error structure.[2] These are presented in the Error File Preparation part of the program. In the Error Analysis part of the program, a simple model can be fit to the standard deviation of the stochastic part of the error structure. The model of the stochastic error structure can be used to weight regressions of the impedance spectra. The measurement model may be used as well to determine the portion of the measurement that satisfies the Kramers-Kronig relations.[3] The approach employing a properly-weighted nonlinear regression has been shown to be more sensitive to failures of causality than the linear Voigt model regression developed by Boukamp and employed by many instrument vendors.[4] The final tab of the working part of the program, Custom Formula Fitting, allows regression of arbitrary functions to impedance data. Rather than employ electrical circuit components such as resistors and capacitors,[5],[6] this part of the program is equation-based. The formula is input as Python code and may make use of imported Python packages. The package numpy is already imported. As in standard Python, the imaginary number can be accessed as 1j. The equation-based approach enables regression of models that include look-up tables for convective diffusion,[7] integral functions for the power-law description of oxide films,[8] and de Levie formulas for porous electrodes.[9] The objective of this effort is to provide a program that can allow the users to access the power of the measurement model concept and to fit custom process models. The program will be distributed as a Windows executable. References [1] P. Agarwal, M. E. Orazem, and L. H. García-Rubio, “Measurement Models for Electrochemical Impedance Spectroscopy: 1. Demonstration of Applicability,” Journal of The Electrochemical Society, 139 (1992), 1917-1927. [2] P. Agarwal, Oscar D. Crisalle, M. E. Orazem, and L. H. García-Rubio, “Application of Measurement Models to Electrochemical Impedance Spectroscopy: 2. Determination of the Stochastic Contribution to the Error Structure,” Journal of The Electrochemical Society, 142 (1995), 4149-4158. [3] P. Agarwal, M. E. Orazem, and L. H. García-Rubio, “Application of Measurement Models to Electrochemical Impedance Spectroscopy: 3. Evaluation of Consistency with the Kramers-Kronig Relations,” Journal of The Electrochemical Society, 142 (1995), 4159-4168. [4] C. You, M. A. Zabara, M. E. Orazem, and B. Ulgut, “Application of the Kramers-Kronig Relations to Multi-Sine Electrochemical Impedance Measurements,” Journal of the Electrochemical Society, 167 (2020), 020515. [5] M. Murbach, et al., A package for Analyzing Electrochemical Impedance Data, https://pypi.org/project/impedance/ [6] K. B. Knudsen, A Python-based Electrochemical Impedance Spectroscopy Simulator and Analyzer, https://pypi.org/project/PyEIS/ [7] B. Tribollet and J. S. Newman, “The Modulated Flow at a Rotating Disk Electrode,” Journal of the Electrochemical Society, 130 (1983), 2016-2026. [8] B. Hirschorn, M. E. Orazem, B. Tribollet, V. Vivier, I. Frateur, and M. Musiani, “Constant-Phase-Element Behavior Caused by Resistivity Distributions in Films: 1. Theory,” Journal of The Electrochemical Society, 157 (2010) C452-C457. [9] R. de Levie, “Electrochemical Responses of Porous and Rough Electrodes, in Advances in Electrochemistry and Electrochemical Engineering, vol. 6, P. Delahay, ed., Interscience, New York, 1967, 329-397.

Publisher

The Electrochemical Society

Cited by 1 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Python Data Analysis Techniques in Administrative Information Integration Management System;Lecture Notes on Data Engineering and Communications Technologies;2023

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3