Corrosion current calculation for Closed Polarisation Tests
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
The following project aims to help corrosion researches with the determination of the corrosion current during Closed Polarisation Test.
The program will read data files of the different tests in a folder with the following structure: txt data with 4 columns, with the 3rd and 4th column being the scan Potential and Measured current, respectively. (Feel free to adapt it to your code)
It will extract the name of each of the test files with the following structure: data - ref electrode - channel - test number - test type - corrosive media (Feel free to adapt it too)
% - Clean up the noisy data acquired with a smoothing filter
% - Remove the extreme parts far from the corrosion potential and keep only the values inside the region "delta" of study
% - Get a double exponential equation that approaches the actual data log
% - Get the tangent equations in the value "tafvalue" for each of the anodic and cathodic branches
% - Get the intersection of the two tangents, so that a value of Potential & Current is obtained.
% - The potential value is compared to the corrosion potential and the difference is spotted.
% - If the difference is bigger than 2mV, run a loop to change the value on which the tangents are calculated.
% - The final value is returned to the user and recorded if interested into an excel.
% - Logaritmich plots are created to compare the difference between the real data and the tangent data, so that the user can compare the range of linearity
Cite As
Aitor Gastaminza (2026). Corrosion-current-calculation-with-tafel-lines (https://github.com/aitor0307/Corrosion), GitHub. Retrieved .
General Information
- Version 1.0.0 (17.1 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
