ML Predicts CO2 Corrosion Rates in Oil Industry

In a recent article published in the journal Materials, researchers explored the potential of machine learning (ML) techniques to predict carbon dioxide (CO2) corrosion rates and severity levels in the oil and gas industry. They aimed to address the limitations of traditional corrosion prediction models by proposing an ML-based approach.

Study: ML Predicts CO2 Corrosion Rates in Oil Industry. Image Credit: KoSSSmoSSS/Shutterstock.com
Study: ML Predicts CO2 Corrosion Rates in Oil Industry. Image Credit: KoSSSmoSSS/Shutterstock.com

Background

CO2 corrosion, also known as "sweet corrosion", is a common and harmful form of corrosion in the oil and gas industry. It occurs when CO2 dissolves in water, forming carbonic acid (H2CO3), which dissociates into hydrogen ions (H+) and bicarbonate ions (HCO3-). These ions drive the electrochemical oxidation of iron, leading to the formation of ferrous ions (Fe2+) and accelerating corrosion.

CO2 corrosion can manifest as either uniform corrosion, which affects the entire metal surface, or localized corrosion, such as pitting, crevice corrosion, and flow-induced corrosion, which targets specific areas. The severity of CO2 corrosion is influenced by factors like temperature, pressure, water content, acidic gasses (e.g., hydrogen sulfide and sulfur dioxide), and the material composition of the equipment.

Traditional methods for predicting CO2 corrosion, including empirical, semi-empirical, and mechanistic models, often struggle to accurately capture the complex nonlinear relationships between these factors. These models also require extensive knowledge of underlying physical mechanisms and may lack adaptability to varying operating conditions.

About the Research

In this paper, the authors collected a dataset of corrosion data, including 248 sample points with 10 features: material composition, chromium content, water content, oxygen content, sulfur dioxide content, nitrogen dioxide content, hydrogen sulfide content, pressure, temperature, and time. They used this dataset to train and evaluate various ML algorithms.

The study applied several well-known ML algorithms: k-nearest neighbors (KNN), random forest (RF), support vector machine (SVM), extreme gradient boosting (XGBoost), gradient boosting decision tree (GBDT), and light gradient boosting machine (LightGBM). These algorithms were chosen for their capability to handle complex nonlinear relationships, process large datasets, and adapt to different operating conditions.

The researchers used 80% of the data to train the models and 20% to test their performance. Furthermore, they assessed the models' ability to predict corrosion rates and severity levels, using the coefficient of determination (R²) and mean squared error (MSE) for corrosion rate prediction, and accuracy and F1-score for corrosion severity classification.

Research Findings

The outcomes showed that the RF algorithm consistently outperformed other models in predicting corrosion rates and classifying corrosion severity. The RF model achieved the highest R² value and the lowest MSE for corrosion rate prediction, indicating its strong accuracy. For corrosion severity classification, the RF model reached 99% accuracy and an F1-score of 0.99, proving its effectiveness in identifying different levels of corrosion severity. In contrast, the KNN algorithm performed the least, with 82% accuracy and an F1-score of 0.81.

The authors also found that water content was the most significant factor influencing the corrosion rate. Acidic gasses like sulfur dioxide, hydrogen sulfide, and other sulfides had a strong positive relation with the corrosion rate. Whereas pressure, temperature, and material composition had a minor negative impact on the corrosion rate.

Applications

This research has significant implications for the oil and gas industry, where accurate prediction of CO2 corrosion is crucial for effective material selection, equipment maintenance, and resource optimization. By employing ML models, particularly the RF algorithm, industry professionals can enhance their ability to forecast corrosion rates and severity levels. This improvement allows them to make more informed decisions and implement targeted corrosion control strategies.

ML models enhance material selection by predicting corrosion rates precisely, which helps engineers choose more resistant materials. This reduces the risk of equipment failure and extends its lifespan. Additionally, ML models improve maintenance by identifying areas prone to corrosion and predicting when maintenance is needed. This facilitates proactive maintenance schedules and minimizes downtime, ultimately cutting costs related to CO2 corrosion.

Conclusion

In summary, ML proved effective in addressing the limitations of traditional corrosion prediction models. By leveraging the strong nonlinear modeling capabilities, adaptability, and comprehensive consideration of multiple influencing factors, the ML algorithms, especially the RF model, have shown superior performance in predicting CO2 corrosion rates and severity levels. These advancements could lead to more accurate and reliable corrosion management strategies, enhancing the safety and longevity of critical infrastructure in the oil and gas industry.

Moving forward, the researchers recommend exploring the application of ML algorithms in other corrosion management areas, such as corrosion inhibition and monitoring. As ML technology advances, it could play a key tool in tackling the challenges of CO2 corrosion in the industry.

Journal reference:
  • Dong, Z.; & et, al. Development of a Predictive Model for Carbon Dioxide Corrosion Rate and Severity Based on Machine Learning Algorithms. Materials 2024, 17, 4046. DOI: 10.3390/ma17164046, https://www.mdpi.com/1996-1944/17/16/4046
Muhammad Osama

Written by

Muhammad Osama

Muhammad Osama is a full-time data analytics consultant and freelance technical writer based in Delhi, India. He specializes in transforming complex technical concepts into accessible content. He has a Bachelor of Technology in Mechanical Engineering with specialization in AI & Robotics from Galgotias University, India, and he has extensive experience in technical content writing, data science and analytics, and artificial intelligence.

Citations

Please use one of the following formats to cite this article in your essay, paper or report:

  • APA

    Osama, Muhammad. (2024, August 21). ML Predicts CO2 Corrosion Rates in Oil Industry. AZoAi. Retrieved on November 21, 2024 from https://www.azoai.com/news/20240821/ML-Predicts-CO2-Corrosion-Rates-in-Oil-Industry.aspx.

  • MLA

    Osama, Muhammad. "ML Predicts CO2 Corrosion Rates in Oil Industry". AZoAi. 21 November 2024. <https://www.azoai.com/news/20240821/ML-Predicts-CO2-Corrosion-Rates-in-Oil-Industry.aspx>.

  • Chicago

    Osama, Muhammad. "ML Predicts CO2 Corrosion Rates in Oil Industry". AZoAi. https://www.azoai.com/news/20240821/ML-Predicts-CO2-Corrosion-Rates-in-Oil-Industry.aspx. (accessed November 21, 2024).

  • Harvard

    Osama, Muhammad. 2024. ML Predicts CO2 Corrosion Rates in Oil Industry. AZoAi, viewed 21 November 2024, https://www.azoai.com/news/20240821/ML-Predicts-CO2-Corrosion-Rates-in-Oil-Industry.aspx.

Comments

The opinions expressed here are the views of the writer and do not necessarily reflect the views and opinions of AZoAi.
Post a new comment
Post

While we only use edited and approved content for Azthena answers, it may on occasions provide incorrect responses. Please confirm any data provided with the related suppliers or authors. We do not provide medical advice, if you search for medical information you must always consult a medical professional before acting on any information provided.

Your questions, but not your email details will be shared with OpenAI and retained for 30 days in accordance with their privacy principles.

Please do not ask questions that use sensitive or confidential information.

Read the full Terms & Conditions.

You might also like...
Machine Learning Identifies Seismic Precursors, Advancing Earthquake Forecasting Capabilities